I am getting a bsod on a windows 2003 server but its so quick I can't even read it just know the color of the screen when it pops up its that quick. F8 to bring up safe mode options but to disable automatic restart on system failure... its not there. Everything else is but that so how am I to stop the auto reboot?
I woke up this morning and saw my site say "500 internal server error".
I restarted lighttpd and it works again. I check the logs and see:
2008-01-05 08:39:16: (mod_fastcgi.c.2885) backend died; we'll disable it for 5 seconds and send the request to another backend instead: reconnects: 2 load: 1 2008-01-05 08:39:21: (server.c.1470) server stopped by UID = 0 PID = 6391
Is there a way to get lighttpd to restart automatically when it has these errors?
ive got a fairly beefy server but at the moment its hosting alot of resource intensive sites (unfortunatly i dont currently have a choice on where to run them all) and apache is crashing to the point its taking upto 2 mins to load pages within about 24hours but once restarted is fine again. so im wondering if anyone can suggest a way to automaticly restart apache via a cron job every 24hours or so?
I have root ssh access to a server and we notice when doing a bash ./mysq-backup script to dump the data from the web site's databases into .sql and .tgz them that httpd goes down sometimes. That, and sometimes it seems that httpd goes down in other situations. All fine, we will figure out why. But ..
It would be nice to run a crontab to check every 15 minutes if httpd is running, if not, to restart it.
Right now I when I notice the site is down I log into the ssh as root and type: service httpd restart. If it is up it will then first stop it, and restart it. I can look at the screen and see it happen, so I feel pretty safe doing this. One of my concerns is that when I am not at the screen and it stays down .. I do not notice this and downtime increases. And we don't want to just crontab service httpd restart, so a bash script to check for the pid and restart if it down .. would be nice.
I thought this would work: (chmod 755 httpdcheck)
Code: delta:~ root# cat httpdcheck #!/bin/bash
if [ ! "$(pidof httpd)" ] then echo "Could not find pid of httpd - restarting" service httpd restart else echo "Found pid of httpd - NO need to restart" fi delta:~ root# And I have this crontab entry:
Code: delta:~ root# crontab -l */5 * * * * /root/httpdcheck | mail my@email delta:~ root# When testing, I did service httpd stop and waited 5 minutes and I received the email : could not find it, restarting. But when I go to the web site in browser it remains down. I have to login to ssh and do service httpd start manually to really load it.
Manually loading btw .. shows it works as bash script just fine, so I dont't know why it won't work when run from cron?
Code: delta:~ root# ./httpdcheck Could not find pid of httpd - restarting Stopping httpd: [FAILED] Starting httpd: [ OK ] delta:~ root#
So .. when is it going wrong? Am I forgetting something?
Does anyone know anyscrip or software auto block IP for windows server 2003. I'm using windows server ent 2003 for share hosting. I was use netstat to recognize current connect and detect ddos to my server throught that command.
With one IP you can use IPsec to block IP request to your server but it's a lot of IPs request, i can't use that service. Does anyone have any solution for that.
I want to have a automated backup system which does backup/dump the current mysql databases, then transfers it to another system, per ftp, or even email's a download to my directly.
With Windows 2003 server, there are comprehensive lists of what you need to do to secure the server before use. For Windows 2008, I wonder is there such a list? Or is it true as what I heard from Microsoft that it is already secured out of the box?
Anyone has any resources on the hardening or preparation of 2008 for server hosting uses?
Details: ERROR: error during prepare patch panel-12.0.18~patch51...Failed to download the package URL.... The requested URL returned error: 500 Internal Server ErrorNot all packages were installed.Please try installing packages again later. I did verify with a web browser that I can access and download the WMIMSDNSProvider.dll file specified in the update. Is this just due to a timeout and the system retries the update? If so, how can I confirm that patch 51 got applied at some point.
I'm making a reasonably uninformed comparison here. Since Windows Vista is noted to be more resource intensive and slower than Win XP, are we right in assuming that Windows 2008 is slower than Windows 2003?
For instance, with two boxes with an identical hardware setup but the two different server OSes, will the same application like, say MySQL run slower on the Win 2008 machine?
Is there a way to restart IIS via the Plesk 11.5 service provider panel (windows 2008 server with no root access).
I am trying to setup custom error pages and the documentation says to restart IIS after you make the change. At i dont have root access i currently have to ring Webfusion and ask them to do it
on the server I have ASP access sites and ASP with SQL server sites.
When I load the sites they are fast, but then after a random period of time, I click a link but the page just sits there saying waiting for host, I can refresh but no difference, then all of a sudden the site will start working again and be fast until the next time.
Does anyone know why the site can be fast then sort of just hang for a while and if so, any suggestions on fixing this would be brilliant.
Can I configure windows 2003 to use multiple IPs?? Is it necessary to have a separate ethernet connection for each IP? Loopback, does it help? What about Linux?
I am trying to find a firewall for windows 2003 64 bit edition. So far I have tried Visnetic, which doesn't work, and comodo will not even have a beta version out until May. Anyone know of another that will work on 64 bit windows?
I am running a server with Windows Enterprise 2003 installed, it has 32GB RAM installed but in control panel I can only see 15.5GB RAM, I understand graphics cards etc will take some of the RAM so I suspect Windows is only seeing 16GB, instead of the installed 32GB, anyone any idea as to why I do not see all 32GB.
i wanted to buy a dedicated server and when i had questions about 2003 web, i talked to hivelocity live support and i think it was dave who told me that Windows 2003 web has a restriction for mysql which was 512 KB. I myself is planning to own a gameserver that uses java and mysql and i know for sure uses much much more space than 512 KB. Is this true that 2003 restricts the size of your DB and when your DB reaches 512 kb, it can no longer be used? Also, is the windows 2008 web licensing fee the same as windows 2003 web?
My client have a windows 2003 Sever, we install xampp there to run his site because he gave us hosting information late on and we done all his work in mysql php,
so every thing is working but the main problem is this that queries are not going through email.
I'm sure there is an easy answer to this, and i'm probably being a little lazy, but the google searches i did didn't really help.
As I need to have windows hosting, apart from the price, is there any difference between setting up the server with windows 2003 standard edition and web edition?
I want to run MS SQL and My sql databases, run asp, .Net 2 and php on the server.
I'd also want to connect with RDP which i'm assuming is fine.
Most of the searches seem to talk about the fact that you can't set up active directory,or making it a domain controller but not much else.