CentOS 5 Server :: Httpd Out Of Memory Crashes Server?

Sep 11, 2009

My server keeps freezing up requiring a hard reboot.

CentOS release 5.3 (Final)

httpd-2.2.3-22.el5.centos.2

Here is the error in /var/log/message

Sep 11 00:16:20 localhost kernel: httpd invoked oom-killer: gfp_mask=0x201d2, order=0, oomkilladj=0
Sep 11 00:19:14 localhost kernel: [<c0459e7d>] out_of_memory+0x72/0x1a5
Sep 11 00:19:14 localhost kernel: [<c045b352>] __alloc_pages+0x216/0x297
Sep 11 00:19:14 localhost kernel: [<c045c5bf>] __do_page_cache_readahead+0xc4/0x1c6
Sep 11 00:19:14 localhost kernel: [<c0436d9a>] ktime_get_ts+0x16/0x44

[Code]...

View 5 Replies


ADVERTISEMENT

CentOS 5 Server :: PCI Scans Causes HTTPD Process To Use All Memory

Jun 22, 2009

We had servers that worked fine for years. After updated them to the latest version of CentOS (5.2 with latest updates), they keeps on hanging when being scanned by PCI Verdors (a Credit Card security standard). Basically, the scan causes httpd process to eat up all memory, and the server becomes unresponsive. Normal operations resume after the scan stops for 5, 10 minutes. Output from top looks like the following:

Mem: 1018988k total, 1007168k used, 11820k free, 432k buffers
Swap: 2096440k total, 2096440k used, 0k free, 4528k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
13601 apache 16 0 289m 102m 456 D 4.0 10.3 0:15.25 httpd
12836 apache 16 0 330m 101m 232 S 2.4 10.2 0:17.57 httpd
12834 apache 16 0 341m 100m 292 D 8.9 10.1 0:17.70 httpd
12837 apache 16 0 317m 99m 456 D 6.0 10.0 0:17.66 httpd
12839 apache 15 0 327m 97m 232 S 0.0 9.8 0:17.37 httpd
13590 apache 15 0 287m 96m 228 S 0.7 9.7 0:15.18 httpd
12833 apache 15 0 333m 96m 232 S 2.2 9.7 0:17.58 httpd
12835 apache 15 0 322m 95m 232 S 0.4 9.6 0:17.50 httpd
12840 apache 15 0 310m 88m 232 S 6.9 8.9 0:17.34 httpd
12838 apache 15 0 297m 85m 232 S 1.3 8.6 0:16.52 httpd
12831 root 18 0 20644 1360 248 S 1.3 0.1 0:00.27 httpd

View 5 Replies View Related

Server :: Change The Webroot Of The Httpd Server - Directory Doesn't Exist - CentOS 5

Jun 1, 2009

I have just configured CentOS server my new office. This is the first time I am using CentOS.

Whenever I am trying to change the webroot of the httpd server, it usually say "directory doesn't exist". whereas which can't be the case as it is home directory of the user.

To achieve this, what Do I need to do?

The second issue, I am facing that whenever I am adding new directories to public_html folder, it is not accessible. as the error page 404 is shown. I have changed the permissions to 0705 and ownership is also transferred to other user. What else is required to make new directories accessible by the web?

View 2 Replies View Related

CentOS 5 Server :: Httpd Running Very Slow "/var/lock/subsys/httpd': No Space Left On Device"?

Jun 10, 2011

Running CentOS 5 x64 And today my httpd is running very slow and I can't find a fix. Looked all over different forums

When starting httpd I get the message: /var/lock/subsys/httpd': No space left on device I checked that directory above and there is no file called httpd tried rebooting server

Can't do updates too:
[root@u15438957 ~]# yum update
Loaded plugins: fastestmirror, priorities
rpmdb: unable to join the environment

[Code]...

View 4 Replies View Related

CentOS 5 Server :: Put A MySQL Database In A Server's Memory?

