Operating System - HP-UX
1837897 Members
3218 Online
110123 Solutions
New Discussion

Re: Samba 3.0.1 startup problem

 
David Mores
Frequent Advisor

Samba 3.0.1 startup problem

I have a built from source 3.0.1 smbd/nmbd program that will startup on one server system running hpux11.11, but will not startup on another system.

On the problem system smbd and nmbd both abort immediately with the log message:

[2004/01/22 17:42:06, 0] smbd/server.c:main(747)
smbd version 3.0.1 started.
Copyright Andrew Tridgell and the Samba Team 1992-2003
/usr/lib/dld.sl: Internal Error 2004
/usr/lib/dld.sl: No such file or directory

[2004/01/22 17:42:15, 0] nmbd/nmbd.c:main(664)
Netbios nameserver version 3.0.1 started.
Copyright Andrew Tridgell and the Samba Team 1994-2003
/usr/lib/dld.sl: Internal Error 2004
/usr/lib/dld.sl: No such file or directory

The mystery here is what is error 2004 and what file or directory cannot be found?

Version 2.2.8a runs just fine on this problem system, but after shutdown and startup of 3.0.1, it bombs out. Switching back to 2.2.8a works just fine.
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: Samba 3.0.1 startup problem

You may need to recompile on each server.

Try it on one, it might help.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
David Mores
Frequent Advisor

Re: Samba 3.0.1 startup problem

It was compiled on the problem server with no change in behavior.
Jeff Schussele
Honored Contributor

Re: Samba 3.0.1 startup problem

Hi David,

It's been my experience that *most* of the time when you see /usr/lib/dld.sl: No such file or directory error or any loader type error, you probably have an environment problem - typically something like an incorrect SHLIB_PATH or some other LIB path issue.

Check your environments - IF you have both Samba versions on this system they *have* to be in diff locations. Is the environment changed between these sessions to reflect this?

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
David Mores
Frequent Advisor

Re: Samba 3.0.1 startup problem

Yes both version are on the system in different directory trees. I just switch where a link file points to start one or the other.

I too suspect a library environment problem, but am stumped as to how to track it down with the critical filename information not provided.

The startup environment is identical for each with the exception of the path to the target version. No SHLIB_PATH is being used.

David Mores
Frequent Advisor

Re: Samba 3.0.1 startup problem

Problem solved by installing ld(1) and linker tools cumulative patch PHSS_26560.
Steven E. Protter
Exalted Contributor

Re: Samba 3.0.1 startup problem

David,

I was wondering if that patch was listed as a pre-requisite on the website you got Samba from?

Just curious.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com