Gossamer Forum
Home : General : Internet Technologies :

URGENT:Server reboots ever 5-10 minutes

Quote Reply
URGENT:Server reboots ever 5-10 minutes
Hi,

I've moved to a new server, and since this time the server reboots every 5-10 minutes without a reason.

I've copied all my old files(html,DBManSQL,LinksSQL,GTForum;GTMail) via telnet/scp form the old to the new server.

Does anyone has an idea, what the problem could be?

(I'm using RadHat Linux 7.3 and Apache 1.3.27)

Regards,
Manu

Shopping Portal Shop-Netz.de® | Partnerprogramme | Flugreisen & Billigflüge | KESTERMEDIA e.K. | European Affiliate Marketing Forum.

Last edited by:

ManuGermany: Mar 28, 2003, 4:33 AM
Quote Reply
Re: [ManuGermany] URGENT:Server reboots ever 5-10 minutes In reply to
The only time I've experienced frequent reboots was when someone installed a rootkit on an old server I used and decided to setup an IRC bot.

You should check running processes and also your access/error/boot logs.
Quote Reply
Re: [ManuGermany] URGENT:Server reboots ever 5-10 minutes In reply to
Hi Paul,

what does it mean if I have the following in my running processes:



965 apache 16:52 [adcycle.cgi <defunct>]

Regards,
Manu

Shopping Portal Shop-Netz.de® | Partnerprogramme | Flugreisen & Billigflüge | KESTERMEDIA e.K. | European Affiliate Marketing Forum.
Quote Reply
Re: [ManuGermany] URGENT:Server reboots ever 5-10 minutes In reply to
It means the process isn't running. It is "defunctional". It's a process that has exited but its parent hasn't called wait() in order to find its exit status.

You can enter:

ps -deafl

...to find the parent of the defunct process.
Quote Reply
Re: [Paul] URGENT:Server reboots ever 5-10 minutes In reply to
Thanks Paul,



this might be a hint, but I'm not very fit in server administration-issues and I'm wondering why nearly all my cgi's produce these defunct-things. On my old server I had exactly the same cgi-files and there were no problems.

Could it be, that it is just a configuration-issue in my httpd.conf-file??

Regards,
Manu

Shopping Portal Shop-Netz.de® | Partnerprogramme | Flugreisen & Billigflüge | KESTERMEDIA e.K. | European Affiliate Marketing Forum.
Quote Reply
Re: [ManuGermany] URGENT:Server reboots ever 5-10 minutes In reply to
Have you tried looking at /var/log/messages, syslog, debug logs? You may have a software watchdog installed which reboots the server automatically if the load goes over a certain threshold. If it is then you'll probably see messages like this:
Code:
Mar 25 14:18:35 myhost watchdog[407]: loadavg 94 76 46 is higher than the given threshold 200 75 50!
Mar 25 14:18:35 myhost watchdog[407]: shutting down the system because of error -3
in your syslog, right before it reboots.

If it's a new server, it could be the result of bad hardware, or maybe a incorrectly configured kernel.

Adrian
Quote Reply
Re: [brewt] URGENT:Server reboots ever 5-10 minutes In reply to
Hi,

thanks for your help.

But it seems that it is not a watchdog-problem.

The beginning of every reboot in my /var/log/messages is:

Mar 29 13:11:20 ds80-237-202-9 syslogd 1.4.1: restart.

Mar 29 13:11:20 ds80-237-202-9 syslog: syslogd startup succeeded

Mar 29 13:11:20 ds80-237-202-9 syslog: klogd startup succeeded

Mar 29 13:11:20 ds80-237-202-9 kernel: klogd 1.4.1, log source = /proc/kmsg started.

Mar 29 13:11:20 ds80-237-202-9 kernel: Linux version 2.4.18-27.7.x (bhcompile@stripples

......





Regards,
Manu

Shopping Portal Shop-Netz.de® | Partnerprogramme | Flugreisen & Billigflüge | KESTERMEDIA e.K. | European Affiliate Marketing Forum.
Quote Reply
Re: [ManuGermany] URGENT:Server reboots ever 5-10 minutes In reply to
But what about /var/log/syslog?

Adrian
Quote Reply
Re: [brewt] URGENT:Server reboots ever 5-10 minutes In reply to
hmm.. there is no /var/log/syslog

Regards,
Manu

Shopping Portal Shop-Netz.de® | Partnerprogramme | Flugreisen & Billigflüge | KESTERMEDIA e.K. | European Affiliate Marketing Forum.
Quote Reply
Re: [ManuGermany] URGENT:Server reboots ever 5-10 minutes In reply to
Try:

locate syslog
Quote Reply
Re: [Paul] URGENT:Server reboots ever 5-10 minutes In reply to
This is all what I found:






> locate syslog


/var/lock/subsys/syslog

/var/run/syslogd.pid

/etc/sysconfig/syslog

/etc/rc.d/init.d/syslog

/etc/rc.d/rc0.d/K88syslog

/etc/rc.d/rc1.d/K88syslog

/etc/rc.d/rc2.d/S12syslog

/etc/rc.d/rc3.d/S12syslog

/etc/rc.d/rc4.d/S12syslog

/etc/rc.d/rc5.d/S12syslog

/etc/rc.d/rc6.d/K88syslog

/etc/logrotate.d/syslog

/etc/syslog.conf

/etc/log.d/conf/services/syslogd.conf

/etc/log.d/scripts/services/syslogd

/etc/webmin/syslog

/etc/webmin/syslog/config

/etc/webmin/syslog/admin.acl

/root/install.log.syslog

/usr/lib/python1.5/lib-dynload/syslogmodule.so

/usr/lib/perl5/5.6.1/syslog.pl

/usr/lib/python2.2/lib-dynload/syslogmodule.so

/usr/libexec/webmin/caldera/syslog

/usr/libexec/webmin/caldera/syslog/images

/usr/libexec/webmin/caldera/syslog/images/icon.gif

/usr/libexec/webmin/mscstyle3/syslog

/usr/libexec/webmin/mscstyle3/syslog/images

/usr/libexec/webmin/mscstyle3/syslog/images/icon.gif

/usr/libexec/webmin/syslog

/usr/libexec/webmin/syslog/config-cobalt-linux

/usr/libexec/webmin/syslog/acl_security.pl

/usr/libexec/webmin/syslog/config-aix

/usr/libexec/webmin/syslog/config-generic-linux

/usr/libexec/webmin/syslog/config-corel-linux

/usr/libexec/webmin/syslog/config-debian-linux

/usr/libexec/webmin/syslog/config-freebsd

/usr/libexec/webmin/syslog/config-mandrake-linux

/usr/libexec/webmin/syslog/config-gentoo-linux

/usr/libexec/webmin/syslog/config-hpux

/usr/libexec/webmin/syslog/config-irix

/usr/libexec/webmin/syslog/config-macos

/usr/libexec/webmin/syslog/config-slackware-linux

/usr/libexec/webmin/syslog/config-msc-linux

/usr/libexec/webmin/syslog/config-netbsd

/usr/libexec/webmin/syslog/config-open-linux

/usr/libexec/webmin/syslog/config-openbsd

/usr/libexec/webmin/syslog/config-openserver

/usr/libexec/webmin/syslog/config-redhat-linux

/usr/libexec/webmin/syslog/config-suse-linux

/usr/libexec/webmin/syslog/config-solaris

/usr/libexec/webmin/syslog/images

/usr/libexec/webmin/syslog/images/icon.gif

/usr/libexec/webmin/syslog/index.cgi

/usr/libexec/webmin/syslog/config-suse-linux-7.2

/usr/libexec/webmin/syslog/config-suse-linux-7.3

/usr/libexec/webmin/syslog/config-suse-linux-8.0

/usr/libexec/webmin/syslog/config-turbo-linux

/usr/libexec/webmin/syslog/config-united-linux

/usr/libexec/webmin/syslog/config-unixware

/usr/libexec/webmin/syslog/config.info

/usr/libexec/webmin/syslog/config.info.ca

/usr/libexec/webmin/syslog/config.info.de

/usr/libexec/webmin/syslog/config.info.es

/usr/libexec/webmin/syslog/config.info.fr

/usr/libexec/webmin/syslog/config.info.hu

/usr/libexec/webmin/syslog/config.info.pl

/usr/libexec/webmin/syslog/config.info.ru_RU

/usr/libexec/webmin/syslog/config.info.ru_SU

/usr/libexec/webmin/syslog/config.info.sv

/usr/libexec/webmin/syslog/config.info.tr

/usr/libexec/webmin/syslog/config.info.zh_CN

/usr/libexec/webmin/syslog/config.info.zh_TW.Big5

/usr/libexec/webmin/syslog/defaultacl

/usr/libexec/webmin/syslog/edit_log.cgi

/usr/libexec/webmin/syslog/lang

/usr/libexec/webmin/syslog/lang/ja_JP.euc

/usr/libexec/webmin/syslog/lang/ca

/usr/libexec/webmin/syslog/lang/de

/usr/libexec/webmin/syslog/lang/en

/usr/libexec/webmin/syslog/lang/es

/usr/libexec/webmin/syslog/lang/fr

/usr/libexec/webmin/syslog/lang/hu

/usr/libexec/webmin/syslog/lang/ko_KR.euc

/usr/libexec/webmin/syslog/lang/pl

/usr/libexec/webmin/syslog/lang/ru_RU

/usr/libexec/webmin/syslog/lang/ru_SU

/usr/libexec/webmin/syslog/lang/sv

/usr/libexec/webmin/syslog/lang/tr

/usr/libexec/webmin/syslog/lang/zh_CN

/usr/libexec/webmin/syslog/lang/zh_TW.Big5

/usr/libexec/webmin/syslog/log_parser.pl

/usr/libexec/webmin/syslog/low.risk

/usr/libexec/webmin/syslog/low.skill

/usr/libexec/webmin/syslog/m4.cgi

/usr/libexec/webmin/syslog/medium.risk

/usr/libexec/webmin/syslog/module.info

/usr/libexec/webmin/syslog/restart.cgi

/usr/libexec/webmin/syslog/save_log.cgi

/usr/libexec/webmin/syslog/start.cgi

/usr/libexec/webmin/syslog/syslog-lib.pl

/usr/share/man/man2/syslog.2.gz

/usr/share/man/man3/syslog.3.gz

/usr/share/man/man3/vsyslog.3.gz

/usr/share/man/man5/syslog.conf.5.gz

/usr/share/man/man8/syslogd.8.gz

/usr/share/man/de/man3/syslog.3.gz

/usr/share/pear/Log/syslog.php

/usr/include/isc/syslog.h

/usr/include/sys/syslog.h

/usr/include/syslog.h

/usr/include/php/ext/standard/php_ext_syslog.h

/usr/include/php/main/php_syslog.h

/sbin/syslogd







> locate debug

/var/www/html/manual/mod/mod_python/pyapi-debug.html

/usr/lib/perl5/5.6.1/i386-linux/asm/debugreg.ph

/usr/lib/perl5/5.6.1/pod/perldebug.pod

/usr/lib/debug

/usr/lib/debug/libbsd-compat.a

/usr/lib/debug/libanl.a

/usr/lib/debug/libBrokenLocale-2.2.5.so

/usr/lib/debug/libBrokenLocale.so.1

/usr/lib/debug/libNoVersion-2.2.5.so

/usr/lib/debug/libNoVersion.so.1

/usr/lib/debug/libSegFault.so

/usr/lib/debug/libanl-2.2.5.so

/usr/lib/debug/libanl.so.1

/usr/lib/debug/libc-2.2.5.so

/usr/lib/debug/libc.so.6

/usr/lib/debug/libcrypt-2.2.5.so

/usr/lib/debug/libcrypt.so.1

/usr/lib/debug/libdl-2.2.5.so

/usr/lib/debug/libdl.so.2

/usr/lib/debug/libm-2.2.5.so

/usr/lib/debug/libm.so.6

/usr/lib/debug/libmemusage.so

/usr/lib/debug/libnsl-2.2.5.so

/usr/lib/debug/libnsl.so.1

/usr/lib/debug/libnss1_compat-2.2.5.so

/usr/lib/debug/libnss1_compat.so.1

/usr/lib/debug/libnss1_dns-2.2.5.so

/usr/lib/debug/libnss1_dns.so.1

/usr/lib/debug/libnss1_files-2.2.5.so

/usr/lib/debug/libnss1_files.so.1

/usr/lib/debug/libnss1_nis-2.2.5.so

/usr/lib/debug/libnss1_nis.so.1

/usr/lib/debug/libnss_compat-2.2.5.so

/usr/lib/debug/libnss_compat.so.1

/usr/lib/debug/libnss_compat.so.2

/usr/lib/debug/libnss_dns-2.2.5.so

/usr/lib/debug/libnss_dns.so.1

/usr/lib/debug/libnss_dns.so.2

/usr/lib/debug/libnss_files-2.2.5.so

/usr/lib/debug/libnss_files.so.1

/usr/lib/debug/libnss_files.so.2

/usr/lib/debug/libnss_hesiod-2.2.5.so

/usr/lib/debug/libnss_hesiod.so.2

/usr/lib/debug/libnss_nis-2.2.5.so

/usr/lib/debug/libnss_nis.so.1

/usr/lib/debug/libnss_nis.so.2

/usr/lib/debug/libnss_nisplus-2.2.5.so

/usr/lib/debug/libnss_nisplus.so.2

/usr/lib/debug/libpcprofile.so

/usr/lib/debug/libpthread-0.9.so

/usr/lib/debug/libpthread.so.0

/usr/lib/debug/libresolv-2.2.5.so

/usr/lib/debug/libresolv.so.2

/usr/lib/debug/librt-2.2.5.so

/usr/lib/debug/librt.so.1

/usr/lib/debug/libthread_db-1.0.so

/usr/lib/debug/libthread_db.so.1

/usr/lib/debug/libutil-2.2.5.so

/usr/lib/debug/libutil.so.1

/usr/lib/debug/libBrokenLocale.a

/usr/lib/debug/libc_nonshared.a

/usr/lib/debug/libbsd.a

/usr/lib/debug/libc.a

/usr/lib/debug/libc_stubs.a

/usr/lib/debug/libcrypt.a

/usr/lib/debug/libdl.a

/usr/lib/debug/libg.a

/usr/lib/debug/libieee.a

/usr/lib/debug/libm.a

/usr/lib/debug/libmcheck.a

/usr/lib/debug/libnsl.a

/usr/lib/debug/libpthread.a

/usr/lib/debug/libresolv.a

/usr/lib/debug/librpcsvc.a

/usr/lib/debug/librt.a

/usr/lib/debug/libutil.a

/usr/libexec/webmin/postfix/debug.cgi

/usr/libexec/webmin/postfix/help/opt_debug_peer_level.ca.html

/usr/libexec/webmin/postfix/help/opt_debug_peer_level.es.html

/usr/libexec/webmin/postfix/help/opt_debug_peer_level.html

/usr/libexec/webmin/postfix/help/opt_debug_peer_level.pl.html

/usr/libexec/webmin/postfix/help/opt_debug_peer_level.sv.html

/usr/libexec/webmin/postfix/help/opt_debug_peer_list.ca.html

/usr/libexec/webmin/postfix/help/opt_debug_peer_list.es.html

/usr/libexec/webmin/postfix/help/opt_debug_peer_list.html

/usr/libexec/webmin/postfix/help/opt_debug_peer_list.pl.html

/usr/libexec/webmin/postfix/help/opt_debug_peer_list.sv.html

/usr/libexec/webmin/postfix/images/debug.gif

/usr/share/doc/db3-devel-3.3.11/ref/debug

/usr/share/doc/db3-devel-3.3.11/ref/debug/compile.html

/usr/share/doc/db3-devel-3.3.11/ref/debug/common.html

/usr/share/doc/db3-devel-3.3.11/ref/debug/printlog.html

/usr/share/doc/db3-devel-3.3.11/ref/debug/intro.html

/usr/share/doc/db3-devel-3.3.11/ref/debug/runtime.html

/usr/share/doc/libxml2-devel-2.4.19/html/libxml-debugxml.html

/usr/share/doc/rpm-devel-4.0.4/apidocs/html/debug_8h-source.html

/usr/share/doc/rpm-devel-4.0.4/apidocs/html/debug_8h.html

/usr/share/doc/rpm-devel-4.0.4/apidocs/man/man3/debug.h.3.gz

/usr/share/doc/slang-devel-1.4.5/doc/tm/rtl/debug.tm

/usr/share/man/man1/perldebug.1.gz

/usr/share/man/man8/debugfs.8.gz

/usr/share/man/man8/debugreiserfs.8.gz

/usr/share/vim/vim61/doc/debugger.txt

/usr/share/emacs/21.2/lisp/emacs-lisp/debug.elc

/usr/share/emacs/21.2/lisp/emacs-lisp/edebug.elc

/usr/share/snmp/snmpconf/snmp.conf/debugging

/usr/share/cvs/contrib/debug_check_log

/usr/include/kpathsea/debug.h

/usr/include/asm/debugreg.h

/usr/include/linux/lockd/debug.h

/usr/include/linux/nfsd/debug.h

/usr/include/linux/sunrpc/debug.h

/usr/include/libxml2/libxml/debugXML.h

/usr/include/parted/debug.h

/usr/include/python1.5/pydebug.h

/usr/include/python2.2/pydebug.h

/usr/src/linux-2.4.18-27.7.x/Documentation/parisc/debugging

/usr/src/linux-2.4.18-27.7.x/arch/i386/lib/iodebug.c

/usr/src/linux-2.4.18-27.7.x/configs/kernel-2.4.18-i686-debug.config

/usr/src/linux-2.4.18-27.7.x/drivers/acpi/debugger

/usr/src/linux-2.4.18-27.7.x/drivers/acpi/debugger/Makefile

/usr/src/linux-2.4.18-27.7.x/drivers/acpi/debugger/dbcmds.c

/usr/src/linux-2.4.18-27.7.x/drivers/acpi/debugger/dbdisasm.c

/usr/src/linux-2.4.18-27.7.x/drivers/acpi/debugger/dbdisply.c

/usr/src/linux-2.4.18-27.7.x/drivers/acpi/debugger/dbexec.c

/usr/src/linux-2.4.18-27.7.x/drivers/acpi/debugger/dbfileio.c

/usr/src/linux-2.4.18-27.7.x/drivers/acpi/debugger/dbhistry.c

/usr/src/linux-2.4.18-27.7.x/drivers/acpi/debugger/dbinput.c

/usr/src/linux-2.4.18-27.7.x/drivers/acpi/debugger/dbstats.c

/usr/src/linux-2.4.18-27.7.x/drivers/acpi/debugger/dbutils.c

/usr/src/linux-2.4.18-27.7.x/drivers/acpi/debugger/dbxface.c

/usr/src/linux-2.4.18-27.7.x/drivers/acpi/include/acdebug.h

/usr/src/linux-2.4.18-27.7.x/drivers/acpi/utilities/utdebug.c

/usr/src/linux-2.4.18-27.7.x/drivers/addon/qla2200/debug.h

/usr/src/linux-2.4.18-27.7.x/drivers/char/rio/debug.h

/usr/src/linux-2.4.18-27.7.x/drivers/crypto/bcm/ubsdebug.h

/usr/src/linux-2.4.18-27.7.x/drivers/isdn/hisax/hisax_debug.h

/usr/src/linux-2.4.18-27.7.x/drivers/isdn/sc/debug.c

/usr/src/linux-2.4.18-27.7.x/drivers/isdn/sc/debug.h

/usr/src/linux-2.4.18-27.7.x/drivers/net/sk98lin/h/skdebug.h

/usr/src/linux-2.4.18-27.7.x/drivers/net/wan/lmc/lmc_debug.c

/usr/src/linux-2.4.18-27.7.x/drivers/net/wan/lmc/lmc_debug.h

/usr/src/linux-2.4.18-27.7.x/drivers/scsi/pcmcia/nsp_debug.c

/usr/src/linux-2.4.18-27.7.x/drivers/scsi/scsi_debug.c

/usr/src/linux-2.4.18-27.7.x/drivers/scsi/scsi_debug.h

/usr/src/linux-2.4.18-27.7.x/drivers/usb/hid-debug.h

/usr/src/linux-2.4.18-27.7.x/drivers/usb/storage/debug.c

/usr/src/linux-2.4.18-27.7.x/drivers/usb/storage/debug.h

/usr/src/linux-2.4.18-27.7.x/drivers/usb/uhci-debug.h

/usr/src/linux-2.4.18-27.7.x/drivers/usb/usb-debug.c

/usr/src/linux-2.4.18-27.7.x/drivers/usb/usb-uhci-debug.h

/usr/src/linux-2.4.18-27.7.x/fs/befs/debug.c

/usr/src/linux-2.4.18-27.7.x/fs/jfs/jfs_debug.c

/usr/src/linux-2.4.18-27.7.x/fs/jfs/jfs_debug.h

/usr/src/linux-2.4.18-27.7.x/fs/smbfs/smb_debug.h

/usr/src/linux-2.4.18-27.7.x/include/asm-i386/debugreg.h

/usr/src/linux-2.4.18-27.7.x/include/linux/lockd/debug.h

/usr/src/linux-2.4.18-27.7.x/include/linux/nfsd/debug.h

/usr/src/linux-2.4.18-27.7.x/include/linux/sunrpc/debug.h

/lib/modules/2.4.18-27.7.x/kernel/drivers/scsi/scsi_debug.o

/sbin/debugreiserfs

/sbin/debugfs

/sbin/rpcdebug




But I don't really know where to look /can't find some kind of logfile.



Regards,
Manu

Shopping Portal Shop-Netz.de® | Partnerprogramme | Flugreisen & Billigflüge | KESTERMEDIA e.K. | European Affiliate Marketing Forum.

Last edited by:

ManuGermany: Mar 31, 2003, 10:48 AM
Quote Reply
Re: [ManuGermany] URGENT:Server reboots ever 5-10 minutes In reply to
I notice webmin there...you can use webmin to view syslog.
Quote Reply
Re: [Paul] URGENT:Server reboots ever 5-10 minutes In reply to
That's what I found under "System Logs":



File /dev/console
No kern.*
File /var/log/messages Yes *.info ; mail.none ; authpriv.none ; cron.none View..

File /var/log/secure
Yes authpriv.* View..

File /var/log/maillog
Yes mail.* View..

File /var/log/cron
Yes cron.* View..

All users
Yes *.emerg
File /var/log/spooler Yes uucp,news.crit View..

File /var/log/boot.log
Yes local7.* View..

Regards,
Manu

Shopping Portal Shop-Netz.de® | Partnerprogramme | Flugreisen & Billigflüge | KESTERMEDIA e.K. | European Affiliate Marketing Forum.

Last edited by:

ManuGermany: Mar 31, 2003, 10:55 AM