Operating System - HP-UX
1827857 Members
1463 Online
109969 Solutions
New Discussion

HP unix Apache start Error.

 
SOLVED
Go to solution
leagle
New Member

HP unix Apache start Error.

I am currently using a 1.3.36 Apache web server on HP-UX 11i and I wanted to
install the Siteminder web agent on it, which is simply a module that you
load dynamically by adding these lines into the httpd.conf file:

LoadModule css_module /opt/siteminder/webagent/lib/mod_css.so

When I first tried to start the web server after saving the modifications to
httpd.conf I got these error messages:

/usr/lib/dld.sl: Unresolved symbol: U_get_unwind_entry (code) from
/usr/lib/libCsup.2
/usr/lib/dld.sl: Unresolved symbol: U_get_shLib_text_addr (code) from
/usr/lib/libCsup.2
/usr/lib/dld.sl: Unresolved symbol: U_resume_execution (code) from
/usr/lib/libCsup.2
/usr/lib/dld.sl: Unresolved symbol: U_update_state_vector (code) from
/usr/lib/libCsup.2
/usr/lib/dld.sl: Unresolved symbol: U_get_shLib_unw_tbl (code) from
/usr/lib/libCsup.2
/usr/lib/dld.sl: Unresolved symbol: U_get_previous_frame_x (code) from
/usr/lib/libCsup.2
/usr/lib/dld.sl: Unresolved symbol: U_get_unwind_table (code) from
/usr/lib/libCsup.2
Syntax error on line 257 of /home/psoft/webserv/conf/httpd.conf:
Cannot load /opt/siteminder/webagent/lib/mod_css.so
into server: No such file
or directory
./apachectl start: httpd could not be started

I thought I should export the SHLIB_PATH variable to the path where the
shared library mod_css.so is, so I did it: export
SHLIB_PATH=$SHLIB_PATH:/opt/siteminder/webagent/lib

But I still had the same error messages.

By using "chatr httpd", I found out that httpd was not using SHLIB_PATH to
locate shared libraries, so I used the command "chatr +s enable httpd" to
enable it.
But I still have the same error messages.
Does anybody have any idea why it does not find this
/opt/siteminder/webagent/lib/mod_css.so library?

Thanks in advance,
1 REPLY 1
Dennis Handly
Acclaimed Contributor
Solution

Re: HP unix Apache start Error.

Your apache is broken. You need to tell who you got it from to follow the plugin rules on this aC++ page:
http://docs.hp.com/en/11920/HP%20aC++%20Online%20Programmer's%20Guide/distributing.htm#linking

If you are going to have aC++ plugins, apache must be linked with -lc.

I suppose you may be able to add this kludge to the line that invokes apache:
$ LD_PRELOAD=/usr/lib/libcl.2 httpd ...

>I thought I should export the SHLIB_PATH variable

That's not your problem. It is a missing library, not a missing path.

>Does anybody have any idea why it does not find this mod_css.so library?

Hmm. I see that error message but it looks bogus. I assume that /opt/siteminder/webagent/lib/mod_css.so exists and is for PA32? What does this show:
file /opt/siteminder/webagent/lib/mod_css.so