CentOS 5 :: Mod-php Causing Apache To Segfault?
Sep 22, 2010
I have a newly installed centos 5.5 x86_64 running as a guest on a xen environment. I've installed httpd, mysql, php, mod-php, cacti and some how mod-php i causing apache to exit with segmentation fault. I don't understand whats causing the problem, I have similar boxes with the same setup that works.
[Wed Sep 22 09:19:47 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Wed Sep 22 09:20:11 2010] [notice] child pid 3040 exit signal Segmentation fault (11)
View 1 Replies
ADVERTISEMENT
Mar 20, 2010
Code:
#include <stdio.h>
#include <stdlib.h>
[code]...
View 3 Replies
View Related
Sep 16, 2010
kernel: at[18314]: segfault at bf963e1f ip 00227518 sp bf958554 error 6 in libnss_files-2.12.so[221000+c000]
How can I track down what "at" is attempting to run that is causing the segfault?
View 2 Replies
View Related
Feb 10, 2010
my server and it had a load of 60 so i immediately took down apache and the load went back down to 0 in a few mins and every time i put it back on the cpu usage on both cores immediately goes to 100% and the load goes up to 20 in just 60 seconds until i take apache down again?
View 6 Replies
View Related
Jul 7, 2009
when open an pdf and close the tab/windows at firefox I get the error at syslog: kernel: npviewer.bin[21396]: segfault at 0000001000000000 rip 00000030abe2646c rsp 00007fffb0978ca0 error 4
I use the last Acrobat Reader.CentOS 5.3 x86_64
View 6 Replies
View Related
Jul 14, 2009
I've got problem with one bash scrip which can run for random time (12h+) and then segfault:
clusterapp[17029]: segfault at 00007fff23100d00 rip 0000003da22426b4 rsp 00007fff23100cd0 error 6
clusterapp[14659]: segfault at 00007fff45cc3f50 rip 0000003da22426b4 rsp 00007fff45cc3f20 error 6
bash script:
updateMaster() {
echo 10.100.123.11 > /tmp/master
sleep 5
updateMaster
}
updateMaster
View 1 Replies
View Related
Jul 9, 2010
I downloaded bind 9 on my machine, but when I try to start the service "service named start" it fails. I found the logs by grep named /var/log/messages
Jul 8 22:10:49 localhost named[27072]: starting BIND 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 -u named -D -t /var/named/chroot
Jul 8 22:10:49 localhost named[27072]: adjusted limit on open files from 1024 to 1048576
Jul 8 22:10:49 localhost named[27072]: found 2 CPUs, using 2 worker threads
Jul 8 22:10:49 localhost named[27072]: using up to 4096 sockets
Jul 8 22:10:49 localhost named[27072]: loading configuration from '/etc/named.conf'
Jul 8 22:10:49 localhost named[27072]: using default UDP/IPv4 port range: [1024, 65535]
Jul 8 22:10:49 localhost named[27072]: using default UDP/IPv6 port range: [1024, 65535]
Jul 8 22:10:49 localhost named[27072]: listening on IPv4 interface lo, 127.0.0.1#53
Jul 8 22:10:49 localhost named[27072]: listening on IPv4 interface wlan0, 192.168.1.3#53
Jul 8 22:10:49 localhost named[27072]: command channel listening on 127.0.0.1#953
Jul 8 22:10:49 localhost named[27072]: command channel listening on ::1#953
Jul 8 22:10:49 localhost named[27072]: the working directory is not writable
Jul 8 22:10:49 localhost named[27072]: zone admin.myhost.remcycle.net/IN: loaded serial 2010070700
Jul 8 22:10:49 localhost named[27072]: zone admin.myhost.remcycle.net/IN: sending notifies (serial 2010070700)
Jul 8 22:10:49 localhost kernel: named[27073]: segfault at 00002aaaac0000d8 rip 00002aaaac0000d8 rsp 0000000040e78f58 error 15
I hear that "The working directory is not writable" is nothing to worry about and is just something that is complains about for no reason, but I can not decipher.
"Jul 8 22:10:49 localhost kernel: named[27073]: segfault at 00002aaaac0000d8 rip 00002aaaac0000d8 rsp 0000000040e78f58 error 15 "
I know segfault is having some memory problem at 00002aaaac0000d8 but does rip mean insertion point? What is rsp? Where do I find out what error 15 means?
View 12 Replies
View Related
May 16, 2011
We are using 1 LSI card on our tester to run massive I/O actions, but it seems that after couple of hours (or something like 1 day) of using the LSI, the tester reboot itself.
View 1 Replies
View Related
Sep 12, 2011
I am running a CentOS 5.6 32 bit installation under VMWare ESXi and have been experiencing some very high load values from time to time. The server is running multiple installations of gameservers, and the load fluctuates from around 1 to 9, with more or less the same amount of players playing (give or take 5-10 of a possible 80). I've been running DStat with almost all possible metrics, and, except for the large fluctuations in load, nothing else out of the ordinary seems to happen when load is rising. (Log data can be provided, if anyone wants to see it). Disk IO, Network throughput, memory consumption, CPU usage, process count, all stay at the same levels when the load is 1 as when it is 9. How I can begin to troubleshoot this, and find out why the load goes to such high values?
View 1 Replies
View Related
Mar 17, 2010
I'm using centos 5, kernel 2.6.18-164.11.1.el5I have occasional server network problems (the NIC driver will basically crash/restart causing no connectivity for a period of time) due to the marvell sky2 NIC driver being a problem, as discussed here: This essentially means the server is unreliable when under any kind of reasonable load, to put it mildly.Worse still, the driver problem has not been resolved in 2.6.18.x - but it seems to have been resolved in the latest Linux kernels.I really don't want to compile the kernel from source, etc, but it looks like I may have no choice.Is there a repo which has a pre-compiled 2.6.20+ or 2.6.30+ kernel which I can use,
View 8 Replies
View Related
Jan 20, 2011
I am installing Big Brother on a CentOS 5.2 running the default Apache 2.2.3. When I try to access any web page I get the following error: Forbidden You don't have permission to access /bb/ on this server. Apache/2.2.3 (CentOS) Server at fmsubbnix Port 80 So far I have:
1) Set the Directory options to FollowSymLinks
2) Verified all directory and file permissions are at 755
3) Set permissions temporarily to 777 and received same error so I am assuming the issue is in a config file somewhere
4) in hhtpd.conf verified <Files ~ "^.ht"> is correct
5) verified the "default" directory is correct (/var/www/html)
I have read and tried several ideas in posts listed on the web but to no avail and am at a loss as to what to look for next..
View 3 Replies
View Related
Oct 14, 2010
I am trying to solve a problem where Apache stats aren't displaying correctly in Munin. I've ran through quite a bit of checks and tests regarding Munin setup, but I think my issue is related to Apache, but my skill set there is lacking.
first, system info:
monitored server:
CentOS 5.3 2.6.18-128.1.1.el5
[code]....
View 7 Replies
View Related
Jul 2, 2010
i opened up my browser to surf the web and a page popped up i had never seen before.Apache 2 Test page powered by centos. Any address i put into my firefox browser won't come up and i'm stuck on this test page and,i can't locate it on my computer to remove it.How do i get rid of it and more importantly how did it get on my computer in the first place?
View 10 Replies
View Related
Jul 5, 2009
U have spent 4 days trying to configure my router thinking that it is my router that is not working but when I go to my dynamic dns or my static ip address it takes me to my admin router on the local computers.when I type httpd it says it cannot bind to port 0.0.0.0:80 i checked it is set up to listen to port 80 this is really confusing me i am beginning to think the people who built my server did not set it up properly if i go to localhost or 0.0.0.127 it goes to the apache default page fine.I have not changed anything since it wad installed except the centos 5 updates any ideas?When i login my password is root and the password is the default I have changed nothing else on the system as I still have no clue about it.Just to clarify on my router I have port 80 and port 443 set to my static ip address is this correct or should it be the eth0 Bcast ip address?Can anyone give me an idea of what i need to check? On my router I have set up port 80 and port 443 and dynamic dns and static ip address.Sorry I am totally new to linux never used it before would be nice if anyone has any ideas how i can proceed with this.
View 1 Replies
View Related
Mar 27, 2009
I have developed a web application written in c# I'm using:
O.S. : CentOS 5.2
WebServer: Apache (2.19)
Mod Mono (1.9)
DB server: MySql
Some Configuration parameters:
Max Connection number: 200
When the site receives more than 50 simultaneous connections, it becomes unreachable even thought Apache seems to work. I attach:
- Apache server status when the service falls down
- Apache configuration file
View 3 Replies
View Related
Apr 22, 2009
I am trying to setup a simple Linux Virtual System (LVS). The 1st layer is two Virtual Servers, the 2nd layer is two Real Servers and the 3rd layer is one PostgreSQL Server. All data is on the third layer (PostgreSQL). The Apache Server is running on the 2nd layer but it is supposed to retrieve data (Folders) from the 3rd layer servers (PostgreSQL). I like to setup NFS server on the 3rd layer and NFS client on the 2nd (Apache) layer. I can't figure out how to do it! I have searched the Internet with no luck. I am sure many people on the CentOS community have done it. Can somebody point me to a Howto.. or email me a procedure they have.
View 3 Replies
View Related
May 7, 2009
If I wanted to update Apache manually, instead of having Yum update it, how would I remove apache from Yum's database? What else would be involved if I download Apache source; and then configured, built, and installed it?
View 2 Replies
View Related
Jun 25, 2009
I've just installed latest verion of centos and am having trouble getting Apache to work or even knowing how to test it's working.
When I open up firefox and type 'http://localhost/' I am getting the message "failed to connect" firefox can't establish a connection to server localhost.
View 2 Replies
View Related
Aug 5, 2009
Or rather I can't reach it when I try to reach it in my web browser, I get a "network link timed out" error.I start it by issueing "/usr/sbin/apachectl -k start", and i know its running b/c i can see it in the process list "ps auxf".The request isn't showing up in httpd's access_log, which lead me to think this is a SELinux issue, perhaps not allowing httpd to bind to port 80, idk.I'm remotely administering this machine from the command line
View 4 Replies
View Related
Aug 11, 2010
where i can learn configuring DNS and apache
View 1 Replies
View Related
Feb 7, 2009
I've installed a server (CentOS5.2) - and I need a new(er) PHP, so, I get me one. This is what I did:
- unzipped the bundle in the root's home
- of course, I entered the folder
- entered "./configure"
- entered "make" - the compile didn't come back with errors
- entered "make test" - there was a _possible_ fail...
- entered "make install"
I noticed there's nothing in the /libs, where I'd expect a module (lib5php5.so) to exist. there is one, but it belongs to the older PHP. It's located in ets/httpd/modules (a link BTW - but I think that's normal). At the console I type:
"which php" and get a path to PHP /usr/local/bin/php
"php --version" and get 5.2.8 and some extra info
in the server I entered "<?php phpinfo(); .>" in a PHP page, as I call that page, I get ... 5.1.6 as version.
Of course, I suspect Apache to have the OLD PHP in its config, (the old lib5php.so) and that I may have to overwrite the old one with the newly compiled one, if I had it. I ran a locate on the system, but no other lib5php.so files exist. Where did I loose track?
View 2 Replies
View Related
Apr 15, 2009
I'm attempting the lovely task of uninstalling Apache 2.2 and installing Apache 2.0 on CentOS 5. This is because of my original task of installing RSA web agent which only works with Apache 2.0. I also am not allowed to just install CentOS 4. I uninstalled Apache 2.2. Attempted to install Apache 2.0 (with rpm) and got multiple dependency errors. I installed the dependencies (and sometimes their dependencies including a little dance around some circular dependencies). Then I installed Apache 2.0 with no errors. However Apache failed to start.
Here is the error:
httpd: symbol lookup error: /usr/lib/libaprutil-0.so.0: undefined symbol: gdbm_errno.
Please don't tell me it "seems like you're missing your gdbm libraries." I'm not. I'm assuming I'm having a version incompatibility issue between gdbm and libaprutil. I just don't know what version of which I need to make Apache 2.0 happy. I tried uninstalling gdbm and installing an older version but I still have the same problem. Another option is to uninstall my openldap package (2.3.13-2) which I just installed and install an older version of that but again don't know which version is right.
View 4 Replies
View Related
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
Mar 28, 2010
I saw many people were talking about how to optimize apache and mysql here and also in other forums and blogs. I am currently hosting some sites and some IRCD processes (a tiny network)in a dedicated server with spec:
Quote:
Intel Dual Core 1.6GHz E1200
1GB RAM
160 HDD
10Mbits port
We got about 30,000 to 40,000 page views per day. I would like to ask people here about the opinion of apache and mysql optimization based on this server spec and current number of page view.
View 4 Replies
View Related
Jul 21, 2009
I have installed CENTOS 5.3 on my machine and am running the new version of Subversion which comes bundled with Apache. I noticed in the httpd.conf file there is no module for PHP which is a problem. How do I install the PHP module for APACHE in Centos 5.3?
View 3 Replies
View Related
Jul 31, 2009
Is there a big difference? Which do you prefer?
View 1 Replies
View Related
Jan 19, 2010
Just installed CentOS 5.4 selecting Server configuration where web server was installed.
After install, I browsed to the ip of the box and no apache test page shows up. /var/log/httpd/error_log doesn't show any browse attempts.
service httpd start
OK
try again and no browsing.
Did a :
yum install httpd
it installed httpd.i386 along some other dependencies.
Did a:
service httpd restart
OK
and still not browsing.
basics of getting apache running and configured on a fresh server?
View 6 Replies
View Related
Feb 10, 2010
how can i install and configure Apache-Ant .
View 1 Replies
View Related
Apr 29, 2010
I have Centos 5.4 installed on my server. Everything works perfect, however sometimes apache does not work properly. When I write my domain to browser it tries to reach the site, however it can't get any result. (There is no "browser couldn't find" error). The browser just tries to get the content.
When I login to my server with ssh using my domain name, there is no problem. (Named works.) When I give the "service httpd restart" command the problem disappears.I looked at httpd log files but there wasn't any problem at that time.I use the API's of the Facebook and Twitter, so there are many Curl requests are made with PHP. Could that be the reason?
View 2 Replies
View Related
May 27, 2010
It appears the liblphp.so and liblpssl.so files that have been added to /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ and the php.ini are 32 bit libraries. This is preventing them from loading as PHP and it's other modules are all built as 64 bit libraries. To resolve this error, I would recommend re-building the libraries as 64bit. Most likely this can be done using Easyapache to re-build PHP (and Apache) to support these modules. Additionally, libcrypto and libssl are on the server in /usr/lib/ folder. However, they are 64bit libraries which may not work on the 32bit .so files you have provided.
View 3 Replies
View Related