Apache Stops Working And Have To Restart The Httpd Service
Jul 21, 2014
Out of nowhere apache stops working, and I have to restart the httpd service that restablesca
The message it throws is "Service Unavailable"
The server is a CentOS Linux Centos 6.5
It has 24 cores and 24 GB RAM
These are the values ​​that I have in httpd.conf
Timeout 60
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 15
[Code]....
View 3 Replies
ADVERTISEMENT
Aug 3, 2008
I am trying to restart my apache since i made changes to my php.ini file.
I tried using this command /etc/init.d/httpd restart which didnt work for me..any ideas guys? Its a basic dedicated server from a hosting company..
View 10 Replies
View Related
Jan 25, 2008
I keep trying to restart Apache but it wont restart... I run a command line to restart it, but nothing happens. Here is what I have tried:
Quote:
-bash-3.1# chroot /home/fatehost.net/runtime_layeredpanel/
fatehost:/# /etc/
bash: /etc/: is a directory
fatehost:/# /etc/init.d
bash: /etc/init.d: is a directory
fatehost:/# /etc/init.d/httpd-users
Usage: /etc/init.d/apache2 start|stop|restart|reload|force-reload
fatehost:/# /etc/init.d/httpd-users start
Starting web server: Apache2(98)Address already in use: make_sock: could not bind to address 205.209.135.132:80
no listening sockets available, shutting down
Unable to open logs
fatehost:/# /etc/init.d/httpd-users restart
Forcing reload of web server: Apache2httpd (pid 5955) already running
.
fatehost:/# /etc/init.d/httpd-users force-reload
Forcing reload of web server: Apache2.
fatehost:/# /etc/init.d/httpd force-reload
Forcing reload of web server: Apache2.
fatehost:/# /etc/init.d/httpd-users restart
Forcing reload of web server: Apache2httpd (pid 13475) already running
.
fatehost:/#
fatehost:/# /etc/init.d/httpd-users start
Starting web server: Apache2(98)Address already in use: make_sock: could not bind to address 205.209.135.132:80
no listening sockets available, shutting down
Unable to open logs
fatehost:/# /etc/init.d/httpd-users stop
Stopping web server: Apache2.
fatehost:/#
fatehost:/# /etc/init.d/httpd-users start
Starting web server: Apache2(98)Address already in use: make_sock: could not bind to address 205.209.135.132:80
no listening sockets available, shutting down
Unable to open logs
fatehost:/#
fatehost:/# sudo /etc/init.d/httpd-users stop
bash: sudo: command not found
fatehost:/# su root /etc/init.d/httpd-users restart
Forcing reload of web server: Apache2httpd (pid 20391) already running
.
fatehost:/# /etc/init.d/httpd-users reboot
Usage: /etc/init.d/apache2 start|stop|restart|reload|force-reload
fatehost:/# reboot
WARNING: could not determine runlevel - doing soft reboot
(it's better to use shutdown instead of reboot from the command line)
shutdown: timeout opening/writing control channel /dev/initctl
init: timeout opening/writing control channel /dev/initctl
fatehost:/# WARNING: could not determine runlevel - doing soft reboot
bash: WARNING:: command not found
fatehost:/# (it's better to use shutdown instead of reboot from the command line)
> shutdown: timeout opening/writing control channel /dev/initctl
> init: timeout opening/writing control channel /dev/initctl
>
fatehost:/# /home/fatehost.net/runtime_layeredpanel
bash: /home/fatehost.net/runtime_layeredpanel: No such file or directory
fatehost:/#
View 6 Replies
View Related
Oct 22, 2007
i ask of cpanel.net that why : my apache any 1h going to down and i force run restart httpd
cpanel :
Howdy,
This is occurring because your server is consistently hitting the maximum
allowed concurrent connection limit, defined by MaxClients in httpd.conf:
[root@part7 ~]# grep MaxClient /usr/local/apache/logs/error_log | tail -5
[Mon Oct 22 13:07:46 2007] [error] server reached MaxClients setting, consider
raising the MaxClients setting
[Mon Oct 22 13:32:03 2007] [error] server reached MaxClients setting, consider
raising the MaxClients setting
[Mon Oct 22 14:03:29 2007] [error] server reached MaxClients setting, consider
raising the MaxClients setting
[Mon Oct 22 14:16:07 2007] [error] server reached MaxClients setting, consider
raising the MaxClients setting
[Mon Oct 22 16:48:36 2007] [error] server reached MaxClients setting, consider
raising the MaxClients setting
[root@part7 ~]#
You will need to adjust this setting to a value which better accommodates your
server to prevent any further downtime.
View 5 Replies
View Related
Jun 12, 2009
I am having a problem on my VPS. I am running the latest version of Apache on Windows Server 2K3, and after editing httpd.conf to allow virtual hosts (#Include /conf/extra/httpd-vhosts.conf) and trying to restart the service, an error appears saying the operation failed.
I have even tried restarting/starting the service via services.msc
If I am not using the default httpd.conf Apache will not restart at all... it is very strange. I have also tried doing a repair of the installation of Apache.
View 11 Replies
View Related
Sep 13, 2014
I am having to restart https after a reboot in order to get the virtual hosts working.
If I DON'T restart https, all I get is the system default page and NOT the individual vhost index pages.
View 4 Replies
View Related
May 17, 2008
It's been happening on both my old and new server, was really hoping this would be fixed.
Basically, the httpd/apache service crashes or goes down making domain names and sites unable to load; although cPanel/WHM still accessible. This would go on for about 5 minutes OR until I restart httpd in root.
sites simply do not load or just timeout after a period of time.
This has become extremely annoying for both me and my clients because it makes it seem like we have downtime.
View 11 Replies
View Related
Jan 13, 2015
I am using windows 2008 R2 64 bit O.S, I downloaded httpd-2.4.10-win64-VC11 and tomcat-connectors-1.2.39-windows-x86_64-httpd-2.4.x and I created 3 tomcat workers and then I configured workers.properties and httpd.conf.
After complete setup when i tried using
http://localhost then
I got It works! message (looks everything is fine).
and then I have deployed my sample web application I tried to access the same application then using
http://localhost/SampleCluster
I am getting
503 service not available.
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
View 1 Replies
View Related
Jun 7, 2007
i have a VPS on which i host one of my Proxy site and nothing else (no databases, no emails, just the usual proxy files needed).
just today it stopped working it is showing the Centos Page .the URL is [url]
here are the steps that i have taken till now without success:
1. restarted the server
2. stopped and restarted some critical services like httpd etc.
3. restarted my free crappy control panel also Ravencore
but all without success
if u feel that u can help me out then can tell u my webmin root password also via PM (u must be a reputed member).
View 9 Replies
View Related
Jul 26, 2007
I have an account on my cPanel server with a cgi script in it wich works just fine under normal circumstances. I setup mod_perl and got it working just fine with the script. I edited the .htaccess file to do a 301 redirect and added the line “RewriteEngine on” and then whenever I try to access the cgi script I get:
Quote:
Forbidden
You don't have permission to access………..
If I disable mod_perl or remove the line “RewriteEngine on” from .htaccess it works fine.
In the cPanel error log I have:
Quote:
Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden
But in htaccess I already have the line "Options +FollowSymLinks" which is part of the 301 redirect code.
View 2 Replies
View Related
Jan 4, 2008
I have a phpBB forum, which uses MySQl database.
For the last two months the forum has been going down every couple of days because the database service has been continuously stoped running on the server with no reason.
What can cause such a frequent database failures?
Can someone attack the forum/database/server in a way that will cause the above problem?
(there is a good reason I consider this possibility very seriously)
How can I prevent futher database failures?
View 2 Replies
View Related
Oct 1, 2007
Many, many people seem to be having the 2002 error over the past 24 hours on phpmyadmin with cpanel
Doing this edit to the config got it going for me:
[url]
View 2 Replies
View Related
Mar 29, 2009
I am having a very strange problem with 2 different cPanel accounts on a server with 500-600 accounts. For some reason after a day or two the mysql username/password stops working. We have tried changing the MySQL user and the password with no success. The log does not indicate that the MySQL password was changed in any way. Only these 2 accounts are affected and this problem occurred at least half dozen times each.
Again: these are two different accounts with 2 different MySQL users that after a while stop working (I am unable to determine if they stop working at the same time b/c they belong to different customers). When we reset the user (with the same pass) it works for a day or two. I have checked to connect not only from PHP but also from shell when it's down: it also doesn't work so this is a pure MySQL problem.
Also on the server we have Fantastico.
View 8 Replies
View Related
May 19, 2015
Since 15.05.2015 smtp experiencing problems.
Smtp service (qmail) stops responding on port 25:
# time telnet localhost 25
Trying 127.0.0.1...
quit
quit
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
quit
quit
Connection closed by foreign host.
real 4m10.629s
user 0m0.000s
sys 0m0.002s
After server restart or sometimes apache stop or ixnetd restart its responding for a some random time, and then again it stops to respond. Plesk panel show it as stopped but qmail itself running in memory, and does other its work, it just stops responding at port 25, or responds with a huge delay.
I've tried change it to postfix, reconfigured with mchk, repaired with repair.sh -r, disabled and uninstalled parallels antivirus, antispam, dnsbl, disabled firewall, disabled smtp lock. Checked apache, dns. Enabled submission port which works when 25 port doesnt, but i need working 25 port.
Nothing solves problem, its just stops responding after some random time. There is no errors on maillog.
I think this problem occured after recent plesk microupdate, because i didn't do anything to server configuration in last months.
This article says it might be dnsbl [URL] .... but it disabled(from plesk panel) on my server, maybe there is way to focefully kill any relation to dnsbl?
Plesk info:
OS Red Hat Enterprise Linux Server 5.9 (Tikanga)
Panel version 11.5.30 Update #50, last updated at May 18, 2015 05:21 PM
The system is up-to-date; last checked at May 17, 2015 10:56 PM
update: xinetd restart is definitely brings smtp alive, but it goes off after random period of time (5min ~ couple hours)
View 1 Replies
View Related
Sep 12, 2007
[root@server1 /]# ps -aux |grep httpd
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.3/FAQ
apache 26023 0.5 0.9 12064 8744 ? S 05:28 0:04 /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
root 32333 0.7 2.5 24456 22772 ? S 05:39 0:00 /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd
root 32384 0.0 0.0 2152 524 pts/1 S+ 05:39 0:00 grep httpd
i want removed "lighttpd"
how may?
i don`t want killed it
View 0 Replies
View Related
Apr 30, 2009
i had just wake up and see my vps server witch work under centOS 5.2 wont up my domains ... just i can ping my domain and when i open my domains name its give me
Network Error (tcp_error)
even i cannot logged in my ssh account so i give it a hard reboot from my slice manager and after that i can log , i turn my firewall of .. restart my apache and my sqlserver
and same error ..
i can restart my sql fine .. stop my firewall and modsecurity fine , but when i restart my httpd server its wont , its give me FAILED
View 10 Replies
View Related
Aug 4, 2007
I'm using this script (I think I got it off of WHT) to restart httpd whenever a file failed to download on my server.
Code:
#!/bin/bash
FILE=[url]
rm -f test.file
wget -q $FILE -O test.file
if [ ! -f test.file ]
then
/etc/init.d/httpd restart
echo 'ALERT - HTTPD restarted on:' `date` | mail -s "Alert: HTTPD Restarted" user@domain.tld
fi
exit $?
I have it on crontab
Code:
*/5 * * * * /bin/nfup > /dev/null 2>&1
but it didn't seem to restart httpd, I got no e-mail and our site was down for several hours.
Is there anything wrong with the script?
View 10 Replies
View Related
Nov 29, 2007
I am using cPanel server which I am unable to restart the Apache service
httpd has failed, please contact the sysadmin.
root@samajaya [~]# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
[Thu Nov 29 02:27:00 2007] [warn] NameVirtualHost xx.xx.xx.xx:80 has no VirtualHosts
[Thu Nov 29 02:27:00 2007] [warn] NameVirtualHost xx.xx.xx.xx:80 has no VirtualHosts
[Thu Nov 29 02:27:00 2007] [warn] NameVirtualHost xx.xx.xx.xx:80 has no VirtualHosts
[Thu Nov 29 02:27:00 2007] [warn] NameVirtualHost xx.xx.xx.xx:80 has no VirtualHosts
[Thu Nov 29 02:27:00 2007] [warn] NameVirtualHost xx.xx.xx.xx:80 has no VirtualHosts
[Thu Nov 29 02:27:00 2007] [warn] NameVirtualHost xx.xx.xx.xx:80 has no VirtualHosts
[Thu Nov 29 02:27:00 2007] [warn] NameVirtualHost xx.xx.xx.xx:80 has no VirtualHosts
/etc/init.d/httpd restart: httpd started
View 14 Replies
View Related
Jan 28, 2007
Whenever i try to restart httpd server in whm then got the following error
root 20655 0.9 0.9 20716 19408 ? S 18:23 0:00 /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd
httpd has failed, please contact the sysadmin.
But in shell when i tried to check httpd status then its working fine what was the reason how can i fix this problem in whm
View 5 Replies
View Related
Feb 17, 2008
almost daily my VPS httpd failed and restart automatically, after that all services show UP but my sites not working.. Only start working when I restart DNS Server (BIND).
I am using CPanel
View 7 Replies
View Related
Nov 22, 2007
I am not being able to restart the server, or MySQL or httpd via SSH.
PHP Code:
root@server [~]# /etc/init.d/httpd fullstatusLooking up localhostMaking HTTP connection to localhostAlert!: Unable to connect to remote host.lynx: Can't access startfile http://localhost/server-statusroot@server [~]#
PHP Code:
root@server [~]# /etc/init.d/mysql reload/etc/init.d/mysql: line 244: kill: (3375) - No such processtouch: cannot touch `/var/lib/mysql/server.lubnan.us.pid': Read-only file system
View 14 Replies
View Related
Nov 22, 2007
Recently we have launched our new cpanel server, We have some problems on that.
When we restart httpd, all things will be good before 15 min, but after that, speed goes down to 1/10 and after some hours that will get as low as nobody can view pages on the server.
We are using cPanel latest release and CSF on CentOS4.5.
Apache 1.3.7 and PHP4.4.7 is running on the server with Zend.
View 6 Replies
View Related
Mar 24, 2009
I have a very strange problem. Yesterday morning I got a "server down" alert. Restarted httpd and everything run ok ... until today morning, the same problem again.
Symptoms:
1. The webserver did not stop working, it just took too much time to respond.
2. I cannot find anything suspicious in the logs.
3. I started to log the number of apache processes in 4 minutes interval, it did not increase during the failure but remained at a very reasonable number.
4. Now, almost 3 hrs from the last failure, there are 36 apache processes, each eating 14M RAM, server has 4GB ram total, no swapping, almost 3GB are free (cached).
The question is.
How should I prepare for the expected tommorow failure, to be able finaly localise the problem?
View 7 Replies
View Related
Jun 12, 2009
I need a script that check the service sql, php-pfm and nginx if working fine and if is start. So if is stop, the script do automatic restart the service.
i have cron a restart each houar of php but same time, in the houar of much visits of my sites php crash and stop..
View 8 Replies
View Related