Control Web Panel

WebPanel => CentOS 6 Problems => Topic started by: DeveloperMcD on April 20, 2016, 06:42:02 PM

Title: Every time I add site, HTTPD goes down and won't restart
Post by: DeveloperMcD on April 20, 2016, 06:42:02 PM
I get this error message:

(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[FAILED]

The only solution is to reboot the server. Then I have to manually start HTTPD, it goes yellow, then after a refresh it goes green and says "httpd started".

So every time I add a new account, I have to take down the entire server for a minute or two! Seems like an unnecessary inconvenience to me. This really should be fixed.

This is a brand-new server running a clean minimal install of the latest CentOS 6.7, as of 1 week ago. I followed all the default, basic directions.

Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: lmbeta8 on April 21, 2016, 02:52:19 AM
ssh in to your server as normal user and then su to login as root and then issue killall -9 httpd
then /etc/init.d/httpd restart  this will at least avoid you the reboot.

After that start looking for another panel seeing CWP people have left us all hanging:(
Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: Sandeep on April 21, 2016, 03:54:16 AM
first of all we need information
what is ur server confg?

did you get this error from the beginning when you started using cwp?

did you changed/installed anything to the server recently and get this error ?

last : post the full error log
Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: DeveloperMcD on April 21, 2016, 04:00:54 PM
Yes, from the very beginning. And I haven't modified anything at all, just configured CWP with my information (my specific settings).
Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: centosuser on April 21, 2016, 06:32:06 PM
Hello,
   Even i am facing same problem, This is arising after  latest update,Please check this bug.
Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: Sandeep on April 22, 2016, 05:42:49 AM
do you use mod security ?
Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: lmbeta8 on April 22, 2016, 01:17:24 PM
To The Mute developers,

Can we admit cwp current build as major issue with web server portion of package (Apache or Nginx)

We have several servers that auto updated latest version and issue is present its not isolated issue.

With all due respect it would be nice if the developers of this once fine panel grew set balls and faced up to the issue.

The Silence and lack of communications from the devs is the worst part of this.



Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: Sandeep on April 22, 2016, 02:25:18 PM
did you checked the error log why it is happening?
with incomplete information provided how the developers will know what is causing this issue/error?
Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: lmbeta8 on April 22, 2016, 03:27:48 PM
Believe me for sure devs know very well the cause of the issue and simply creating an new update that  rolls back last update before this one would resolve this for everyone.

My issues is same as everyone else here and theirs more then enough information that as being provided about the issue.

The only new addition to my servers is cwp latest update we do not tend play games with our configurations.

Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: Steven Phan on April 22, 2016, 10:23:42 PM
I have same issue on my server with fresh install. Please check that bug
Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: Sandeep on April 23, 2016, 09:59:00 AM
Update ... this will be fixed on next update (developers are working on it)
Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: lmbeta8 on April 24, 2016, 05:41:28 PM
Any idea when we can expect this update to be rolled out?
Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: Igor S. on April 25, 2016, 10:30:25 AM
Hi, it will be fixed in a new version. Temporarily you can add line:
Code: [Select]
killall -9 httpd to the /etc/init.d/httpd in function stop() :
Code: [Select]
stop() {
        echo -n $"Stopping $prog: "
        killproc -p ${pidfile} -d ${STOP_TIMEOUT} $httpd
        RETVAL=$?
        echo
        [ $RETVAL = 0 ] && rm -f ${lockfile} ${pidfile}
        killall -9 httpd
}
Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: lmbeta8 on April 25, 2016, 09:07:29 PM
Thanks for temp fix that's just stop gap measure but better then nothing.

But could explain you to me about 2 updates on 10/04/2016 but for most of us only showed up today or last night and nothing mentioned about httpd issue.

Secondly new build introduces dovecot/postfix isssues when its contains mail sever fixes but yet breaks them instead

Starting think guys are in it for the paid support money and starting let quality of the product suffer.

Seriously hope i am misreading it


Version 0.9.8.13 (released 10/04/2016)
- fix for roundcube, phpmyadmin not working with nginx in some cases
- show user quota stats
- mail server fixes
- roundcube fixes for quota, sieve filtering
- softaculous vps detection api, for vps you will get a lower price
- new date-time changer

Version 0.9.8.12 (released 10/04/2016)
- CWP API for account management
- suPHP now shows the script name and path in top or process lists (apache rebuild needed)
- CWP faster loading and possibility to work with multiple processes at the same time.
- Apache is limiting number of php processes per user
- Email Explore, read all mailboxes from one location.
.. few bugs fixed
Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: Igor S. on April 29, 2016, 11:23:18 AM
Hi, the trouble with Apache was fixed in latest update.
Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: LostnIL on June 27, 2016, 07:46:05 PM
Just wanted to chime in, this bug is still present. I experience it when I add SSL vhosts. I have resolved it by doing a reboot, but I will try this fix.

I am new to the panel, it's great.. but some of the replies here have me worried... is the project abandoned or actively developed?
Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: Administrator on June 29, 2016, 01:58:58 PM
are you certain that you have the latest version since this issue was fixed
Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: LostnIL on June 30, 2016, 07:04:53 PM
I am using the latest, I just installed CWP about 2 weeks ago.

That said, I just setup a SSL site last night and had no issues.
Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: LostnIL on July 02, 2016, 03:02:03 PM
I take that back. I added another SSL host, and the httpd wouldn't start. I had to kill it as described in this thread due to it already listening on 80, after I killed it I was able to start it.
Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: drseva on September 10, 2016, 11:05:11 AM
Hi, I have same problem today. I have last version of CWP and I cant start httpd
Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: drseva on September 10, 2016, 11:36:13 AM
When I try to start httpd with ssh I get this:

Code: [Select]
[root@mail ~]# /etc/init.d/httpd start
-bash: /etc/init.d/httpd: /bin/bash^M: bad interpreter: No such file or directory
Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: drseva on September 10, 2016, 12:12:12 PM
I installed apache again via ssh. Now I see at dashboard apache is running. But  I see apache test page on my website. I commented welcome.comf file but now I see Index of /
Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: drseva on September 10, 2016, 12:37:08 PM
I solved the problem
I returned to CWP apache very easy (after logout and login).
I opened Apache configuration under Apache settings and I got information There is no file httpd.conf in /usr/local/apache/conf/
I made that file and it is working

how it disappeared??
Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: neoart on September 10, 2016, 01:14:37 PM
some good wizards are probably involved in solving your problem :)  8)
Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: drseva on September 11, 2016, 10:29:10 PM
Yes
Can somebody post here /usr/local/apache/conf/httpd.conf file
My mod_expiere doesn't work
Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: Administrator on September 20, 2016, 01:29:28 PM
you can check it on the demo server
http://centos-webpanel.com/demo
Title: Re: Every time I add site, HTTPD goes down and won't restart
Post by: lotfi on August 01, 2019, 10:16:49 AM
I still have the same problem...

httpd[16768]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80

is there a fix please?