Conversation

Notices

  1. aaaargh! I cannot reboot Nikola ( !Debian ) - I keep getting into "Emergency mode", did disk checks in maintenance mode, don't know what else to do #!

    Sunday, 21-Sep-14 09:48:56 UTC from oracle.skilledtests.com
    1. @mk !linux !fediverse I need help, please! ^^

      Sunday, 21-Sep-14 09:51:58 UTC from oracle.skilledtests.com
    2. did this happen out of blue? or anything (hardware) changed before last reboot? never had this, so guessing into blue: 1. start a live cd and chroot and check for stuff like logs 2. I assume you consulted your fav. search engine with this already? boot "Emergency mode" debian

      Sunday, 21-Sep-14 10:03:55 UTC from oracle.skilledtests.com
      1. @erkanyilmaz there were a load of updates and I went through them all; I've also been making changes to fstab but after some initial grumbles all drives seem to mount normal; emergency mode gives me a few things to try, but I need to log in (as root); tere's no net in emergency mode. looked through log, but like I said first some grumbles, then thnigs seem to load normally

        Sunday, 21-Sep-14 10:06:42 UTC from oracle.skilledtests.com
      2. @erkanyilmaz this http://forums.debian.net/viewtopic.php?f=5&t=116524 tells me that "sometimes things break on testing". I know - but I need it for workable graphics software...

        Sunday, 21-Sep-14 10:10:41 UTC from oracle.skilledtests.com
      3. @erkanyilmaz also, I tried to edit fstab (to comment out some things) but vi complains it's read-only (even thogh I'm editing as root) ???

        Sunday, 21-Sep-14 10:19:08 UTC from oracle.skilledtests.com
        1. @mk Either / is still mounted readonly (this is normal in early stage of startup) or you are inside an initrd (initial RAMdisk) @erkanyilmaz

          Sunday, 21-Sep-14 11:32:55 UTC from quitter.se
        2. @mk try mount / -o remount,rw @erkanyilmaz

          Sunday, 21-Sep-14 11:33:42 UTC from quitter.se
          1. @mcscx but all drives were mounted. I used a rescue CD, checked all extX devices (again, no problem), removed data from /var (while nothing mounted there), edited fstab and commented out a bunch of things; also disabled the systemd's emergency.service & emergency.target (so I could not get stuck there); then rebooted (with a few wrinkles). now Nikola *does* reboot, but has no network (which probably was the main problem in the first place). for all this, I picked up some hints from here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757072

            Sunday, 21-Sep-14 11:42:16 UTC from oracle.skilledtests.com
            1. @mk oh. I'm still on Debian Wheezy know nothing about systemd yet.Looks like startup is messed up & network init script & others not started

              Sunday, 21-Sep-14 12:01:09 UTC from quitter.se
              1. @mcscx yes - NetworkManager (no longer called network-manager) lives in /usr/sbin, dated 2 Sep so this seems to have come with the recept updates. But I cannot start that from the commandline (it just returns) ... maybe I need to use systemd for that?

                Sunday, 21-Sep-14 12:04:58 UTC from oracle.skilledtests.com
          2. @mcscx s, no I need to figure out how to get network back :( (the rescuecd DID have network, so it's not the hardware or the modem)

            Sunday, 21-Sep-14 11:43:39 UTC from oracle.skilledtests.com
            1. @mk on the fly you could try (assuming you're still using Fritzbox) ifconfig eth0 192.168.178.2;route add -net 0.0.0.0 gw 192.168.178.1

              Sunday, 21-Sep-14 12:03:50 UTC from quitter.se
              1. @mcscx what is the .2 and the .1 in that? FRITZ!box's IP is 192.168.178.1; btw, the LAN works: I just found I could connect to the # via samba (at least I can see the shared folders)

                Sunday, 21-Sep-14 12:31:57 UTC from oracle.skilledtests.com
                1. @mk the .2 was meant to get yourself a an IP.But as you say you actually *have* network,just no internet.May be either 1)no routing 2)no DNS

                  Sunday, 21-Sep-14 14:06:12 UTC from quitter.se
              2. @mcscx also, NetworkManager is actually running, but the GUI applet network-manager-gnome seems to have gone missing. looks like I hit some in-between state where the network stuff isn't fully working (or even present)

                Sunday, 21-Sep-14 12:34:12 UTC from oracle.skilledtests.com
                1. @mk Sounds like "a complex situation". I dont use NetworkManager on most of my machines (only on some notebooks). It adds to complexity.

                  Sunday, 21-Sep-14 14:08:23 UTC from quitter.se
                  1. @mcscx it is... I'm still finding hints and trying things, but no joy so far; just edited /etc/network/interfaces and replaced the 'allow-hotplug eth0' by 'auto eth0' (it seems the former may cause problems); then again ifconfig eth0 up and networking restart - no joy. going to dump my terminal sessions in text files and try to reboot... #

                    Sunday, 21-Sep-14 14:13:49 UTC from oracle.skilledtests.com
                    1. @mk (if you've NetworkManager network//interfaces may be #)After changes in ./interfaces: ifdown -a; ifup -a, this'll reread the file

                      Sunday, 21-Sep-14 14:18:29 UTC from quitter.se
              3. @mcscx *sigh* eth0 is UP and RUNNING; also tried 'ifconfig eth0 up' (seems to toggle UP status) followed by '/etc/init.d/networking restart' (says it's OK); also rebooted FRITZ. still no internet...

                Sunday, 21-Sep-14 13:54:05 UTC from oracle.skilledtests.com
                1. @mk probably you can ping 192.168.178.1, but not ping 8.8.8.8 (google). Then the route is missing. Or try ping heise.de to see if DNS works

                  Sunday, 21-Sep-14 14:10:19 UTC from quitter.se
                  1. @mcscx I FOUND IT!!! For the whole new networking set up I had changed some IP adresses around - and apparently not rebooted since then. Turns out the /etc/network/interfaces file had the wrong gateway and primary DNS. (apparently I had adapted that IP address in the FRITZ comnfig though I can not remember that). Once I edited those, a domain name I was pinging 1)) resolved and 2) responded.

                    Sunday, 21-Sep-14 15:12:46 UTC from oracle.skilledtests.com
                  2. @mcscx thanks for the help and 'handholding'! @erkanyilmaz, too! (the network manager applet for the tray is still missing - I may hav to reinstall that...). the whole thing was complicated by the fact that apparently also a slight error in fstab can trip up systemd as well - so it was a situation with several things combined - no wonder it was hard to figure out

                    Sunday, 21-Sep-14 15:15:59 UTC from oracle.skilledtests.com
                    1. @mk maybe that means NetworkManager isn't running at all, b/c as soon as it takes control network/interfaces will be ignored (AFAIK)

                      Sunday, 21-Sep-14 17:15:59 UTC from quitter.se
                      1. @mcscx but if I can see it in task manager it's running isn't it? the tray applet is just a GUI to control the NetworkManager, and options entered in there do end up in the normal configutation files. I like it especially on the laptop or netbook because it gives a quick way to select an appropriate Wifi access point.

                        Sunday, 21-Sep-14 19:22:09 UTC from oracle.skilledtests.com
                  3. @mcscx btw I normally use three 'layers' for pinging: 1) the modem (now FRITZ @ 192.168.178.1) 2) a DNS server of my ISP 3) one of my (live) domains, with a short name

                    Sunday, 21-Sep-14 15:21:52 UTC from oracle.skilledtests.com
          3. @mcscx also, everything is now also mounted rw - so, no errors encountered while mounting drives

            Sunday, 21-Sep-14 11:55:41 UTC from oracle.skilledtests.com