I have a new VPS running Plesk 11 (on Ubuntu) and PSA keeps falling over. Looking at the error log at /var/log/sw-cp-server/error_log I see the following message.
PleskUtilException: /opt/psa/admin/bin/dnsmng '--status' failed with message: dnsmng: Unable to open file "/var/lock/files/26d9d96d428d491b87bd77bbeae57bcf": No such file or directory.
System error 2: No such file or directory
dnsmng: Error occurred while locking the file /var/named/run-root/etc/named.conf
System error 2: No such file or directory
file: /opt/psa/admin/plib/common_func.php3
line: 1071
code: 0
trace: #0 /opt/psa/admin/plib/class.ServiceControl.php(304): util_exec('dnsmng', Array, Array, 'lst')
#1 /opt/psa/admin/plib/class.ServiceControl.php(557): ServiceControl->getServiceStatus('dns')
#2 /opt/psa/admin/plib/class.RestartServForm.php(131): ServiceControl->isNamedRunning()
#3 /opt/psa/admin/htdocs/server/restart_services.php(33): RestartServForm->assign(Object(ServiceControl))
#4 {main}
2012-11-21 09:26:38: (log.c.166) server started
2012-11-21 09:28:11: (log.c.166) server started
Obviously the last two are triggered by my running "service psa start" from the # prompt.
Any ideas what's happening? Anywhere I can look to find the solution? I know how to look around Linux but am not a great expert so be gentle!
At the moment I'm trying to manage this with a cron job that runs " service psa start" every 10 mins, but it's not a solution!
Thanks for any help.
PleskUtilException: /opt/psa/admin/bin/dnsmng '--status' failed with message: dnsmng: Unable to open file "/var/lock/files/26d9d96d428d491b87bd77bbeae57bcf": No such file or directory.
System error 2: No such file or directory
dnsmng: Error occurred while locking the file /var/named/run-root/etc/named.conf
System error 2: No such file or directory
file: /opt/psa/admin/plib/common_func.php3
line: 1071
code: 0
trace: #0 /opt/psa/admin/plib/class.ServiceControl.php(304): util_exec('dnsmng', Array, Array, 'lst')
#1 /opt/psa/admin/plib/class.ServiceControl.php(557): ServiceControl->getServiceStatus('dns')
#2 /opt/psa/admin/plib/class.RestartServForm.php(131): ServiceControl->isNamedRunning()
#3 /opt/psa/admin/htdocs/server/restart_services.php(33): RestartServForm->assign(Object(ServiceControl))
#4 {main}
2012-11-21 09:26:38: (log.c.166) server started
2012-11-21 09:28:11: (log.c.166) server started
Obviously the last two are triggered by my running "service psa start" from the # prompt.
Any ideas what's happening? Anywhere I can look to find the solution? I know how to look around Linux but am not a great expert so be gentle!
At the moment I'm trying to manage this with a cron job that runs " service psa start" every 10 mins, but it's not a solution!
Thanks for any help.