Activity Stream
48,167 MEMBERS
62889 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 6 of 6
  1.     
    #1
    Member

    Question Unable to start httpd after installing openvpn on port 80

    Okay, i have installed openvpn, and used port 80. before installing openvpn, i first stopped httpd for port 80 to be used by openvpn. Now, i removed openvpn by doing
    PHP Code: 
    service openvpn stop 
    and
    PHP Code: 
    yum remove openvpn 
    but when i
    PHP Code: 
    service httpd start 
    Here's what comes out:
    Code: 
    [root@sound Downloads]# service httpd start
    Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
    (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
    no listening sockets available, shutting down
    Unable to open logs
                                                               [FAILED]
    [root@sound Downloads]# service openvpn stop
    openvpn: unrecognized service
    [root@sound Downloads]#
    Please help me revive httpd.. LoL
    Hillside Reviewed by Hillside on . Unable to start httpd after installing openvpn on port 80 Okay, i have installed openvpn, and used port 80. before installing openvpn, i first stopped httpd for port 80 to be used by openvpn. Now, i removed openvpn by doing service openvpn stop and yum remove openvpn but when i service httpd start Here's what comes out: # service httpd start Starting httpd: (98)Address already in use: make_sock: could not bind to address :80 (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Super Member
    try

    killall -9 ns.pl
    then

    service httpd start

    If that doesn't work maybe something else is using port 80:

    Code: 
    http://inmyplace.info/2008/01/05/address-already-in-use-make_sock-could-not-bind-to-address-apache-httpd-error/

    So kiss me and smile for me, say that you'll wait for me <'3

  4.     
    #3
    Member
    Code: 
    ns.pl: no process killed
    No Luck mate, i guess i'll just have to reformat the vps Damn, 1 sborg ticket wasted

  5.     
    #4
    Member
    Website's:
    oneddl.eu nfomation.net linksafe.me
    grep your port 80 and then kill the process you find using it.

  6.     
    #5
    Respected Member
    Website's:
    DL4Everything.com Soft2050.in
    Quote Originally Posted by Hillside View Post
    Code: 
    ns.pl: no process killed
    No Luck mate, i guess i'll just have to reformat the vps Damn, 1 sborg ticket wasted
    Try the second method given by Sp32
    That has worked with me manytimes when i get error likes this (but in mysql)

  7.     
    #6
    It begins...
    Code: 
    service openvpnas stop
    It's openvpnas, not openvpn (as = access server). Not sure if that'll work since you removed it via yum. But a reboot should fix it since openvpn is not installed so it obviously won't bind to port 80.

    Alternatively, find out the process that's binding to port 80 (use netstat), then use the 'pidof' command to find the pid of that program, and kill it with the 'kill PID' command.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. make UDP and TCP port more on Openvpn
    By fidai90 in forum Server Management
    Replies: 2
    Last Post: 10th Oct 2012, 12:14 PM
  2. How to add second port Openvpn
    By kedenya in forum Server Management
    Replies: 4
    Last Post: 9th Oct 2012, 12:04 AM
  3. how to setup using customised port on OPENVPN?
    By fidai90 in forum Webmaster Discussion
    Replies: 0
    Last Post: 8th Oct 2012, 11:36 PM
  4. Replies: 5
    Last Post: 14th May 2012, 04:48 PM
  5. Replies: 9
    Last Post: 6th Apr 2012, 10:16 AM

Tags for this Thread

BE SOCIAL