Ошибка Ubuntu с apache: (98) Адрес уже используется

Я получаю эту ошибку, когда пытаюсь запустить Apache в Ubuntu.

 (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
 Action 'start' failed.

У меня это есть в файле ports.conf

NameVirtualHost *:80
Listen 80

Это мой файл vhost

<VirtualHost *:80>
          ServerAdmin example@example.com
          ServerName rails.server.com
          # ServerAlias
          DocumentRoot /var/www/sample_app/current/public
          ErrorLog /var/www/sample_app/error.log

          RailsEnv production
        <Directory "/var/www/sample_app/current/public">
          Options Indexes FollowSymLinks MultiViews
          Order allow,deny
          Allow from all
        </Directory>
</VirtualHost>

Что мне не хватает?

25
задан Eric Leschinski 5 January 2014 в 18:17
поделиться