Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st March 2009, 14:41
alexo alexo is offline
Junior Member
 
Join Date: Mar 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default "mo" respawning too fast: disabled for 5 minutes

Hi,

after last restart, i check that monit[mmonit.com/monit/] that i installed 1 month ago, and which work well this period, don't start.

Quote:
Quote:
[root@server monit]# monit
-bash: monit: command not found
Try to restart, start; check all config files, /etc/inittab/ {where i add line to start monit}, everything is well, besides monit don't start. :-(

I reintall monit, but no result.

Checking /var/log/messages i find such lines. IMHO this is related to my problem
Quote:
Quote:
Feb 27 15:04:46 server init: Re-reading inittab
Feb 27 15:04:46 server init: Id "mo" respawning too fast: disabled for 5 minutes
Feb 27 15:09:47 server init: Id "mo" respawning too fast: disabled for 5 minutes
Feb 27 15:14:48 server init: Id "mo" respawning too fast: disabled for 5 minutes
Any1 know, what can be problem?

Any advice will be appreciated


==========
Also find few strange lines in /var/log/messages/ that i don't check before

Quote:
Mar 1 06:32:24 server kernel: BIOS-provided physical RAM map:
Mar 1 06:32:24 server kernel: BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
Mar 1 06:32:24 server kernel: BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
Mar 1 06:32:24 server kernel: BIOS-e820: 0000000000100000 - 000000007f686c00 (usable)
Mar 1 06:32:24 server kernel: BIOS-e820: 000000007f686c00 - 000000007f688c00 (ACPI NVS)
Mar 1 06:32:24 server kernel: BIOS-e820: 000000007f688c00 - 000000007f68ac00 (ACPI data)
Mar 1 06:32:24 server kernel: BIOS-e820: 000000007f68ac00 - 0000000080000000 (reserved)
Mar 1 06:32:24 server kernel: BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
Mar 1 06:32:24 server kernel: BIOS-e820: 00000000fec00000 - 00000000fed00400 (reserved)
Mar 1 06:32:24 server kernel: BIOS-e820: 00000000fed20000 - 00000000feda0000 (reserved)
Mar 1 06:32:24 server kernel: BIOS-e820: 00000000fee00000 - 00000000fef00000 (reserved)
Mar 1 06:32:24 server kernel: BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
here is my /etc/inittab/

Quote:
id:3:initdefault:

si::sysinit:/etc/rc.d/rc.sysinit

l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

pf:owerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"


pr:12345owerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"


# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

# Run xdm in runlevel 5
x:5:respawn:/etc/X11/prefdm -nodaemon
Reply With Quote
Sponsored Links
  #2  
Old 2nd March 2009, 13:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Which distribution are you using? Does
Code:
/etc/init.d/monit restart
work?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 2nd March 2009, 14:39
alexo alexo is offline
Junior Member
 
Join Date: Mar 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

monit-5.0_beta6.tar.gz


Quote:
[root@server init.d]# /etc/init.d/monit restart
-bash: /etc/init.d/monit: /bin/sh^M: bad interpreter: No such file or directory
but in real i have this file in this folder /etc/init.d/
-rwxr-xr-x 1 root root 1211 Jan 23 18:10 monit
Reply With Quote
  #4  
Old 2nd March 2009, 15:49
alexo alexo is offline
Junior Member
 
Join Date: Mar 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

correct this error
Quote:
[root@server init.d]# /etc/init.d/monit restart
-bash: /etc/init.d/monit: /bin/sh^M: bad interpreter: No such file or directory
#dos2unix monit

works well.

Now

Quote:
[root@server ~]# /etc/init.d/monit restart
[root@server ~]#
but still

Quote:
[root@server ~]# monit start
-bash: monit: command not found
[root@server ~]#
Reply With Quote
  #5  
Old 3rd March 2009, 19:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

What's the output of
Code:
ps aux
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 3rd March 2009, 19:40
alexo alexo is offline
Junior Member
 
Join Date: Mar 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

here is output

