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