CentOS 5 Server :: Apache Does Not Respond

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


ADVERTISEMENT

CentOS 5 Server :: Apache Slow To Respond / Make It High?

Nov 16, 2010

I have CentOS 5.5 x86_64 with Apache, php and mysql.
I have just installed OTRS (helpdesk - trouble ticket system) on that server and no users.
This system works with perl, apache and mysql.
I notice that is slow to respond and at times unresponsive the apache welcome page. code...

View 5 Replies View Related

CentOS 5 Networking :: Dnsmasq Dhcp - DNS Server Does Not Respond

Jan 9, 2011

I got a CentOS server setup as a dhcp server using dnsmasq. I followed this guide more or less: [URL] So, the problem seems to be concerning the DNS server on the clients. In windows I get the "limited connectivity" icon for the network, and when I select troubleshoot it says the DNS server does not respond. Issuing 'ipconfig /all' clearly shows the IP of the CentOS machine as the DNS server, which should be correct, yes?

ETH0 is working as WAN connection and that works great.. no problem with the WAN connection at all on the CentOS machine. ETH1 has the IP 192.168.0.1 and mask 255.255.255.0 When starting eth1, it sometimes says that it can't start eth1 because the IP 192.168.0.1 is already in use.. but that is most certainly not the case. Maybe there's some kind of issue here that messes with the DNS? What's mind boggling is that it works great on a linux machine (dhcp client) and on a windows xp machine. but it does not work on the windows 7 laptop and a vista laptop and a pda device.

View 1 Replies View Related

CentOS 5 Networking :: Server Does Sometimes Not Respond To External Contact?

Mar 1, 2011

I have a CentOS 5 Server running for private fun... Just for playing with it and learn a little linux.this server has to Network interface cards. one for connecting from extern and one from connecting from the LAN.when i want to connect from lan (eg via SSH) this allways works!when i want to connect not from LAN this only works sometimes! only if i establish at the same time a connection from LAN it wors mostly.with other devices i have no problem (tested another server with just 1 NIC) and this works too.also the problem is not dyndns because i have the same problem when i try to connect through the direct IP.

View 3 Replies View Related

CentOS 5 Server :: Apache 'server-status' 404 Not Found + Munin Apache Stats?

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

CentOS 5 Server :: Cannot Get Sendmail Or Postfix To Send A 220 Response - Nor Respond With Details

Aug 11, 2009

I cannot get either sendmail or postfix to send a 220 response, nor respond with details. See below for sample telnet output. Details: I have a server that requires email, but only for light use. I'm definitely not an expert, but I have set up a sendmail configuration on a previous server. I tried to configure sendmail first and then postfix later, when I couldn't get sendmail working. I'm not sure exactly what the problem is, but I have a feeling the following might yield some important information. Note: this is the result for Postfix, but virtually the same thing happened with sendmail, too. That is, initially the telnet connection would close immediately. Afterwords, I could connect a second time but then it never responded with a 220 banner nor any 250's.

[Code]...

View 4 Replies View Related

Ubuntu :: Can't Get Apache To Respond To Outside Requests

Sep 6, 2010

I've been scouring the message boards and trying different things for two days and haven't found a solution. I set up Ubuntu 10.04.1 a few days ago using the server iso and selected the LAMP installation option. I will be using it as a sandbox to try out things from a PHP/MySQL book I purchased.

I have installed Gnome since sometimes I just can't get the command prompt to let me do things and Gnome may at least tell me why. I also installed PHPMyadmin.

My problem is that I can work with this thing all I want in any way I want - HTTP, SSH, SFTP, etc. - from within my home network but Apache refuses to respond to an outside request. Since it's only a test box it usually wouldn't be that big of a deal but I am going out of town for a couple of days and would really like to start working with my new book.

I am 99% sure my ISP is not blocking any ports. I have a ComTrend ADSL modem with router. I have given my Apache server a static IP on the NAT (xxx.xxx.x.101) and set up a dyndns address so I don't have to keep remembering the IP address.

Here is what I have tried so far: Setup a virtual server (port forwarding) on the router to to direct traffic on port 80 to internal IP .101The router told me its interface is using 80 so it would move itself to 8080 Made sure to also add port trigger for port 80 Made sure to save/reset the router Used my iPhone to connect via 3G - didn't work using IP or dyndns name Used iPhone to connect to 8080 and router responded

