• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

/var/log/sw-cp-server/error_log

Daniel V

New Pleskian
Hi all,

since the micro update # 10, I've noticed on my server a somewhat elevated server load.

by looking at the logs, I found the following error in the log.

Exception: PHP Warning: fread() [<a href='function.fread'>function.fread</a>]: Length parameter must be greater than 0; File: /usr/local/psa/admin/htdocs/glm/glm.class.php, Line: 244

file: /usr/local/psa/admin/smb/application/library/Smb/Exception/Syntax.php
line: 55
code: 0
trace: #0 [internal function]: Smb_Exception_Syntax::handleError(2, 'fread() [<a hre...', '/usr/local/psa/...', 244, Array)
#1 /usr/local/psa/admin/htdocs/glm/glm.class.php(244): fread(Resource id #146, 0)
#2 /usr/local/psa/admin/htdocs/glm/index.php(24): glm->readAbuseSettings()
#3 {main}

2012-08-25 14:19:46: (connections.c.1762) SSL (error): 5 -1 104 Connection reset by peer
2012-08-25 14:19:49: (mod_fastcgi.c.2746) FastCGI-stderr: PleskUtilException: '/usr/local/psa/admin/bin/crontabmng' 'set' 'root' 'crontabwpf39X' failed with code 255.

stdout:

crontabmng syntax:
list
to list all users that have modifiable crontab
get <username>
to show crontab of <username>
set <username> <filename>
to set crontab of <username> from <filename>
allow <username>
to allow crontab of <username>
deny <username>
to deny crontab of <username>
remove <username>
to remove crontab of <username>

System error: crontab execution error


stderr:
"crontabwpf39X":2: bad command
errors in crontab file, can't install.
System error: crontab execution error

file: /usr/local/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 66
code: 0
trace: #0 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(58): Service_Agent_Transport_Local_Exec->process(1, Object(Service_Agent_Command_Exec), Object(Service_Agent_Log), Object(Service_Agent_Transport_LocalTransaction))
#1 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(24): Service_Agent_Transport_Local->_command(1, Object(Service_Agent_Command_Exec), Object(Service_Agent_Transport_LocalTransaction), Object(Service_Agent_Log))
#2 /usr/local/psa/admin/plib/Service/Agent.php(133): Service_Agent_Transport_Local->process('5ec9f63126e24ff...', Array, Object(Service_Agent_Log))
#3 /usr/local/psa/admin/plib/class.Crontab.php(203): Service_Agent->commit()
#4 /usr/local/psa/admin/plib/class.Crontab.php(169): Crontab->_saveConfig('##?*?*?*?*?*?/u...')
#5 /usr/local/psa/admin/plib/modules/watchdog/wdcplib.php(120): Crontab->export()
#6 /usr/local/psa/admin/plib/modules/watchdog/wdcplib.php(33): set_cronjob_task('/usr/local/psa/...', 'root', Array)
#7 /usr/local/psa/admin/plib/modules/watchdog/configure.php(20): set_secur_scan_cronjob('weekly')
#8 /usr/local/psa/admin/plib/modules/watchdog/wdcplib.php(215): require_once('/usr/local/psa/...')
#9 /usr/local/psa/admin/plib/modules/watchdog/preaction.php(17): wd__require_once('configure.php')
#10 /usr/local/psa/admin/htdocs/modules/watchdog/index.php(3): require_once('/usr/local/psa/...')
#11 {main}



2012-08-25 14:19:49: (mod_fastcgi.c.2746) FastCGI-stderr: WDCPExc: Configuring crontab task failed.
file: /usr/local/psa/admin/plib/modules/watchdog/wdcplib.php
line: 121
code: 1
trace: #0 /usr/local/psa/admin/plib/modules/watchdog/wdcplib.php(33): set_cronjob_task('/usr/local/psa/...', 'root', Array)
#1 /usr/local/psa/admin/plib/modules/watchdog/configure.php(20): set_secur_scan_cronjob('weekly')
#2 /usr/local/psa/admin/plib/modules/watchdog/wdcplib.php(215): require_once('/usr/local/psa/...')
#3 /usr/local/psa/admin/plib/modules/watchdog/preaction.php(17): wd__require_once('configure.php')
#4 /usr/local/psa/admin/htdocs/modules/watchdog/index.php(3): require_once('/usr/local/psa/...')
#5 {main}

I have also now partially open up to 8 times the task sw-engine-cgi.

Before micro update virtually no entry was found in the error_log and the task sw-engine-cgi was rarely seen.

someone has an idea what went wrong?
 
Back
Top