Plesk 10.3.1, /usr/local/psa/admin/bin/websrvmng

Community support for Plesk, CPanel, WebMin and others with insight from two of the founders of Plesk. Ask for help here! No question is too simple or complicated. :-)
DarkF@der
Forum Regular
Forum Regular
Posts: 313
Joined: Thu May 07, 2009 12:46 pm

Plesk 10.3.1, /usr/local/psa/admin/bin/websrvmng

Unread post by DarkF@der »

Hello,

I'm running Plesk 10.3.1, Centos 5,7 x64
But if someone create a domain or subdomain or ssl or update there hosting account.
Then /usr/local/psa/admin/bin/websrvmng won't update or restart apache it just hanging in processlist!

root 7144 0.0 0.0 46456 716 ? Ss 14:40 29:52 /usr/local/psa/admin/bin/websrvmng --restart --restart-interval 999999 --http-port 80 --https-port 443


If i restart httpd by my self then it fix the changes.
The process wil just hang!
I can't find anything in de logs it just hangs and won't restart apache.

And when i do a strace on the process i only get this:

/usr/bin/strace -fF -p 7144
Process 7144 attached - interrupt to quit
restart_syscall(<... resuming interrupted call ...>
paulie
Forum User
Forum User
Posts: 76
Joined: Tue Apr 20, 2010 2:49 am

Re: Plesk 10.3.1, /usr/local/psa/admin/bin/websrvmng

Unread post by paulie »

Isn't it the Plesk 10 version of this : http://www.atomicorp.com/forum/viewtopic.php?f=1&t=197
DarkF@der
Forum Regular
Forum Regular
Posts: 313
Joined: Thu May 07, 2009 12:46 pm

Re: Plesk 10.3.1, /usr/local/psa/admin/bin/websrvmng

Unread post by DarkF@der »

Hello,

True.
I forgot to say that the server settings apache interval showing 0 not 9999999 in plesk panel.

But i have succesfully fixed it:

The cause of the issue. the websrvmng is completely broken.

To fix the issue, I have followed the below steps.


[root@xxxxxx ~]# rpm -qf /usr/local/psa/admin/bin/websrvmng
plesk-core-10.12.0-cos5.build1012110629.18


After that I have tried to reinstalled the "pleskcore package". Refer below.


[root@xxxxx ~]# wget http://autoinstall.plesk.com/PSA_10.3.1 ... x86_64.rpm
--2012-01-26 22:30:09-- http://autoinstall.plesk.com/PSA_10.3.1 ... x86_64.rpm
Resolving autoinstall.plesk.com... 93.184.221.133 Connecting to autoinstall.plesk.com|93.184.221.133|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 28984291 (28M) [application/x-rpm] Saving to: `plesk-core-10.12.0-cos5.build1012110629.18.x86_64.rpm'

100%[======================================>] 28,984,291 24.5M/s in 1.1s

2012-01-26 22:30:11 (24.5 MB/s) - `plesk-core-10.12.0-cos5.build1012110629.18.x86_64.rpm' saved [28984291/28984291] [root@astrahost ~]# rpm -Uvh plesk-core-10.12.0-cos5.build1012110629.18.x86_64.rpm
===> Preparing upgrade
Stopping psa... done
Stopping mail handlers tmpfs storage
psa is stopped
Stopping psa... done
Stopping mail handlers tmpfs storage
===> Cumulative database upgrade has been started ===> Upgrade completed.
1:plesk-core ########################################### [100%]
mknod: `/var/www/vhosts/chroot/dev/null': File exists ===> Cumulative upgrade has been started ===> Upgrade completed.
=========


Greetz
Post Reply