Web Hosting Talk







View Full Version : Having trouble running apache startssl


voxio
06-25-2004, 09:27 PM
ok i can start apache using
[root@ignite bin]# ./apachectl start
fine everything runs ok etc
but when i try to start with startssl it doesnt start heres the log..

[Sat Jun 26 02:22:32 2004] [crit] (98)Address already in use: make_sock: could not bind to address 217.112.89.173 port 80

there isnt anything running on port 80! i recently installed grsecurity

Linux ignite 2.4.26-grsec #3 Wed Jun 23 19:57:16 BST 2004 i686 i686 i386 GNU/Linux

if that helps i have not got gradm running so acl shouldnt be a problem.
help :D

zupanm
06-25-2004, 09:43 PM
fuser 80/tcp

voxio
06-25-2004, 10:39 PM
[root@ignite bin]# fuser 80/tcp
[root@ignite bin]# ./apachectl startssl
Apache/1.3.31 mod_ssl/2.8.18 (Pass Phrase Dialog)
Some of your private key files are encrypted for security reasons.
In order to read them you have to provide us with the pass phrases.

Server ignite.voidhosting.com:443 (RSA)
Enter pass phrase:

Ok: Pass Phrase Dialog successful.
./apachectl startssl: httpd started
[root@ignite bin]# ps aux | grep httpd
[root@ignite bin]#

voxio
06-25-2004, 10:41 PM
again..

[Sat Jun 26 03:38:54 2004] [crit] (98)Address already in use: make_sock: could not bind to address 217.112.89.173 port 80

:(

S2 Web Design
06-25-2004, 11:06 PM
Either there is a service already running on that port (well, there definitely is by the time you receive that error or you wouldn't receive it) or you probably have a couple different "Listen 80" lines in your configuration file perhaps.

blessen
06-26-2004, 01:59 AM
yes..its true..if you have got such an error its means that some program or process is using the port 80...please execute this command

netstat -lpn|grep :80 and see if there is any process using port 80

if there is one ..then kill that process and restart apache once more :-D

zupanm
06-26-2004, 08:49 AM
nothing was running on that port.. he ran fuser 80/tcp that would have listed what was running. try it for port 443