John
On 20 Mar 2003 at 0:13, John H Terpstra wrote:
> Why not take the easy way?
I LIKE the easy
> You can build OpenLinux RPM packages from:
> 1. cd ~samba/packaging/Caldera/OpenLinux
> 2. sh makerpms.sh
I was poking around the source dirs and found that and tried it actually. It
doesn't work :-(
I also wasn't sure if it would create a usable binary for such an old
version
of COL since the current stuff is COL3.x and in my case and a couple clients,
it's COL2.3.
> If it does not work, drop me a line. I'll try to help you.
On my test machine (K6-200/64mb) it runs for at least a good hour+ and then
fails with an error about libtools being needed to compile something. I
didn't pay much attention to what specifically and then just went to the
standard sources and compiled from there. I checked the client's machine
(configured software wise similar to my test bench machine) and it also was
missing libtools. I'll install libtools from the COL cd and see what
happens
this time.
One thing I found on both machines is that no matter what configure options I
use, samba puts it's pid files in a location other than what I specify, this
screws up the init script that comes with COL2.3. On the clients machines I
didn't even bother with --with-piddir and just modified the init script
based
on the files the samba log said it couldn't find. Actually now that I think
of it, it pretty much ignored my configure options as it was looking for
smb.conf in /etc/samba even though my configure options were as follows:
./configure --with-fhs --prefix=/usr --sysconfdir=/etc --with-
confdir=/etc/samba.d --with-logfilebase=/var/log/samba.d --with-syslog --with-
privatedir=/etc/samba.d/private
In logs I saw this:
log.nmbd
***********
[2003/03/19 16:39:04, 0] param/params.c:OpenConfFile(543)
params.c:OpenConfFile() - Unable to open configuration file
"/etc/samba/smb.conf":
No such file or directory
[2003/03/19 16:45:07, 0] nmbd/nmbd.c:main(795)
Netbios nameserver version 2.2.8 started.
Copyright Andrew Tridgell and the Samba Team 1994-2002
[2003/03/19 16:45:07, 0] nmbd/asyncdns.c:start_async_dns(148)
started asyncdns process 4969
[2003/03/19 16:45:07, 0] lib/messages.c:message_init(112)
ERROR: Failed to initialise messages database
[2003/03/19 16:45:07, 0] nmbd/nmbd_logonnames.c:add_logon_names(165)
add_domain_logon_names:
write_browse_list: Can't open file /usr/var/cache/samba/browse.dat.. Error
was No such file or directory
AND
log.smbd
***********
[2003/03/19 16:39:02, 0] param/params.c:OpenConfFile(543)
params.c:OpenConfFile() - Unable to open configuration file
"/etc/samba/smb.conf":
No such file or directory
until I created the directories that it wasn't supposed to be using ;-)
On an unrelated note, what's this about?
[2003/03/19 16:29:49, 1] smbd/files.c:file_init(216)
file_init: Information only: requested 10000 open files, 1014 are
available. I've seen it many times over the years on many different machines
but never got a good explanation on how to solve it....
--
Harondel J. Sibble
Sibble Computer Consulting
Creating solutions for the small business and home computer user.
help@pdscc.com (use pgp keyid 0x3AD5C11D) http://www.pdscc.com
(604) 739-3709 (voice/fax) (604) 686-2253 (pager)