store | blogs | forums | twitter | facebook | wiki | downloads | support portal
Atomic Secure Linux
It is currently Sat Oct 25, 2014 9:48 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: httpsd.conf lost - Plesk won't start
Unread postPosted: Wed Mar 17, 2010 4:18 pm 
Offline
Forum User
Forum User

Joined: Thu Feb 07, 2008 1:04 pm
Posts: 6
I was experiencing problems with server today and I did some update and I decided to restart the server. I did regular updates so far but no restart for some time (more than a year I guess) so I gave it a go (oh, what a mistake).

After restart Plesk would not come back. Everything is running normally (luckily) except Plesk. Running
Code:
service psa start1
would not help and
Code:
service psa status
gives psa dead but subsys locked. I deleted the pid file with
Code:
rm -f /var/lock/subsys/psa
to no avail.

After digging through log files (less /usr/local/psa/admin/logs/error_log) I found this:
[crit] (98)Address already in use: make_sock: could not bind to port 80

It looks like httpsd of Plesk is trying to run on port 80. I checked configuration and found out that /usr/local/psa/admin/conf/httpsd.conf is empty :shock: Yeepy! :roll:

I have a backup of mysql and other "content" files but no psa config backup. How do I restore this file (at least basic stuff, I can edit the specifics if there are any)? Any help appreciated.

I have CentOS 5, Plesk 8.6 (updated from 8.4 some time ago).


Top
 Profile  
 
 Post subject: Re: httpsd.conf lost - Plesk won't start
Unread postPosted: Thu Mar 18, 2010 8:25 am 
Offline
Forum User
Forum User

Joined: Thu Feb 07, 2008 1:04 pm
Posts: 6
I have restored httpsd.conf from default file (httpsd.conf.def) and replaced @admin_root@ with /usr/local/psa/admin.

There are other minor tweaks to replace but everything is OK now. 8) I wonder how come this file was truncated but I will probably never find out.


Top
 Profile  
 
 Post subject: Re: httpsd.conf lost - Plesk won't start
Unread postPosted: Thu Mar 18, 2010 8:34 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 2088
I have just had a look at mine and I'm afraid it won't do you any good as it is different for a Virtuozzo-based host than it is for a non-Virtuozzo host otherwise I would email it to you.

Hopefully someone else will be able to help.

Faris.

_________________
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>


Top
 Profile  
 
 Post subject: Re: httpsd.conf lost - Plesk won't start
Unread postPosted: Thu Mar 18, 2010 8:35 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 2088
Oh. I see you are sorted. Excellent!

_________________
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group