Ubuntu Servers :: 8.0.4 Server Apache Overload/Crash On Restart?

Jun 6, 2010

bit of a server noob having built a server to hold a php website for a client hosting at home, I have some experience, but VERY limited and don't speak fluent server.My problem is that overnight each day apache on my clients server stops responding. I can still access via putty / webmin.The best I can see it, it seems that apache 2 opens too many child processes and chokes the system. My reasoning for this is:-Though I have max child set to 20 with a keep alive of 30 there are dozens of child processes 'apache2 -k start' running, some of which were started 9.5 hours ago.

-I can stop apache, though that doesn't kill these child processes. I can terminate the parent process which does kill the child processes, however restarting apache after killing the child processes results in a system crash. Rebooting the server remotely after apache has stopped responding also results in a server crash. That is NO response on any port.I would be happy to display any pertinent server config/logs etc if anyone can help me troubleshoot this?

View 2 Replies


ADVERTISEMENT

Ubuntu Servers :: Website Not Updating Without Apache Restart?

Feb 1, 2011

I've installed Ubuntu server and got everything setup pretty well.My problem is apache.I put my website in /var/www and changed the security on the files to allow them to be executed by other, which is what I finally discovered was my first problem (access denied). But now whenever.I go in and edit my page, the changes aren't reflected on the site unless I completely restart apache.I know I'm doing something wrong because I used to pay for a host and every time I edited a page, it was instantly updated on the site. Could one of you gurus tell me where I screwed up?

View 4 Replies View Related

Ubuntu Servers :: Apache Restart Fails After Power Loss?

Oct 25, 2010

I have observed a problem twice now with Apache trying to restart but hanging somewhere in the process. This happens after a power failure; the machine comes back just fine, but not the web server. The machine is on a UPS, but occasionally it runs out of "juice" before someone can get to it (we have a generator for emergencies). When this happens, a ps indicates about three processes running that are trying to start Apache, but they just sit there - this time for three days since the power failure was on a Friday. I can fix this by killing those processes and doing an Apache restart - but that takes human intervention, which is not acceptable.

I suspect this may have to do with SSL, since when I do a manual restart it asks me for the SSL password. There must be some way around this so the system can recover on its own. This system's web site runs under SSL since it maintains medical information that must by law be protected. But it also could be life-threatening to someone if the system can't come back and as a result a person can't get help.

So I would appreciate some guidance as to what I could change that would allow for system recovery without intervention. I'm happy to provide any configuration file info, if you tell me where to look.

View 3 Replies View Related

Ubuntu :: CSS Server Hosting / Erver Will Auto-restart If There Is A Crash?

Dec 1, 2010

I installed a CSS server following these instructions on the latest Ubuntu server :url

And I then created + configured my server as per the bottom of this suggesting the server config creator tool :url

All fine - then i go to run my server by doing :

sudo ./srcds_run -console -game cstrike +map de_dust

and it says:

Code:
andy@novo:~/srcds/orangebox$ sudo ./srcds_run -console -game cstrike +map de_dus
t
Auto detecting CPU.Using default binary: ./srcds_linux.Server will auto-restart if there is a crash.
Illegal instruction
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Wed Dec 1 16:22:40 GMT 2010: Server restart in 10 seconds
Illegal instruction
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Wed Dec 1 16:22:50 GMT 2010: Server restart in 10 seconds
Illegal instruction
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Wed Dec 1 16:23:00 GMT 2010: Server restart in 10 seconds
^X^CWed Dec 1 16:23:01 GMT 2010: Server Quit
In a never ending loop - i then add the -debug flag - and do sudo updatedb then locate debug.log but none has been created...

View 2 Replies View Related

Server :: Apache Crash - No Listening Sockets Available

May 23, 2011

Code:
[Sun May 22 04:02:06 2011] [notice] SIGHUP received. Attempting to restart
(98) Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

Above message is from /etc/httpd/logs/error_log.1. Saturday morning I reinstall my server. After finish, no error. I can access my HTTP server. Monday morning it has crashed. I don't know what is the meaning about this message.

View 2 Replies View Related

CentOS 5 Server :: Need To Restart Apache If File Doesn't Exists

Jun 6, 2009

I'm running CentOS 5.3 64bit and from the get go I've had problems with the Apache server.More specifically, on what seems to be a random occurance, the apache server stops to respond.The process is still running, but nothing happens with it, and it is not responding.The /var/logs/httpd/error_log is blank for the occurance and only shows an entry after I give it a restart.So I'm a bit confused about what is going on.With that said, I need to make sure the httpd is working one way or another.I don't want to force a restart service every 10 minutes as this seems a bit too much.However, I do want to have the following:

run a crond every minute to do:If it fails, then do service httpd restart (and log the failure and restart to a file and email me a message).Any pointers on how to do that?It ain't the pretty solution, but it will save me from a very angry user until I'll figure what is the real cause for this failure.

View 5 Replies View Related

Server :: Connection Loss On Overload?

Apr 26, 2011

