Hi everybody!
Please, help a newbie.
There's a server running FreeBSD 5.2.1-RELEASE. I'm kindly asking you not to kick me for an out-of-date OS as it was not me who installed it, I only try to support it and at the moment don't have enough experience either to reinstall or to upgrade it.
The server is working as a router with NAT and ipfw. It is running named, apache, sendmail (with some milters), samba (the server is a domain controller for a small office network), openvpn. The Internet connection is coming from a DSL-modem working in bridge mode, PPPoE authentication is done on the server. There are 2 HDDs installed on two different IDE interfaces. One partition is mirrored with vinum. The others are backuped from the first (main) HDD to the second one with a script running once a month with cron.
For some time past the server began hanging. There's a message on the console:
(some lines with codes and addresses are omitted).
Every time after this I have to reboot it manually with a reset button.
I noticed that every time after loading (not only after kernel panic but literally every time) there's an error in /var/log/messages:
'kernel: session in wrong state'
It goes just after filesystem mounting.
For example, here is a fragment of the log:
Could you please help me to find the source of this trouble? I'm also wondering if these two above mentioned things (kernel panic and 'session in wrong state' message) are connected.
Generally, I just can't figure out whose message is this: 'kernel: session in wrong state'.
I've learned from some unix-forums that it is often known to be connected with PPPoE, but I guess it isn't my case.
I'm a bit suspicious about the hardware, as two HDDs have failed on the server for the last half-year and both were connected to the first IDE-channel.
Thanks in advance for your useful suggestions!
Please, help a newbie.
There's a server running FreeBSD 5.2.1-RELEASE. I'm kindly asking you not to kick me for an out-of-date OS as it was not me who installed it, I only try to support it and at the moment don't have enough experience either to reinstall or to upgrade it.
The server is working as a router with NAT and ipfw. It is running named, apache, sendmail (with some milters), samba (the server is a domain controller for a small office network), openvpn. The Internet connection is coming from a DSL-modem working in bridge mode, PPPoE authentication is done on the server. There are 2 HDDs installed on two different IDE interfaces. One partition is mirrored with vinum. The others are backuped from the first (main) HDD to the second one with a script running once a month with cron.
For some time past the server began hanging. There's a message on the console:
Code:
kernel trap 12 with interrupts disabled
Fatal trap 12: page fault while in kernel mode
fault code = supervisor read, page not present
panic: page fault
Every time after this I have to reboot it manually with a reset button.
I noticed that every time after loading (not only after kernel panic but literally every time) there's an error in /var/log/messages:
'kernel: session in wrong state'
It goes just after filesystem mounting.
For example, here is a fragment of the log:
Code:
Dec 21 10:38:34 aqua kernel: GEOM: create disk ad0 dp=0xc2509d60
Dec 21 10:38:34 aqua kernel: ad0: 238475MB <WDC WD2500AAJB-00J3A0> [484521/16/63] at ata0-master UDMA100
Dec 21 10:38:34 aqua kernel: GEOM: create disk ad2 dp=0xc2509a60
Dec 21 10:38:34 aqua kernel: ad2: 114473MB <WDC WD1200JB-00FUA0> [232581/16/63] at ata1-master UDMA100
Dec 21 10:38:34 aqua kernel: Mounting root from ufs:/dev/ad0s1a
Dec 21 10:38:34 aqua kernel: session in wrong state
Dec 21 10:38:34 aqua last message repeated 2 times
Generally, I just can't figure out whose message is this: 'kernel: session in wrong state'.
I've learned from some unix-forums that it is often known to be connected with PPPoE, but I guess it isn't my case.
I'm a bit suspicious about the hardware, as two HDDs have failed on the server for the last half-year and both were connected to the first IDE-channel.
Thanks in advance for your useful suggestions!
