Kevin K.
New Pleskian
Hello everyone,
since three days I am trying to solve the issue, that the database Plesk uses on my server gets broken again and again. The last times the issue appeared it was possible to solve the problem via the Plesk Reconfigurator, but now it seems that the issue extended. The machine I was running Plesk on is a Windows Server 2012 R2. The issue occured suddenly, so I did not install any software recently that my have been the reason of my issue.
My problem is, that Plesk is not anymore reachable via http publishing service. I have ckeced the plesk services and found that plesksvr and PopPassD could not been started. Via web access the error output is
ERROR: Exception: Unable to get administrator password: The system cannot find the file specified. (Error code 2) at Unable to connect to pipe \\.\pipe\P_6a2d4821-cb11-4f5c-8441-be4fcedeaf13<br> at (Con::ClientOverlappedPipe::create line 503)<br> at get shared instance of PleskSrvClient(PleskSrvClient::getInstance line 344)<br> at (zif_get_admin_password line 277) (Helper.php:68)
and
ERROR: Uncaught exception 'Exception' with message 'Unable to execute proc_open: The system cannot find the file specified. (Error code 2) at Unable to connect to pipe \\.\pipe\I_fc550607-6136-4392-84e5-42e8a987b20c
at (Con::ClientOverlappedPipe::create line 503)
at (zif_plesk_proc_open line 1097)' in C:\Parallels\Plesk\admin\plib\common_func.php3:363 Stack trace: #0 C:\Parallels\Plesk\admin\plib\common_func.php3(363): plesk_proc_open('C:\\Parallels\\Pl...', Array, NULL, Array) #1 C:\Parallels\Plesk\admin\plib\common_func.php3(173): proc_open_exec('C:\\Parallels\\Pl...', Array) #2 C:\Parallels\Plesk\admin\plib\common_func.php3(95): util_exec('send-error-repo...', Array, Array, 'proc_open', 'C:\\Parallels\\Pl...') #3 C:\Parallels\Plesk\admin\plib\Os.php(91): smart_exec('send-error-repo...', Array, 'proc_open') #4 C:\Parallels\Plesk\admin\plib\CommonPanel\Exception.php(322): Os::exec('send-error-repo...', Array, 'proc_open') #5 C:\Parallels\Plesk\admin\plib\CommonPanel\Exception.php(168): CommonPanel_Excep (common_func.php3:363)
I hav ealso verified the service settings of 'plesksrv' via command:
C:\Users\<username>>sc query plesksrv
SERVICE_NAME: plesksrv
TYPE : 10 WIN32_OWN_PROCESS
STATE : 1 STOPPED
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
C:\Users\<username>>sc qfailureflag plesksrv
[SC] QueryServiceConfig2 ERFOLG
SERVICE_NAME: plesksrv
FAILURE_ACTIONS_ON_NONCRASH_FAILURES: FALSE
C:\Users\<username>>sc queryex plesksrv
SERVICE_NAME: plesksrv
TYPE : 10 WIN32_OWN_PROCESS
STATE : 1 STOPPED
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
PID : 0
FLAGS :
C:\Users\<username>>sc qc plesksrv
[SC] QueryServiceConfig ERFOLG
SERVICE_NAME: plesksrv
TYPE : 10 WIN32_OWN_PROCESS
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\Parallels\Plesk\admin\bin\plesksrv.exe -run
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : Plesk Management Service
DEPENDENCIES :
SERVICE_START_NAME : LocalSystem
C:\Users\<username>>sc qprotection plesksrv
[SC] QueryServiceConfig2 ERFOLG
SCHUTZEBENE DES DIENSTS "plesksrv": KEINE.
C:\Users\<username>>sc start plesksrv
[SC] StartService FEHLER 1058:
Der angegebene Dienst kann nicht gestartet werden. Er ist deaktiviert oder nicht mit aktivierten Geräten verbunden.
The database configured for Plesk shall be MySQL, found in registry key HKLM\...\config\PLESK_DATABASE_PROVIDER_NAME.
Try to restart Plesk's services end up in all Plesk services alive except "Plesk Management Service" (the service issue as checked and described above) and Plesk PopPass Service (PopPassD). In Plesk's UI the services simply not gets marked as started. Trying to start these services seperately via command sc or Windows Services UI reported the error on startup
plesksrv: [SC] StartService FEHLER 1058: Der angegebene Dienst kann nicht gestartet werden. Er ist deaktiviert oder nicht mit aktivierten Geräten verbunden.
(translated: StartService ERROR 1058: The service could not been started. It's deactivated or not connected to aktive devices.)
PopPassD: [SC] StartService FEHLER 1068: Der Abhängigkeitsdienst oder die Abhängigkeitsgruppe konnte nicht gestartet werden.
(translated: StartService ERROR 1068: The required services or required group of services could not been started.)
I guess this issue realtes to an overload of Plesk's database, caused by Plesk's mail services. The servers domain is kevinkirchhof.de but DNS MX records for *@kevinkirchhof.de are kept by another mail server infront. Plesk instead shall serve the domains *@kevin-kirchhof.de, *@kevinkirchhof.com and *@kevinkirchhof.eu. Though some services on the machine using *@kevinkirchhof.de as email sender adress. The services useing Java and PHP classes to connect to Plesk's Mail Enable SMTP server. I guess tht this server tries to send email with sender adress *@kevinkirchhof.de which ends up in error states - I've never received an email sent by the other services using Plesk's email feature. Could that be the reason why Plesk's database got corrupted time by time and now is not reachable anymore?
The only thing I didn try is to restart the machine. I hope not to have to restart my machine, becuase its system of production. Or do you have any other further hints for me how to fix this issue?
Strange as well is that the Plesk Management Service has been markt for deletion, taken out of the Event Log. Is that normal? Event Log for plesksrv:
The specified service has been marked for deletion. (Error code 1072) at DeleteService
at (service::unInstallService line 753)
at execute console command -install(vconsoleapp::start line 100)
at execute C:\Parallels\Plesk\admin\bin\plesksrv.exe -install(vconsoleapp::run line 117)
Execute file name: C:\Parallels\Plesk\admin\bin\plesksrv.exe
In Summary:
Restart Plesk services through Plesk UI: failed
Restart Plesk services through Windows Services UI: failed
Restart Plesk services through command sc: failed
Repair Plesk installation with Plesk Reconfigurator: failed
Repair Plesk installation with Plesk Reconfigurator while Plesk services are stopped: failed
Removed module plesk-mobile and restarted services: failed
since three days I am trying to solve the issue, that the database Plesk uses on my server gets broken again and again. The last times the issue appeared it was possible to solve the problem via the Plesk Reconfigurator, but now it seems that the issue extended. The machine I was running Plesk on is a Windows Server 2012 R2. The issue occured suddenly, so I did not install any software recently that my have been the reason of my issue.
My problem is, that Plesk is not anymore reachable via http publishing service. I have ckeced the plesk services and found that plesksvr and PopPassD could not been started. Via web access the error output is
ERROR: Exception: Unable to get administrator password: The system cannot find the file specified. (Error code 2) at Unable to connect to pipe \\.\pipe\P_6a2d4821-cb11-4f5c-8441-be4fcedeaf13<br> at (Con::ClientOverlappedPipe::create line 503)<br> at get shared instance of PleskSrvClient(PleskSrvClient::getInstance line 344)<br> at (zif_get_admin_password line 277) (Helper.php:68)
and
ERROR: Uncaught exception 'Exception' with message 'Unable to execute proc_open: The system cannot find the file specified. (Error code 2) at Unable to connect to pipe \\.\pipe\I_fc550607-6136-4392-84e5-42e8a987b20c
at (Con::ClientOverlappedPipe::create line 503)
at (zif_plesk_proc_open line 1097)' in C:\Parallels\Plesk\admin\plib\common_func.php3:363 Stack trace: #0 C:\Parallels\Plesk\admin\plib\common_func.php3(363): plesk_proc_open('C:\\Parallels\\Pl...', Array, NULL, Array) #1 C:\Parallels\Plesk\admin\plib\common_func.php3(173): proc_open_exec('C:\\Parallels\\Pl...', Array) #2 C:\Parallels\Plesk\admin\plib\common_func.php3(95): util_exec('send-error-repo...', Array, Array, 'proc_open', 'C:\\Parallels\\Pl...') #3 C:\Parallels\Plesk\admin\plib\Os.php(91): smart_exec('send-error-repo...', Array, 'proc_open') #4 C:\Parallels\Plesk\admin\plib\CommonPanel\Exception.php(322): Os::exec('send-error-repo...', Array, 'proc_open') #5 C:\Parallels\Plesk\admin\plib\CommonPanel\Exception.php(168): CommonPanel_Excep (common_func.php3:363)
I hav ealso verified the service settings of 'plesksrv' via command:
C:\Users\<username>>sc query plesksrv
SERVICE_NAME: plesksrv
TYPE : 10 WIN32_OWN_PROCESS
STATE : 1 STOPPED
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
C:\Users\<username>>sc qfailureflag plesksrv
[SC] QueryServiceConfig2 ERFOLG
SERVICE_NAME: plesksrv
FAILURE_ACTIONS_ON_NONCRASH_FAILURES: FALSE
C:\Users\<username>>sc queryex plesksrv
SERVICE_NAME: plesksrv
TYPE : 10 WIN32_OWN_PROCESS
STATE : 1 STOPPED
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
PID : 0
FLAGS :
C:\Users\<username>>sc qc plesksrv
[SC] QueryServiceConfig ERFOLG
SERVICE_NAME: plesksrv
TYPE : 10 WIN32_OWN_PROCESS
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\Parallels\Plesk\admin\bin\plesksrv.exe -run
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : Plesk Management Service
DEPENDENCIES :
SERVICE_START_NAME : LocalSystem
C:\Users\<username>>sc qprotection plesksrv
[SC] QueryServiceConfig2 ERFOLG
SCHUTZEBENE DES DIENSTS "plesksrv": KEINE.
C:\Users\<username>>sc start plesksrv
[SC] StartService FEHLER 1058:
Der angegebene Dienst kann nicht gestartet werden. Er ist deaktiviert oder nicht mit aktivierten Geräten verbunden.
The database configured for Plesk shall be MySQL, found in registry key HKLM\...\config\PLESK_DATABASE_PROVIDER_NAME.
Try to restart Plesk's services end up in all Plesk services alive except "Plesk Management Service" (the service issue as checked and described above) and Plesk PopPass Service (PopPassD). In Plesk's UI the services simply not gets marked as started. Trying to start these services seperately via command sc or Windows Services UI reported the error on startup
plesksrv: [SC] StartService FEHLER 1058: Der angegebene Dienst kann nicht gestartet werden. Er ist deaktiviert oder nicht mit aktivierten Geräten verbunden.
(translated: StartService ERROR 1058: The service could not been started. It's deactivated or not connected to aktive devices.)
PopPassD: [SC] StartService FEHLER 1068: Der Abhängigkeitsdienst oder die Abhängigkeitsgruppe konnte nicht gestartet werden.
(translated: StartService ERROR 1068: The required services or required group of services could not been started.)
I guess this issue realtes to an overload of Plesk's database, caused by Plesk's mail services. The servers domain is kevinkirchhof.de but DNS MX records for *@kevinkirchhof.de are kept by another mail server infront. Plesk instead shall serve the domains *@kevin-kirchhof.de, *@kevinkirchhof.com and *@kevinkirchhof.eu. Though some services on the machine using *@kevinkirchhof.de as email sender adress. The services useing Java and PHP classes to connect to Plesk's Mail Enable SMTP server. I guess tht this server tries to send email with sender adress *@kevinkirchhof.de which ends up in error states - I've never received an email sent by the other services using Plesk's email feature. Could that be the reason why Plesk's database got corrupted time by time and now is not reachable anymore?
The only thing I didn try is to restart the machine. I hope not to have to restart my machine, becuase its system of production. Or do you have any other further hints for me how to fix this issue?
Strange as well is that the Plesk Management Service has been markt for deletion, taken out of the Event Log. Is that normal? Event Log for plesksrv:
The specified service has been marked for deletion. (Error code 1072) at DeleteService
at (service::unInstallService line 753)
at execute console command -install(vconsoleapp::start line 100)
at execute C:\Parallels\Plesk\admin\bin\plesksrv.exe -install(vconsoleapp::run line 117)
Execute file name: C:\Parallels\Plesk\admin\bin\plesksrv.exe
In Summary:
Restart Plesk services through Plesk UI: failed
Restart Plesk services through Windows Services UI: failed
Restart Plesk services through command sc: failed
Repair Plesk installation with Plesk Reconfigurator: failed
Repair Plesk installation with Plesk Reconfigurator while Plesk services are stopped: failed
Removed module plesk-mobile and restarted services: failed