Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Yast unable to restart network

  1. #1
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    1,918

    Default Yast unable to restart network

    Hi,

    When I change something in network setings using yast (for example hostname) it failes to restart the network. I have to start knetworkmanager manually from the terminal. Does anyone get the same type of behaviour ? I'm attaching the relevant yast log.

    I'm using 11.3 KDE 4.5.4 2.6.34.7-0.5-desktop kernel.

    Code:
    2010-12-08 07:06:17 <1> opensusetest(6010) [YCP] network/runtime.ycp:28 Running SuSEconfig ...
    2010-12-08 07:06:21 <1> opensusetest.site(6010) [YCP] Host.ycp:60 Dummy 127.0.0.2 IP will be added
    2010-12-08 07:06:21 <1> opensusetest.site(6010) [YCP] Host.ycp:111 Writing hosts configuration
    2010-12-08 07:06:21 <1> opensusetest.site(6010) [YCP] Host.ycp:147 hosts=$["127.0.0.1":["localhost.localdomain\tlocalhost"], "127.0.0.2":["opensusetest.site opensusetest"], "::1":["localhost ipv6-localhost ipv6-loopback"], "fe00::0":["ipv6-localnet"], "ff00::0":["ipv6-mcastprefix"], "ff02::1":["ipv6-allnodes"], "ff02::2":["ipv6-allrouters"], "ff02::3":["ipv6-allhosts"]]
    2010-12-08 07:06:21 <1> opensusetest.site(6010) [YCP] Host.ycp:149 127.0.0.1 (["localhost.localdomain\tlocalhost"]:["localhost.localdomain\tlocalhost"])
    2010-12-08 07:06:21 <1> opensusetest.site(6010) [YCP] Host.ycp:149 127.0.0.2 (["opensusetest.site opensusetest"]:["opensuse.site opensuse"])
    2010-12-08 07:06:21 <1> opensusetest.site(6010) [YCP] Host.ycp:149 ::1 (["localhost ipv6-localhost ipv6-loopback"]:["localhost ipv6-localhost ipv6-loopback"])
    2010-12-08 07:06:21 <1> opensusetest.site(6010) [YCP] Host.ycp:149 fe00::0 (["ipv6-localnet"]:["ipv6-localnet"])
    2010-12-08 07:06:21 <1> opensusetest.site(6010) [YCP] Host.ycp:149 ff00::0 (["ipv6-mcastprefix"]:["ipv6-mcastprefix"])
    2010-12-08 07:06:21 <1> opensusetest.site(6010) [YCP] Host.ycp:149 ff02::1 (["ipv6-allnodes"]:["ipv6-allnodes"])
    2010-12-08 07:06:21 <1> opensusetest.site(6010) [YCP] Host.ycp:149 ff02::2 (["ipv6-allrouters"]:["ipv6-allrouters"])
    2010-12-08 07:06:21 <1> opensusetest.site(6010) [YCP] Host.ycp:149 ff02::3 (["ipv6-allhosts"]:["ipv6-allhosts"])
    2010-12-08 07:06:22 <1> opensusetest.site(6010) [YCP] NetworkService.ycp:66 Enabling service network
    2010-12-08 07:06:23 <1> opensusetest.site(6010) [YCP] SuSEFirewall4Network.ycp:42 Writing the firewall configuration
    2010-12-08 07:06:23 <1> opensusetest.site(6010) [YCP] SuSEFirewall.ycp:3313 Some ServicesAcceptRelated are defined
    2010-12-08 07:06:23 <1> opensusetest.site(6010) [YCP] SuSEFirewall.ycp:2520 Firewall settings weren't modified, skipping...
    2010-12-08 07:06:23 <1> opensusetest.site(6010) [YCP] SuSEFirewall.ycp:2541 Firewall enable/disable wasn't modified, skipping...
    2010-12-08 07:06:23 <1> opensusetest.site(6010) [YCP] SuSEFirewall.ycp:1371 Firewall services are started
    2010-12-08 07:06:23 <1> opensusetest.site(6010) [YCP] SuSEFirewall.ycp:2418 Some RPC service found: false
    2010-12-08 07:06:23 <1> opensusetest.site(6010) [YCP] SuSEFirewall.ycp:2452 Configuration hasn't modified, skipping restarting services
    2010-12-08 07:06:23 <5> opensusetest.site(6010) [YCP] Lan.ycp:488 virt_net_proposal nil
    2010-12-08 07:06:23 <1> opensusetest.site(6010) [YCP] Service.ycp:454 Reloading service network
    2010-12-08 07:06:23 <1> opensusetest.site(6010) [YCP] Service.ycp:287 Running service initscript network reload
    2010-12-08 07:06:30 <3> opensusetest.site(6010) [bash] ShellCommand.cc(shellcommand):78               No configuration found for pan0 
    2010-12-08 07:06:30 <3> opensusetest.site(6010) [bash] ShellCommand.cc(shellcommand):78               Nevertheless the interface will be shut down.
    2010-12-08 07:06:31 <3> opensusetest.site(6010) [bash] ShellCommand.cc(shellcommand):78 bridge-utils not installed
    2010-12-08 07:07:06 <3> opensusetest.site(6010) [bash] ShellCommand.cc(shellcommand):78 waiting
    2010-12-08 07:07:06 <1> opensusetest.site(6010) [YCP] network/runtime.ycp:28 Running SuSEconfig ...
    2010-12-08 07:07:08 <1> opensusetest.site(6010) [YCP] NetworkService.ycp:141 Network is not running ...
    2010-12-08 07:07:08 <1> opensusetest.site(6010) [YCP] Lan.ycp:563 waiting for network ... 15
    2010-12-08 07:07:09 <1> opensusetest.site(6010) [YCP] NetworkService.ycp:141 Network is not running ...
    2010-12-08 07:07:09 <1> opensusetest.site(6010) [YCP] Lan.ycp:563 waiting for network ... 14
    2010-12-08 07:07:10 <1> opensusetest.site(6010) [YCP] NetworkService.ycp:141 Network is not running ...
    2010-12-08 07:07:10 <1> opensusetest.site(6010) [YCP] Lan.ycp:563 waiting for network ... 13
    2010-12-08 07:07:11 <1> opensusetest.site(6010) [YCP] NetworkService.ycp:141 Network is not running ...
    2010-12-08 07:07:11 <1> opensusetest.site(6010) [YCP] Lan.ycp:563 waiting for network ... 12
    2010-12-08 07:07:12 <1> opensusetest.site(6010) [YCP] NetworkService.ycp:141 Network is not running ...
    2010-12-08 07:07:12 <1> opensusetest.site(6010) [YCP] Lan.ycp:563 waiting for network ... 11
    2010-12-08 07:07:13 <1> opensusetest.site(6010) [YCP] NetworkService.ycp:141 Network is not running ...
    2010-12-08 07:07:13 <1> opensusetest.site(6010) [YCP] Lan.ycp:563 waiting for network ... 10
    2010-12-08 07:07:14 <1> opensusetest.site(6010) [YCP] NetworkService.ycp:141 Network is not running ...
    2010-12-08 07:07:14 <1> opensusetest.site(6010) [YCP] Lan.ycp:563 waiting for network ... 9
    2010-12-08 07:07:15 <1> opensusetest.site(6010) [YCP] NetworkService.ycp:141 Network is not running ...
    2010-12-08 07:07:15 <1> opensusetest.site(6010) [YCP] Lan.ycp:563 waiting for network ... 8
    2010-12-08 07:07:16 <1> opensusetest.site(6010) [YCP] NetworkService.ycp:141 Network is not running ...
    2010-12-08 07:07:16 <1> opensusetest.site(6010) [YCP] Lan.ycp:563 waiting for network ... 7
    2010-12-08 07:07:17 <1> opensusetest.site(6010) [YCP] NetworkService.ycp:141 Network is not running ...
    2010-12-08 07:07:17 <1> opensusetest.site(6010) [YCP] Lan.ycp:563 waiting for network ... 6
    2010-12-08 07:07:18 <1> opensusetest.site(6010) [YCP] NetworkService.ycp:141 Network is not running ...
    2010-12-08 07:07:18 <1> opensusetest.site(6010) [YCP] Lan.ycp:563 waiting for network ... 5
    2010-12-08 07:07:19 <1> opensusetest.site(6010) [YCP] NetworkService.ycp:141 Network is not running ...
    2010-12-08 07:07:19 <1> opensusetest.site(6010) [YCP] Lan.ycp:563 waiting for network ... 4
    2010-12-08 07:07:20 <1> opensusetest.site(6010) [YCP] NetworkService.ycp:141 Network is not running ...
    2010-12-08 07:07:20 <1> opensusetest.site(6010) [YCP] Lan.ycp:563 waiting for network ... 3
    2010-12-08 07:07:21 <1> opensusetest.site(6010) [YCP] NetworkService.ycp:141 Network is not running ...
    2010-12-08 07:07:21 <1> opensusetest.site(6010) [YCP] Lan.ycp:563 waiting for network ... 2
    2010-12-08 07:07:22 <1> opensusetest.site(6010) [YCP] NetworkService.ycp:141 Network is not running ...
    2010-12-08 07:07:22 <1> opensusetest.site(6010) [YCP] Lan.ycp:563 waiting for network ... 1
    2010-12-08 07:07:24 <1> opensusetest.site(6010) [ui] YPushButton.cc(setFunctionKey):204 Guessing button role YOKButton for YPushButton "OK" at 0xb0a93144 from function key F10
    2010-12-08 07:07:48 <1> opensusetest.site(6010) [YCP] clients/lan.ycp:152 Lan module finished
    2010-12-08 07:07:48 <1> opensusetest.site(6010) [YCP] clients/lan.ycp:153 ----------------------------------------
    2010-12-08 07:07:48 <1> opensusetest.site(6010) [wfm] WFMSubAgent.cc(~WFMSubAgent):41 Deleting SubAgent: 0 scr
    2010-12-08 07:07:48 <1> opensusetest.site(6010) [liby2] Y2ProgramComponent.cc(result):159 Sending result: `result (nil)
    2010-12-08 07:07:48 <1> opensusetest.site(6010) [agent-modules] ModulesConf.cc(writeFile):560 Modules not modified, not writing
    2010-12-08 07:07:48 <1> opensusetest.site(6010) [liby2] Y2ProgramComponent.cc(result):159 Sending result: `result (nil)
    2010-12-08 07:07:48 <1> opensusetest.site(6010) [liby2] genericfrontend.cc(main):837 Finished YaST2 component 'y2base'
    2010-12-08 07:07:48 <1> opensusetest.site(6010) [liby2] genericfrontend.cc(main):842 Exiting with client return value 'nil'
    2010-12-08 07:07:48 <1> opensusetest.site(6010) [Y2Perl] YPerl.cc(destroy):164 Shutting down embedded Perl interpreter.
    Best regards,
    Greg

  2. #2
    Join Date
    Jun 2009
    Location
    Mangfall, Germany
    Posts
    1,499

    Default Re: Yast unable to restart network

    Hi Greg,

    Try the following,

    1. in Yast--Network Settings--Global Options, select 'Traditional Method with ifup', then in the 'Hostname/DNS' tab - correct if necessary your host name, press ok & then reboot.
    2. in Yast--Network Settings--Global Options, re-select 'User Conrolled with NetworkManager'.

    You should now be up and running.

    Michael

  3. #3
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    1,918

    Default Re: Yast unable to restart network

    Thanks for the suggestion hovewer It doesn't work. I still have to start knetworkmanager manually.

    Best regards,
    Greg

  4. #4
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: Yast unable to restart network

    Quote Originally Posted by keellambert View Post
    1. in Yast--Network Settings--Global Options, select 'Traditional Method with ifup', then in the 'Hostname/DNS' tab - correct if necessary your host name, press ok & then reboot.
    It's not necessary to reboot. The changes should take place immediately.

  5. #5
    Join Date
    Jun 2009
    Location
    Mangfall, Germany
    Posts
    1,499

    Default Re: Yast unable to restart network

    Hi Greg,

    in Yast--Net Settings--Overview tab, what do you see in the lower pane, bottom three lines should be something like.

    - Device Name: eth0
    - Started xxxx
    - IP address ..........

    What does the xxxx state.

    If this is MANUAL then switch back to 'Traditional Method with ifup', and then find the control to select AUTO then reboot.
    Then after reboot go back and select 'User Conrolled with NetworkManager'.

    If this is AUTO then go to Yast-System-Hardware-Network-("your Device Name" as stated above)-STARTMODE.
    -- If this parameter is set to manual, change it to auto click ok.... and reboot.

    Does this solve your problem?

    Michael

  6. #6
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    1,918

    Default Re: Yast unable to restart network

    Quote Originally Posted by keellambert View Post
    Hi Greg,

    in Yast--Net Settings--Overview tab, what do you see in the lower pane, bottom three lines should be something like.

    - Device Name: eth0
    - Started xxxx
    - IP address ..........

    What does the xxxx state.

    If this is MANUAL then switch back to 'Traditional Method with ifup', and then find the control to select AUTO then reboot.
    Then after reboot go back and select 'User Conrolled with NetworkManager'.

    If this is AUTO then go to Yast-System-Hardware-Network-("your Device Name" as stated above)-STARTMODE.
    -- If this parameter is set to manual, change it to auto click ok.... and reboot.

    Does this solve your problem?

    Michael
    Both are set to auto at the moment.

    Best regards,
    Greg

  7. #7
    Join Date
    Jun 2009
    Location
    Mangfall, Germany
    Posts
    1,499

    Default Re: Yast unable to restart network

    Hi Greg,

    Please confirm which of the following packages you have installed,
    NetworkManager
    NetworkManager-glib
    NetworkManager-kde4
    NetworkManager-kde4-libs
    NetworkManager-kde4-libs-lang
    libproxy1-networkmanager
    plasmoid-networkmanagement

    Michael

  8. #8
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    1,918

    Default Re: Yast unable to restart network

    Code:
    NetworkManager-vpnc-0.8-3.1.i586
    NetworkManager-openvpn-kde4-0.9.svn1192577-8.6.i586
    NetworkManager-0.8-8.2.1.i586
    NetworkManager-kde4-0.9.svn1192577-8.6.i586
    NetworkManager-openvpn-0.8-3.1.i586
    NetworkManager-vpnc-kde4-0.9.svn1192577-8.6.i586
    NetworkManager-glib-0.8-8.2.1.i586
    NetworkManager-kde4-libs-lang-0.9.svn1192577-8.6.noarch
    NetworkManager-kde4-libs-0.9.svn1192577-8.6.i586
    NetworkManager-pptp-0.8-3.1.i586
    NetworkManager-pptp-kde4-0.9.svn1192577-8.6.i586
    libproxy1-networkmanager-0.4.3-1.3.i586
    Best regards,
    Greg

  9. #9
    Join Date
    Jun 2009
    Location
    Mangfall, Germany
    Posts
    1,499

    Default Re: Yast unable to restart network

    Try copying the file,
    /usr/share/kde4/env/knetworkmanager.default.sh
    to
    /home/<<your user name>>/.kde4/share/autostart/knetworkmanager.default.sh

    and restart X.

    If it does not work try putting a file <<anyname>>.sh into directory /home/<<your user name>>/.kde4/share/autostart/
    with the contents,

    knetworkmanager

    and then restarting X
    If either work it is only papering over why its not working in the first place.

    Michael

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Yast unable to restart network

    On 2010-12-09 19:36, glistwan wrote:
    >
    > Hi,
    >
    > When I change something in network setings using yast (for example
    > hostname) it failes to restart the network. I have to start
    > knetworkmanager manually from the terminal. Does anyone get the same
    > type of behaviour ? I'm attaching the relevant yast log.
    >
    > I'm using 11.3 KDE 4.5.4 2.6.34.7-0.5-desktop kernel.
    >
    >
    > Code:
    > --------------------
    > 2010-12-08 07:06:17 <1> opensusetest(6010) [YCP] network/runtime.ycp:28 Running SuSEconfig ...
    > 2010-12-08 07:06:21 <1> opensusetest.site(6010) [YCP] Host.ycp:60 Dummy 127.0.0.2 IP will be added

    ....
    > 2010-12-08 07:07:06 <1> opensusetest.site(6010) [YCP] network/runtime.ycp:28 Running SuSEconfig ...
    > 2010-12-08 07:07:08 <1> opensusetest.site(6010) [YCP] NetworkService.ycp:141 Network is not running ...
    > 2010-12-08 07:07:08 <1> opensusetest.site(6010) [YCP] Lan.ycp:563 waiting for network ... 15

    ....
    > 2010-12-08 07:07:22 <1> opensusetest.site(6010) [YCP] NetworkService.ycp:141 Network is not running ...
    > 2010-12-08 07:07:22 <1> opensusetest.site(6010) [YCP] Lan.ycp:563 waiting for network ... 1
    > --------------------



    The SuSEconfig script can take long to run, sometimes even a minute. I
    don't see there the output of the script or that it really waits for it. I
    could be mistaken, but I would try to run it in a root's xterm, see if
    there are errors or warnings.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •