1843271 Members
4594 Online
110214 Solutions
New Discussion

Apache problems

 
Otto Folprecht
Advisor

Apache problems

Hi, Here is the problem. I am installing apache on HPUX 10.20. When starting up the httpd i get the next error.

/usr/local/apache/bin # ./httpd
/usr/lib/dld.sl: Call to mmap() failed - TEXT /usr/local/apache/libexec/mod_vhost_alias.so
/usr/lib/dld.sl: Permission denied
Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/mod_vhost_alias.so into server: Permission denied

I can live with correcting the sysnatx error on line 207 in the conf file, but why do I have the other errors. Thanks, Otto
4 REPLIES 4
Mark Greene_1
Honored Contributor

Re: Apache problems

What are the permissions and ownership on /usr/lib/dld.sl? The file should be read-execute for all, and owned by bin:bin. The /usr/lib and /usr dirs should be the same. Where you running the installation as root?

mark
the future will be a lot like now, only later
Jeff Schussele
Honored Contributor

Re: Apache problems

Hi Otto,

Assuming you don't have a permissions problem here, you may want to look at the latest 10.2 dld.sl cumulative - PHSS_17225

http://www2.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.search|&patchid=PHSS_17225&context=hpux:800:10:20

And the latest 10.2 libc cumulative - PHSS_26158

http://www2.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.search|&patchid=PHCO_26158&context=hpux:800:10:20

Also make sure your Java environment is being set up correctly for the user starting Apache.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Steven E. Protter
Exalted Contributor

Re: Apache problems


htttpd --help

Will give you some options. One of them is a syntax checker on httpd.conf

You also have permission problems and want to make sure the environment of the user starting the server is correct. Pay attention to SHLIB_PATH and PATH.

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
Carlo Montanari
Advisor

Re: Apache problems

Please post the output of the commands:
ls -l /usr/local/apache/libexec/mod_vhost_alias.so
file /usr/local/apache/libexec/mod_vhost_alias.so

The .so suffix sounds strange in hpux..