Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't start smbd on AIX 5.3 1

Status
Not open for further replies.

gringomike

Technical User
Aug 6, 2003
148
0
0
GB
Hi all,

I'm trying to install and configure SAMBA on AIX 5.3 but can't start smbd.

I've downloaded SAMBA 3.0.21 from the UCLA site below and extracted it successfully. I've also created my smb.conf file under the /etc directory and run testparm which seems to suggest everything is setup correctly.


I've also downloaded and installing the following 3 packages from the IBM Toolbox;

Samba
Samba-client
Samba-common

I've installed them using smitty and they all seemed to install ok too.

The nmbd daemon starts ok but smbd doesn't (I've also restarted the server and made sure the /etc/inetd.conf file has the correct entries).

Does anyone know if I've missed a step or if there's some problem with either of packages I've installed?

Thanks in advance,

GM
 
Sorry, I meant to say, when I tried to start the daemon manually I got the following error;

# /usr/local/sbin/smbd -D
Could not load program /usr/local/sbin/smbd:
Dependent module libpopt.a(libpopt.so.0) could not be loaded.
Could not load module libpopt.a(libpopt.so.0).
System error: No such file or directory
#


I then installed popt-1.7-1.aix4.3.ppc.rpm and got the following error;


# /usr/local/sbin/smbd -D
Could not load program /usr/local/sbin/smbd:
Symbol resolution failed for /usr/lib/libc.a(posix_aio.o) because:
Symbol _posix_kaio_rdwr (number 2) is not exported from dependent
module /unix.
Symbol _posix_listio (number 3) is not exported from dependent
module /unix.
Symbol _posix_acancel (number 4) is not exported from dependent
module /unix.
Symbol _posix_iosuspend (number 5) is not exported from dependent
module /unix.
Symbol _posix_aio_nwait (number 6) is not exported from dependent
module /unix.
Symbol _posix_aio_nwait64 (number 7) is not exported from dependent
module /unix.
Symbol _posix_aio_nwait_timeout (number 8) is not exported from dependent
module /unix.
Symbol _posix_aio_nwait_timeout64 (number 9) is not exported from dependent
module /unix.
Symbol _posix_iofsync (number 10) is not exported from dependent
module /unix.
System error: Error 0
Examine .loader section symbols with the 'dump -Tv' command.
#


Does this mean anything to anyone?!

Thanks

GM
 
I found a forum that asked me to try a few things in relation to my previous error;

# lslpp -l bos.rte.libc
Fileset Level State Description
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
bos.rte.libc 5.3.0.44 COMMITTED libc Library
# lppchk -v bos.rte.libc
#


The first command seems to execute fine but the second one doesn't return anything. Does this matter?

Thanks

GM
 
Are your Asynchronous I/O servers enabled?

smitty posixaio

Perhaps the package you have has been compiled with aio support.



"If you always do what you've always done, you will always be where you've always been."
 
Hi,

Thanks for your reply!

I'm afraid I don't really know what I'm looking for here.
When I go into the "Change/show characteristics of Asynchronous I/O" the "State of fast path" field is set to enable.

When I run the following command though it returns nothing;

# lsdev -Cc postix_aio
#

Would this suggest that something isn't configured that ahould be?

Thanks

GM
 
I seem to have managed to get round the previous error by enabling Asyncronous I/O (thanks!) but I now have another problem...

The nmbd daemon still starts OK but smbd returns the following error;

# /usr/local/sbin/smbd -D
Abort(coredump)
#

I also get the following when trying to find out a bit more information;

# /usr/local/bin/smbcontrol /usr/local/sbin/smbd reload-config
Processing section "[dir1]"
Processing section "[dir2]"
Processing section "[dir3]"
Processing section "[dir4]"
Processing section "[dir5]"
Processing section "[dir6]"
Processing section "[dir7]"
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
Failed to open connections database: No such file or directory
#


When I run the 'testparm' script I get the following back;

