picbits
May 9th, 2010, 11:20 AM
Starting to pull my hair out now.
I've installed a clean 10.04 server (64 bit) on my HP ML115 server along with MythTV and a minimal GUI (Gnome)
Now sometimes when I start up, I get no Apache2 running along with some other services. This is very random - it can happen on a cold boot, warm reboot but it still happens every now and again.
I turned my server on this morning - no Apache although I could SSH in, left it for half an hour - still no Apache. Rebooted, everything working.
Now I've got some snippets from logs when it was and wasn't working, the main differences are as below:
This was when it wasn't working:
May 9 08:42:25 pbhp ntpd[966]: frequency initialized -140.646 PPM from /var/lib/ntp/ntp.drift
May 9 08:42:26 pbhp init: Failed to spawn rc main process: unable to open console: Input/output error
The line "Failed to spawn rc main process:" was missing however on the boot that worked which makes me think this might have something to do with it.
Now the only other thing thats niggling me is this always seems to happen around the ntp / ntpd lines - I might be grasping at straws but would changing the system time halfway through a boot confuse upstart / scripts relying on timing ?
I've been trying to get this server "perfect" since the release of 10.04 and have re-installed many many times with the same problem every time - seemingly random startup script problems.
To me, it looks very similar (if not identical) to this problem here :
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/543506
Thanks for any help
Dom
I've installed a clean 10.04 server (64 bit) on my HP ML115 server along with MythTV and a minimal GUI (Gnome)
Now sometimes when I start up, I get no Apache2 running along with some other services. This is very random - it can happen on a cold boot, warm reboot but it still happens every now and again.
I turned my server on this morning - no Apache although I could SSH in, left it for half an hour - still no Apache. Rebooted, everything working.
Now I've got some snippets from logs when it was and wasn't working, the main differences are as below:
This was when it wasn't working:
May 9 08:42:25 pbhp ntpd[966]: frequency initialized -140.646 PPM from /var/lib/ntp/ntp.drift
May 9 08:42:26 pbhp init: Failed to spawn rc main process: unable to open console: Input/output error
The line "Failed to spawn rc main process:" was missing however on the boot that worked which makes me think this might have something to do with it.
Now the only other thing thats niggling me is this always seems to happen around the ntp / ntpd lines - I might be grasping at straws but would changing the system time halfway through a boot confuse upstart / scripts relying on timing ?
I've been trying to get this server "perfect" since the release of 10.04 and have re-installed many many times with the same problem every time - seemingly random startup script problems.
To me, it looks very similar (if not identical) to this problem here :
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/543506
Thanks for any help
Dom