Author Topic: module as crontab user does not work, it keeps loading  (Read 180 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
module as crontab user does not work, it keeps loading
« on: September 23, 2024, 02:06:52 PM »
hello, I have a problem with my centos web panel user, when I access the user mode and open the crontab I see https://prnt.sc/AEYVAmUDqgDM
What can be happening?

Offline
**
Re: module as crontab user does not work, it keeps loading
« Reply #1 on: September 24, 2024, 06:38:48 PM »
Update CWP up to the latest stable version.

If the problem remains then look for errors in the file:
Code: [Select]
/usr/local/cwpsrv/logs/error_log

Offline
*
Re: module as crontab user does not work, it keeps loading
« Reply #2 on: September 25, 2024, 01:29:26 PM »
This is the message that generates the log shown, I have cwp version 0.9.8.1186
Code: [Select]
2024/09/25 09:27:16 [notice] 28033#0: *12950 "^/v1/([^/]+)/?$" matches "/v1/user_panel_dashboard/", client: 127.0.0.1, server: localhost, request: "POST /v1/user_panel_dashboard/ HTTP/1.1", host: "127.0.0.1:2302"
2024/09/25 09:27:16 [notice] 28033#0: *12950 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/user_panel_dashboard/ HTTP/1.1", host: "127.0.0.1:2302"
2024/09/25 09:27:16 [info] 28033#0: *12950 client 127.0.0.1 closed keepalive connection
2024/09/25 09:27:16 [notice] 28033#0: *12952 "^/v1/([^/]+)/?$" matches "/v1/statuscron/", client: 127.0.0.1, server: localhost, request: "POST /v1/statuscron/ HTTP/1.1", host: "127.0.0.1:2302"
2024/09/25 09:27:16 [notice] 28033#0: *12952 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/statuscron/ HTTP/1.1", host: "127.0.0.1:2302"
2024/09/25 09:27:16 [info] 28033#0: *12952 client 127.0.0.1 closed keepalive connection
2024/09/25 09:27:16 [notice] 28032#0: *12954 "^/v1/([^/]+)/?$" matches "/v1/cronphpversions/", client: 127.0.0.1, server: localhost, request: "POST /v1/cronphpversions/ HTTP/1.1", host: "127.0.0.1:2302"
2024/09/25 09:27:16 [notice] 28032#0: *12954 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/cronphpversions/ HTTP/1.1", host: "127.0.0.1:2302"
2024/09/25 09:27:17 [info] 28032#0: *12954 client 127.0.0.1 closed keepalive connection
2024/09/25 09:27:17 [error] 28033#0: *12840 FastCGI sent in stderr: "PHP message: PHP Warning:  fopen(/home/gente/cron): failed to open stream: Permission denied in /usr/local/cwpsrv/var/services/user_files/modules/crontab/index.php on line 0
PHP message: PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /usr/local/cwpsrv/var/services/user_files/modules/crontab/index.php on line 0" while reading response header from upstream, client: 200.6.152.59, server: localhost, request: "GET /cwp_5fc5f32f2541000c/gente/?module=crontab HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/gente.sock:", host: "web-md103.gconex.com:2083", referrer: "https://web-md103.gconex.com:2083/cwp_5fc5f32f2541000c/gente/"


Offline
**
Re: module as crontab user does not work, it keeps loading
« Reply #3 on: September 26, 2024, 09:26:57 AM »
There is some problem associated with access permissions:

Code: [Select]
2024/09/25 09:27:17 [error] 28033#0: *12840 FastCGI sent in stderr: "PHP message: PHP Warning:  fopen(/home/gente/cron): failed to open stream: Permission denied in /usr/local/cwpsrv/var/services/user_files/modules/crontab/index.php on line 0
Try:

Code: [Select]
chown gente.gente /home/gente/cron
chmod 660 /home/gente/cron

and then check if the problem remains. If it still exists then check logs again.
« Last Edit: September 26, 2024, 09:30:28 AM by cyberspace »