[00:13] hello, first time user here. have stoopid question. [00:14] 1) am i in a chat room and is anybody there? [00:14] you are, we are [00:14] fantastic. i might not suck at this! [00:15] question will follow the preceeding line: [00:15] sudo ldapadd -Y EXTERNAL -H ldapi:/// -f backend.example.com.ldif [00:15] what in the WORLD does EXTERNAL -H do? [00:18] i ask at the risk of exposing my noobish skill. :) [00:19] I have precisely zero exposure to ldap, so all I could do is parrot the man page; but generic advice would be that if no-one replies, wait around a while - people do peek it, but not on a constant basis [00:19] understood, thank you [00:20] but I would check "man ldapadd" to see how it explains what -Y and -H are expecting (I don't have it installed). it's always a good start [00:20] maybe EXTERNAL is part of the internal working of LDAP because the man pages don't show up for EXTERNAL explicitly. must be buried in another man page [00:20] will do that. maybe i missed something [00:21] your inspiration is much appriciated [00:35] I'm building a package. Depending on the order of dh_installinit and dh_installdeb, the /etc/ files are either always updated or never updated. What I want is for dpkg to ask whether to replace if and only if both files have changed. I thought this was default behavior for conffiles. Any suggestions? === _monokrome is now known as monokrome === Brad_ is now known as Guest83103 [03:17] hi, how do i enable anon delete on my ftp server? im running vsftpd [03:19] hello? [03:23] Guest83103, greetings [03:23] Guest83103, can't answer, but you were seen ... [03:24] damn [03:24] im trying to add a website to my apache server via ftp [03:24] not going so good man [03:24] but i figured out how to edit the default apache page so i got that going for me [03:25] i got this domain for .50 cents man www.thatonecomputergeek.com === Ursinha is now known as Ursinha-afk [05:40] hey guys im having some issues with my ubuntu server, i upgraded my server and now every time i boot i get this [05:40] http://www.picpaste.com/photo_1-MXWtKCUT.JPG [05:40] http://www.picpaste.com/photo_2-wWifVpea.JPG [05:41] http://www.picpaste.com/photo_3-zEY2DWCE.JPG [05:41] can any one help me or guide me on how to get my server to boot normally and not in degraded raid mode? [05:47] villf: are you on a live cd now? [05:48] no i am booted in degraded mode [05:49] villf: what type of raid? [05:49] i believe its raid10 software raid [05:50] i think i was first getting a md10 not found error before, but now i have the option to boot in degraded raid mode [05:50] villf: ok. can you boot a live cd [05:50] okay brb [06:06] im booted in live cd now [06:07] villaf: ok: sudo apt-get install pastebinit [06:07] villaf: dmesg | pastebinit && pastebinit /var/log/syslog [06:09] ubuntu@ubuntu:~$ sudo apt-get install pastebinit [06:09] Reading package lists... Done [06:09] Building dependency tree [06:09] Reading state information... Done [06:09] E: Unable to locate package pastebinit [06:09] ubuntu@ubuntu:~$ [06:10] says unable to locate package pastebinit [06:11] villaf: sudo apt-get update && sudo apt-get install pastebinit [06:14] hitsujiTMO , i pmed you the result [06:14] E: Unable to locate package pastebinit [06:15] villaf: i can't see pms. can you enable the universe repo please. then try again [06:15] im sorry im rather inexperianced how do i enable universe repo? [06:18] sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe" [06:19] http://paste.ubuntu.com/6877358/ [06:19] http://paste.ubuntu.com/6877359/ [06:22] villaf: seeing serious errors straight away: [ 4.992198] EXT4-fs (sdb1): bad geometry: block count 244192478 exceeds size of device (262144 blocks) [06:22] [ 5.084152] EXT4-fs (sdd1): bad geometry: block count 244192478 exceeds size of device (262144 blocks) [06:23] is there any way i can somehow clone the data off that raid onto 1 500gig ssd drive? [06:23] villaf: i presume none of the drives are attached via usb? [06:24] villaf: usb issues: [ 195.436267] hub 4-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? [06:24] i have two 2 tb usb 3.0 drives attached to the server now, internally i have 4 500 gig sata drives [06:24] villaf: which drivers are involved in the raid? [06:25] you mean drives? i think all four 500 gig western digital drives [06:25] drives* [06:25] raid 1-0 or raid 10 [06:26] villaf: ok. sudo fdisk -l 2>&1 | pastebinit [06:26] http://paste.ubuntu.com/6877376/ [06:28] villaf: sudo mdadm --examine /dev/sd[abcd]1 [06:28] sudo: mdadm: command not found [06:29] villaf: sudo apt-get install mdadm [06:29] ever since i ran update of ubuntu this issue appeared [06:31] villaf: then once its installed: sudo mdadm --examine /dev/sd[abcd]1 [06:32] ubuntu@ubuntu:~$ sudo apt-get install mdadm [06:32] Reading package lists... Done [06:32] Building dependency tree [06:32] Reading state information... Done [06:32] The following extra packages will be installed: [06:32] postfix [06:32] Suggested packages: [06:32] procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre sasl2-bin [06:32] dovecot-common postfix-cdb postfix-doc [06:32] am i supposed to be installing postfix? [06:32] villaf: no harm. it wont actually be used [06:33] villaf: or: sudo apt-get install mdadm --no-install-recommends [06:38] http://paste.ubuntu.com/6877451/ [06:39] villaf: sudo mdadm --examine /dev/sd[abcd]2 | pastebinit [06:39] http://paste.ubuntu.com/6877455/ [06:40] villaf: are you missing b in that last one? [06:41] ? [06:41] villaf: are you missing b here? its missing from the output: sudo mdadm --examine /dev/sd[abcd]2 | pastebinit [06:42] mdadm: No md superblock detected on /dev/sdb2. [06:42] http://paste.ubuntu.com/6877474/ [06:42] villaf: ok. serous problems then [06:43] nice ;-/ [06:44] villaf: lsblk | pastebinit [06:44] http://paste.ubuntu.com/6877485/ [06:46] villaf: sorry that last bit should be: sudo blkid | pastebinit [06:46] http://paste.ubuntu.com/6877490/ [06:49] any glimmer of hope? [06:50] villaf: sudo mdadm --assemble /dev/md0 /dev/sda2 /dev/sdb2 [06:51] villaf: well, it looks like one of the mirrors might be intact at least, ans one of the md parts may not actually be used so it might be ok [06:51] ubuntu@ubuntu:~$ sudo mdadm --assemble /dev/md0 /dev/sda2 /dev/sdb2 [06:51] mdadm: no RAID superblock on /dev/sdb2 [06:51] mdadm: /dev/sdb2 has no superblock - assembly aborted [06:52] i know my data is all there [06:53] im able to boot in degraded mode and run apache and web server and all [06:55] villaf: might be best to recreate the raid0 on /dev/sda1 + /dev/sda2. then it my work. [06:56] how do i do that [06:56] villaf: do you know what params were used to create the raid in the first place? is it documented? [06:57] i have no documentation [06:57] is there anyway we can tell if i boot it in degraded mode? [06:58] when booted in degraded mode i have access to the local filesystem [06:58] villaf: not that i know of. [06:59] villaf: if you come back in a few hours there's a few peeps that me be able to help better than i can. [06:59] is there anyway i can like mount the array in live cd [07:00] and clone the data onto a clean 500gig ssd? [07:00] and just boot from the ssd with no raid? [07:01] villaf: sudo mdadm --assemble /dev/md1 /dev/sdc2 /dev/sdd2 [07:01] mdadm: /dev/md1 has been started with 2 drives. [07:02] villaf: sudo blkid /dev/md1 [07:03] /dev/md1: UUID="49dc4e8e-6cff-4ace-9307-0278ca483289" UUID_SUB="987eb754-f646-5a97-ffe3-d0ba5f63df10" LABEL="server:10" TYPE="linux_raid_member" [07:04] villaf: sudo mdadm /dev/md2 /dev/md1 [07:04] villaf: sudo mdadm --assemble /dev/md2 /dev/md1 [07:05] mdadm: An option must be given to set the mode before a second device [07:05] (/dev/md1) is listed [07:05] mdadm: /dev/md2 has been started with 1 drive (out of 2). [07:05] villaf: sorry missed the option ^ [07:05] yay! i see it [07:05] villaf: sudo blkid /dev/md2 [07:05] its mounted [07:06] /dev/md2: UUID="e506b79d-cd73-4d95-a61b-1ee3c169ad17" TYPE="ext4" [07:07] villaf: ok. you would need to change partitions in fstab and the grub config in /boot (boot is in one of /dev/sd[abcd]1) [07:08] for the ssd? [07:08] villaf: yup [07:08] villaf: i have to sign off for a bit. good look [07:08] i have no idea how to do that [07:09] villaf: get your data first anyway. thats the most important bit === freeflying_away is now known as freeflying === bradm1 is now known as bradm === lool- is now known as lool === freeflying is now known as freeflying_away === yofel_ is now known as yofel [11:48] starting from 20140129, trusty server minimal installs for amd64 is ~37MB larger than the i386 ones. [11:48] it is roughly 32MB overhead that is being used in the smoke tests. [11:48] i could not find the package that started the bloat. [11:48] dont know the significance either. but could adjust the smoke test if this is not a big issue [11:49] jamespage: hallyn rbasak ^. just in case it interests you === gary_poster|away is now known as gary_poster === Ursinha-afk is now known as Ursinha === medberry is now known as med_ === freeflying_away is now known as freeflying === railsraider_ is now known as railsraider === chmurifree is now known as chmuri === freeflying is now known as freeflying_away === freeflying_away is now known as freeflying === freeflying is now known as freeflying_away === freeflying_away is now known as freeflying [15:18] psivaa: you say "it is roughly 32MB overhead used i the smoke test" - not sure what yo umean by that. [15:20] hallyn: i meant amd64 limit was 32MB more than that for i386 minimal installs, for install_size: [15:20] http://bazaar.launchpad.net/~ubuntu-server-dev/ubuntu-test-cases/server-tests-raring/view/head:/testsuites/minimal-virtual/test_install_size/test.py#L43 [15:45] I'm trying to figure out why my files in /etc are not being treated as described here: http://www.debian.org/doc/manuals/maint-guide/dother.en.html#conffiles [15:51] mgw: what do you mean ? [15:51] what's not happening that you expect to happen === freeflying is now known as freeflying_away [15:56] ikonia: depending on the order of dh_installinit and dh_installdeb, they're either always or never replaced [15:57] do you mean existing files are not replaced ? [15:58] I think I figured it out, I think it was the order in the old package === Guest19773 is now known as mfisch === mfisch is now known as Guest56115 === ersi is now known as ersi_ === ersi_ is now known as ersi === PeterS is now known as PeterSchwaller [18:03] hallyn: is this error message from useradd expected? "useradd: /etc/subgid konnte nicht gesperrt werden; versuchen Sie es später noch einmal." https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1276714 [18:03] Launchpad bug 1276714 in openssh "package openssh-server 1:6.2p2-6ubuntu0.1 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück" [Undecided,New] [18:10] sarnold: hm, no; did useradd previously hang or something? [18:10] does /etc/subgid show up in /proc/locks? [18:10] oh i see: line above that says "useradd: existing lock file /etc/subgid.lock without a PID [18:11] hallyn: oh cool! I've not seen /proc/locks before. [18:12] sarnold: well i don't see anything in dmesg, but it sure looks like a previous usermod/userad mustve crashed [18:12] hallyn: any idea what would lead to a crash in usermod/useradd? [18:13] no. i thought we were pretty well protected [18:13] same here [18:13] rechecking termlog [18:14] well there is: adduser: »/usr/sbin/useradd -d /var/lib/nfs -g nogroup -s /bin/false -u 142 statd« gab den Fehlercode 18 zurück. Programmende. [18:14] oh that came after the first lockfile [18:16] cani reproduce? [18:16] I haven't tried [18:18] well this is messed up. ec2 host cant' fidn any nfs packages [18:21] hallyn: in a saucy VM I installed nfs-kernel-server without trouble. it obviously takes more than that alone.. [18:23] sarnold: yeah ditto. also can'tn reproduce it with 'for i in `seq 1 10`; do sudo usermod -w 90000-99000 ubuntu' [18:23] hallyn: well, alright, thanks for giving it a look. I'll keep an eye out to see if more like this show up.. [18:24] sarnold: now really i guess usermod should remove the empty lock file if it exists. [18:24] sarnold: 'touch /etc/subgid.lock; usermod -w 99000-1000000 ubuntu' will never recover without manual intervention. not sure if that's wanted [18:25] hallyn: it feels like cleaning up after stale locks is expected these days, but I understand the hesitation.. [18:28] might be worth asking for his /var/log/syslog{,.*} === lynxman_ is now known as lynxman === pcwhite is now known as PaulW2U === Guest56115 is now known as mfisch === mfisch is now known as Guest73201 [20:31] Quick question: when do the rules (conf files) for the cgrules and cgred daemon take effect? Do i need to restart my box? or will restarting the daemons suffice? [20:34] not what I want to see on Ec2: Feb 5 20:33:22 heed-1 kernel: [84730.984521] apt-get[6130]: segfault at 7f9fff1dd154 ip 00007fa0004b41c9 sp 00007fff37c00f70 error 6 in libapt-pkg.so.4.12.0[7fa0003df000+121000] [20:34] almost nothing requires restarting the whole machine -- kernel upgrades require it, libc upgrades mostly require it. Most evreything else could be done some way to not require reboot.. [20:34] jrwren: o_O odd. [20:35] Underbyte: so, based on that, I think restarting the daemon should be sufficient :) [20:35] sarnold: very odd. this makes me very sad. [20:39] oh well, worked around === alaing_away is now known as alaing [20:41] kirkland: I thought you'd like this http://blog.cr.yp.to/20140205-entropy.html === rap424_ is now known as rap424 === ossurayynot is now known as tonyyarusso === wam is now known as debugger === debugger is now known as wam [23:12] how can i make apt install things without worrying about some unrelated broken dependancies? [23:13] kermit: what do you mean? [23:14] kermit: if you do so, you would break your box. [23:14] kermit: dependencies and the unability to ignore them being broken saves you from breaking your box. [23:15] kermit: Whats the actual problem leading to your question? [23:15] not being able to install things with apt is fairly broken.. http://pastebin.com/M0RpwNVH i dont want it to touch my pidgin setup, i want to keep the version i'm using. [23:16] how on earth did you get your system so broken in the first place? o_O [23:17] o.O [23:17] Wow, that looks broken far beyond messed up pidgin deps. [23:17] I mean, I can appreciate juts wanting to leave all that mess alone and getting bcrypt installed, but .. wow. [23:20] kermit: my first thought it abusing the equivs package to build up some fake packages with matching version numbers, but .. I don't think that would work well, since you want the real packages installed. [23:20] kermit: that'll be difficult to maintain. [23:20] kermit: good luck :) time for me to run === freeflying_away is now known as freeflying