[SOLVED] Could not reliably determine the server's fully qualified domain name, using * for ServerName

$ /etc/init.d/apache2 restart
 * Restarting web server apache2
ulimit: 88: error setting limit (Operation not permitted)
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
ulimit: 88: error setting limit (Operation not permitted)
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
(13)Permission denied: 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.
The Apache error log may have more information.
To fix this issue run following line in terminal:
sudo gedit /etc/apache2/httpd.conf
and add following line in opened file:
ServerName localhost
Save file and close text editor (gedit).
Now restart apache

Comments

  1. or try:
    sudo /etc/init.d/apache2 restart

    ReplyDelete
  2. Nop., Its Not Working For me

    (gedit:2753): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.XWV9UW': No such file or directory

    ReplyDelete

Post a Comment

Popular posts from this blog

Arabic to Roman Numerals in JAVA