Periodic Reboot
how to configure a periodic reboot, for example, each 4h the server will be reboot automatic.
i think i do configure a cron, but i can't find anything for periodic rebooting on freebsd.
this is a temporary solution for a issue of php.
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Weird Periodic Hang
For the last week, my vps (directadmin on centos on xen) has become unresponsive every three days at approximately 5 AM, and I'm baffled about why. It doesn't crash, but it stops accepting incoming connections until it's rebooted. I'm not sure how to troubleshoot this. /var/log/messages gives no useful information. There are no unusual cronjobs running at that time. Anyone heard of anything like this before or have any advice about how to troubleshoot?
View Replies!
View Related
Slow Periodic Site Speed (SLHost)
I moved from shared host to VPS a few days back. Since the move, the site becomes slow during particular time of the day. It appeared to be an issue of cron run by their another client and after promising that they would move that client to another node (I have spent more than 25 days to follow up on this till now) they backed off from their words but informed me about an alternative. Now, they say that the cron of that client was executing many scripts and they have spaced those scripts. I am looking for a long-term host and was wondering: 1. VPS provides a minimum guaranteed stuff so what is the use of that guarantee if one client can make the server crawl (imagine 5 minutes or more to open a site). 2. Can a host be trusted who does not honour words.
View Replies!
View Related
Server Reboot ...
I had to reboot my server and about 20 minutes later I tried to access the web site but the page was not found... I am able to login to SSH. However, I am not familiar with *nix or the workings of CPanel... What should I do to get the sites back online?
View Replies!
View Related
After Graceful Reboot
After a graceful reboot I am having problems with a few things. First cpsrvd and lfd failed to start, but I fixed it doing this: rm -f /usr/local/cpanel/cpanel rm -f /scripts/installgd rm -f /scripts/cleanmd5 rm -f /scripts/upcp But next to all the drives it says "No DMA! (Click to Enable)", I click that and it says things: Quote: EIDE Hard Drive Optimizations Enabled /dev/hdc: setting 32-bit IO_support flag to 1 IO_support = 1 (32-bit) But after going back to Service Status it still says that. So I tried to enable it through a command by typing: sudo hparm -d1 /dev/hdc5 And get this error: Quote: /dev/hdc5: setting using_dma to 1 (on) HDIO_SET_DMA failed: Invalid argument using_dma = 0 (off)
View Replies!
View Related
Box Don't Reboot
I have a dedicated server, on Debian Etch. When I type a command with putty, the connection is closed immediately. I tried shutdown-r now and reboot, halt, do nothing to console closes and nothing happens. After a hundred connection, I can use ls, su and kill. I think it's the fact that the partition is corrupted. I can not Hardware reboot the server because CTN1 is "out of business". Do you know another way to restart the server
View Replies!
View Related
Reboot Failure
so my server dies every day and requires human intervention to fully restart all service to have my site work properly. i suspect sigterm issues as it fails to restart all service as website is still down so i always have to reboot it. Tried recompile apache with no success [Tue Mar 18 06:51:27 2008] [error] [client 203.160.1.39] request failed: erroneous characters after protocol string: If-Modified-Since: Wed, 21 Nov 2007 06:16:52 GMT [Tue Mar 18 10:03:18 2008] [error] Bad pid (7465) in scoreboard slot 16 [Tue Mar 18 10:03:18 2008] [error] Bad pid (27848) in scoreboard slot 17 [Tue Mar 18 10:03:18 2008] [error] Bad pid (27434) in scoreboard slot 18 [Tue Mar 18 10:03:18 2008] [error] Bad pid (30782) in scoreboard slot 19 [Tue Mar 18 10:03:18 2008] [error] Bad pid (7465) in scoreboard slot 16 [Tue Mar 18 10:03:18 2008] [error] Bad pid (27848) in scoreboard slot 17 [Tue Mar 18 10:03:18 2008] [error] Bad pid (27434) in scoreboard slot 18 [Tue Mar 18 10:03:18 2008] [error] Bad pid (30782) in scoreboard slot 19 [Tue Mar 18 10:03:18 2008] [error] Bad pid (7465) in scoreboard slot 16 [Tue Mar 18 10:03:18 2008] [error] Bad pid (27848) in scoreboard slot 17 [Tue Mar 18 10:03:18 2008] [error] Bad pid (27434) in scoreboard slot 18 [Tue Mar 18 10:03:18 2008] [error] Bad pid (30782) in scoreboard slot 19 [Tue Mar 18 10:03:18 2008] [notice] caught SIGTERM, shutting down [Tue Mar 18 10:03:20 2008] [notice] mod_security/1.9.5 configured - Apache/1.3.39 (Unix) PHP/5.2.5 [Tue Mar 18 10:03:20 2008] [notice] Any You Like mod_ssl/2.8.30 OpenSSL/0.9.8g mod_perl/1.29 FrontPage/5.0.2.2510 configured -- resuming normal operations [Tue Mar 18 10:03:20 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Tue Mar 18 10:03:20 2008] [notice] Accept mutex: sysvsem (Default: sysvsem)
View Replies!
View Related
Reboot Time
What's an acceptable time for rebooting a machine? I send an email to midphase to get my machine rebooted and I wait nearly half an hour. Even put 911. Pacifirack would have got it done in under 5 minutes
View Replies!
View Related
Reboot Testing
for testing reboots? Basically, the goal is to avoid having a reboot fail leading to support or reinstall costs. Right now, I'm using qemu -snapshot /dev/hda, but that obviously has limitations.
View Replies!
View Related
Remote Reboot
I know there are tons out there, but what's the best bang for your buck? What's a good remote reboot that allows client to do it themselves that doesn't hurt your pockets too much?
View Replies!
View Related
Reboot Frequency
Just a general question regarding the frequency which you all reboot your linux servers. Mine has been up for 178 days, and is running sweet as a nut (touch wood). I was just wondering if it's worth giving it a reboot anytime soon, or if not, how long to give it before rebooting?
View Replies!
View Related
I Have To Flush Iptables On Every Reboot
I'm running CentOS 4.4 32 bit. At the moment every time I reboot my server I have to execute: # iptables --flush # iptables --zero just to be able to access the server. (Though it does allow SSH to access before executing those). And I figured out that I must do something to /etc/sysconfig/iptables to permanently be able to access the server without those commands after reboot. Right? Below is the file's contents: # Firewall configuration written by system-config-securitylevel # Manual customization of this file is not recommended. *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] :RH-Firewall-1-INPUT - [0:0] -A INPUT -j RH-Firewall-1-INPUT -A FORWARD -j RH-Firewall-1-INPUT -A RH-Firewall-1-INPUT -i lo -j ACCEPT -A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT -A RH-Firewall-1-INPUT -p 50 -j ACCEPT -A RH-Firewall-1-INPUT -p 51 -j ACCEPT -A RH-Firewall-1-INPUT -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT -A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited COMMIT What do I need to do?
View Replies!
View Related
Reboot Cron Job
VPS isn't rebooting by itself when it goes down. Anyone has any program/script that monitors heartbeat of the server? Like when it goes down, the program will automatically reboots the system. I know there's such a script out there but I forgot what it called.
View Replies!
View Related
VPS Didn't Come Online After A Reboot
my VPS didn't come online after a reboot(reboot via SSH). After that I tried to reboot it via HyperVM but I got an error like Couldn't stop VPS. I'm wondering, is one of those files chmoded to 700 and chowned to root:root a problem? chmod 700 /usr/bin/perl chmod 700 /usr/bin/python chmod 700 /bin/rm chmod 700 /bin/uname chmod 700 /bin/top chmod 700 /bin/chown chmod 700 /usr/bin/id chmod 700 /usr/bin/as chmod 700 /usr/bin/finger chmod 700 /usr/bin/w chmod 700 /usr/bin/locate chmod 700 /usr/bin/whereis chmod 700 /sbin/ifconfig chmod 700 /usr/bin/pico chmod 700 /usr/bin/which chmod 700 /usr/bin/make chmod 700 /bin/rpm chmod 700 /bin/ls chmod 700 /usr/bin/wget chmod 700 /bin/cat chmod 700 /usr/bin/nano chmod 700 /usr/bin/vim chmod 700 /bin/vi chmod 700 /bin/grep chmod 700 /usr/bin/find chmod 700 /bin/ln
View Replies!
View Related
Leaseweb Server Reboot
I ordered a leaseweb express server 4 box with windows server 2003 and have been running it, installed some software etc which worked out fine. Anyways, I wanted to disable tcp/ip filtering which I did and afterwards it prompted me that I would have to reboot the server for the changes to take place, I clicked ok and it rebooted. Now I just can't connect with remote desktop, I tried everything. I'm guessing it either shut down or didn't reboot properly? I tried sending an email to leaseweb support 2 days ago but still no shadow of any reply.. It says that I can reboot the server using the SSC but when I log in there, I can't really find any reboot option.
View Replies!
View Related
Ssh: Reboot Never Works
I'm finding that my server doesn't like to reboot gracefully. Either selecting "graceful server reboot" in WHM or actually typing "reboot" in SSH, which then tells me the server is shutting down. My server is then incommunicato indefinitely until I actually do a hard reset remotely. Is this common? Is there some way to find out why this is happening?
View Replies!
View Related
Old Hardware ACPI/Reboot
I've got an old passivley cooled Pentium II box which I am turning into a silent File/Backup server for our LAN at home. Naturally for stability and performance on old hardware, I am running Linux. The problem I have is that when you reboot the machine, it ends all processes, unmounts etc as usual, but after that the screen just blacks out and it doesn't go anywhere. I have to physically reboot the machine. During startup theres a message saying BIOS is earlier than 1999, you should set ACPI=FORCE in Grub. I added this and also tried the noacpi and noacip options to no avail. Windows ran on this fine before so I don't see why Linux would have an issue.
View Replies!
View Related
How To Troubleshoot Unexplained Reboot?
I have a Centos 5.2 box with Cpanel/WHM. A couple days ago it rebooted. I checked /var/log/messages and I can see where it rebooted, but I can't find anything that indicates why. I'm trying to figure out if this is a hardware issue or software issue/crash. I do have Nagios istalled, and it seems it saved some data right before the server rebooted. Not sure if this is a simple coincidence. Dec 4 11:53:35 miles nagios: Auto-save of retention data completed successfully. Dec 4 11:56:14 miles syslogd 1.4.1: restart. Dec 4 11:56:14 miles kernel: klogd 1.4.1, log source = /proc/kmsg started. Dec 4 11:56:14 miles kernel: Linux version 2.6.18-92.1.17.el5PAE (mockbuild@builder16.centos.org) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) #1 SMP Tue Nov 4 14:17:52 EST 2008 Dec 4 11:56:14 miles kernel: BIOS-provided physical RAM map: Dec 4 11:56:14 miles kernel: BIOS-e820: 0000000000000000 - 000000000009f000 (usable) how to trouble shoot this?
View Replies!
View Related
Debian - Reboot Every Hour
problem on one server with debian, the last month it have a 100% f uptime, but since yesterday automaticly it reboot every 1 hour exactly! this is a game server , dont have service like httpd , mysql dns , nothing! , I uninstall cron jobs thinking that will solve the problem, but no ..... I install firewall, run rkhunter and chkrootkit, check whell gruop and nothing logs: Jan 17 05:20:00 debian -- MARK -- Jan 17 05:40:00 debian -- MARK -- Jan 17 06:00:18 debian syslogd 1.4.1#18: restart. Jan 17 06:00:18 debian kernel: klogd 1.4.1#18, log source = /proc/kmsg started. Jan 17 06:00:18 debian kernel: Bootdata ok (command line is root=/dev/sda1 ro ) I change root password and ssh port but nothing... I think that could be a issue on debian or some exploit cause it, this was happend Suddenly one day to another it is very Strange.... somebody know about this? SERVER: debian:~# uname -a Linux debian 2.6.18-5-amd64 CORE 2 QUAD - 2GB ram - debian 64 bits
View Replies!
View Related
Server Reboot, No SSH
I'm worried a server is dead, and I haven't made any backups of the database Server went down last night, submitted a reboot request and now the server is not responding to SSH. It does respond to ping, so I'm assuming Linux might have booted up OK Has anyone experience with this type of issue?
View Replies!
View Related
Is It Normal The Load To Be 45.33 After Reboot
I have an dedicated server 2 x Xeon CPU 3.20GHz (2GB RAM), now 30 minutes ago my admin tryed to make a benchmark test on it and after a period the server was not responding ( SSH or http.. ftp ) we asked DN to reboot the server. After the reboot in Service Status page (WHM) there ware many services down and the load was ~ 45.00 (4 cpus) .. after aprox. 5 - 10 minutes the load has droped: Server Load 2.61 (4 cpus) is it normal to have such a higher load 45.00 (4 cpus) after an reboot ? The memory used was 32%.
View Replies!
View Related
VPS Down After Simple Reboot
So I was trying to run a backup process in Plesk 8.1 and the whole panel froze up on me (it's happened numerous times before). Anyway, since the panel was all frozen up I just went into SSH and did a simple "reboot" (also, as done before many times). Only problem is, this time after I did the reboot the server never actually came back online... it seems to be locked up or something, I have no idea what. I called my host and they are looking into it but they have no idea what's going on either and it's taking them forever to figure it out all the meanwhile my sites are down.... this isn't good. Does anyone have any suggestions or advice as to why this could be occuring?
View Replies!
View Related
Bind Fail/server Reboot
my datacenter says that they have not had power failures(lol yeh right) but i cant seem to figure out why my server seems to be rebooting randomly. so far its happened early 3-5am my times today and yesterday, just its happened 4x more times this morning. im not sure if cpanel is sending me bind start failures because its not set to auto start up on reboot or if it might be related... but the server seems fine.
View Replies!
View Related
Dedicated Server @ ThePlanet -Reboot
i have a dedicated server at theplanet.I dont have a remote reboot option. a friend of mine said,that all dedicated servers have remote reboot options.he says that since i dont have a remote reboot option,i am probably on a shared server.is that correct.does theplanet have shared or vps offerings in the first place ? i cannot reboot the server,but i can log in through shell as root type in shutdown - and turn the damn thing off.....
View Replies!
View Related
Starting Shoutcast Service On Reboot
I have a problem at the moment in terms of I have recently implemented WHMSonic to our webserver but when the server reboots or goes down and automagically reboots itself, I have to manually restart the shoutcast service. I have been trying to read around the documentation behind init.d and rc# and have successfully managed to confuse myself. What I dont understand is how this runlevel system works. All I want to do is ensure that shoutcast is running after a reboot.
View Replies!
View Related
Iptables Continual Lock Up On Reboot
I do not know too much about iptables in general as I mostly use APF or CSF firewall. However, I have a virtuozzo vps node that uses iptables by default and it always locks up on a reboot. Even that, it even causes the server to lock up as well, then needing a reboot. What would cause that and how do I remedy this? The node is using Centos 3.6 at this time. Right now, it just pings intermittently.
View Replies!
View Related
/tmp Partition Dissapear After Reboot
I recently created a /tmp partition to get it secured to avoid file execution from that dir. So, created a partition for tmp: cd /dev/; dd if=/dev/zero of=tmpMnt bs=1024 count=1000000 mkfs.ext3 /dev/tmpMnt Then mounted the partition mount -o loop,noexec,nosuid,rw /dev/tmpMnt /tmp Configured /etc/fstab so the partition is mounted after every reboot: [root@server.myhost.com:~]cat /etc/fstab LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 LABEL=SWAP-sda2 swap swap defaults 0 0 LABEL=/tmp /dev/tmpMnt ext3 loop,noexec,nosuid,rw 0 0 [root@server.myhost.com:~] [root@server.myhost.com:~]df -ah Filesystem Size Used Avail Use% Mounted on /dev/sda3 224G 3.1G 210G 2% / proc 0 0 0 - /proc sysfs 0 0 0 - /sys devpts 0 0 0 - /dev/pts /dev/sda1 99M 21M 73M 23% /boot tmpfs 1014M 0 1014M 0% /dev/shm none 0 0 0 - /proc/sys/fs/binfmt_misc /dev/tmpMnt 962M 18M 896M 2% /tmp [root@server.myhost.com:~]ls -alh /dev/tmpMnt -rw-r--r-- 1 root root 977M Dec 12 18:00 /dev/tmpMnt [root@server.myhost.com:~]s Now, after rebooting the system the partition is no longer there?? (and of course, not mounted /tmp due to this) [root@server.myhost.com:~]ls -alh /dev/tmpMnt ls: /dev/tmpMnt: No such file or directory [root@server.myhost.com:~] This was done under a plain RHEL 5.2 box.
View Replies!
View Related
APC Remote Reboot On Blade
Is it possible to use a APC remote reboot power strip for a server in a blade? Like for example, say there are 16 servers in a blade, can you remote reboot them individually? Because blade servers have only like 3-4 redundant power supplies and I am assuming all the 16 servers are powered by the onboard power supplies in the blade enclosure. So...if thats the case, how is it possible to reboot each individual server?
View Replies!
View Related
Reboot- Through DirectAdmin Taking Over 20 Minutes
How long is a reboot issued through DirectAdmin supposed to take? My server specs: CPU: Celeron D 2.66 Ghz RAM: 512 MB HD: 80 GB IDE. Swap: 2 GB OS: CentOS 4.4 Control Panel: DirectAdmin newest version It has already taken over 21 minutes and the server is still not up or at least not able to serve any pages or anything.
View Replies!
View Related
Reboot Time On A Opteron 248
I just purchased my first Opteron 248 (normally use 170's). The reboot time is about 20 minutes. The 170's reboot in under 5 minutes. I watched it reboot through IPMI and it says: PXE-M0F No DHCP or ProxyDHCP offers were received. PXE-M0F: Exiting NVIDIA Boot Agent Then it retries to connect to DHCP over and over for about 15 minutes before finally starting the normal boot process. Is this normal? The data center is telling me it is, but I find it hard to believe anything would take that long to boot on a new system.
View Replies!
View Related
Custom Services Fail After 70+ On Reboot
Ive been having this issue on a box im messing around with. I run custom services that launch an exe file. Everything runs fine while the server is running. But on reboot random custom services fail. Terminal services also fails to start. The number of services that need launched on restart seems to be random each time. Sometimes services start to fail, at around 70+ being setup. Other times you don't see it failing until 100+ services needs started on reboot. The server load with all services running is 2-5% and physical memory is about 200 megs of 1gig, paged, is about 300-400 megs used. It is normally 3-4 custom services that fail on reboot. The ones that fail have the following error in event viewer. Event Type:Error Event Source:Aprog Event Category:None Event ID:116 Date:5/10/2007 Time:7:08:40 PM User:N/A Computer:XXXXXXXXX Description: Subprocess monitoring failed due to subprocess is no longer active. The subprocess is probably dead. Restarting the process. Error detail: Overlapped I/O operation is in progress. It will keep getting this error over and over again. However, if i stop all custom services and then start them, everything launches fine. When this happens on reboot Terminal services also fails to start. It will not start, until I stop all the custom services. At which point it allows me to start TS without any errors. Event Type:Error Event Source:Service Control Manager Event Category:None Event ID:7023 Date:5/10/2007 Time:7:02:10 AM User:N/A Computer:XXXXXXX Description: The Terminal Services service terminated with the following error: A dynamic link library (DLL) initialization routine failed. For more information, see Help and Support Center at [url] What I am trying to accomplish is a way to automatically launch these EXE files, and have something that restarts them if they crash or fail. I haven't been able to find a specific reason this is happening or how to fix it. So I am open to any other suggestions on how to do this.
View Replies!
View Related
Cpanel Services Not Starting After Reboot
I have a new dedicated server (my first one) with CentOS and Cpanel, and after a restart I can't access any web or ftp service... wasn't it supposed to autostart whith the system boot? Another dumb problem I'd like to ask about: I've changed the ssh port for security puroposes, and now I can't acces ssh neither though the old port or he new one... could this be a firewall issue? How can I solve it now without ssh? :-/
View Replies!
View Related
APC Remote Reboot Programming
Is there a way to remotely use APC remote reboot's features rather than logging into APC control panel and doing it? Like you know how softlayer and ev1 servers do. Like write a small php script to access the power strip and execute the orders. May be an API or something.
View Replies!
View Related
Small Business Server Hangs On Reboot
problem I was having which was Windows Small Business Server 2003 would hang on boot up. I never got the time to reinstall the server until now. I have installed the server and applied all updates. This worked fine until I install the Windows Server 2003 Service Pack 1 or 2. When I install SP1 or SP2 on reboot the server loads the Dell splash screen then the monitor LED light goes orange then green then orange and then just hangs with a blank screen. I can boot into Safe Mode and uninstall the Service Pack and I can then reboot without any problems. I have installed ADAM SP1.
View Replies!
View Related
Tracing Cause Of Server Load Spike *after* Reboot
I have a cpanel, centos server that had to be rebooted due to the high load spike. I was unable to ssh in nor enter whm prior to the reboot so my only option was of course to reboot the server. Now, I'm trying to trace the cause of the spike. RTG graphs show no indication of a ddos attack. Inside whm, CPU/Memory/MySQL Usage shows no reds nor yellow warnings either except red for gzip (backup process) at 19% CPU. I doubt this is the cause. This is from /var/log/messages of the logs slightly before and after the reboot. Code: Apr 9 13:31:49 server pure-ftpd: (?@70.250.201.162) [INFO] Logout. Apr 9 13:32:05 server pure-ftpd: (?@xxx.xxx.85.3) [INFO] New connection from xxx.xxx.85.3 Apr 9 13:32:28 server pure-ftpd: (?@xxx.xxx.85.3) [INFO] New connection from xxx.xxx.85.3 .......
View Replies!
View Related
Issue On Reboot, File System Won't Mount
seeing htis issue: [url] thing is there is no SDC volume. there's SDA, SDA1 and SDA2 reflecting the primary drive in the system. if i put in the root password I can see all the data, everything looks fine. how would i go about fixing this? system just reboots over and over.
View Replies!
View Related
Sick Of SoftLayers Failing Reboot System
Numerous times when we need to reboot our server SoftLayer's remote reboot system fails. It works roughly around 50% of the time. I click reboot and after that it just displays: Pinging server x 200 "Maximum amount of pings sent, server will be up shortly". For my other server with them, if I go to click reboot, this error message displays: Length provided for 'errors' is too long. Provided with length of '540676', maximum length is '400000'. So when I have to reboot my server I have to issue a ticket. My server has been down 1 hour as I type, and there has been no response to the ticket what so ever. Sorry Softlayer, you've let me and my members down. Combine that with other problems, such as bandwidth graphs never loading despite you saying it will be fixed, etc. You used to be a reliable company, but these past months I've been through hell. Perhaps this may be due to todays network downtime, but then again that's the cherry on the cake. I've sent in my cancellation request for all servers. Does anyone know of a provider who offers dual quads for similar prices, and perhaps with working features and fast responses? Goodbye SoftLayer.
View Replies!
View Related
Burst.net Remote Reboot/Ip Addresses
I'm here to ask a few questions, and hoping any burst resellers/customers can possibly answer them for me. Q1.) How long do additional Ip's take normally? Q2.) How long do remote reboot details take normally? Q3.) Do Staff ever ignore your tickets? I've been waiting for both Remote/Ip's since Saturday ( was told Friday they would be sent within 24hours) and tickets being ignored by the looks
View Replies!
View Related
|