View previous topic :: View next topic |
Author |
Message |
banzoo n00b
Joined: 21 Apr 2004 Posts: 20
|
Posted: Wed Jul 14, 2004 2:16 pm Post subject: rc-update vs. server crash |
|
|
At night my server booted mystically (dont know: crash or power down). But most of the services listed in rc-update show didn't come up (pdns, mysql, postgresql, vixie-cron and so on.) . Is there a reason for this behavior? Something specific for gentoo?
Also- what are the usual reasons for thiskind of boot. I don'd think it was electricity, because nothing happened with other server. _________________ l.m.s.m.a. |
|
Back to top |
|
|
Grathol n00b
Joined: 08 Nov 2003 Posts: 33
|
Posted: Thu Jul 15, 2004 1:25 am Post subject: |
|
|
Does /var/log/messages or the specific logs for each service indicate anything gone awry? |
|
Back to top |
|
|
gnuageux Veteran
Joined: 17 Apr 2004 Posts: 1201
|
Posted: Thu Jul 15, 2004 7:25 am Post subject: |
|
|
Did you check to ensure that the syms for the services are still listed in /etc/runlevels/default? _________________ The realOTW: http://forums.realotw.org/index.php
Registered Linux user#364538 |
|
Back to top |
|
|
banzoo n00b
Joined: 21 Apr 2004 Posts: 20
|
Posted: Thu Jul 15, 2004 10:37 am Post subject: |
|
|
This is the part of /var/log/messages:
Jul 14 02:11:15 web reiserfs: found format "3.6" with standard journal
Jul 14 02:11:15 web reiserfs: checking transaction log (device md(9,6)) ...
Jul 14 02:11:15 web for (md(9,6))
Jul 14 02:11:15 web reiserfs: replayed 11 transactions in 1 seconds
Jul 14 02:11:15 web md(9,6):Using r5 hash to sort names
Jul 14 02:11:15 web eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Jul 14 02:11:15 web eth1: link up, 10Mbps, half-duplex, lpa 0x0000
Jul 14 02:11:15 web portmap[1373]: user rpc not found, reverting to user bin
Jul 14 02:11:16 web rc-scripts: Could not mount all network filesystems!
Jul 14 02:11:17 web sshd[1447]: Server listening on xxx.xxx.xxx.xxx port 22.
Jul 14 02:39:46 web md: md8: sync done.
And yes the symb. links still there.
------
Btw there is somekind of error with portmap.
It was running and when i did /etc/init.d/portmap restart output was:
* Saving portmap table... [ ok ] * Unmounting network filesystems... [ ok] * Stopping portmap... [ ok ] * Starting portmap... [ ok Reloading portmap table...
Cannot register service: RPC: Unable to receive; errno = Connection refused
not registered: 100000 2 tcp 111 portmapper
Cannot register service: RPC: Unable to receive; errno = Connection refused
not registered: 100000 2 udp 111 portmapper [ ok ] *
Mounting network filesystems... [ ok ]
now portmap is hanged
/etc/init.d/portmat status says it\s running but it isnt actually- no mark in ps aux
also cant stop it /etc/init.d/portmat stop seys:
* Unmounting network filesystems... ok ] * Stopping portmap... [ !! ]
How can i get rid of this ? _________________ l.m.s.m.a. |
|
Back to top |
|
|
Grathol n00b
Joined: 08 Nov 2003 Posts: 33
|
Posted: Thu Jul 15, 2004 3:53 pm Post subject: |
|
|
Do the following:
Code: | cd /etc/init.d
./portmap zap
|
That will 'manually reset portmap to the stopped state' - it won't fix your errors, but you can then try modifying some config files and seeing if you can bring it up again. I'm not really familiar with what would be causing those errors though. |
|
Back to top |
|
|
|