/srv/irclogs.ubuntu.com/2015/08/17/#ubuntu-server.txt

=== markthomas|away is now known as markthomas
=== markthomas is now known as markthomas|away
lordievaderGood morning.05:30
adun153 I have a server, started it up in single user mode, but it hangs at this part. http://imgur.com/0TbYmtC  Cursor is blinking, so it hasn't really "locked up". Any suggestions?08:36
lordievaderSeems like it is never leaving the initramfs.08:40
mahdi if it doesn't, you have likely a driver issue, or if you installed a new kernel recently. i have to add eth0=eth0 manually in /run/network/ifstate and then ifup to changes take effect. after restart, interfaces file is correct but system doesnt have new configuraion08:44
mahdihi,on ubuntu server 14.04, i changed /etc/network/interfaces to new configuration in order to have static ip.i have to add eth0=eth0 manually in /run/network/ifstate and then ifup to changes take effect. after restart, interfaces file is correct but system doesnt have new configuraion08:44
adun153lordievader: AFAIK, I didn't upgrade it. Anyway, any suggestions on how to fix this? Or at least break out of this sequence?08:45
lordievaderadun153: Break init at the right moment and investigate to see if something obvious is wrong (no disk, etc).08:46
adun153lordievader: How do I "break init at the right moment"?08:46
lordievadermahdi: How does your /etc/network/interfaces look like and your /etc/udev/rules.d/70-persistent-net.rules?08:47
lordievaderadun153: Last paragraph of Initramfs: https://wiki.ubuntu.com/DebuggingKernelBoot08:47
mahdilordievader: no such file in rules.d08:48
lordievaderHmm, okay.08:52
adun153lordievader: According to my screenshot, it hangs after mount, right?08:53
mahdilordievader:  my interfaces http://pastebin.com/1VeTsRZn08:54
lordievaderadun153: Agreed.08:55
lordievadermahdi: 'auto eth0' misses?08:55
mahdilordievader:  auto eth0 is commented.08:56
lordievaderWhy08:57
lordievader?08:57
mahdilordievader: u r right, it seems my fault , let e check it08:59
MrButhis there some sort of program or command where I can track my bandwidth per day/week/month on my Ubuntu server?09:09
mahdilordievader: thanks, done09:09
NegativeFlareMrButh: vnstat09:10
NegativeFlareMrButh: I was going to suggest it on #ubuntu, but you said you'd ask here :P09:10
MrBuththanks man!09:10
NegativeFlarenp09:10
NegativeFlareMrButh: http://lpaste.net/139002 <-- it'll look like this when it comes up09:11
MrBuththat's perfect, exactly what I wanted09:12
NegativeFlarehttp://paste.ubuntu.com/12106505/09:12
NegativeFlareor even that09:12
NegativeFlareMrButh: Alright :)09:12
MrButhdude it even has a vnstat --live!!09:17
NegativeFlareMrButh: mhm09:37
NegativeFlareMrButh: The best thing I like about it, is the fact that it can generate images. And you can show off how much bandwidth you've used XD09:38
MrButhlol09:51
rbasakhallyn: bug 1485456 was just reported. Is this the same issue you're hitting?10:11
ubottubug 1485456 in uvtool "uvt-simplestreams-libvirt sync fails with qemu-img convert error" [Undecided,New] https://launchpad.net/bugs/148545610:11
adun153I added a "break" option to the end of my initramfs call at the boot loader, and it gives me this stack trace soon afterwards: http://imgur.com/bBVaZzE    Is this expected behavior, and if not, what could be the problem?10:19
lordievaderadun153: What argument to break did you give?10:20
adun153none10:21
adun153that's supposed to be "premount" by default, right?10:21
adun153if none is specified?10:21
lordievaderThere ain't a default.10:24
adun153This is from the link you gave me. "The parameter is break=[option] where option can be: top, modules, premount, mount, bottom, or init. The default is premount if no options are specified."10:25
lordievaderI think you want to break at bottom.10:25
rbasakOdd_Bloke: around? https://bugs.launchpad.net/uvtool/+bug/1485456 - cloud image simplestreams metadata has regressed and seems completely broken for downloadable images.10:25
ubottuLaunchpad bug 1485456 in uvtool "uvt-simplestreams-libvirt sync fails with qemu-img convert error" [Critical,Triaged]10:25
lordievaderAh, never mind then ;)10:26
adun153yeah, I was trying to break at bottom first, but I was having errors, so I thought, "why not try without any options"10:26
lordievaderDo you have a busybox in your initramfs?10:28
adun153I have no idea. This is Ubuntu 14.04 amd64,  if that helps.10:28
lordievaderDid you change anything about your initramfs config?10:29
adun153AFAIK, no.10:29
adun153I just took this over from someone else.10:29
lordievaderHmm...10:30
adun153okay, looks like I did it correctly this time with "break=bottom"10:31
adun153I now have a busy box.10:31
adun153What should I do next to help find out why it isn't booting properly?10:32
adun153it now says (initramfs)10:32
lordievaderCheck if everything is mounted properly and if init is available.10:32
lordievaderBy the by, do older kernels boot properly?10:33
adun153Haven't tried yet10:34
adun153It only has the /root partition mounted.10:34
lordievaderHmm, that should have been the first thing you've tried ;)10:34
adun153Kind of a newbie with these things. :D10:34
lordievaderIs that everything it needs to have mounted?10:34
adun153no. This is the output of df from a parallel node: http://imgur.com/HJbfAky10:36
adun153The should be more or less identical.10:36
lordievaderDoes it need /data to boot?10:39
adun153No, it has the MySQL datadir and other stuff, but no.10:40
lordievaderSo, it has everthing it need ;)10:41
lordievaderHmm, I'd try an older kernel to be honest.10:41
adun153ok, I'll try that. I'll come back here if I still see problems. ;p10:42
adun153thanks!10:42
adun153lordievader: The older kernel doesn't boot, either.11:03
lordievaderHmpf11:05
lordievaderIt too just hangs?11:05
adun153Yes.11:05
adun153Same place.11:05
lordievaderPff, did it work before?11:06
adun153yes.11:06
lordievaderWhat changed?11:06
adun153Could it be the hard disks?11:06
adun153Well, here's what happened:11:06
adun153We suddenly noticed that the server couldn't be pinged or ssh'ed into anymore. Had one of the network guys look at it in the remote DC, and he tried logging in via the console, it would log him in, then immediately log him out again. We did a reboot, and that's where we are right now.11:09
lordievaderJup, I guess it is time to check the disk/the filesystems.11:10
lordievaderAlso these kind of things should be the first thing you mention when seeking support ;)11:10
adun153Sorry :D11:12
adun153Thanks!11:20
=== ahasenac` is now known as ahasenack
hallynrbasak: sounds like it13:31
rbasakhallyn: thanks. It should be fixed temporarily now.13:31
hallynawesome, thanks13:33
=== alai` is now known as alai
=== markthomas|away is now known as markthomas
jowiHello everyone. I'm having an issue with a bin9 server on 12.04. nslookup returns queries for lan machines but does not forward the requests to outside dns servers. The forwarders have been declared in named.conf.options. Would someone be so kind assisting me with the config?17:26
jowi"nslookup google.com dns.server.of.isp" works fine17:27
sarnoldjowi: can your bind9 contact those forwarders via ping? via tcp? via udp? do you need to restart or reload the configuration?17:28
jowisarnold: thanks. actually i just realised that nslookup to the forwarders works via clients but not from the bind9 server. strange no?17:29
jowiconnection timed out from the bind9 server17:29
sarnoldjowi: interesting, seems like a good thread to start pulling on17:30
sarnoldjowi: why nslookup? I thought most dns folks preferrred dig for investigating?17:30
jowisarnold: nslookup is fast. i will verify my network/interfaces config.17:32
lordievaderDig allways asks the configured dns server.17:33
jowisarnold: never mind. I replaced my router and the gateway settings of the fixed IP configuration was pointing to the old gateway. It's working now. what a noob mistake17:34
jowi:)17:34
jowisarnold: thanks for questioning the basics first.17:35
sarnoldjowi: woohoo :)17:50
=== markthomas is now known as markthomas|away
=== markthomas|away is now known as markthomas

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!