Mar 18, 2010

I'm looking for a way to put a MySQL database in a server's memory. The disks aren't fast enough to keep up with the usage and I don't feel like going for a splitted web&db server yet because of the costs.

Because this involves risks (unless there's a way to read from the memory and write to the memory AND disks?), so I'd prefer that the DB gets copied automatically every hour or so to the local disks.

View 1 Replies View Related

CentOS 5 Server :: Upgrade Httpd 2.2.3 To 2.2.11 On Cent Os5?

May 7, 2009

i am running cent 5.1 and would like to upgrade httpd v.2.2.3 to the latest 2.2.11 version provided by apache to resolve some ajp errors i am experiencing.

I searched but did not find any rpms for cent nor did i find any instructions on how to do this.

View 10 Replies View Related

CentOS 5 Server :: Httpd Virtualhost Has Error In 5.3?

May 15, 2009

My server running CentOS 5.3. I use yum to install httpd, httpd-devel, php and it's module to run my site.

When I setup VirtualHost, i open httpd.conf and add some directive:

View 3 Replies View Related

CentOS 5 :: Using Httpd To Share Server Documentation?

Oct 15, 2009

I'd like to share /usr/share/docs out to my local subnet via httpd so I can read server documentation from my workstation. I've simply done a generic install of httpd and httpd-manual and added this to the bottom of my httpd.conf file:

alias /docs /usr/share/doc
<Directory /usr/share/doc>
Order deny,allow

[code]....

View 2 Replies View Related

CentOS 5 Server :: HTTPd Won't Start After Update To 5.6?

Jul 2, 2011

I just upgraded to CentOS 5.6 (been on 5.2 for ages....) and am getting the following error in the apache error_log file:[Sat Jul 02 13:50:25 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)[Sat Jul 02 13:50:25 2011] [error] SSL Library Error: -8187 Security library: invalid argumentsThe notice entry, I can understand, however the SSL error is halting apache from starting. It has been suggested that this might be a package mismatch issue. I'll be more than happy sharing the package list for this box on request.

View 2 Replies View Related

CentOS 5 Server :: Installing Mod_dav_svn Without Httpd Update

Sep 15, 2009

I have a VPS server installed with centos 5.3. The server has directadmin. Probably that when directadmin was installed, the httpd server of choice was apache 2.2.13.

My problem is that i whant to install mod_dav_svn trough yum but without updating the latest version of apache form yum repository. If i exclude the httpd package when doing yum install mod_dav mod_dav_svn i get a dependency error witch say that i nedd httpd-mmn installed. So, my question is, how can i use yum to install mod_dav_svn without updating the httpd.

View 3 Replies View Related

CentOS 5 Server :: After The Installation, Everything Seem To Work Well But For Httpd Not Running?

Sep 30, 2009

installed a new centOS 5 server, and after the installation, everything seem to work well but for httpd not running. when i try to issue the restart command i get the following error:

[root@appdev ~]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 206 of /etc/httpd/conf/httpd.conf: Cannot load

[code]....

View 3 Replies View Related

CentOS 5 Server :: Possible To Run Directory Service And Httpd In The Same Machine?

Feb 9, 2010

For the first time in installed and configured centos-ds from this HowTos and from the manuals.It is running nicely but disabled my httpd.Is it not possible to run directory service and httpd in the same machine

View 3 Replies View Related

CentOS 5 :: Service HTTPD Fails When Server Restarted

Apr 22, 2011

I installed centos 5.5 and httpd service was working well for the last 2 weeks till yesterday. I restarted server and noted my hosting service were not working. I have tried service httpd restart on the terminal and it dispalys [FAILED]. I updated my machine and and have tried restarting it but it doesn't work. I am new to centos and I dont know how to solve this.

View 2 Replies View Related

CentOS 5 Server :: Httpd Dead But Subsys Locked?

Aug 8, 2011

I've got a box with a fresh installation of CentOS 5.6, but had several configs copied from an old 4.8 box that I've now got to finish. Most everything seems fine, but I can't get apache running. It reports that it starts up fine, but immediately stops and reports "httpd dead but subsys locked"Most of the advice I've found while searching suggests to just delete the http.pid file and restart, which doesn't help in my case. I did find a few problems where SELinux was restricting httpd from creating or touching certain files (I found reports in /var/log/messages) but I've worked through that.

So the big question here is: /var/log/messages and /var/log/httpd/error_log are now empty, and don't show any more errors when I restart httpd. Does anyone know where else I can look for reporting/logging on what's happening to httpd to cause it to die?

View 1 Replies View Related

Server :: Httpd-devel On Centos 5 Error Failed Dependencies?

Jul 26, 2011

I been tryin to install httpd-devel on Centos 5 with plesk i keep gettin Missing Dependency errors i went to url

and got attached packages but they give me this error

Code:
# rpm -ivh httpd-devel-2.2.3-45.el5.centos.1.x86_64.rpm Failed dependencies:
httpd = 2.2.3-45.el5.centos.1 is needed by httpd-devel-2.2.3-45.el5.centos.1.x86_64

Code:
yum install httpd-devel
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
code....

View 5 Replies View Related

CentOS 5 Server :: Httpd Daemon Not Active On Startup - No Errors?

Oct 31, 2010

I've added httpd to runlevels 2-5 using chkconfig, and also double checked it using ntsysv, but it still won't run on startup, even though it works just fine when started manually (using "sudo service httpd start").The results of "chkconfig --list httpd" show it is on for levels 2-5, and I've confirmed the current runlevel to be 3. I've found no errors in the logs (neither Apache's nor the system's), but maybe I'm looking at them wrong...My machine is a VPS (on VMWare) running CentOS 5.5 32bit. For additional information, see the output of getinfo.sh: http://pastebin.centos.org/35570I would greatly appreciate help on this, as it is delaying our NGO from moving servers.

View 3 Replies View Related

CentOS 5 Server :: HTTPD Apache2 - (103) Software Caused Connection Abort

Feb 10, 2010

I am running centos 5.4, kernel 2.6.18. Also running httpd (apache2) as a reverse proxy with the following modules
mod_ssl
mod_cache
mod_proxy_*

Recently after updating these modules:
mod_ssl x86_64 1:2.2.3-31.el5.centos.2
httpd x86_64 2.2.3-31.el5.centos.2
distcache x86_64 1.4.5-14.1

I am getting wierd errors in the error logs:
[Wed Feb 10 15:44:18 2010] [error] (103)Software caused connection abort: cache: error returned while trying to return disk cached data
[Wed Feb 10 15:44:45 2010] [error] (103)Software caused connection abort: cache: error returned while trying to return disk cached data
[Wed Feb 10 15:44:48 2010] [error] (103)Software caused connection abort: cache: error returned while trying to return disk cached data .....

View 1 Replies View Related

Server :: Change Of Apache Httpd.conf Doesn't Work On CentOS/RedHat?

Jun 30, 2010

I've been trying to make install apache 2.1.8 and php 5.2.3 and work on them. After updating and installing some dependence files, apache and php could both be installed.

Then I tried to configure them. I added the following content to the end of Apache httpd.conf:

Code:

Then I run /path/to/apachectl start, and saw the message:

Quote:

Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

Then I remembered that I didn't include the rewrite module while making install apache. So I removed the 2 lines I just added to httpd.conf.

But, after running /path/to/apachectl stop and start again, I could still see:

Code:

When I use firefox to open http://host_ip:8080/, I could see "It works!". But when I open http://host_ip:8080/hello.php (the file is already under htdocs), firefox said
Quote:

Failed to Connect

Why and how to solve it?

I noticed that for some stupid reason, the conf file wasn't updated at all and the 2 erroneous lines were still there.

View 91 Replies View Related

CentOS 5 Server :: HTTPD - Forbidden Dont Have Permission To Access /index.html?

Mar 3, 2010

Basicly just installed a fresh version of Cent OS 5.4 with apache httpd installed automaticly during the installation. The http daemon is running and when navigating to localhost i get the welcome cent os apache page thingy. The problem is when i put an index.html file in /var/http/www then try and navigation to localhost I get a 403 forbidden error.

View 2 Replies View Related

CentOS 5 Server :: HTTPD Won't Restart After Update: Mod_proxy_ajp Fails If Mod_proxy Not Loaded

Apr 29, 2010

I have just been told that httpd was not running on my Centos virtual server. It seems that my hosting company rebooted my server 2 days ago and that httpd restart failed due to:

Starting httpd: httpd:
Syntax error on line 213 of /etc/httpd/conf/httpd.conf:
Syntax error on line 2 of /etc/httpd/conf.d/proxy_ajp.conf:
Cannot load /etc/httpd/modules/mod_proxy_ajp.so into server: /etc/httpd/modules/mod_proxy_ajp.so: undefined symbol: proxy_module

I had worked around and forgotten about this some time ago. The problem arose because the most recent httpd update installed proxy_ajp.conf into /etc/httpd/conf.d which was then loaded on restart The trouble is I do not use mod_proxy (I think just to try and get a lean and mean web server) and proxy_ajp.conf does not check if mod_proxy is loaded before it tries to LoadModule proxy_ajp_module modules/mod_proxy_ajp.so

Hence httpd fails to restart. RedHats's bug tracker lists this as an old issue (which was never resolved) [URL] My workaround was to rename proxy_ajp.conf to proxy_ajp.conf.orig so that httpd would start up correctly. However any updates simply reinstall proxy_ajp.conf and so IMO the problem needs to be resolved at source. how to ensure that httpd updates do not bite me in the future? Do I really have to run mod_proxy whether or not I need it?

View 6 Replies View Related

Server :: Reverse Proxy - With HTTPD Httpd-2.2.3-29.el5

Jul 30, 2010

We are using this url on our testing box and this ip is reverse proxy IP ( 10.192.64.52)

Without reverse proxy:- URL is working fine.

http://10.192.16.77/akc-qa/arsys/ser...TS000000001430

But with reverse proxy its putting escape [%25] in between %3a

[url]

Is it possible to write a rewrite rule to bypass escape [NE] for this particular URL?

View 1 Replies View Related

CentOS 5 Server :: LDAP Client - Nss_ldap: - Authenticate SSH And Sudo And Not Services Like Httpd - Nrpe - Xinetd

Aug 9, 2011

When ever I have an issue with our LDAP server (which I was able to fix) we see the following errors in /var/log/messages and it causes problems with our services running on that box, e.g. httpd, nrpe, xinetd, etc. Aug 8 17:44:42 hostname httpd: nss_ldap: failed to bind to LDAP server ldap://serveraddress/: Can't contact LDAP server Aug 8 17:44:42 hostname httpd: nss_ldap: reconnecting to LDAP server (sleeping 64 seconds)... I am only wanting to authenticate SSH and Sudo and not services like httpd, nrpe, xinetd etc.

View 2 Replies View Related

CentOS 5 Server :: CentOS 5.5 Guest In VirtualBox / Less Memory Available Than Configured

Aug 27, 2010

I just ran into a weird problem with a CentOS 5.5 64-bit server running VirtualBox 3.2.8 (I would run Vmware Server 2.0.2 if not for the well known fact that Vmware doesn't care about its Server line anymore and it doesn't run on CentOS > 5.3 without major splits). I currently have two guests in that VirtualBox setup, a CentOS 5.5 64-bit and a Fedora 13 64-bit. The CentOS 5.5 guest shows less memory available than configured. If, for example, I give the virtual machine 512MB of memory the guest OS only recognizes 380MB. If I give it 768MB it only recognizes 637MB, and so on. I don't have that problem on the Fedora guest - 1024MB configured, 1024MB available.

View 13 Replies View Related

CentOS 5 Server :: Recover Memory From The Xen?

Jul 28, 2010

I have xen kernel on a 5.4_64 though it seems to have always done this regardless of version. When I add a virt the control set shows the total machine memory minus what I just allocated to the new virt. This also shows up in the system monitor as total available ram. Problem arises in deleting and making new virts. The memory never reappears as usable after deleting virts. So now after testing several different setups I'm down to 1.4 gigs showing available on the dom0. What can I do to recover this lost memory? I've searched, read, looked every where I could think of and there just doesn't seem to be any information about deleting virts only adding them.

View 5 Replies View Related

Server :: CentOS - Apache Using Lot Of Memory And CPU

Jul 30, 2011

I have a web server with the specs below and my apache server is being a hog using all my RAM 7gigs or 8gigs of ram. When there is a rush of traffic at once my whole server crashes and I have to reboot apache. The way my site is set up I have a tube script and I use the tube script to host videos on my forum I have 1000 videos on the tube script. I brought a bigger server and more ram because of the down time I been having . I am really trying to figure out why its crashing and using so much ram. I installed eAccelerator didn't seem to help with the apache server.

Intel Quad Core Xeon X3430 (4 x 2.40 GHz, 8MB Cache)
> 2-bay Supermicro Chassis and Motherboard
> 8 GB REG ECC DDR3 (twice your current setup)
> 250 GB Enterprise Grade SATA II
> 10 TB Bandwidth 1gig Uplink Port
> CentOS 64 Bit (Latest Stable)

TOP Command and free -m command screenshots are attached this is with only 160 people online at once

View 6 Replies View Related

General :: Terminal Command / Centos Server Starts Mysqld, Httpd And Ftpd Services At Boot Time Automatically?

Dec 27, 2010

Can anyone tell me what command can be used so that the Linux Centos Server starts mysqld, httpd and ftpd services at boot time automatically?

View 2 Replies View Related

Server :: Correct Fix: Httpd: Could Not Determine The Server's Fully Qualified Domain Name

Mar 23, 2011

I get the following error while starting apache httpd

Code: httpd: Could not determine the server's fully qualified domain name, using <Server's-ip-address> for ServerName I googled it and have come across the following solutions, all of them involve changing the ServerName setting in httpd.conf:ServerName localhost ServerName www.example.com:80 ServerName <ip-address-of-server> ServerName <hostname-of-machine/FQDN>

I am setting up httpd to be accessed from over a LAN, so i don't have a .com domain name. I am thinking of going with the first option, it seems to be working...

View 5 Replies View Related

Server :: RHEL 5.1 After Installing Mod_ssl Httpd Server Won't Start / Get It To Work?

Apr 11, 2010

I am trying to do a https access with virtual hosting with apache.

But when I install mod_ssl rpm httpd server does not start again

I am stumped

httpd -t shows syntax is OK

View 5 Replies View Related

Server :: Single Wildcard Certificate For Apache Httpd Server And Tomcat?

Feb 10, 2010

I have a requirement of using a wildcard certificate for 5 subdomains running under apache httpd server and 1 subdomain under tomcat.Is there any possibility of using the single wildcard certificate both in tomcat and apache

View 3 Replies View Related

CentOS 5 Server :: Crashes For No Apparent Reason?

Jun 14, 2009

Ive been searching half the internet for a solution for a strange problem im having with a server (CentOS 5.2 Final). For no apparent reason, the server will just be powered off.I've looked in the dmesg log and /var/log/messages file, but that doesnt show anything, except the "syslogd 1.4.1: restart." message after booting it up again, and hours in advance of the crash a "suhosin" alert message.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved