Advertisement
Guest User

Untitled

a guest
Jul 15th, 2013
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. ozzloy% sudo apache2ctl start
  2. [sudo] password for ozzloy:
  3. [Mon Jul 15 09:55:08 2013] [crit] (22)Invalid argument: alloc_listener: failed to get a socket for (null)
  4. Syntax error on line 9 of /etc/apache2/ports.conf:
  5. Listen setup failed
  6. Action 'start' failed.
  7. The Apache error log may have more information.
  8. ozzloy% cat /etc/apache2/ports.conf|head -n 13
  9. # If you just change the port or add more ports here, you will likely also
  10. # have to change the VirtualHost statement in
  11. # /etc/apache2/sites-enabled/000-default
  12. # This is also true if you have upgraded from before 2.2.9-3 (i.e. from
  13. # Debian etch). See /usr/share/doc/apache2.2-common/NEWS.Debian.gz and
  14. # README.Debian.gz
  15.  
  16. NameVirtualHost *:80
  17. Listen 80 # <<-- line 9
  18.  
  19. <IfModule mod_ssl.c>
  20. # If you add NameVirtualHost *:443 here, you will also have to change
  21. # the VirtualHost statement in /etc/apache2/sites-available/default-ssl
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement