Boot problems after Karmic upgrade, Samba and OpenVPN not starting
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
Last edited by ShiningMasamune; 12-27-2009 at 04:08 PM.
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.
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:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.