/srv/irclogs.ubuntu.com/2013/11/27/#ubuntu-server.txt

=== gary_poster is now known as gary_poster|away
vlad_starkovQuestion: Just installed Ubuntu 12.04 LTS 64bit. On boot it freezes and shows "BUG: soft lockup - CPU stuck for 21s". Anyone know what is that?03:38
Patrickdkstandard, kindof03:40
=== dweaver` is now known as dweaver
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
vlad_starkovQuestion: Does anyone know what the hell is that http://cl.ly/image/310g2D1K462E ? "BUG soft lockup - CPU#0 stuck..."05:37
sarnoldvlad_starkov: does it eventually progress to fully-booted?05:41
vlad_starkovsarnold: no05:41
vlad_starkovsarnold: I've installed Ubuntu 12.04 on Supermicro 6015B-TB with 2xXeons E5345 / 16GB RAM/ RAID 10 (4TB)05:41
vlad_starkovThe same error appears on 64bit and 32bit Ubuntu 12.0405:42
vlad_starkovis it possible that 4Tb partition is too big for Ubuntu?05:42
vlad_starkovOr 32Gb SWAP is too big?05:42
sarnoldvlad_starkov: 4TB ought to be fine.. 32 gigs ought to be fine (my laptop has 16 gigs without trouble anyway..)05:45
sarnoldoh drat..05:45
sarnoldvlad_starkov: 4TB ought to be fine.. 32 gigs ought to be fine (my laptop has 16 gigs without trouble anyway..)05:48
sarnold(and the last limits I heard about on swap were removed back in 2.3.3...05:48
vlad_starkovsarnold: so what is the cause of the problem?05:49
sarnoldvlad_starkov: I believe what it is reporting is that two CPUs have requested the same data structures, and perhaps #4 locks A and needs B, while #5 has locked B and needs A05:51
sarnoldvlad_starkov: one is executing modprobe, the other is executing upstart-udev-bridge, which -might- also be trying to load modules .. 'modprobe' might have been kicked off by the 'ufw' during boot05:51
vlad_starkovsarnold: it could be that... at least it looks quite realistic05:52
vlad_starkovsarnold: I use Ubuntu for a few years on the beginner-class servers, it's my first Ubuntu install on pretty powerful hardware and I got this05:53
sarnoldvlad_starkov: just as a dirty hack you might be able to add 'sleep 1' to the /etc/init/ufw or similar to try to get it to run in a different order...05:53
vlad_starkovsarnold: how can I access the file system?05:53
vlad_starkovIt's encrypted RAID with LVM05:54
sarnoldvlad_starkov: you can try booting with maxcpus=105:54
vlad_starkovsarnold: not baf05:54
sarnoldvlad_starkov: or "nosmp". Though that might trigger other bugs...05:54
vlad_starkovsarnold: where can I get full list of boot parameters?05:54
vlad_starkovsarnold: what should I check in BIOS?05:55
sarnoldvlad_starkov: bootparam(7) has many; the linux kernel source file Documentation/kernel-parameters.txt has more05:56
sarnoldvlad_starkov: I wouldn't bother with bios options...05:56
vlad_starkovsarnold: Am I right that I selected SATA enhanced AHCI in BIOS?05:58
sarnoldvlad_starkov: yes that should be good05:58
vlad_starkovOK05:58
vlad_starkovIN BIOS there are parameters like "Adjacent Cache Line Prefetch", "Hardware Prefetcher", "Execute Disable Bit", "Core-Multi-Processing" and so on05:59
sarnoldtoo many options :)06:00
vlad_starkovsarnold: so I'll try to play with them06:01
vlad_starkovsarnold: thank you for you help though06:01
sarnoldvlad_starkov: I doubt those specific options would be involved...06:02
Questwhat is PUT method besides GET and POST and how is it different. Is there a PULL method also?06:56
Questin http^06:56
sarnoldhey Quest :) PUT is like a file upload; POST can be used for forms and the like, but PUT is really only good for a single data value. I don't know if anyone uses it...06:57
Questsarnold I was in the image the POST is used for file uploads like multipart06:58
Questsarnold hi!06:59
Quest what are the use cases of PUT?07:04
Questis there a PULL too? i heard about it but didnt caught that in any docs.07:04
sarnoldQuest: PUT would probably be used in a file storage system similar to amazon's s3 or backblaze's http file storage thing07:05
sarnoldQuest: all the http 1.1 verbs are briefly described here: http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html07:06
Questhm.07:12
Questthanks07:12
rbasakQuest: also see: REST08:18
rbasakjamespage: what do you think about bug 1245113? It's in main. SRU for Saucy absolutely needed or shouldn't be permitted?08:29
uvirtbotLaunchpad bug 1245113 in libapache2-mod-auth-pgsql "libapache2-mod-auth-pgsql is missing in 13.10 amd64" [Undecided,Fix released] https://launchpad.net/bugs/124511308:29
vlad_starkovQuestion: While installing Ubuntu, there is a step for installing additional software. In case I choose "Manual package selection" the aptitude will be launched. Is it possible to add repositories for aptitude to install some additional software?08:36
jamespagerbasak, it might be permitted; its fairly self contained08:53
Questrbasak thx09:13
NaGeLhello i got this problem: http://askubuntu.com/questions/382592/my-postfix-server-became-a-spam-server-how-can-i-fix-this and answer says nuke it, and start from 0. does that mean to reinstall the whole server?09:25
foo357Hello, is anyone here familiar with creating disk images / restoring disks?09:33
foo357When I create a disk image, can I save the resulting file to said disk? (I've got a one-disk machine)09:36
foo357or would it cause some funny behaviour?09:36
rbasakfoo357: that would cause corruption. Don't do that if you want a good image.09:38
bluekinghave problem with ethernet on ubuntu server... tho when I type  http://192.168.1.1 I can logon asus router but  can't enter  net   what to look at     installed shorewall on box, problem are that I can't  use apt-get update/install09:45
jamespagesmoser, rbasak, adam_g, roaksoax, zul, yolanda, hallyn_ +anyone else: initial review of seeds for trusty - http://pad.ubuntu.com/server-seed-review09:48
foo357rbasak: the harddrive I want to create a disk image of is encrypted (using the options in the ubuntu installation disc), will encryption be preserved in the disk image?10:06
TazmainianDevilhi all I am running ubuntu server 12.04. I am running a media wiki on it. When i open the page from the server it renders fine. When I open it from another computer the whole left side of the page is missing?10:19
bluekingthink I found  what my problem are   ip route ls  shows  'default via 192.168.2.1  dev p3p1'   but  device that are connected to net are p2p110:34
bluekingcan someone tell me if there should be more than one IP in shorewall masq file ?10:45
bluekingwhat dhcp server to go for ?11:11
bluekingcould someone tell me what makes network interface to be primary secondary  in /etc/network/interface file ?11:38
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
bluekinglwhat I do when apt-get upgrade  and gets this initctl: unknown job: mysql ?12:48
=== gary_poster|away is now known as gary_poster
bluekingbleh   ubuntu server install was fucked up had to perform reinstallation of it \o/13:34
Rory3/buffer close13:42
bluekingI have a question about  shorewall /etc/shorewall/interfaces  :     If I am right   device p2p1  connects to net, device p3p1 are local net     I have to  install dhpc  server to give connected units on localnet  their IP's    and then I have to setup dhcp server   but do I need to do something with /etc/network/interfaces ?14:11
zuljamespage:  i dont even know why backuppc is seeded14:16
zuljamespage:  well i know why but its a dumb reason14:16
jamespagezul, that sounds like +1 to me14:23
zuljamespage:  it is14:23
zuljamespage:  cinder uses a fork of rtslib14:33
hallyn_jamespage: is that saying wireless-tools and wpasupplicant are in there now?14:35
hallyn_i suppose i could see that being an inconvenience (bugged me frequently in lucid), but mainly for developers.14:35
hallyn_though i have some headless servers that run wireless, and they're becoming more populear - but so far they all still including a wired nic.14:36
jamespagezul, that should be converged now I think14:46
jamespagethe licensing issue was resolved in the original project14:46
jamespagehallyn_, yes - wireless tools and wpas are on the ISO right now14:47
zuljamespage:  ah so it is14:50
Darkstar1hello all. How do I find out my hard and soft limits for my server (12.04)15:05
jrwrentype ulimit -a15:06
jrwrenand ulimit -aH for hard15:06
Darkstar1jrwren: thanks15:07
jamespagezul, subunit seems a little stuffed in trust15:12
jamespagey15:12
zuljamespage:  broken?15:13
jamespage  File "/usr/bin/subunit2pyunit", line 24, in <module>15:13
jamespage    from testtools import StreamToExtendedDecorator, DecorateTestCaseResult, StreamResultRouter15:13
jamespagezul, the scripts have python3.3 but the package depends on python2 libraries15:13
zulerm...ok ill have a look at it15:13
jamespagezul, noticed when I was patching up neutron15:14
zulack15:14
jamespage(needed a refresh of patches only so pushed as a trivial)15:14
jamespagezul, (un)fortunately it has a || true15:14
zuljamespage:  yeah the nova tests in trusty has the same (im not sure whats happening with the database in the tests)15:15
jamespagezul, let me log the subunit thing as a bug as well15:21
zuljamespage:  please15:21
jamespagezul, bug 125557115:26
uvirtbotLaunchpad bug 1255571 in subunit "subunit2pyunit fails to run" [Undecided,New] https://launchpad.net/bugs/125557115:26
jamespagezul, we can get rid of the quantum-* transitional package now right?15:28
jamespagethat's a grizzly->havana upgrade transition I think15:28
zuljamespage:  yes i think so15:28
jamespagezul, https://code.launchpad.net/~james-page/neutron/drop-quantum-packages/+merge/19692415:31
bluekingwonder why my windows box connected to ubuntu-server  gets dhcp-server 255.255.255.25515:38
bluekingoh it was fixed when i restarted dhcpd server15:39
zuljamespage:  https://code.launchpad.net/~zulcss/cinder/icehouse-ftbfs/+merge/19693216:11
jamespagezul, query on that MP16:25
zuljamespage:  yep16:25
zuljamespage:  yeah i meant to drop it...it has namespace conflicts16:27
jamespagezul, +116:28
zuljamespage:  thanks16:28
jamespagezul, want me to take swift?16:28
jamespagenm - thats the sphinx  build bug16:28
zuljamespage:  if you want it has docs build problems though16:28
bluekingjust wonder    doesn't dhcp server send  gateway ip to connected devices/laptop/pc ?16:50
kwootWhere can I send a bugreport with fix regarding a vmbuilder instance with postgresql-server ?16:57
bluekinghmm17:01
bluekingok this looks better :)17:43
bluekingnow I am connected through ubuntu-server shorewall17:43
=== freeflying is now known as freeflying_away
zuljamespage:  subunit fixed18:29
jamespagezul, excellent18:35
bluekinghad to shutdown  shorewall to be able to use apt-get    seems firewall somehow blocks  apt-get  even when ping worked right from box itself18:57
patdk-wkblueking, configure it correctly19:12
patdk-wkyou probably are missing the policy, accept fw net19:12
pmatulislooks like slapd 2.4.31 is really dear to somebody's heart in debian-land19:16
bluekingpatdk-wk:  ok I'll loook into it19:19
bluekingpatdk-wk:    loc net accept,  net all drop, all all  reject    dmesg reports that it ends up at last line  rejected19:21
bluekingpatdk-wk:  got it fixed :)19:24
=== gaughen is now known as gaughen_af
=== gaughen_af is now known as gaughen_afk
Coreyscrollback end19:58
=== gaughen_afk is now known as gaughen
bluekinghmm  got serious problem after  had raid  array on another linux distro  and mdadm didn't seem to have mdadm --zero-superblock /dev/sdc21:16
bluekingsuperblock wasn't recognized ?21:16
strixUKany suggestions about how i might keep packages between two systems synchronised?21:19
bluekingI get bad superblock on hdd  how to clean it ?21:21
bluekingon mdadm tutorial   there was mdadm --zero-superblock    is it still there ?21:24
ikoniawhy would you zero a superblock21:27
bluekingbecause I fail mount hdd21:29
ikoniabut zero'ing the superbblock won't fix that21:29
bluekingit's used after delete of raid array ?21:30
ikoniaoh, you want to destroy the array21:30
ikoniaI thought you where trying to fix a file system21:30
bluekingwell I've failed  mount/create raid array  after those two hdd's was used  in raid array in another linux distro21:31
ikoniamount and create array are two very different things21:31
ikoniaI'd think about and clarify what you want to do21:31
strixUKis there any way to find out what created an entry in passwd or group?21:33
strixUKi've just created a fresh ec2 instance and would like to get it looking as close to our main server as i can21:33
ikoniathe username normally gives you a clue21:33
strixUK"admin" :)21:33
ikoniawhy do you need to know what greated it then, creating the user accounts from the old password file is simple21:33
strixUK(group admin)21:34
ikoniathat's an ubuntu default group - legacy now21:34
strixUKah right21:34
strixUKditto lpadmin?21:35
ikoniathats printing21:36
bluekingikonia: tested some stuff seems I've done something wrong in fstab21:36
ikoniastrixUK: to be honest, what does it matter, just copy the uid/gid and re-create the users21:36
bluekingikonia:  could manual  mount those hdd's21:36
bluekinggets error when start up linux21:36
ikoniayou should not be maually mount hard disks that are part of a raid array21:36
strixUKsure.  i didn't install any print services on the current machine, so i'm guessing it was part of the base pkg.  "find / -group lpadmin" reports nothing anyway.21:37
bluekingfor moment they are not in array21:37
ikoniastrixUK: cups21:37
bluekingbut will be21:37
strixUKikonia: this is a backup server we're running in parallel21:37
ikoniastrixUK: so ?21:37
strixUKwhat's more important is keeping the installed packages in sync between them.  i could do it manually, but it'd be nice to have it done automatically.  looks like i can do something with dpkg --get-selections.21:40
strixUKi wonder if that will maintain the same state that aptitude generates21:40
ikoniasurly just getting an install package list and looping through them would just make it the same21:41
ikoniaor actually taking a proper backup of the source machine and restore to new target21:41
strixUKikonia: all possibilities worth considering21:43
strixUKsounds like there's no existing automated way of doing this, and tbh i probably won't install much new stuff on the live machine anyway, so doing it manually wouldn't be that hard.  automating a check to compare what's installed probably isn't difficult either.21:44
strixUKit's complicated slightly by the fact that the origins of these two machines are not identical.  they're both ubuntu 12.04, but one's the EC2 AMI that's evidently been customised somewhat for EC2.21:45
bluekinghmms22:58
bluekingshorewall not starting by default on startup of ubuntu ?22:58
=== NomadJim_ is now known as NomadJim
mvhentenHi, I'm having trouble with ufw: ufw enable23:52
mvhentenERROR: Could not load logging rules23:52
mvhentenI'm puling my hair because I just can't get a smtp server open23:52
sarnoldmvhenten: are there any errors in dmesg?23:52
mvhentenI see things like [UFW BLOCK]23:53
mvhentenbut nothing that hints me to what is wrong with ufw23:53
mvhentenalso ufw status verbose gives me: ERROR: problem running ip6tables23:53
=== thomi_ is now known as thomi
mvhentenI've been googling but mostly found outdated helpme's and some notes about re-compiling the kernel23:54
mvhentenbut AFAIK this should just work right?23:54
sarnoldmvhenten: it usually does Just Work..23:55
=== freeflying_away is now known as freeflying
mvhentenyes, it's not the first server I'm using ufw with23:55
sarnoldmvhenten: since so much of iptables functionality is done via modules, I was wondering if there were errors loading the kernel modules23:55
sarnoldit could be that your current running kernel doesnt have the required modules on disk any more if "old" kernel pcakages have been uninstalled...23:56
mvhentenmight need to install something then?23:56
mvhentenkernel is 2.6.32-042stab076.823:57
mvhententhat's a bit old23:57
mvhentenright?23:57
bekksIt is an vps kernel built by your hoster.23:58
sarnoldcheck dpkg -l linux-image-`uname -r`23:58
sarnoldoooooo23:58
bekksI bet you cant change it without breaking your vps.23:58
sarnoldare you in a container, rather than a VM?23:58
mvhentenah I see23:58
mvhentenNo packages found matching linux-image-2.6.32-042stab076.8.23:58
mvhentenI feel like im in a echo well23:59
mvhentennot a server23:59
sarnoldowww :(23:59
mvhentenso it's really a question for my hoster then23:59
mvhentenI've never had this kind of issue on normal hardware or an aws box23:59

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