# /usr/local/bin/testparm
Load smb config files from /usr/local/lib/smb.conf
Processing section "[dir1]"
Processing section "[dir2]"
Processing section "[dir3]"
Processing section "[dir4]"
Processing section "[dir5]"
Processing section "[dir6]"
Processing section "[dir7]"
Loaded services file OK.
WARNING: passdb expand explicit = yes is deprecated
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions

Any ideas where I can go from here?!

Thanks

GM
 
Running /usr/local/bin/smbstatus returns a similar error;

# /usr/local/bin/smbstatus
Processing section "[ccase]"
Processing section "[vobstore]"
Processing section "[viewstore]"
Processing section "[aperl]"
Processing section "[triggers]"
Processing section "[distrib]"
Processing section "[testdir]"
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
Error loading module '/usr/local/lib/charset/ISO8859-1.so': Could not load module /usr/local/lib/charset/ISO8859-1.so.
System error: No such file or directory
sessionid.tdb not initialised
/usr/local/var/locks/connections.tdb not initialised
This is normal if an SMB client has never connected to your server.
Failed to open byte range locking database
ERROR: Failed to initialise locking database
Can't initialise locking module - exiting
#
 
Here's an extract from the log file that's generated when I try to start smbd;


[2007/07/26 14:10:15, 0] passdb/pdb_smbpasswd.c:getsmbfilepwent(391)
getsmbfilepwent: malformed password entry (no :)
[2007/07/26 14:10:15, 0] passdb/pdb_smbpasswd.c:getsmbfilepwent(391)
getsmbfilepwent: malformed password entry (no :)
[2007/07/26 14:10:15, 0] passdb/pdb_smbpasswd.c:getsmbfilepwent(391)
getsmbfilepwent: malformed password entry (no :)
[2007/07/26 14:10:15, 0] passdb/pdb_smbpasswd.c:getsmbfilepwent(391)
getsmbfilepwent: malformed password entry (no :)
[2007/07/26 14:10:15, 0] passdb/pdb_smbpasswd.c:getsmbfilepwent(391)
getsmbfilepwent: malformed password entry (no :)
[2007/07/26 14:10:15, 0] passdb/pdb_smbpasswd.c:getsmbfilepwent(391)
getsmbfilepwent: malformed password entry (no :)
[2007/07/26 14:10:15, 3] lib/util_seaccess.c:se_access_check(250)
[2007/07/26 14:10:15, 3] lib/util_seaccess.c:se_access_check(251)
se_access_check: user sid is S-1-5-21-1808989155-3395749139-4189783812-1000
se_access_check: also S-1-5-21-1808989155-3395749139-4189783812-1001
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
se_access_check: also S-1-5-32-544
[2007/07/26 14:10:15, 3] lib/util_seaccess.c:se_access_check(250)
printing/printing.c:start_background_queue(1379)
start_background_queue: Starting background LPQ thread
[2007/07/26 14:10:15, 0] lib/util_sock.c:eek:pen_socket_in(823)
bind failed on port 139 socket_addr = 0.0.0.0.
Error = Address already in use
[2007/07/26 14:10:15, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/07/26 14:10:15, 2] smbd/server.c:exit_server(614)
Closing connections
[2007/07/26 14:10:15, 3] smbd/connection.c:yield_connection(69)
Yielding connection to
[2007/07/26 14:10:15, 3] smbd/connection.c:yield_connection(76)
yield_connection: tdb_delete for name failed with error Record does not exist
.
[2007/07/26 14:10:15, 3] smbd/server.c:exit_server(655)
Server exit (Caught TERM signal)
#


Does this mean anything to anyone?
 
I've got it working!

Something else was listening on port 139 so I removed the references to netbios-ssn and netbios-ns from inetd.conf and restated the daemon using 'refresh -s inetd'.

When I run /usr/local/sbin/smbd -D afterwards it works fine!

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top