2.0.3 on HPUX 11.0, problem that I can't get past
Glenn Charlton
Glenn at Mackie.com
Thu Apr 15 20:01:28 GMT 1999
I'm trying to run 2.0.3 on HPUX 11.0, and thus far have not had any luck.
I can run testparm without any error message. I've tested many smb.conf
files, some from the examples directories, others from web sites, and many of my
own creation, but all give the same set of errors. It's because none of
the changes that I make to smb.conf have any impact that I'm starting to
think that this is a Samba2.0.3 vs HPUX 11.0 issue - although it's
entirely possibly (likely?) that I simply need to include some other
config parameter to make this work.
My current smb.conf file looks like:
[global]
max open files = 100
debug level = 8
share modes = yes
workgroup = WORKGROUP
log file = /usr/local/samba/var/log.%m
lock directory = /usr/local/samba/var
[SHIP]
comment = Aristo shipping system shared files
path = /SAMBA/ship
writeable = true
create mode = 0766
When I log in as root and execute 'smbd -D', two files are created
in the '/usr/local/samba/var' directory. The first is an empty file
called 'smbd.pid'. The other is 'log.smb'. The contents of this
file are:
[1999/04/15 12:01:10, 1] smbd/server.c:(614)
smbd version 2.0.3 started.
Copyright Andrew Tridgell 1992-1998
doing parameter share modes = yes
doing parameter workgroup = WORKGROUP
doing parameter log file = /usr/local/samba/var/log.%m
doing parameter lock directory = /usr/local/samba/var
[1999/04/15 12:01:10, 2] param/loadparm.c:(2199)
Processing section "[SHIP]"
doing parameter comment = Aristo shipping system shared files
doing parameter path = /SAMBA/ship
doing parameter writeable = true
doing parameter create mode = 0766
[1999/04/15 12:01:10, 3] param/loadparm.c:(2521)
pm_process() returned Yes
[1999/04/15 12:01:10, 3] param/loadparm.c:(1495)
adding IPC service
[1999/04/15 12:01:10, 2] lib/interface.c:(213)
Added interface ip=10.10.10.1 bcast=10.255.255.255 nmask=255.0.0.0
[1999/04/15 12:01:10, 3] smbd/server.c:(666)
loaded services
[1999/04/15 12:01:10, 3] smbd/server.c:(674)
Becoming a daemon.
[1999/04/15 12:01:10, 0] lib/pidfile.c:(98)
ERROR: smbd : fcntl lock of file /usr/local/samba/var/smbd.pid failed. Error was No such file or directory
If I execute 'smbd -D' again, then the following is added to 'log.smb':
[1999/04/15 12:05:54, 1] smbd/server.c:(614)
smbd version 2.0.3 started.
Copyright Andrew Tridgell 1992-1998
doing parameter share modes = yes
doing parameter workgroup = WORKGROUP
doing parameter log file = /usr/local/samba/var/log.%m
doing parameter lock directory = /usr/local/samba/var
[1999/04/15 12:05:54, 2] param/loadparm.c:(2199)
Processing section "[SHIP]"
doing parameter comment = Aristo shipping system shared files
doing parameter path = /SAMBA/ship
doing parameter writeable = true
doing parameter create mode = 0766
[1999/04/15 12:05:54, 3] param/loadparm.c:(2521)
pm_process() returned Yes
[1999/04/15 12:05:54, 3] param/loadparm.c:(1495)
adding IPC service
[1999/04/15 12:05:54, 2] lib/interface.c:(213)
Added interface ip=10.10.10.1 bcast=10.255.255.255 nmask=255.0.0.0
[1999/04/15 12:05:54, 3] smbd/server.c:(666)
loaded services
[1999/04/15 12:05:54, 3] smbd/server.c:(674)
Becoming a daemon.
[1999/04/15 12:05:54, 0] lib/pidfile.c:(98)
ERROR: smbd : fcntl lock of file /usr/local/samba/var/smbd.pid failed. Error was Error 0
The permissions on the directories are as follows:
drwxrwxrwx 2 root sys 1024 Apr 14 12:57 bin
drwxrwxrwx 3 root sys 1024 Apr 14 15:24 lib
drwxrwxrwx 6 root sys 96 Apr 7 13:50 man
drwx------ 2 root root 96 Apr 14 09:16 private
drwxrwxrwx 5 root sys 96 Apr 7 13:50 swat
drwxr-xr-x 3 root sys 96 Apr 15 12:05 var
/usr/local/samba..#
Does anyone have any idea what I need to do to get past these errors?
Also, if you've loaded ANY version of Samba on HPUX 11.0, then I'd
certainly appreciate hearing from you (an email with the Samba version
would be great)! This would at least let me know that what I'm trying
to achieve is proven and working for someone else.
Thanks in advance for any help!
Glenn Charlton glenn at mackie.com
MIS Manager tel 425 402-6258
Mackie Designs Inc fax 425 487-4337
More information about the samba
mailing list