Im still newbie on linux and i'm recently tried to move my server from win xp to ubuntu, but Idk why
when there is a lot connection it kind of automatically cut off all the connection, I am using Ubuntu 10.10,w/ glassfish+MySQL

View 11 Replies View Related

General :: Difference Between Restarting/stopping Apache Using 'service Httpd Restart/stop' And Apachectl Restart/stop

Oct 11, 2010

whats the difference between restarting/stopping apache using 'service httpd restart/stop' and apachectl restart/stop. I know that using 'service httpd restart' is actually a script in /etc/init.d/httpd but what about apachectl?

View 1 Replies View Related

Ubuntu Servers :: Writing Specialization Work About Administration Apache And Ftp Server On 10:10 Server?

May 22, 2011

Does anyone have some material about statistics using ubuntu / linux server, or a text which generally describes the ubuntu server?I need urgent, i'm writing specialization work about administration apache and ftp server on ubuntu 10:10 server, so I need something for the conclusion.

View 7 Replies View Related

Ubuntu Servers :: Home Web Server - Cant Set Up Apache As Named Server Using Bind DSN

Dec 7, 2010

I and setting up a home web server using Ubuntu 10.04 server (local only). I am currently using Webmin 1.53 to access it remotely all is going great very easy to use. Webmin - Check, ftps-fileZilla - Check, Apache -It Works BUT I cant seam to set up Apache as a named server using Bind DSN. Tried most of the help in the fourms and ..... I think my problems is in the master server selection, do i have to use [URL]... or can i just use myservername. I have tryed both with no luck. First time with the server addition.

[code]...

View 6 Replies View Related

Ubuntu :: After Crash Can't Restart Firefox / Fix This?

Jan 29, 2010

This has happened multiple times. I'd be running firefox and it would crash for whatever reason. I'd try to restart it and it would tell me that it's "already running as another process."

ps and top show no firefox. killall can't kill it. I found a few forum postings saying to delete the .parentlock file in the firefox directory. That allows me to start it, but all my personalizations and settings are gone. I have to each time create a new profile and copy everything over.

Kubuntu 9.04, all up to date, 2.6.28-13, 64-bit.

View 2 Replies View Related

Ubuntu Servers :: Add ROR And PHP On Apache Web Server?

Mar 6, 2011

I would like to add ROR to my web server, but I would still like to keep php. I tried doing this a few days ago, but it made my PHP unusable so that it would ask me to download a file rather than displaying the php page. how to install ruby on rails without trashing my system again.

View 3 Replies View Related

Ubuntu :: Why Does 10.04 Crash - Screen Goes Black And Have To Restart

May 23, 2010

10.04 runs perfectly most of the time, then every once-in-awhile it crashes. The screen goes black and I have to restart. I had a similar problem with 9.10, so I reverted back to 8.04 which never crashed. I did a fresh install of 10.04.

View 9 Replies View Related

Ubuntu :: Script To Restart X After Program Crash

Aug 20, 2010

What I would like to do is if the app crashes which kills xinit for the system to either kill login (which will auto login and restart the app) or just to execute the startx command (which auto launches the app) as if typed in from the keyboard. I am trying to find a way that will use the least amount of system resources, rather than a loop.

View 1 Replies View Related

Ubuntu Servers :: Apache Use Server Name Instead Of IP Address

Feb 25, 2010

I've setup a Ubuntu 9.10 LAMP server to host a word press blog on an intranet. I've got everything working except the url for the site.The IP address of the server will take me to the site URL.../But I'd rather use the server's name instead of the IP address URL...When i try to go to URL... in Firefox or IE it give me a server not found page and changes the URL to URL...I also have Webmin installed on the server and I've been playing around with the Apache module and can't figure out how to set it so i can use the server name instead of the IP address to get to the site.

View 6 Replies View Related

Ubuntu Servers :: Set Up Apache 1.3.41 And Php4 On A Server?

Jul 27, 2010

We need to set up Apache 1.3.41 and php4 on a server since our other server just broke down.. and our current code is not compatible with apache2 and php5. I have the source files of Apache 1.3.41 and of php4. I do not have any problems in setting up php4 but, after setting up apache2 it gives me that i have successfully built Apache 1.3. But when i try to start it through apachectl it gives some errors like

Code:
Syntax error on line 329 of /usr/local/apache/conf/httpd.conf:
Invalid command 'Order', perhaps mis-spelled or defined by a module not included in the server configuration

[code]....

View 2 Replies View Related

Ubuntu Servers :: How To Make Apache Server Viewable To Everyone

Jan 28, 2010

I have it set up so when I go to URL... it shows my server. I'm not sure how I can make it viewable to everyone though.

View 3 Replies View Related

Ubuntu Servers :: Apache Server Don't Want To Start By Itself On Boot

Apr 6, 2010

My apache server don't want to start by itself on boot.

View 9 Replies View Related

Ubuntu Servers :: Upgrade The Apache Installation On Server From V2.2.14 To V2.2.19

Sep 1, 2011

