LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-01-2012, 04:03 PM   #1
WantLinuxHelp
Member
 
Registered: Jan 2009
Posts: 59
Blog Entries: 2

Rep: Reputation: 15
Ubuntu 12.04 upgrade destroys network


I upgraded my Ubuntu with LXDE to 12.04, and I no longer had any network connection. What should I look at in order to try to diagnose this Ubuntu upgrade bug?
 
Old 07-01-2012, 04:54 PM   #2
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu
Posts: 1,210

Rep: Reputation: 238Reputation: 238Reputation: 238
Next place I'd look is to see if NetworkManager is running
Code:
ps aux | grep NetworkManager
If it's not running, start it
Code:
sudo service network-manager start
Next place I'd look is to see if nm-applet is running; if not start it. If it is running, right-click on the nm-applet icon in the panel, and edit your connection
 
1 members found this post helpful.
Old 07-01-2012, 09:10 PM   #3
WantLinuxHelp
Member
 
Registered: Jan 2009
Posts: 59
Blog Entries: 2

Original Poster
Rep: Reputation: 15
Thanks, RD.

NetworkManager was in fact not running. When I started it, a window popped up saying:


Code:
Sorry, Ubuntu 12.04 has experienced an internal error

executable path:
/usr/lib/notification-daemon/notification-daemon

package:
notification-daemon.0.7.3-1

title:
notification-daemo crashed with signal 5 in g_return_if_fail_warning()
But the network manager is still running, and I seem to be able to get to the network now.

When I reboot, the system takes forever. I see a message saying "waiting up to 60 more seconds for network configuration.". Then it says "booting without full network configuration" When it comes up, no NetworkManager. When I start it, I get the same "internal error" message.

Last edited by WantLinuxHelp; 07-01-2012 at 10:23 PM.
 
Old 07-01-2012, 10:24 PM   #4
WantLinuxHelp
Member
 
Registered: Jan 2009
Posts: 59
Blog Entries: 2

Original Poster
Rep: Reputation: 15
After rebooting the system, I found this is the syslog

Code:
Jul  1 22:11:10 ubuntu-desktop kernel: [   51.868966] type=1400 audit(1341198662.832:2): apparmor="STATUS" operation="profile_load" name="/sbin/dhclient" pid=521 comm="apparmor_parser"
Jul  1 22:11:10 ubuntu-desktop kernel: [   51.868988] type=1400 audit(1341198662.832:3): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=535 comm="apparmor_parser"
Jul  1 22:11:10 ubuntu-desktop kernel: [   51.870835] type=1400 audit(1341198662.832:4): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=521 comm="apparmor_parser"
Jul  1 22:11:10 ubuntu-desktop kernel: [   51.870853] type=1400 audit(1341198662.832:5): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=535 comm="apparmor_parser"
Jul  1 22:11:10 ubuntu-desktop kernel: [   51.871858] type=1400 audit(1341198662.832:6): apparmor="STATUS" operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" pid=521 comm="apparmor_parser"
Jul  1 22:11:10 ubuntu-desktop kernel: [   51.871877] type=1400 audit(1341198662.832:7): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=535 comm="apparmor_parser"
Jul  1 22:11:10 ubuntu-desktop kernel: [   52.404751] snd_hda_intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Jul  1 22:11:10 ubuntu-desktop kernel: [   52.532852] init: network-interface (lo) pre-start process (585) terminated with status 1
Jul  1 22:11:10 ubuntu-desktop kernel: [   52.593906] hda_codec: ALC888: SKU not ready 0x411111f0
Jul  1 22:11:11 ubuntu-desktop dhclient: Bind socket to interface: No such device
I don't know if this is important or means anything
 
Old 07-02-2012, 02:38 AM   #5
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,089

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
https://bugs.launchpad.net/ubuntu/+s....0/+bug/926758
 
Old 07-02-2012, 05:31 AM   #6
WantLinuxHelp
Member
 
Registered: Jan 2009
Posts: 59
Blog Entries: 2

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by EDDY1 View Post
Thanks. This is a bug for the g_return_if_fail_warning() problem. Since I do NOT get that on reboot, but only upon manually starting the NetworkManager, and since noone else reporting this in the bug report mentions the NetworkManager, I am assuming this is a SECOND problem, and not the reason that my NetworkManager fails to start on reboot.

Now that I have my NetworkManager working, should I file a Ubuntu bug on it failing to start on boot? Which package is it?
 
Old 07-02-2012, 07:45 AM   #7
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,089

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
It's notification daemon problem also it's in your post #3

Last edited by EDDY1; 07-02-2012 at 07:49 AM.
 
Old 07-02-2012, 10:21 AM   #8
barnac1e
Member
 
Registered: Jan 2012
Location: Moorhead, Minnesota, USA (birthplace of Slackware, ironically)
Distribution: openSuSE 13.1 - KDE
Posts: 234
Blog Entries: 1

Rep: Reputation: 9
I dont think thats a bug though. His network manager quit working because apt shut it down to upgrade it. Then Ubuntu was using the fallback configuration of /etc/network/interfaces to look for a network but nothing was there so he got that error. Once Network Manager daemon started back, it takes precedence over the fallback /etc config is all.
 
Old 07-02-2012, 04:25 PM   #9
WantLinuxHelp
Member
 
Registered: Jan 2009
Posts: 59
Blog Entries: 2

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by barnac1e View Post
I dont think thats a bug though. His network manager quit working because apt shut it down to upgrade it. Then Ubuntu was using the fallback configuration of /etc/network/interfaces to look for a network but nothing was there so he got that error. Once Network Manager daemon started back, it takes precedence over the fallback /etc config is all.
Kevin, thanks. This sounds reasonable. How do I get things working again?
 
