Help troubleshooting new Apache installation on HPUX 11.31

Hi Guys!

I have a very odd problem while installing Apache in an HPUX 11.31, What I did was downloaded the latest webserver suite from hp software, installed using swinstall, everything was extracted properly.

The apache version was 2.2.15

Now the issue comes when I run it, it starts normally but after a few seconds it starts to log some odd errors that I'm not familiar with... check them out:

[Sat Dec 13 00:18:37 2014] [notice] Apache/2.2.15 HP-UX_Apache-based_Web_Server (Unix) DAV/2 mod_ssl/2.2.15 OpenSSL/0.9.8zb 
configured -- resuming normal operations
[Sat Dec 13 00:18:37 2014] [info] Server built: Jul 11 2014 12:41:45
[Sat Dec 13 00:18:37 2014] [debug] worker.c(1875): AcceptMutex: sysvsem (default: sysvsem)
[Sat Dec 13 00:18:37 2014] [error] (14)Bad address: apr_socket_accept: (client socket)
[Sat Dec 13 00:18:38 2014] [error] (14)Bad address: apr_socket_accept: (client socket)
[Sat Dec 13 00:18:38 2014] [debug] worker.c(1434): taking over scoreboard slot from 23152 (quiescing)
[Sat Dec 13 00:18:39 2014] [alert] No active workers found... Apache is exiting!

The apache starts but then immediately exits, i tried changed the IP address in the Listen, and ServerName directive to localhost or any other configured ip in the server but I still have that error... I'm starting to think that theres a problem with the apache version but at this point I'm so clueless..

Please post the output of:

apachectl -V

Hi,

Sure here it is..

Server version: Apache/2.2.15  HP-UX_Apache-based_Web_Server (Unix)
Server built:   Jul 11 2014 12:41:45
Server's Module Magic Number: 20051115:24
Server loaded:  APR 1.4.2, APR-Util 1.3.9
Compiled using: APR 1.4.2, APR-Util 1.3.9
Architecture:   64-bit
Server MPM:     Worker
  threaded:     yes (fixed thread count)
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/worker"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/opt/hpws22/apache"
 -D SUEXEC_BIN="/opt/hpws22/apache/bin/suexec"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
 -D DEFAULT_CHROOT_DIR=""


Even when I've not found the issue per se, I was able to determine that the HPUX server has the libraries messed up for 64 bits, so all I did was download and install the apache for 32 bits and it worked.

So if you ever face this problem again it has to do with the 64bit libs.