Looking up localhost
Making HTTP connection to localhost
Alert!: Unable to connect to remote host.
lynx: Can't access startfile http://localhost/server-status
checking for SSL/TLS toolkit base... /usr
checking for SSL/TLS toolkit version... OpenSSL 0.9.8k 25 Mar 2009
checking for SSL/TLS toolkit includes... configure: error: OpenSSL headers not found"
So I did this:
sockopt.c:241: error: 'SCTP_NODELAY' undeclared (first use in this function)
sockopt.c:241: error: (Each undeclared identifier is reported only once"
Based on a solution suggested here:
ssl_engine_pphrase.c:707: error: 'PEM_F_DEF_CALLBACK' undeclared (first use in this function)
Based on a solution suggested here:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/23493
I added these lines to the file modules/ssl/ssl_toolkit_compat.h:
#if (OPENSSL_VERSION_NUMBER >= 0x0090800fL)
#ifndef PEM_F_DEF_CALLBACK
#define PEM_F_DEF_CALLBACK PEM_F_PEM_DEF_CALLBACK
#endif
#endif
user@apachedom:~/apache/install/2_0_44$ bin/apachectl status
bin/apachectl: 87: lynx: not found
I then installed lynx like this:
user@apachedom:~/apache/install/2_0_44$ sudo apt-get install lynx
Even after lynx was installed, I see a different error message.
user@apachedom:~/apache/install/2_0_44$ sudo bin/apachectl status
Looking up localhost
Making HTTP connection to localhost
Alert!: Unable to connect to remote host.
lynx: Can't access startfile http://localhost/server-status
To check if I can resolve "localhost" I tried this:
user@apachedom:~/apache/install/2_0_44$ ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.026 ms