Support Requests item #428770, was updated on 2001-05-30 12:03
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=203152&aid=428770&group_id=3152
Category: Configuration: First-Time Startup
Group: aolserver3_4
Status: Open
Priority: 5
Submitted By: Andrew Stevens (acstevens)
Assigned to: Dossy Shiobara (dossy)
Summary: nsd_v3_r4 startup failure on solaris 2.8
Initial Comment:
Trying to start up AOLserver out of the box for the
first time.
The command line I am using is:
nsd -ft ../sample-config.tcl
Here is the output:
[30/May/2001:14:51:04][11658.1][-main-] Notice:
config.tcl: starting to read config file...
[30/May/2001:14:51:04][11658.1][-main-] Warning:
config.tcl: nsssl not loaded -- key/cert files do not
exist.
[30/May/2001:14:51:04][11658.1][-main-] Warning:
config.tcl: nscp not loaded -- user/password is not
set.
[30/May/2001:14:51:04][11658.1][-main-] Notice:
config.tcl: finished reading config file.
[30/May/2001:14:51:04][11658.1][-main-] Notice: nsmain:
AOLserver/3.4 starting
[30/May/2001:14:51:04][11658.1][-main-] Notice: nsmain:
security info: uid=1001, euid=1001, gid=10, egid=10
[30/May/2001:14:51:04][11658.1][-main-] Notice: nsmain:
max files: FD_SETSIZE = 1024, rl_cur = 1024, rl_max =
1024
[30/May/2001:14:51:04][11658.1][-main-] Notice: adp:
mapped /*.adp
[30/May/2001:14:51:04][11658.1][-main-] Notice:
modload: loading '/usr/local/aolserver/bin/nssock.so'
[30/May/2001:14:51:04][11658.1][-main-] Warning:
modload: failed to load
'/usr/local/aolserver/bin/nssock.so': 'ld.so.1: nsd:
fatal: relocation error: file
/usr/local/aolserver/bin/nssock.so: symbol
Ns_RegisterDriver: referenced symbol not found'
[30/May/2001:14:51:04][11658.1][-main-] Fatal: modload:
failed to load module
'/usr/local/aolserver/bin/nssock.so'
It there something wrong with my build or my runtime
env?
Any help is greatly appreciated.
Thanks,
ACS
----------------------------------------------------------------------
>Comment By: Dossy Shiobara (dossy)
Date: 2001-06-01 13:48
Message:
Logged In: YES
user_id=21885
I can't duplicate your environment or your error, so unless
you can provide me with shell access to your box,
diagnosing your problem may be very difficult.
Some questions:
1) What architecture is the Solaris 2.8 running on?
sun4u? sun4m? (What is the output from "uname -a" ?)
2) Exactly what version of gcc are you using? (What's
the output from "gcc -v" ?)
3) What packages are installed for the OS? (Attach a copy
of the output of "pkginfo" to this ticket.)
I can SSH into your box if you can create me an account and
allow network traffic from my box. If this is a
possibility, let me know. Otherwise, I don't know if
there's anything else I can do to help. -- Dossy
----------------------------------------------------------------------
Comment By: Andrew Stevens (acstevens)
Date: 2001-06-01 11:23
Message:
Logged In: YES
user_id=232706
NO LUCK ... again aolserver built with no errors ... a
couple of warnings. tried to start it up an received the
same runtime error. I dont know what to do!
Andrew
----------------------------------------------------------------------
Comment By: Dossy Shiobara (dossy)
Date: 2001-05-31 19:46
Message:
Logged In: YES
user_id=21885
I just built AOLserver 3.4 on a Solaris 2.8 sun4u box
using gcc-2.95.3 (using the gcc-2.95.3 package from
sunfreeware.com).
I had to build using -fPIC in order to get things to link:
$ gmake CC="gcc -fPIC"
Once I got everything to build, starting nsd worked like
a charm using sample-config.tcl, and I was able to fetch
the default index.html from
servers/server1/pages/index.html.
Perhaps you need to gmake clean then gmake CC="gcc -fPIC"
as I did in order to get things going. I don't have access
to a box with a cygnus build of gcc, so I can't verify.
Let me know if this helps, otherwise I'll try to investigate
further. -- Dossy
----------------------------------------------------------------------
Comment By: Andrew Stevens (acstevens)
Date: 2001-05-31 07:25
Message:
Logged In: YES
user_id=232706
Dossy,
I built from source using gmake and gcc provided by cygnus.
Yes you are correct that it is a SPARC. My LD_LIBRARY_PATH
only has one thing in it for sybase:
"/opt/sybase/OCS-12_0/lib:" Do I need something in there for
AOLserver?
Thanks,
Andrew
----------------------------------------------------------------------
Comment By: Dossy Shiobara (dossy)
Date: 2001-05-30 18:42
Message:
Logged In: YES
user_id=21885
Did you build from source, or use a binary distribution?
What is your LD_LIBRARY_PATH environment variable set to?
You can check by doing:
$ echo $LD_LIBRARY_PATH
I presume this is Solaris 8 on a SPARC, and not x86? Or,
am I wrong? -- Dossy
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=203152&aid=428770&group_id=3152