Code:
[root@server ~]# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.1  0.0   2064   340 ?        Ss   Mar02   1:54 init [3]
root         2  0.0  0.0      0     0 ?        S    Mar02   0:00 [migration/0]
root         3  0.0  0.0      0     0 ?        SN   Mar02   0:00 [ksoftirqd/0]
root         4  0.0  0.0      0     0 ?        S    Mar02   0:00 [watchdog/0]
root         5  0.0  0.0      0     0 ?        S    Mar02   0:00 [migration/1]
root         6  0.0  0.0      0     0 ?        SN   Mar02   0:00 [ksoftirqd/1]
root         7  0.0  0.0      0     0 ?        S    Mar02   0:00 [watchdog/1]
root         8  0.0  0.0      0     0 ?        S<   Mar02   0:00 [events/0]
root         9  0.0  0.0      0     0 ?        S<   Mar02   0:00 [events/1]
root        10  0.0  0.0      0     0 ?        S<   Mar02   0:00 [khelper]
root        11  0.0  0.0      0     0 ?        S<   Mar02   0:00 [kthread]
root        15  0.0  0.0      0     0 ?        S<   Mar02   0:00 [kblockd/0]
root        16  0.0  0.0      0     0 ?        S<   Mar02   0:00 [kblockd/1]
root        17  0.0  0.0      0     0 ?        S<   Mar02   0:00 [kacpid]
root        92  0.0  0.0      0     0 ?        S<   Mar02   0:00 [cqueue/0]
root        93  0.0  0.0      0     0 ?        S<   Mar02   0:00 [cqueue/1]
root        96  0.0  0.0      0     0 ?        S<   Mar02   0:00 [khubd]
root        98  0.0  0.0      0     0 ?        S<   Mar02   0:00 [kseriod]
root       159  2.8  0.0      0     0 ?        S<   Mar02  47:41 [kswapd0]
root       160  0.0  0.0      0     0 ?        S<   Mar02   0:00 [aio/0]
root       161  0.0  0.0      0     0 ?        S<   Mar02   0:00 [aio/1]
root       321  0.0  0.0      0     0 ?        S<   Mar02   0:00 [kpsmoused]
root       351  0.0  0.0      0     0 ?        S<   Mar02   0:00 [ata/0]
root       352  0.0  0.0      0     0 ?        S<   Mar02   0:00 [ata/1]
root       353  0.0  0.0      0     0 ?        S<   Mar02   0:00 [ata_aux]
root       357  0.0  0.0      0     0 ?        S<   Mar02   0:00 [scsi_eh_0]
root       358  0.0  0.0      0     0 ?        S<   Mar02   0:00 [scsi_eh_1]
root       371  0.0  0.0      0     0 ?        S<   Mar02   0:00 [ksnapd]
root       374  0.0  0.0      0     0 ?        S<   Mar02   0:06 [kjournald]
root       401  0.0  0.0      0     0 ?        S<   Mar02   0:00 [kauditd]
root       435  0.0  0.0   2244     8 ?        S<s  Mar02   0:00 /sbin/udevd -d
root      1418  0.0  0.0      0     0 ?        S<   Mar02   0:00 [kmpathd/0]
root      1419  0.0  0.0      0     0 ?        S<   Mar02   0:00 [kmpathd/1]
root      1441  0.0  0.0      0     0 ?        S<   Mar02   0:00 [kjournald]
root      1920  0.6  0.0  13116   280 ?        S<sl Mar02  10:20 auditd
root      1922  0.4  0.0  10160   808 ?        S<s  Mar02   6:50 python /sbin/au
root      2032  0.2  0.0   2428   300 ?        Ss   Mar02   3:58 irqbalance
rpc       2067  0.0  0.0   1804     8 ?        Ss   Mar02   0:00 portmap
root      2092  0.0  0.0   1816     8 ?        Ss   Mar02   0:00 rpc.statd
root      2137  0.0  0.0   5472    68 ?        Ss   Mar02   1:03 rpc.idmapd
dbus      2164  0.0  0.0   2744   320 ?        Ss   Mar02   0:00 dbus-daemon --s
root      2179  0.0  0.0   2140     8 ?        Ss   Mar02   0:00 /usr/sbin/hcid
root      2185  0.0  0.0   1740     8 ?        Ss   Mar02   0:00 /usr/sbin/sdpd
root      2208  0.0  0.0      0     0 ?        S<   Mar02   0:00 [krfcommd]
root      2258  0.1  0.0  12716   272 ?        Ssl  Mar02   2:29 pcscd
root      2282  0.0  0.0   1904     8 ?        Ss   Mar02   0:00 /usr/bin/hidd -
root      2302  0.3  0.0  12448   456 ?        Ssl  Mar02   5:34 automount
root      2325  0.0  0.0   1664     8 ?        Ss   Mar02   0:00 /usr/sbin/acpid
root      2405  0.0  0.0   9752     8 ?        Ss   Mar02   0:00 cupsd
root      2421  0.0  0.0   2716     8 ?        Ss   Mar02   0:00 xinetd -stayali
root      2517  0.1  0.0   3132   348 ?        Ss   Mar02   2:09 /usr/local/dire
nobody    2532  0.0  0.0   8816   136 ?        Ss   Mar02   0:00 /usr/local/dire
mail      2546  0.1  0.0   8816   332 ?        Ss   Mar02   1:47 /usr/sbin/exim
root      2571  0.0  0.0   1896    68 ?        Ss   Mar02   0:00 gpm -m /dev/inp
ftp       2601  0.2  0.0   5824   248 ?        Ss   Mar02   3:54 proftpd: (accep
root      2616  0.1  0.0   5260   204 ?        Ss   Mar02   3:20 crond
root      2645  0.1  0.0   2236   184 ?        Ss   Mar02   3:01 /usr/sbin/atd
root      2665  0.3  1.1  40780 23876 ?        S    Mar02   5:04 /usr/bin/python
avahi     2682  0.0  0.0   2568     8 ?        Ss   Mar02   0:00 avahi-daemon: r
avahi     2683  0.0  0.0   2568     8 ?        Ss   Mar02   0:00 avahi-daemon: c
68        2700  0.2  0.0   5364   472 ?        Ss   Mar02   4:02 hald
root      2701  0.0  0.0   3132     8 ?        S    Mar02   0:00 hald-runner
68        2712  0.0  0.0   1992     8 ?        S    Mar02   0:00 hald-addon-acpi
root      2763  0.0  0.0   1980   260 ?        S    Mar02   1:12 /usr/sbin/smart
root      2766  0.0  0.0   1656     8 tty1     Ss+  Mar02   0:00 /sbin/mingetty
root      2767  0.0  0.0   1656     8 tty2     Ss+  Mar02   0:00 /sbin/mingetty
root      2772  0.0  0.0   1656     8 tty3     Ss+  Mar02   0:00 /sbin/mingetty
root      2779  0.0  0.0   1656     8 tty4     Ss+  Mar02   0:00 /sbin/mingetty
root      2781  0.0  0.0   1656     8 tty5     Ss+  Mar02   0:00 /sbin/mingetty
root      2782  0.0  0.0   1656     8 tty6     Ss+  Mar02   0:00 /sbin/mingetty
named     2856  0.2  0.0  48464   948 ?        Ssl  Mar02   3:37 named -u named
root      9663  0.0  0.0   5240     8 ?        Ss   Mar02   0:00 sshd: [accepted
root      9664  0.0  0.0   5240     8 ?        Ss   Mar02   0:00 sshd: [accepted
root     10522  0.0  0.0   5244   432 ?        Ss   00:12   0:12 sshd: [accepted
root     10556  0.0  0.0   5244   460 ?        Ss   00:34   0:00 sshd: [accepted
root     15464  0.0  0.0  18628  1780 ?        Ssl  07:02   0:10 /usr/local/bin/
root     15547  0.0  0.0   1716   520 ?        Ss   07:02   0:00 syslogd -m 0
root     15550  0.0  0.0   1668   324 ?        Ss   07:02   0:00 klogd -x
root     17161  0.0  0.0   4472   484 ?        S    07:42   0:00 /bin/sh /usr/bi
mysql    17188  0.0  1.4  60764 30644 ?        S    07:42   0:00 /usr/sbin/mysql
mysql    17189  0.0  1.4  60764 30644 ?        S    07:42   0:00 /usr/sbin/mysql
mysql    17190  0.0  1.4  60764 30644 ?        S    07:42   0:00 /usr/sbin/mysql
mysql    17191  0.7  1.4  60764 30644 ?        S    07:42   2:11 /usr/sbin/mysql
root     17386  0.0  0.3  23020  7480 ?        Ss   07:45   0:00 /usr/sbin/httpd
root     17415  0.0  0.0   1868   496 ?        Ss   07:45   0:00 dovecot
root     17416  0.0  0.0   2432  1148 ?        S    07:45   0:00 dovecot-auth
dovecot  17428  0.0  0.0   4840  1476 ?        S    07:45   0:00 pop3-login
dovecot  17429  0.0  0.0   4836  1472 ?        S    07:45   0:00 pop3-login
dovecot  17430  0.0  0.0   4840  1548 ?        S    07:45   0:00 pop3-login
dovecot  17431  0.0  0.0   4836  1472 ?        S    07:45   0:00 pop3-login
dovecot  17432  0.0  0.0   4836  1472 ?        S    07:45   0:00 pop3-login
dovecot  17433  0.0  0.0   4840  1476 ?        S    07:45   0:00 pop3-login
dovecot  17434  0.0  0.0   4836  1476 ?        S    07:45   0:00 pop3-login
dovecot  17435  0.0  0.0   4840  1476 ?        S    07:45   0:00 pop3-login
dovecot  17436  0.0  0.0   4836  1472 ?        S    07:45   0:00 pop3-login
dovecot  17437  0.0  0.0   4840  1476 ?        S    07:45   0:00 pop3-login
dovecot  17438  0.0  0.0   4836  1472 ?        S    07:45   0:00 pop3-login
dovecot  17439  0.0  0.0   4840  1548 ?        S    07:45   0:00 pop3-login
dovecot  17444  0.0  0.0   4848  1364 ?        S    07:45   0:00 imap-login
dovecot  17445  0.0  0.0   4844  1368 ?        S    07:45   0:00 imap-login
dovecot  17446  0.0  0.0   4844  1368 ?        S    07:45   0:00 imap-login
dovecot  17447  0.0  0.0   4844  1364 ?        S    07:45   0:00 imap-login
dovecot  17448  0.0  0.0   4844  1364 ?        S    07:45   0:00 imap-login
dovecot  17449  0.0  0.0   4848  1368 ?        S    07:45   0:00 imap-login
dovecot  17450  0.0  0.0   4844  1364 ?        S    07:45   0:00 imap-login
dovecot  17451  0.0  0.0   4848  1368 ?        S    07:45   0:00 imap-login
dovecot  17452  0.0  0.0   4844  1364 ?        S    07:45   0:00 imap-login
dovecot  17453  0.0  0.0   4848  1364 ?        S    07:45   0:00 imap-login
dovecot  17454  0.0  0.0   4848  1364 ?        S    07:45   0:00 imap-login
dovecot  17455  0.0  0.0   4848  1364 ?        S    07:45   0:00 imap-login
dovecot  17456  0.0  0.0   4848  1368 ?        S    07:45   0:00 imap-login
dovecot  17457  0.0  0.0   4848  1364 ?        S    07:45   0:00 imap-login
dovecot  17458  0.0  0.0   4848  1364 ?        S    07:45   0:00 imap-login
dovecot  17459  0.0  0.0   4848  1368 ?        S    07:45   0:00 imap-login
mysql    17524  0.3  1.4  60764 30644 ?        S    07:49   1:00 /usr/sbin/mysql
root     17545  0.0  0.0      0     0 ?        S    07:50   0:00 [pdflush]
mysql    17557  0.5  1.4  60764 30644 ?        S    07:50   1:25 /usr/sbin/mysql
mysql    17558  0.4  1.4  60764 30644 ?        S    07:50   1:11 /usr/sbin/mysql
mysql    17559  0.4  1.4  60764 30644 ?        S    07:50   1:16 /usr/sbin/mysql
root     17560  0.0  0.0      0     0 ?        S    07:50   0:00 [pdflush]
root     17606  0.0  0.0   5244  1068 ?        Ss   07:51   0:00 /usr/sbin/sshd
mysql    17640  0.7  1.4  60764 30644 ?        S    07:52   1:56 /usr/sbin/mysql
apache   19300  0.3  0.3  23580  8232 ?        S    09:49   0:31 /usr/sbin/httpd
nobody   19354  0.0  0.0   8816   308 ?        S    09:55   0:00 /usr/local/dire
apache   19687  0.4  0.4  23708  8700 ?        S    10:17   0:36 /usr/sbin/httpd
apache   19831  0.2  0.4  26100  8556 ?        S    10:31   0:19 /usr/sbin/httpd
nobody   20098  0.0  0.0   8816   308 ?        S    10:57   0:00 /usr/local/dire
nobody   20101  0.0  0.0   8816   308 ?        S    10:57   0:00 /usr/local/dire
nobody   20103  0.0  0.0   8816   308 ?        S    10:57   0:00 /usr/local/dire
apache   20250  0.2  0.4  23360  8404 ?        S    11:06   0:11 /usr/sbin/httpd
apache   20371  0.9  0.4  23784  8716 ?        S    11:18   0:36 /usr/sbin/httpd
apache   20491  0.5  0.4  26196  8836 ?        S    11:27   0:18 /usr/sbin/httpd
apache   20516  0.6  0.3  23572  8264 ?        S    11:30   0:22 /usr/sbin/httpd
apache   20578  0.0  0.3  23152  7584 ?        S    11:38   0:00 /usr/sbin/httpd
apache   20667  0.2  0.4  23624  8480 ?        S    11:45   0:06 /usr/sbin/httpd
nobody   20705  0.0  0.0   8816   308 ?        S    11:49   0:00 /usr/local/dire
dovecot  20793  0.0  0.0   4840  1784 ?        S    11:57   0:00 pop3-login
apache   20832  1.6  0.4  23532  8440 ?        S    12:02   0:22 /usr/sbin/httpd
apache   20886  1.8  0.4  24348  9484 ?        S    12:09   0:17 /usr/sbin/httpd
apache   20961  1.9  0.4  24044  9132 ?        S    12:14   0:11 /usr/sbin/httpd
apache   20963  1.0  0.4  25160 10240 ?        S    12:14   0:06 /usr/sbin/httpd
apache   20973  5.5  0.4  23532  8428 ?        S    12:16   0:28 /usr/sbin/httpd
apache   20990  4.0  0.3  23556  8248 ?        S    12:18   0:15 /usr/sbin/httpd
apache   20993  5.8  0.4  23524  8428 ?        S    12:18   0:21 /usr/sbin/httpd
apache   20994  4.4  0.4  23360  8380 ?        S    12:18   0:16 /usr/sbin/httpd
apache   20995  5.9  0.4  23952  9336 ?        S    12:18   0:22 /usr/sbin/httpd
apache   21024  0.0  0.3  23160  7576 ?        S    12:21   0:00 /usr/sbin/httpd
apache   21025  9.8  0.4  23268  8292 ?        S    12:21   0:17 /usr/sbin/httpd
dovecot  21027  0.0  0.0   4840  1780 ?        S    12:21   0:00 pop3-login
dovecot  21036  0.0  0.0   4840  1780 ?        S    12:22   0:00 pop3-login
apache   21037  8.2  0.4  23304  8300 ?        S    12:22   0:11 /usr/sbin/httpd
dovecot  21038  0.0  0.0   4840  1780 ?        S    12:22   0:00 pop3-login
root     21048  0.2  0.1   7828  2236 ?        Ss   12:24   0:00 sshd: root@pts/
root     21050  0.0  0.0   4648  1492 pts/0    Ss   12:24   0:00 -bash
root     21078  0.0  0.0   4244   940 pts/0    R+   12:24   0:00 ps aux
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with my 'Perfect Server' chillifire Server Operation 3 6th January 2010 12:26
Following The Perfect Xen 3.0 Setup For Debian ERROR: INIT no more processes left aljosa HOWTO-Related Questions 11 22nd September 2008 22:57
colocation problem d3m0nic Installation/Configuration 14 23rd June 2006 23:18


All times are GMT +2. The time now is 08:33.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.