标签:
系统版本:
HP-UX zhwg B.11.23 U ia64 2667688584 unlimited-user license
使用depot安装apache2.4.16和相关依赖包后
zhwg:/usr/local/apache2/adm # cat error_log
/usr/lib/hpux32/dld.so: Unsatisfied code symbol ‘strerror_r‘ in load module ‘/usr/local/apr/lib/libapr-1.so‘.
zhwg1:/usr/local/apache2/bin # ./apachectl -k start 启动不起来,也报如上错误。
zhwg1:/usr/local/apache2/bin # ./apachectl -V 可以查出版本和APR、APR-UTIL信息.
机器A将apr卸载 swremove -p apr --预览卸载
swremove apr --卸载apr
然后选择源文件安装apr
tar -zxf apr-1.5.2-src-11.31.tar.gz
cd apr-1.5.2
./configure --prefix=/usr/local/apr
make
make install
这样安装上了,检查apache应用:
zhwga:/usr/local/apache2/bin # ./apachectl -k start
AH00558: httpd: Could not reliably determine the server‘s fully qualified domain name, using 134.43.1.33. Set the ‘ServerName‘ directive globally to suppress this message
这个信息提示域名没有加上,无关紧要,继续检查。
ps -ef |grep apache
daemon 13517 13516 0 10:11:45 ? 0:00 /usr/local/apache2/bin/httpd -k start
root 10958 12686 0 11:21:35 pts/tk 0:00 grep apache
daemon 13519 13516 0 10:11:45 ? 0:00 /usr/local/apache2/bin/httpd -k start
daemon 13518 13516 0 10:11:45 ? 0:00 /usr/local/apache2/bin/httpd -k start
root 13516 1 0 10:11:45 ? 0:00 /usr/local/apache2/bin/httpd -k start
daemon 13782 13516 0 10:12:24 ? 0:00 /usr/local/apache2/bin/httpd -k start
可以看到服务已经起来了,机器A已经ok,只需配置了.
HP-UNIX 安装apache2.4.16过程中错误及解决方法
标签:
原文地址:http://www.cnblogs.com/i-shu/p/4729472.html