Skip to main content

500 Error at cpsrvd Server

Comments

7 comments

  • cPRex Jurassic Moderator

    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
  • Shohanur Rahman

    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 7f75efb024e
    0
  • cPRex Jurassic Moderator

    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
  • Mansoor Ul

    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.conf

    0
  • cPRex Jurassic Moderator

    Thanks for sharing that data.  What about the main /etc directory itself?  That should be 755 root:root.

    0
  • Mansoor Ul

    the permission of /etc is 755 root:root

    0
  • cPRex Jurassic Moderator

    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.