Set port forwarding/triggering for 8080 -> 80. No joy there, either Tried changing listening port to 8000Set port forwarding and triggering to allow port 8000 Changed ports.conf to read NameVirtualHost *:8000 and Listen 8000 Changed first line of /etc/apache2/sites-enabled/000-default to <VirtualHost *:8000> Restarted Apache service

Apache responded to dyndns.com:8000 from home machine No response when trying same on iPhone (sorry, it's the easiest way for me to test from outside my home network)

At one point, I added "ServerName localhost" to the otherwise empty httpd.conf file but that didn't seem to do a darn thing.

Many of the posts I have perused are at least a couple of years old and have included information on taking action with files that are not there or are no longer where they were. I have interpolated where I can but so far nothing has worked.

View 1 Replies View Related

Ubuntu Servers :: Apache Taking Too Long To Respond On Localhost

Jul 5, 2011

I am following this howto to install Apache, MySQL, and PHP5:

[URL]

I have just installed Apache and I am pointing my browser to:

http://192.168.0.100

but I am getting the error message that the server is taking too long to respond.

View 1 Replies View Related

CentOS 5 :: Apache Error 403 - "Forbidden You Don't Have Permission To Access /bb/ On This Server" - 5.2 With Apache 2.2.3

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

Server :: How To Get Any Mail Generated From Apache Site On Centos Server

Jul 22, 2011

I am running a CentOS 5.6 Server with a website and Forum. The website has a contact form and users can email various people in the organization. I have setup sendmail to send any mails like this to my email address on a Windows machine.The problem is that there emails don't have a header which has the senders original email header. It comes from localhost on my sendmail. How can I get any mail generated from the apache site to ALSO send mail to root on the Centos Server? That way I should be able to see the header and report the spammer or block them.

View 2 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

Server :: Optimize Apache 2 In Centos 5

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

CentOS 5 Server :: Configure SVN In 5 Without Apache

Sep 23, 2010

I'M trying to configure SVN in CentOS 5 without Apache, the connection should be possible with some SVNClient like tortoisesvn or another.

Following this guide i proceeded:

yum install subversion
useradd -d /home/svnroot -c subversion svn
passwd svn
svnadmin create /home/svnroot/proyecto_1
pico /etc/csf/csf.conf (enabled ports and restart with csf -r)

[Code].....

how to connect to the repository from my PC?

I don't know how to do it

I understand that this svn are running with svnserve but i don't know the way to connect from my PC with a svnclient, like rapidsvn or another.

View 2 Replies View Related

CentOS 5 Server :: Upgrade To Apache 2.2.16?

Dec 24, 2010

I need to do this to pass PCI compliance tests, I know it's not necessarily the best thing to do but it has to be done.

How would I go about compiling this version as it's not on the official repo?

View 4 Replies View Related

CentOS 5 Server :: PHP Not Found On Apache 2.2?

Apr 16, 2011

I have installed apache 2.2 from source and it works prefectly.

I compiled and installed php 5.2 but php pages resolve to page not found.

I checked the logs but did not find anything also apache has loaded the php5 module successfully.

Below is the apache configuration

[URL]

View 3 Replies View Related

Server :: Use Git Auth By Ldap And Apache 2.2 On CentOS 5.5?

Dec 28, 2010

operating system: CentOS 5.5 git version:1.7.3.4 ldap server:OpenLdap Http server:Apache 2.2 the software above have been installed. How to config /etc/httpd/conf.d/gitweb.conf file to let git authed by ldap?

View 2 Replies View Related

CentOS 5 Server :: Apache Dies After Update

Feb 3, 2009

I updated my CentOS 5 box recently. But after then my Apache can no longer work; every time I try to start apache, it says started OK but then dies immediately and no error message at all. When I tried 'apachectl restartI', it says apache not running. It has been running fine before the update. I've looked at /var/log/httpd.log but there is not any message about my problem.

View 14 Replies View Related

CentOS 5 Server :: Apache-Tomcat Not Working?

Feb 5, 2009

I've installed Apache Tomcat--6 and even jdk1.6.I've even created a tomcat.sh file to start the serverautomatically and it includes the Environment variables also ($CATALINA_HOME & JAVA_HOME) for automatic startup.Next when i'm using http://localhost:8080 to call the server it shows unable to connect.I've tried changing the port no of tomcat in server.xml file. but still its not working.

-->Then i tried using--telnet localhost comand--it shows Trying 127.0.0.1...

telnet: connect to address 127.0.0.1: Connection refused

telnet: Unable to connect to remote host: Connection refused

Here I'[m stuck i don't understand how do i make the localhost work.

-->If I'm giving telnet localhost 25 the sendmail server is working.But the 80 and 8080 ports are not getting configured.

-->I've tried adding the port and its name in /etc/services file but still its not working.

-->When I'm giving the command--/sbin/chkconfig --list--->Its shows: xinetd based services:

...
...

telnet on.what should i do to get my tomcat server work properly.

View 2 Replies View Related

CentOS 5 Server :: Allow Apache To Access The Internet?

Apr 21, 2009

We have Apache installed on CentOS 5.3 in our laboratory. Indeed the server is running fine for almost two years since it is actually the first CentOS 5 that was released just regularly updated. Now, most of our applications are custom made PHP applications and until now we somehow managed to avoid using PHP to fetch files that are on the internet itself. But now we are desperate because we need to allow PHP to fetch files through Apache but it seems as if Apache is not allowed to make a connection to the outer world. Additionally we use a proxy server to connect to the outer world so right at the beginning http_proxy is used to set that environmental variable. And for the root user it all works fine after that but it seems as if the apache user is not allowed to access the internet. Just to make a remark our web server can be accessed from the outer world so its a one way street for now.

View 1 Replies View Related

CentOS 5 Server :: MySQL Not Working From Apache?

May 25, 2009

I run mysqld on another server. I just switched to another dedicated server now, and i'm having trouble connecting to the mysqld server. If i run the php script from the bash console( php connect.php ) it works perfectly and connects to the mysqld server. However, if i run the script from apache ( http://localhost/connect.php ) it returns this: Can't connect to MySQL server on '(mysqld real ip)' (13) Mysql connection from another server(old httpd server) works perfectly, so it's not from the database server.

View 4 Replies View Related

CentOS 5 Server :: Vhost Under Separate UID With Apache?

Aug 23, 2009

I'v multi v-host . need to make each V-Host work under separate user (not apache user).

There is one module/patch call " mpm-itk " . In Debian/Ubuntu every thing is sweet
just do

apt-get install apache2-mpm-prefork libapache2-mod-php5 or aptitude install apache2-mpm-itk

that is all

But in CentOS 5.3 , there is always some difficult different (Why ? I do not know)

Kindly, Look to this solutions : [URL]

Is there possibility to avoid this complications ?

- I need solution without compiling + patching the apache , Is this possible ?

View 1 Replies View Related

CentOS 5 :: Web Server (Apache) Keeps Stopping And Restarting?

Oct 17, 2009

I am having a problem in that the Web Server (Apache) keeps stopping. I know this as watchdog is emailing me. Then about 15mins later it starts again. I cannot seem to find why. can anyone give me pointers as where to look to find the issue.

View 1 Replies View Related

CentOS 5 Server :: Apache Segfaults When Php Is Enabled?

Oct 23, 2009

The nagios admin interface apparently needs php (although, of course, the howto mentions nothing of the sort). So then, I copied the php.conf that had at some time been installed on the system, and then moved by me out of /etc/httpd/conf.d, back into conf.d. It's a fairly simple one:

#
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#
LoadModule php5_module modules/libphp5.so

[Code]....

View 3 Replies View Related

CentOS 5 Server :: Apache Not Noticing New Files?

Oct 27, 2009

Possibly off-topic, as this is in a VServer, running a non-standard kernel, but both the host and the VServer are running CentOS, so.....I've been happily running a small web site on a CentOS 5.3 host, using Linux-VServer. (So it actually runs on a 2.6.22 special VServer kernel.)This *might* be connected with updating to 5.4, but I'm not sure how. VServer itself was not touched, and httpd runs inside it (that is, using the VServer's httpd, not the CentOS one. Vserver however, is running Centos.

Suddenly, anything I load into the VServer DocumentRoot is not visible. A ls -l of files that show and files that don't show the exact same thing. That is, for example-rw-r--r-- 1 root wheel 106314 Oct 5 22:38 mutt.html-rw-r--r-- 1 root wheel 390 Oct 26 22:09 new.htmlYet, mutt is viewable and new.html just gives me a 404.

So, I then edited the mutt.html.I added a line like line for testing or something similar.That too, does not show up. That is, the mutt page shows, but the change I made in it doesn't show. I've tried restarting the vserver, but that did nothing.(And yes, I did hit refresh on the browser and also used another browser, to be sure.)I raised apache log level to debug, but neither access nor error shows me anything.I'm not even sure what terms to use in googling, trying things like newer files apache not visible and similar have brought me no luck.

View 6 Replies View Related

CentOS 5 Server :: Enable Mod_charset_lite On Apache - 5.4

Mar 8, 2010

i'm running httpd 2.2.3-31 on a full update centos 5.4 , i need to enable mod_charset_lite on apache, how can do that?

View 3 Replies View Related

CentOS 5 Server :: Apache 2.2 Configuration With SSL Gives Ss_error_rx_record_too_long?

Aug 16, 2010

CentOS 5.5 + Apache 2.2(httpd.conf) + SSL confiuguration(ssl.conf) gives following error in FireFox.Secure connection failed.An error occured during a connection to localhost.SSL received a record that exceeded the maximum possible length.Errorcode:s_error_rx_record_too_longThe page you are trying to view cannot be shown because the authenticity of the received data could not be verified.

View 1 Replies View Related

CentOS 5 Server :: Apache - Can't Access My Slice

Feb 4, 2011

I have installed Apache on Centos, had no issues during setup, httpd seems to be running but I can't access my slice through [url]. It looks like Apache has some issues or something?

View 2 Replies View Related

Server :: SSL Apache Client Certificate / CentOS 5 - How To Install?

Sep 23, 2010

does anybody have a nice tutorial about creating and installing Apache client certificate (PKCS12) ? I`m looking for some tutorials to CentOS. This what I have found on the internet for some reasons doesnt work. Or maybe somebody could write here how to do it?

View 1 Replies View Related

CentOS 5 Server :: Weird Apache Files Not Being Served?

Feb 19, 2009

We are having an odd apache issue. Certain files are not being served out.The files actually live in a remote DFS volume served off a windows system. They're mounted under /data/vizwx. There's a subfolder here called wx_intranet which has all the data.The Document root for this virtual host is /data/www/htdocs. There is a data/vizwxsubdirectory with a symlink named wx_intranet which points to /data/vizwx/wx_intranet .SELinux is completely disabled (not even permissive).

When a user requests a file from http://<host>/data/vizwx/wx_intranet/VizWx_14c.jpg no error is given to the browser. Firefox just shows the URL in question (I can't even view source). The <vhost>_access.log file shows: wx_access.log:172.16.1.16 - - [19/Feb/2009:15:30:16 +0000] "GET /data/vizwx/wx_intranet/VizWx_14c.jpg HTTP/1.1" 206 167791And there's nothing in the <vhost>_error.log, even after cranking the LogLevel up to info.

The permissions on the files in the share are slightly weird for reasons I don't fully understand, but they should work... the files are an effective 'chmod 3777 <file>' for all files in the mounted directory... that's with Sticky and SetGID bit set.What am I missing here? Oh, I also modified the Vhost's options from "Options all' to 'Options all -SymLinksIfOwnerMatch" to see if that was the problem... no dice.)CentOS v5.2, apache 2.2.3

View 9 Replies View Related

CentOS 5 Server :: How To Make Apache Caps-InSenistive

Jun 29, 2009

I have moved a site from a caps-insensitve server (OS X, Apache 1.3) to a default CentOS/Apache 2.2 install and run into problems.Actions:1) Made sure that mod_speling.so is loaded: LoadModule speling_module modules/mod_speling.so) Added CheckSpelling directive to Section 2: 'Main Server configuration'CheckSpelling on) Restart httpd

View 7 Replies View Related







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