• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Can't start Apache Server..

The owner of the owner of /httpdocs is wrong. Set it to
Code:
<username>:psaserv
for example:
Code:
# chown adminactu:psaserv httpdocs

I'd also recommend to
Code:
# chmod 0750 httpdocs
but that is just an enhancement, not necessary to solve the permission issue.
 
Last edited:
Thank you for your answer ! i run this commande to change owner :
# chown adminactu:psaserv httpdocs
But owner still not changed in FTP and the website still not working :(
 
What exactly is listed in your /logs/error_log file when you try to access the website? What is listed in the proxy_error_log file?
 
- /logs/error_log :
mod_fcgid: read data timeout in 45 seconds

- proxy_error_log :
lot of
3296#0: *764 open() "httpdocs/wp-content/uploads/2019/01/points-au-C-265x185.jpg" failed (13: Permission denied)
2976#0: *640 open() "httpdocs/wp-includes/js/wp-embed.min.js" failed (13: Permission denied)
 
I have doubts if this can be solved on the forum. When file an directory permissions are correct we are now looking at group definitions, as described in Unable to access the website when nginx is enabled: (13: Permission denied)

But it could also be an entry in an .htaccess file, an extra Nginx web server directive, maybe the permissions in the /var/lib/nginx are incorrect and many more similar issues relating to file or directory permissions, missing permissions for Nginx ... I really don't want to do this here forever, because I don't see any end of this tunnel coming. If it was my machine, I'd probably now first disable Nginx and see if an Apache-only configuration delivers the website, at least to see where the issue is.
Code:
# /usr/local/psa/admin/sbin/nginxmng -d

This thread started out with another rare error - the missing entry in /etc/hosts. Are you sure that your operating system installation is correct and your Plesk installation was done without errors? I cannot believe that the errors described here are the only errors. What exactly lead to this situation?
 
Thank youf for you answer m. Peter and excuse my questions. i don't know why but running the :
# /usr/local/psa/admin/sbin/nginxmng -d commande have resolved the problem and the website is running now
Thank yoyu very much
 
It is now running, because Nginx installation has incorrect permissions. When you re-enable Nginx it will fail again. So probably
# plesk repair installation
could help to fix this altogether.
 
help when i run this
apachectl -t
apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/aclr.load: Cannot load /usr/lib/apache2/modules/mod_aclr.so into server: /usr/lib/apache2/modules/mod_aclr.so: cannot open shared object file: No such file or directory
Action '-t' failed.
The Apache error log may have more information.
and this
service apache2 start
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
 
help when i run this

and this
As the error-message say's there is an error in the apache-conf... looks like the daemon try's to load an module that arent exist...

For more information about mod_aclr have a look here

Try to commet the specific line in the conf, if you dont need the module and try to start the apache.
 
Hi, I've got the same problem with APACHE error_log : "unable to find IPv4 address of "stock.ovh"
> I solve the problem, modifiying file HOSTS.

But 1 day after, I've got the same error: apache server was stopped and the hosts file seems to be resetted (the line I've added in hosts (127.0.0.1 stock.ovh) has disappeared!)
>> How to fix modification in file hosts? Why hosts file has been resetted ?
 
@kriss this is a totally different topic. Please create your own thread for it here:
Your topic is a Linux question on how to prevent your operating system from resetting the hosts configuration upon reboot. It has nothing to do with Plesk. Information on your operating system and version will be needed for good answers.
 
Back
Top