Old 07-02-2012, 05:02 PM   #10
barnac1e
Member
 
Registered: Jan 2012
Location: Moorhead, Minnesota, USA (birthplace of Slackware, ironically)
Distribution: openSuSE 13.1 - KDE
Posts: 234
Blog Entries: 1

Rep: Reputation: 9
Hi. Actually. Upon looking things over, what you are experiencing has nothing to do with Networking. Apparently it has to do with themes. Like the colors, shades, window borders,etc. From what I can tell Ubuntu switched from gtk2 to gtk3 for version 12.04s. Gtk just stands for Gimp Toolkit I think. It was used in designing the window looks and feel in GNOME and Metacity- Gnomes Window Manager. So my guess is somewhere in your settings in from your old Ubuntu is clashing with the new Ubuntu settings. You said you have LXDE on top of Ubuntu? Or do you have the distibution Lubuntu? I think a theme from LXDE is gtk2 based and Ubuntu 12.04 with all gtk3 doesnt like it. Does any of this sound familiar?
 
Old 07-02-2012, 09:09 PM   #11
barnac1e
Member
 
Registered: Jan 2012
Location: Moorhead, Minnesota, USA (birthplace of Slackware, ironically)
Distribution: openSuSE 13.1 - KDE
Posts: 234
Blog Entries: 1

Rep: Reputation: 9
Quote:
Originally Posted by WantLinuxHelp View Post
Kevin, thanks. This sounds reasonable. How do I get things working again?
Well, we'll try this cause I think it "may" help you, but not sure. If it doesn't, it can be reversed although these files do no harm at all, and all are official Ubuntu packages in Precise. You just may be missing one or two you need due to lxde being installed. So open a terminal as root and type all of the following in one shot:

Code:
#apt-get update

#apt-get install scim-gtk2-immodule libgtk2-perl gtk-theme-switch Gtk-chtheme gtk-clearlooks-gperfection2-theme Gnome-color-chooser Ibus-gtk lxde-common Lxappearance dbus-x11 libdbusmenu-gtk-doc python-dbus libindicate-gtk3-3 libdbus-java libdbusmenu-gtk4 Appmenu-gtk Appmenu-gtk3 gir1.2-dbusmenu-gtk-0.4 gir1.2-dbusmenu-gtk3-0.4 libdbus-glib-1-2 libnet-dbus-perl jobservice gnome-settings-daemon-dev
Hit enter. It should pull all or any dependencies it needs with no problem. If it gives you an error of any kind, check for simple misspellings in package names, which may be my fault but I was pretty thorough on it. So install all these. When it finishes. Reboot. See if you still get that error message or not. Either way, let me (us) know.

I mean this is what i personally would do and try first
 
Old 07-02-2012, 09:14 PM   #12
WantLinuxHelp
Member
 
Registered: Jan 2009
Posts: 59
Blog Entries: 2

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by barnac1e View Post
what you are experiencing has nothing to do with Networking.
How can you say that? When I boot, my network is not working.

Also, when I reboot the system takes forever, and I see a message saying "waiting up to 60 more seconds for network configuration.". Then it says "booting without full network configuration" When it comes up, no NetworkManager.

Quote:
Originally Posted by barnac1e View Post
You said you have LXDE on top of Ubuntu? Or do you have the distibution Lubuntu?
LXDE on top of Ubuntu


Quote:
Originally Posted by barnac1e View Post
So my guess is somewhere in your settings in from your old Ubuntu is clashing with the new Ubuntu settings.
Maybe this is causing the SECOND problem with the "internal error"


Quote:
Originally Posted by barnac1e View Post
I think a theme from LXDE is gtk2 based and Ubuntu 12.04 with all gtk3 doesnt like it. Does any of this sound familiar?
I'm thinking I should make a new thread for that. I'll post the link for the new thread here.
 
Old 07-02-2012, 09:39 PM   #13
WantLinuxHelp
Member
 
Registered: Jan 2009
Posts: 59
Blog Entries: 2

Original Poster
Rep: Reputation: 15
Ubuntu 12.04 upgrade

...

Last edited by WantLinuxHelp; 07-02-2012 at 10:07 PM. Reason: sorry. I made a mistake
 
Old 07-02-2012, 09:50 PM   #14
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,089

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
This may be your solution , but you insist that it's not.
https://forums.virtualbox.org/viewto...=23194&start=0
 
Old 07-02-2012, 10:06 PM   #15
WantLinuxHelp
Member
 
Registered: Jan 2009
Posts: 59
Blog Entries: 2

Original Poster
Rep: Reputation: 15
I started the new thread for barnacle's idea about gtk here
 
  


Reply

Tags
network, ubuntu 12.04, upgrade


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Ubuntu live CD will let you upgrade to newer Ubuntu versions Ubuntu 11.04 Development LXer Syndicated Linux News 0 03-01-2011 03:20 PM
ubuntu 9.10 upgrade no network connection Ant1972 Linux - Newbie 12 01-21-2010 11:20 PM
ubuntu freezes on after network upgrade from 8.04 to 8.10 Highjo Linux - Desktop 6 09-19-2009 06:16 PM
clean xp destroys bootloader for ubuntu macgregor98 Ubuntu 1 12-17-2006 04:47 AM
Mepis destroys network for Windows johnnyjumpup MEPIS 5 10-09-2005 02:29 AM


All times are GMT -5. The time now is 12:21 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration