Apache :: Server Completely Freezes Until It Gets Restarted
Apr 21, 2014
We are using Apache 2.4.7 as Reverse Proxy & Using only for Single sign on. At random times our server crashes (every 1/2 weeks) in our environment.
Find the code that we put in httpd.conf file ....
View 1 Replies
ADVERTISEMENT
Oct 29, 2013
Webserver is restarted all TCP connections randomly. we are not able to get any error into errorlog file.
Webserver close all TCP connection and start created new TCP connection for new request.
AcceptFilter http none
AcceptFilter https none
Also, conf file is saying that
Defaults Values are:
EnableMMAP On
EnableSendfile Off
Not sure what's wrong with server.
We have installed "Apache 2.4.6-x86 server" on Win 2008 R2 Standard server (64-Bit).
Also, we are using mod_jk module for connecting to tomcat server "tomcat-connectors-1.2.37-windows-i386-httpd-2.4.x.zip".
View 4 Replies
View Related
Jul 23, 2007
I've had this problem a long time now with my hosting network and decided to ask here hoping I get some good solutions, or if someone is willing to looking at this (I'll pay if they want).
Here's what I mean:
[url]
Problem is as you can see apache processes constantly rise infinitely, at least until I restart apache (/etc/init.d/httpd restart). The point of restart is shown in red lines.
And after restart, it goes down again for X amount of hours then eventually rises again infinitely until it's restarted again.
But the fact that after restart it remains down, it means it had the potential to be down all along.
So my question is: what could be causing this and does anyone have solution to keep them low at all times (as per graphs)?
View 14 Replies
View Related
Feb 14, 2008
We are facing apache problem on one of our server.
It is getting restarted automatically within 30 seconds.
Below are the logs.
Please let us know the solution if any asap.
=================================================
Feb 14 04:57:00 server monit[5113]: 'apache' failed, cannot open a connection to INET[127.0.0.1:80] via TCP
Feb 14 04:57:00 server monit[5113]: 'apache' trying to restart
Feb 14 04:57:00 server monit[5113]: 'apache' stop: /etc/init.d/httpd
Feb 14 04:57:01 server monit[5113]: 'apache' start: /etc/init.d/httpd
==================================================
View 3 Replies
View Related
Dec 2, 2007
I have a script that does a PHP Curl call where it downloads a large file (~20meg) to the local server.
While its doing the Curl Call, I open up a new window and keep working with the site, (ie. opening a simple image) and the browser keeps saying "Waiting for reply". As soon as the Curl Call stops, then the server works again.
What could course this?
The server is dedicated and only me using it:
Intel Core2Quad Q6600
2GB DDR RAM
Linux - CentOS 5 32bit
While its doing the curl call, I ran uptime and the load is 0.0 0.0 0.0.
From my PHPINFO:
Code:
Apache Version Apache/1.3.39 (Unix) mod_ssl/2.8.30 OpenSSL/0.9.8b
Apache Release 10339100
Apache API Version 19990320
Hostname:Port localhost:80
User/Group apache(100)/500
Max Requests Per Child: 1000 - Keep Alive: off - Max Per Connection: 100
Timeouts Connection: 120 - Keep-Alive: 1
Server Root /etc/httpd
Loaded Modules mod_php5, mod_ssl, mod_setenvif, mod_so, mod_headers, mod_expires, mod_auth_anon, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_info, mod_status, mod_negotiation, mod_mime, mod_log_referer, mod_log_agent, mod_log_config, mod_env, mod_vhost_alias, http_core
HTTP_CONNECTION Keep-Alive
php.ini
Code:
max_execution_time = 1000 ; Maximum execution time of each script, in seconds
max_input_time = 1000 ; Maximum amount of time each script may spend parsing request data
;max_input_nesting_level = 64 ; Maximum input variable nesting level
memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)
[MySQL]
; Allow or prevent persistent links.
mysql.allow_persistent = Off
; Maximum number of persistent links. -1 means no limit.
mysql.max_persistent = -1
; Maximum number of links (persistent + non-persistent). -1 means no limit.
mysql.max_links = -1
httpd.conf
Code:
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 1000
httpd-mpm.conf - changing this made no difference
Code:
<IfModule mpm_prefork_module>
StartServers 30
MinSpareServers 10
MaxSpareServers 20
MaxClients 200
MaxRequestsPerChild 0
</IfModule>
View 2 Replies
View Related
Oct 28, 2008
I seem to be having troubles getting yum to run. The problem occurs when I try to run yum via ssh using putty or install perl modules through whm.
When I try to run it, I generally get:
Loading "fastestmirror" plugin
And nothing after that, even if I wait a while. This happens when I run:
yum update
yum install imagemagick (my current reason for trying to get yum to run)
yum clean all
(probably other yum commands)
If I run yum with --noplugins, it just skips putting out the fastestmirror message.
Some info on my system:
CENTOS Enterprise 5.2
Kernel Version: 2.6.18-92.el5
Intel C2D e6750
WHM 11.23.2
cPanel 11.23.6-R27698
I'm not sure what other information be relevant;
View 7 Replies
View Related
Jul 9, 2007
Im running MySQL 5.0.32 on a Debian Etch server. I recently moved a couple sites from a Debian Sarge (with MySQL 4.1) server over, and now MySQL has become very unstable.
Every few hours mysql just hangs on a query. All the following queries are queued and never get executed. The only way to get things running again is forcefully killing and restarting the mysql process. After that things work again...for a few hours.
The logs (error and query log) show nothing exceptional. When it hangs and I do a 'show processlist;' I noticed that everytime a SELECT....IN (a,b,c) query is holding up everything. Could the 'IN ()' be the reason for mysql not completing the query and holding up the rest?
Another option might be to temp. go back to MySQL 4.1...but that is going to be a real problem on Debian Etch
View 5 Replies
View Related
Nov 2, 2008
We have CentOS 4.7 , WHM 11, Apache/2.2.9, Mysql 5.0.51 on the server.
Currently we are facing Mysql issue. Mysql server get restarted after every 9-10 minutes. I have even tried /scripts/fixmysql on server but that didn't help. I am checking Mysql status as follows:
- Login to root SSH
- Type mysql and you get login to Mysql prompt
- Then type status to check the uptime
Here I see mysql uptime never goes above 8-9 minutes.
View 7 Replies
View Related
Apr 24, 2009
We are having this problem with ecatel, as they still have not helped us after 4 days of asking to help improve on the problems we are having right now with SSH.
Problem: SSH can not be accessed. It can not be restarted in WHM. Firewall has been disabled just incase it's the one blocking it.
Retarting SSH in cPanel returns the message
Restarting SSH Daemon
Waiting for sshd to restart..............finished.
sshd (/usr/local/cpanel/whostmgr/bin/whostmgr ./ressshd) running as root with PID 6537
sshd (/usr/sbin/sshd) running as root with PID 6567
Apr 24 08:14:15 server1 sshd[5778]: Received signal 15; terminating.
sshd has failed, please contact the sysadmin.
I tried running [url]It just brought me this message
Requesting script ... Done.
Executing script ...
Attempting to locate sshd binaries installed on the system ...
Located /usr/sbin/sshd
Done.
Killing exisiting sshd processes...
Stopping sshd: [ OK ]
Done.
configuring sshd to run on port 22
/usr/sbin/sshd successfully started!
root 5778 0.0 0.0 7132 1132 ? Rs 08:00 0:00 /usr/sbin/sshd -f /var/cpanel/safe_sshd
Done.
The message says it OK. But it isn't. When I access SSH, is still not accessible. Restarting it causes the same error message as above.
I updated cPanel, software and RPMs to latest stable. I know reinstalling "forcibly" SSH rpms could help, but cPanel 11 does not have that option.
View 14 Replies
View Related
Nov 15, 2008
Cpanel installed on Centos 5.2 on a dedicated server.
This morning, I received multiple emails about services being restarted. About 20 minutes apart, with nothing that I coudl see going on with the server, I had multiple services fail and restart.
How do I trouble shoot this to see if there is a problem?
At 6:21 The following services failed:
httpd
lfd
httpd
cpsrvd
lfd
and I received emailed messages similar to these (obviously the port and service name were didfferent in each email).
cpsrvd failed @ Sat Nov 15 06:21:29 2008. A restart was attempted automagically.
Failure Reason: Unable to connect to port 2086
Then, at 6:42 The following services failed:
cpsrvd
cpsrvd
httpd
lfd
httpd
lfd
and I received emailed messages similar to these (obviously the port and service name were didfferent in each email).
cpsrvd failed @ Sat Nov 15 06:21:29 2008. A restart was attempted automagically.
View 5 Replies
View Related
May 20, 2014
Recently upgraded to Plesk 11.5 & upgraded to the latest CentOS kernel. Whenever I reboot the server DNS services do not work, can't view any websites hosted on the server etc.
Once I either restart BIND through Plesk Panel or
Code:
# service named restart
Everything works perfectly.
My var/log/boot.log shows named started [OK]
When I run
Code:
# service named status
Immediately after reboot everything looks normal, despite not resolving DNS until restarted.
I ran
Code:
# ceckconfig --list
And both httpd & named services are displaying all 'off' on every runlevel. But, obviously named service is starting automatically, maybe by psa?
Should httpd & named be listed as on, is this the problem?
View 1 Replies
View Related
May 22, 2008
Just thought I would post up a review on what I thought about SolarVPS, as I've had nothing but joy with them.
It was back in 2007 when I decided that shared hosting was getting to slow for my website, and I was advised to get a VPS plan. I was originally with Bluehost, who provided outstanding customer service and value for money, and I was very reluctant to move from them. My worry was that I would move to a service where I was pretty much neglected, and left with 0 support, and many server issues.
However I came across SolarVPS on these forums, and gave them a go. Well I used the lifetime discount voucher, so my package was pretty cheap as it was. My server was setup instantly after payment, and things have been going fine since.
I've recently started up a new project, and needed a new VPS hosting package. So I came along to these forums again today to look for some juicy VPS deals. Came across a fair few, some which did seem very good value for money, but the issue about customer service was bugging me. What if the CS was delayed, what if my support tickets were not addressed, and what if their live chat was only live a few hours in the day. After finding some good deals, I thought hell with it, I'l get another plan with SolarVPS.
So I found their nice 20% off coupon which I applied to my account, making the pan I bought again, pretty good value for money. Bought the plan, immediately received some emails regarding my purchase. I went to the live chat and was talking to one guy, Douglas, about setting my server up. It's the one time that I've felt I was talking to a human via live chat. Not only did this guy sort me out in a snap, but he had a great sense of humour to which is always a bonus.
So, within an hour, I now have a nice new plan setup with SolarVPS that I KNOW I will be pleased with.
Let me just gloss over the points about SolarVPS I think really stand out: ....
View 2 Replies
View Related
Jun 10, 2009
As per the title, what steps are needed to remove HyperVM altogether from the server leaving just the OpenVZ or Xen kernels?
View 6 Replies
View Related
Jul 2, 2009
Is there any way to have sendmail completely disabled on my server?
I tried:
service sendmail stop
but my maillog keeps filling up with a lot of messages like these:
stat=Deferred: Connection refused by [127.0.0.1]
How can I stop the maillog from filling up?
View 13 Replies
View Related
Apr 29, 2008
I've removed a website from my server, terminated the account, removed all files. But when you go to the domain name, you get the "Great Success ! Apache is working on your cPanel® and WHM™ Server" page. I dont want even that. I want nothing to come up.
I want it to appear as if the domain/server never existed and show up as a 404 or whatever (this was a forced remove). Is there any way to do this? is there something I didnt do? Or am I stuck since the domain is still pointed at my server.
I've tried to give the hint (move), but it hasnt worked, so I have a feeling I'm going to get questions about this new issue. It's a church related group (even thought theyve been warned this was coming), so its hard to be an AHole, but they need to go.
I just want it to come up as if it never existed on my server, if possible.
View 5 Replies
View Related
Jun 10, 2009
The most common way is tar the whole files and downlaod it. But as there's also mysql DB. The common way is usually take a lot of time to restore it.
View 2 Replies
View Related
Jun 27, 2009
I managed to block referrers/hotlinkers by htaccess,so images are not visible there anymore,but the problem is i still see them in access log,and it seems that causing large cpu usage of apache when checking daily cpu usage.And those loaded files even doesn't exits anymore.So is it possible to completely block them,so i can not see them in domlogs/access logs?
View 1 Replies
View Related
Sep 16, 2008
I tried searching around but maybe someone can steer me in the right direction.
I, as probably many other people, are in an interesting predicament.
I love my VPS right now...however obviously since I started with my VPS I'm about to out grow it, with the amount of power that I need.
What I'm looking for is a server which is completely managed, completely secured (some sort of active virus scanning), however I can get in there and have complete control like I would with my VPS, but obviously with more resources.
What I'm looking for is:
2-4GBs of ram
Pentium D (minimum) up to a Xeon 3220 SINGLE processor
1000 - 2000TB / bandwidth
100mb/s uplink
Windows 03 would be great, I'll settle for CentOS though
Budget max is $170/mo.
View 13 Replies
View Related
Oct 16, 2014
Is there any way to forbid plesk panel to use one of the IP addresses?If I remove address from panel - it has removed physically from network interface. I want to keep this IP address on network interface, but not let plesk panel use this address in all config files (nginx. apache, ssl etc.)
I want to use standard ports (443 and 80) on this IP address with some custom program not related to plesk panel and web servers. But now Plesk binds all available IP addresses to it services by default.
View 1 Replies
View Related
Sep 1, 2008
I felt the extreme and desperate need to post my experience with Limestone Networks here with the rest of you. Please take time to review it as I find it a vital piece of information when making a decision. I normally don't post my problems here, but this time it's needed.
I have been a customer since 5/17/2008. I was able to get someone via Live Chat when I fist went to the website. I got an instant response on the phone. It all seemed great. The server was up and online within a few hours, I was pleased. The network seemed fine and I'm fairly low maintenance, so I didn't have many complaints.
After having the account for a while, we started getting blacklisted on spam lists. I would submit tickets to see if they could work to get us removed. Typically support tickets where answered fairly slowly - I'd see a response time of a day or two. I didn't complain as I can accept things fairly well.
Next, they released a new server that was almost identical to the one I already had.
They both had the same amount of memory, similar cpus (both quad core), the only difference was one 750 GB drive vs RAID-1 750 GB drives. The price for my system was $249/month, while the new server was priced at like $130/m (the WHT special they just ran). I asked about a price adjustment for my server. They wouldn't do it. So, I asked if we could keep our IP addresses if we moved to another server. They couldn't do that either.
I ordered the new server and moved my customers over to it. It came time to cancel the old server, so I submitted my request for cancellation. I know they automatically bill everything, so I removed my credit cards that were on file to avoid this. I was then told I needed to give a 5 day cancellation notice as per my ToS when I signed up. Unfortunately, I didn't read the ToS close enough - my fault. Somehow they ended up removing the server and I guess they just waived the 5 day notice. I never really got any response on that (or bill for it either).
As of yesterday, I've had the new server for one month. I signed up for it on 7/30, so that'd make my next billing date 8/30. I did forget to add my credit cards back on so it could be auto charged again - my fault. However, less than 24 hours after my due date, I find my server is offline. I submitted a ticket which I will paste below. Bottom line, because I was late (not even by one day), they shut off and reformatted my server. Here's my support ticket:
---------------------------------------------------------
My server LSN-D1595 is offline due to non payment. I need it back online asap! I will add a payment option to the billing system which you can charge. Just get the server back online please. ***-***-**** if you need to reach me.
Ryan G. - Support Technician - Limestone Networks Employee
Posted: 08/31/2008 10:52 AM CDT
Hi Breck, Unfortunately your servers have been canceled for non-payment. If you wish to purchase new servers with us you can still go ahead and do so, however I am not able to return your original servers to you.
Breck B.
Posted: 08/31/2008 11:11 AM CDT
Ryan, this is completely unacceptable. I am not going to tolerate this! That server has valuble data on it that can't be recovered! I don't care what your policy is, I need that server back online immediately! If you can't make this right, I will be posting my experience on WHT. Bill me hourly if you need to. Just get it online.
Bryan P. - Support Technician - Limestone Networks Employee
Posted: 08/31/2008 01:19 PM CDT
I'm sorry, but server LSN-D1595 has already been reformatted.
Bryan P. - Support Technician - Limestone Networks Employee
Posted: 08/31/2008 02:17 PM CDT
Closed Ticket
---------------------------------------------------------
So, there we have it. My server has been reformatted because I'm a day late. I've never seen anything like this in my entire life. Money wasn't a problem - I was away and just wanted to have a good Labor Day weekend. Also, I NEVER received an invoice via email, snail mail, nor a phone call. I got no notice at all. Along with that, according to their ToS, my data should be available within 15 days of my non payment (whether or not the server is).
I do plan on taking this to court- I have several people who also had access to the server who are interested in a lawsuit.
If slow responses, being blacklisted on spam databases, and being reformatted if you are under 24 hours late is okay with you - I'd really recommend Limesone Networks! They give you a great feeling like nobody cares about you. I'm not sure why a company would invest so much money in advertising, if they really aren't serious about keeping the customers that they get. This has been the worst day of my life. I hope all of you can get something from this and learn to stay away from companies like Limestone. I definately have learned my lesson the hard way.
View 14 Replies
View Related
Jul 17, 2014
is there any way to disable automatic updates completely ? Because the lowest option in the panel is:
"Notify me about available updates but do not automatically install them" (Critical security updates will still be installed automatically.)
And while I can't figure out, which files are going to be updated even on this minmalistic setting, I have to disable it completely.
View 1 Replies
View Related
Feb 19, 2014
I've encountered a curious problem. Fresh install of Plesk 11 on a Windows 2008 R2 Server. If I want to configure FTP-Accounts under "Domain&Mail" the option is missing entirely. The Server is running an FTP Server and I can connect via FTP to some parts with some users I have created in Plesk. I've scrounged the internet for information about what might be going on here but came up empty.
There is no option to configure FTP Accounts or anything FTP in Plesk. There is empty space where the link should be.
View 2 Replies
View Related
Jan 24, 2015
I have an issue with my daily backup. I configured to have a daily backup on an external FTP server. Everything looks to work correctly but in the panel I see that the task is a 100% forever. Never finishing completely.. So the next day, the task is not starting.. I have to remove manually the task in backup manager screen.
here is the last lines of the log file (in /var/log/plesk/PMM/backup-2015-01-20-20-46-02-824)
[2015-01-20 21:33:53.108|18485] INFO: ENV[LANG]=en_US.UTF-8
[2015-01-20 21:33:53.108|18485] INFO: Executing utility: /bin/sh -c -e /bin/tar --create --file /usr/local/psa/PMM/tmp/backupznMOWN/daily__1501202046.tar --directory /tmp/repo_transport_tmp_Jalkfn/ --dereference --files-from /tmp/repo_transport_tmp_UTCFhv
[2015-01-20 21:41:12.528|18485] INFO: The utility executed with the return code 0
[Code] ....
View 19 Replies
View Related
Jan 3, 2014
We will be hosting our own closed source solutions and need to be able to not give customers access to the files in their webspace.FTP and SSH access will be blocked in the firewall, so that it easy.I see it is possible to disable access to FTP users information, but the file manager is still usable in the CCP (Customer Control Panel / Hosting Panel).Can this file manager be disabled as well?
View 6 Replies
View Related
Sep 30, 2014
I'm suffer 2 major problem as below :
1.
how to turn off spamassassin completely ?
I've already stop the spamassassin service on Services Management but it's only valid one day. The next day, spam assassin service automatically start
2.
my customer mailbox statistic wrong. Even if their mailbox not full but when they send email. The quota said that their mailbox full. So they can't send/receive email.
Our action :
Manually, use command
/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php -f execute-statistics
View 14 Replies
View Related
Oct 7, 2014
I have a -I think- common issue, one external server available from internet and an internal server for local only.
I want that to ask for [URL] ....
I can get the content of an internal server. For this I tried this at httpd.conf:
Redirect /site http://in.ter.nal.ip/site
but browser changes to internal IP and obviously I can't reach it.
So, I need that when external server detects that I want to see internal server content, it ask to internal and external itself answers.
View 2 Replies
View Related
Jun 8, 2014
I have Apache 2.2.26 running on OS X 10.9.3.My situation is that I consistently get an error that client denied by server configuration when accessing /server-status.
View 1 Replies
View Related