Boot problems after Karmic upgrade, Samba and OpenVPN not starting
Greetings all. I apologize for posting another thread when I already have one active, but this one is a bit more serious. I've just upgraded my Ubuntu server from Jaunty to Karmic, and it seems to have been a pretty rocky process. I have a number of problems, and I'm not sure how many are related, so I'll just list them:
Near the beginning of the boot process, I see: "init: ureadahead-other main process (705) terminated with status 4" At a seemingly random (?!) point between the "Starting this or that" lines, I see "mountall: Event failed". I don't know what this is in relation to, but my filesystems are all mounted fine, it would seem. About 1 or 2 seconds after I see the login prompt (?!!), more messages come in: Stopping NTP server ntdp Restarting OpenBSD Secure Shell server sshd Starting NTP server ntpd Finally, and most alarmingly, once all the dust settles it seems that not all my daemons have started successfully, despite no error messages related to them appearing. Specifically, neither the Samba nor OpenVPN daemons are running. "Starting Samba daemons" does appear when booting, but the daemon is not running when the boot is complete. Executing "/etc/init.d/samba restart" shows "no such process" when trying to stop the daemon, but after this, the daemon is started successfully and appears to work fine. Same for OpenVPN. Other daemons such as sshd appear to be working. I don't know if it's only those two, or what. Once I restart them both, they appear to work fine, but this is still very alarming... Help! |
I upgraded, and found a variety of problems. Eg I note that samba is not installed on karmic by default. Some things just stopped working.
On a positive note, a clean Karmic install solved issues that needed special arrangments in 9.04, eg network card not supported, mp3 previously needed LAME built from source. May I suggest clean install using karmic. If you have been using 9.04 for a while, you might consider using your home directory within the new OS- that will preserve email, bookmarks, desktop settings, etc. If you have /home in a separate partition, this is easy, but there are many ways of achieving this. Otherwise back up and do a fresh install. |
Thanks for your reply, but unfortunately, reinstalling is not really an option for me.
I'd appreciate it if someone could at least tell me what logs I could be looking through to diagnose these problems. |
From your posts I believe you will be able to interpret the logs as well as, if not better than, I could. /var/log is the path, the various dmesg files and syslog files will show your history. My daemon.log appears to have similar content to syslog.
I don't know whether it will help you to compare your startup scripts with mine (a recent install without significant modification). Here are 2 key areas, which might be a good starting point: Code:
:/etc/rc5.d$ ls -l Code:
:/etc/init.d$ cat samba |
All times are GMT -5. The time now is 12:52 PM. |