redneckJEDI | hello, first time user here. have stoopid question. | 00:13 |
---|---|---|
redneckJEDI | 1) am i in a chat room and is anybody there? | 00:14 |
shauno | you are, we are | 00:14 |
redneckJEDI | fantastic. i might not suck at this! | 00:14 |
redneckJEDI | question will follow the preceeding line: | 00:15 |
redneckJEDI | sudo ldapadd -Y EXTERNAL -H ldapi:/// -f backend.example.com.ldif | 00:15 |
redneckJEDI | what in the WORLD does EXTERNAL -H do? | 00:15 |
redneckJEDI | i ask at the risk of exposing my noobish skill. :) | 00:18 |
shauno | 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 |
redneckJEDI | understood, thank you | 00:19 |
shauno | 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 |
redneckJEDI | 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 |
redneckJEDI | will do that. maybe i missed something | 00:20 |
redneckJEDI | your inspiration is much appriciated | 00:21 |
mgw | 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? | 00:35 |
=== _monokrome is now known as monokrome | ||
=== Brad_ is now known as Guest83103 | ||
Guest83103 | hi, how do i enable anon delete on my ftp server? im running vsftpd | 03:17 |
Guest83103 | hello? | 03:19 |
cfhowlett | Guest83103, greetings | 03:23 |
cfhowlett | Guest83103, can't answer, but you were seen ... | 03:23 |
Guest83103 | damn | 03:24 |
Guest83103 | im trying to add a website to my apache server via ftp | 03:24 |
Guest83103 | not going so good man | 03:24 |
Guest83103 | but i figured out how to edit the default apache page so i got that going for me | 03:24 |
Guest83103 | i got this domain for .50 cents man www.thatonecomputergeek.com | 03:25 |
=== Ursinha is now known as Ursinha-afk | ||
villf | 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 |
villf | http://www.picpaste.com/photo_1-MXWtKCUT.JPG | 05:40 |
villf | http://www.picpaste.com/photo_2-wWifVpea.JPG | 05:40 |
villf | http://www.picpaste.com/photo_3-zEY2DWCE.JPG | 05:41 |
villf | can any one help me or guide me on how to get my server to boot normally and not in degraded raid mode? | 05:41 |
hitsujiTMO | villf: are you on a live cd now? | 05:47 |
villf | no i am booted in degraded mode | 05:48 |
hitsujiTMO | villf: what type of raid? | 05:49 |
villf | i believe its raid10 software raid | 05:49 |
villf | 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 |
hitsujiTMO | villf: ok. can you boot a live cd | 05:50 |
villf | okay brb | 05:50 |
villaf | im booted in live cd now | 06:06 |
hitsujiTMO | villaf: ok: sudo apt-get install pastebinit | 06:07 |
hitsujiTMO | villaf: dmesg | pastebinit && pastebinit /var/log/syslog | 06:07 |
villaf | ubuntu@ubuntu:~$ sudo apt-get install pastebinit | 06:09 |
villaf | Reading package lists... Done | 06:09 |
villaf | Building dependency tree | 06:09 |
villaf | Reading state information... Done | 06:09 |
villaf | E: Unable to locate package pastebinit | 06:09 |
villaf | ubuntu@ubuntu:~$ | 06:09 |
villaf | says unable to locate package pastebinit | 06:10 |
hitsujiTMO | villaf: sudo apt-get update && sudo apt-get install pastebinit | 06:11 |
villaf | hitsujiTMO , i pmed you the result | 06:14 |
villaf | E: Unable to locate package pastebinit | 06:14 |
hitsujiTMO | villaf: i can't see pms. can you enable the universe repo please. then try again | 06:15 |
villaf | im sorry im rather inexperianced how do i enable universe repo? | 06:15 |
villaf | sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe" | 06:18 |
villaf | http://paste.ubuntu.com/6877358/ | 06:19 |
villaf | http://paste.ubuntu.com/6877359/ | 06:19 |
hitsujiTMO | villaf: seeing serious errors straight away: [ 4.992198] EXT4-fs (sdb1): bad geometry: block count 244192478 exceeds size of device (262144 blocks) | 06:22 |
hitsujiTMO | [ 5.084152] EXT4-fs (sdd1): bad geometry: block count 244192478 exceeds size of device (262144 blocks) | 06:22 |
villaf | is there any way i can somehow clone the data off that raid onto 1 500gig ssd drive? | 06:23 |
hitsujiTMO | villaf: i presume none of the drives are attached via usb? | 06:23 |
hitsujiTMO | villaf: usb issues: [ 195.436267] hub 4-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? | 06:24 |
villaf | i have two 2 tb usb 3.0 drives attached to the server now, internally i have 4 500 gig sata drives | 06:24 |
hitsujiTMO | villaf: which drivers are involved in the raid? | 06:24 |
villaf | you mean drives? i think all four 500 gig western digital drives | 06:25 |
hitsujiTMO | drives* | 06:25 |
villaf | raid 1-0 or raid 10 | 06:25 |
hitsujiTMO | villaf: ok. sudo fdisk -l 2>&1 | pastebinit | 06:26 |
villaf | http://paste.ubuntu.com/6877376/ | 06:26 |
hitsujiTMO | villaf: sudo mdadm --examine /dev/sd[abcd]1 | 06:28 |
villaf | sudo: mdadm: command not found | 06:28 |
hitsujiTMO | villaf: sudo apt-get install mdadm | 06:29 |
villaf | ever since i ran update of ubuntu this issue appeared | 06:29 |
hitsujiTMO | villaf: then once its installed: sudo mdadm --examine /dev/sd[abcd]1 | 06:31 |
villaf | ubuntu@ubuntu:~$ sudo apt-get install mdadm | 06:32 |
villaf | Reading package lists... Done | 06:32 |
villaf | Building dependency tree | 06:32 |
villaf | Reading state information... Done | 06:32 |
villaf | The following extra packages will be installed: | 06:32 |
villaf | postfix | 06:32 |
villaf | Suggested packages: | 06:32 |
villaf | procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre sasl2-bin | 06:32 |
villaf | dovecot-common postfix-cdb postfix-doc | 06:32 |
villaf | am i supposed to be installing postfix? | 06:32 |
hitsujiTMO | villaf: no harm. it wont actually be used | 06:32 |
hitsujiTMO | villaf: or: sudo apt-get install mdadm --no-install-recommends | 06:33 |
villaf | http://paste.ubuntu.com/6877451/ | 06:38 |
hitsujiTMO | villaf: sudo mdadm --examine /dev/sd[abcd]2 | pastebinit | 06:39 |
villaf | http://paste.ubuntu.com/6877455/ | 06:39 |
hitsujiTMO | villaf: are you missing b in that last one? | 06:40 |
villaf | ? | 06:41 |
hitsujiTMO | villaf: are you missing b here? its missing from the output: sudo mdadm --examine /dev/sd[abcd]2 | pastebinit | 06:41 |
villaf | mdadm: No md superblock detected on /dev/sdb2. | 06:42 |
villaf | http://paste.ubuntu.com/6877474/ | 06:42 |
hitsujiTMO | villaf: ok. serous problems then | 06:42 |
villaf | nice ;-/ | 06:43 |
hitsujiTMO | villaf: lsblk | pastebinit | 06:44 |
villaf | http://paste.ubuntu.com/6877485/ | 06:44 |
hitsujiTMO | villaf: sorry that last bit should be: sudo blkid | pastebinit | 06:46 |
villaf | http://paste.ubuntu.com/6877490/ | 06:46 |
villaf | any glimmer of hope? | 06:49 |
hitsujiTMO | villaf: sudo mdadm --assemble /dev/md0 /dev/sda2 /dev/sdb2 | 06:50 |
hitsujiTMO | 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 |
villaf | ubuntu@ubuntu:~$ sudo mdadm --assemble /dev/md0 /dev/sda2 /dev/sdb2 | 06:51 |
villaf | mdadm: no RAID superblock on /dev/sdb2 | 06:51 |
villaf | mdadm: /dev/sdb2 has no superblock - assembly aborted | 06:51 |
villaf | i know my data is all there | 06:52 |
villaf | im able to boot in degraded mode and run apache and web server and all | 06:53 |
hitsujiTMO | villaf: might be best to recreate the raid0 on /dev/sda1 + /dev/sda2. then it my work. | 06:55 |
villaf | how do i do that | 06:56 |
hitsujiTMO | villaf: do you know what params were used to create the raid in the first place? is it documented? | 06:56 |
villaf | i have no documentation | 06:57 |
villaf | is there anyway we can tell if i boot it in degraded mode? | 06:57 |
villaf | when booted in degraded mode i have access to the local filesystem | 06:58 |
hitsujiTMO | villaf: not that i know of. | 06:58 |
hitsujiTMO | 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 |
villaf | is there anyway i can like mount the array in live cd | 06:59 |
villaf | and clone the data onto a clean 500gig ssd? | 07:00 |
villaf | and just boot from the ssd with no raid? | 07:00 |
hitsujiTMO | villaf: sudo mdadm --assemble /dev/md1 /dev/sdc2 /dev/sdd2 | 07:01 |
villaf | mdadm: /dev/md1 has been started with 2 drives. | 07:01 |
hitsujiTMO | villaf: sudo blkid /dev/md1 | 07:02 |
villaf | /dev/md1: UUID="49dc4e8e-6cff-4ace-9307-0278ca483289" UUID_SUB="987eb754-f646-5a97-ffe3-d0ba5f63df10" LABEL="server:10" TYPE="linux_raid_member" | 07:03 |
hitsujiTMO | villaf: sudo mdadm /dev/md2 /dev/md1 | 07:04 |
hitsujiTMO | villaf: sudo mdadm --assemble /dev/md2 /dev/md1 | 07:04 |
villaf | mdadm: An option must be given to set the mode before a second device | 07:05 |
villaf | (/dev/md1) is listed | 07:05 |
villaf | mdadm: /dev/md2 has been started with 1 drive (out of 2). | 07:05 |
hitsujiTMO | villaf: sorry missed the option ^ | 07:05 |
villaf | yay! i see it | 07:05 |
hitsujiTMO | villaf: sudo blkid /dev/md2 | 07:05 |
villaf | its mounted | 07:05 |
villaf | /dev/md2: UUID="e506b79d-cd73-4d95-a61b-1ee3c169ad17" TYPE="ext4" | 07:06 |
hitsujiTMO | 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:07 |
villaf | for the ssd? | 07:08 |
hitsujiTMO | villaf: yup | 07:08 |
hitsujiTMO | villaf: i have to sign off for a bit. good look | 07:08 |
villaf | i have no idea how to do that | 07:08 |
hitsujiTMO | villaf: get your data first anyway. thats the most important bit | 07:09 |
=== 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 | ||
psivaa | starting from 20140129, trusty server minimal installs for amd64 is ~37MB larger than the i386 ones. | 11:48 |
psivaa | it is roughly 32MB overhead that is being used in the smoke tests. | 11:48 |
psivaa | i could not find the package that started the bloat. | 11:48 |
psivaa | dont know the significance either. but could adjust the smoke test if this is not a big issue | 11:48 |
psivaa | jamespage: hallyn rbasak ^. just in case it interests you | 11:49 |
=== 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 | ||
hallyn | psivaa: you say "it is roughly 32MB overhead used i the smoke test" - not sure what yo umean by that. | 15:18 |
psivaa | hallyn: i meant amd64 limit was 32MB more than that for i386 minimal installs, for install_size: | 15:20 |
psivaa | 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:20 |
mgw | 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:45 |
ikonia | mgw: what do you mean ? | 15:51 |
ikonia | what's not happening that you expect to happen | 15:51 |
=== freeflying is now known as freeflying_away | ||
mgw | ikonia: depending on the order of dh_installinit and dh_installdeb, they're either always or never replaced | 15:56 |
ikonia | do you mean existing files are not replaced ? | 15:57 |
mgw | I think I figured it out, I think it was the order in the old package | 15:58 |
=== 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 | ||
sarnold | 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 |
uvirtbot | 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:03 |
hallyn | sarnold: hm, no; did useradd previously hang or something? | 18:10 |
hallyn | does /etc/subgid show up in /proc/locks? | 18:10 |
hallyn | oh i see: line above that says "useradd: existing lock file /etc/subgid.lock without a PID | 18:10 |
sarnold | hallyn: oh cool! I've not seen /proc/locks before. | 18:11 |
hallyn | sarnold: well i don't see anything in dmesg, but it sure looks like a previous usermod/userad mustve crashed | 18:12 |
sarnold | hallyn: any idea what would lead to a crash in usermod/useradd? | 18:12 |
hallyn | no. i thought we were pretty well protected | 18:13 |
sarnold | same here | 18:13 |
hallyn | rechecking termlog | 18:13 |
hallyn | 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 |
hallyn | oh that came after the first lockfile | 18:14 |
hallyn | <shrug> cani reproduce? | 18:16 |
sarnold | I haven't tried | 18:16 |
hallyn | well this is messed up. ec2 host cant' fidn any nfs packages | 18:18 |
sarnold | hallyn: in a saucy VM I installed nfs-kernel-server without trouble. it obviously takes more than that alone.. | 18:21 |
hallyn | sarnold: yeah ditto. also can'tn reproduce it with 'for i in `seq 1 10`; do sudo usermod -w 90000-99000 ubuntu' | 18:23 |
sarnold | hallyn: well, alright, thanks for giving it a look. I'll keep an eye out to see if more like this show up.. | 18:23 |
hallyn | sarnold: now really i guess usermod should remove the empty lock file if it exists. | 18:24 |
hallyn | sarnold: 'touch /etc/subgid.lock; usermod -w 99000-1000000 ubuntu' will never recover without manual intervention. not sure if that's wanted | 18:24 |
sarnold | hallyn: it feels like cleaning up after stale locks is expected these days, but I understand the hesitation.. | 18:25 |
hallyn | might be worth asking for his /var/log/syslog{,.*} | 18:28 |
=== lynxman_ is now known as lynxman | ||
=== pcwhite is now known as PaulW2U | ||
=== Guest56115 is now known as mfisch | ||
=== mfisch is now known as Guest73201 | ||
Underbyte | 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:31 |
jrwren | 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 |
sarnold | 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 |
sarnold | jrwren: o_O odd. | 20:34 |
sarnold | Underbyte: so, based on that, I think restarting the daemon should be sufficient :) | 20:35 |
jrwren | sarnold: very odd. this makes me very sad. | 20:35 |
jrwren | oh well, worked around | 20:39 |
=== alaing_away is now known as alaing | ||
sarnold | kirkland: I thought you'd like this http://blog.cr.yp.to/20140205-entropy.html | 20:41 |
=== rap424_ is now known as rap424 | ||
=== ossurayynot is now known as tonyyarusso | ||
=== wam is now known as debugger | ||
=== debugger is now known as wam | ||
kermit | how can i make apt install things without worrying about some unrelated broken dependancies? | 23:12 |
sarnold | kermit: what do you mean? | 23:13 |
bekks | kermit: if you do so, you would break your box. | 23:14 |
bekks | kermit: dependencies and the unability to ignore them being broken saves you from breaking your box. | 23:14 |
bekks | kermit: Whats the actual problem leading to your question? | 23:15 |
kermit | 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:15 |
sarnold | how on earth did you get your system so broken in the first place? o_O | 23:16 |
bekks | o.O | 23:17 |
bekks | Wow, that looks broken far beyond messed up pidgin deps. | 23:17 |
sarnold | I mean, I can appreciate juts wanting to leave all that mess alone and getting bcrypt installed, but .. wow. | 23:17 |
sarnold | 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 |
sarnold | kermit: that'll be difficult to maintain. | 23:20 |
sarnold | kermit: good luck :) time for me to run | 23:20 |
=== freeflying_away is now known as freeflying |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!