500 Error at cpsrvd Server
facing this ""500 Error at cpsrvd Server"", when a cpanel user is trying to add an addon to his cpanel.
Error: The API request failed with the following error: 500 - Internal Server Error.: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>500 Internal Server Error</title> <style type="text/css"> .errortype { font-family:verdana,arial,helvetica,clean,sans-serif; font-size:x-large; font-weight:bold; } .errormessage { font-family:verdana,arial,helvetica,clean,sans-serif; font-size:large; whitespace:pre; margin-left:20px; } p.errormessage { color:#ff0000; } .serverinfo { font-family:verdana,arial,helvetica,clean,sans-serif; font-size:medium; } </style> </head> <body> <h1 class="errortype">Internal Server Error</h1> <p class="errormessage">500<pre>Error ID 3556ae09b18ad</pre></p> <hr> <address class="serverinfo">cpsrvd Server at hostname.server.ner</address> </body> </html>
-
Hey there! What do you see inside the cPanel error log at /usr/local/cpanel/logs/error_log? That is always the best place to look for issues related to a problem with the cPanel interface.
0 -
I tried many times by /scripts/upcp --force.
But, not worked.
Also, I have checked /usr/local/cpanel/logs/error_log and found these notable logs.httpd_ls_bak: Could not open configuration file /etc/apache2/conf/httpd.conf: Permission denied
[2024-01-06 05:59:36 +0000] info [cpwrapd] Creating MySQL virtual user rards_wp431 for user yards
cpsrvd 7f75efb024e: PID 2729535: The cPanel Server operation timed out at cpsrvd.pl line 670.
[2024-01-06 06:02:30 +0000] info [cpaneld] Internal Server Error: "POST /cpsess5622995654/json-api/cpanel HTTP/1.1" 500 Error ID 7f75efb024e0 -
It seems like there are permission problems with the system. I would expect
/etc/apache2/conf/httpd.conf
to be 600 root:root, but you may need to check the entire /etc/ or /etc/apache2 directory for correct permissions and ownership.
0 -
I am facing the same issue and the permission for my folders and files is correct
-rw------- 1 root root 9078627 Nov 6 21:07 httpd.conf
-rw------- 1 root root 1333888 Nov 6 21:07 httpd.conf.datastore
-rw-r--r--. 1 root root 13064 Jul 22 20:34 magic
-rw-r--r--. 1 root root 61489 Nov 6 20:00 mime.types
-rw-r--r-- 1 root root 60952 Jul 11 15:25 mime.types.rpmnew
drwxr-xr-x. 2 root root 44 Jul 22 20:34 bin
drwxr-xr-x. 2 root root 132 Nov 6 21:02 conf
drwxr-xr-x. 8 root root 4096 Oct 29 00:01 conf.d
drwxr-xr-x. 2 root root 4096 Jul 22 20:34 conf.modules.d
lrwxrwxrwx 1 root root 21 Jul 22 20:34 logs -> ../../var/log/apache2
lrwxrwxrwx 1 root root 31 Jul 22 20:34 modules -> ../../usr/lib64/apache2/modules
lrwxrwxrwx 1 root root 21 Jul 22 20:34 run -> ../../var/run/apache2
-rw------- 1 root root 9076436 Nov 6 20:51 /etc/apache2/conf/httpd.conf0 -
Thanks for sharing that data. What about the main /etc directory itself? That should be 755 root:root.
0 -
the permission of /etc is 755 root:root
0 -
Is this also happening when you are trying to create an addon domain? If so, it may be best to create a ticket since all the permissions related to that error message look correct.
0
Please sign in to leave a comment.
Comments
7 comments