I am currently trying to upgrade the Apache installation on our server from v2.2.14 to v2.2.19 using:

[URL] as a guide.

Unfortunately I seem to have hit some walls. When trying to execute ./config.nice I get the following error:

./config.nice: 33: /build/buildd/apache2-2.2.14/configure: not found

Google have not yielded any results as yet. If I leave out this step and use configure, make and make install, v2.2.19 gets installed, but to a different directory and all the config will need to be reformatted as it seems it does not use the Ubuntu Apache config structure.

View 5 Replies View Related

Ubuntu Servers :: Can't Access Apache - Any Server Over My Primary Ip Address / Do That?

May 17, 2010

I have no idea what is going on here and this is the second time it has done this but. I just installed Lucid Lynx Desktop Edition for my Server. I have installed apache php5 mysql binarys. I have 3 ips on the machine 10.0.1.30, 10.0.1.37, 10.0.1.38. .30 is the main ip 10/100 the rest are 10,100,1000 ports. I can only access Apache 2.2 over .37 or .38 but not .30

I have not used Ubuntu alot but I am starting to and this really pisses me off since all my computer have aliases to the machine through .30

View 5 Replies View Related

Ubuntu Servers :: Apache Server Not Accesible From External Computers

Dec 8, 2010

A week ago I purchased an VPS. The first few days I was having trouble to set up an outgoing connection on the VPS. Eventually it turned out to be some misconfiguration of the server where the VPS is hosted on.Since then I have installed the apache server, but I'm still not able to access the apache server from an external computer. I already have contacted the provider, but they haven't replied yet. To speed things up I was hoping someone could check my configuration to be sure nothing is wrong with it.To be sure I posted all configuration and information that I think would be important. Please contact me if you need more information.

View 2 Replies View Related

Fedora :: A Script To Restart Amule On Exit - Crash ?

Oct 8, 2009

Since I have not yet the knowledge to write a custom script I ask the following:

Can you give me a (sh) script to restart amule on exit (crash)?

This I ask you because amule crashes often on my system.

I already filed out a bug report at the amule website.

View 7 Replies View Related

Ubuntu Servers :: Apache Virtual Host To Access Internal Server?

Apr 20, 2010

I'm not sure is this is possible or not, but what I would like to do is take my public address mydomain.com and configure a virtual host something.mydomain.com only instead of having the content on the same server I would like it to point to the IP of my virtual machine that is in my private network and display that page publicly. Does anyone know if this is possible, or how to do it? I have done this with port forwards, but would like them both to be on the same port.

View 3 Replies View Related

Ubuntu Servers :: Disable Apache 2 Ngnix Server Will Serve Files In / Var / Www Automatically

Sep 6, 2010

So if I disable apache 2 my ngnix server will serve the files in /var/www automatically.

View 1 Replies View Related

Ubuntu Servers :: Separate Virtual Machines For Apache, Mysql, File Server?

Jul 11, 2011

I'm working on a side project where I would like to install three ubuntu server systems,each with only one task.So server0 would be the apache server, server1 would be the database and server2 would be the file server.which key terms I should be researching?

View 9 Replies View Related

Software :: Apache Continues To Crash?

Nov 2, 2010

software can I use to monitor the performance of apache on my dedicated server?Anything free that can track why the program crashes or the processes that are running when it does?It continues to crash "starting today" and I can't seem to find out why.

View 1 Replies View Related

Ubuntu Servers :: Apache - Execute A Bash Script That Uploads A File To Another Server Through A Website?

Sep 20, 2010

I have a web server in my kitchen with apache running on it. Since the upload speed is quite low due to my isp I would like to execute a bash script that uploads a file to another server through a website (which is htaccess protected) The idea in general: Someone with access to my website browses through a folder, copies a file path to an input form and presses "upload". Rather than executing a bash script directly I could have a cron job running in background that finds the path and then uploads the file to the other server I have userspace on and is accessible via sftp/ssh. The file would be than erased later after a couple of days or so. That person would be able to access the file with higher speed some time later without logging in via ssh and doing all that manually.

View 2 Replies View Related

CentOS 5 :: NIC Driver Will Basically Crash/restart Causing No Connectivity For A Period Of Time?

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

Fedora Servers :: Cgi Perl Script On Apache Server Have Only Partial Success

Jul 9, 2009

I'm running an Apache web server version 2.2.11 on Fedora 10. I'm trying to get it to run a PERL cgi script but with only partial success. The script uses the PERL cgi package.

The perl script is a simple test case that creates a form to fill in. Once the submit button has been clicked it should then return the data submitted. The perl script writes this to a file called output.cgi

The intial script located in /var/www/cgi-bin/index.cgi gets executed fine when I go to [URL], this works with no probs. However once I hit the button to submit the data I then get the error

Not Found

The requested URL /cgi-bin/output.cgi was not found on this server. Apache/2.2.11 (Fedora) Server at localhost Port 80 Im not sure if its a perl problem or server setup problem, theres probably a simple switch or something but Im out of ideas at the moment.

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







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