[00:42] LowValueTarget: to answer your earlier question, you can in fact use an ssh bouncer as a key logger. [00:44] LowValueTarget: however, it would probably require modifying openssh, unless they've added the "spy on users" option recently. [00:45] found this.... http://www.balabit.com/network-security/scb [00:45] that may be what we need [00:45] this is for PCI .... [00:47] LowValueTarget: My last PCI work was years ago.. but then, it just required access logging.. you didn't have to keep a log of every session. [00:48] LowValueTarget: you can also use netcat to avoid the key logging. in /etc/.ssh/config: [00:48] Host *%* [00:48] ProxyCommand ssh $(echo %h | cut -d% -f1) nc -q0 $(echo %h | cut -d% -f2) %p [00:48] then you can ssh server2%server1 [00:48] Right, unless you have the cooperation of sshd itself, its not going to catch everything. [00:52] SpamapS: And it goes on.... http://bit.ly/hFY90p [00:57] Oh wow [00:58] kees: btw, current ssh versions don't need nc on the far end, ssh -W [01:02] I had to use -d%% to make it work with 5.5p1 [01:06] Doesn't work so well if you try to use @'s in there [01:08] Oh, and of course you can use pattern substitution [01:10] ARGH, ssh adds "exec" to the string [01:10] Not exactly an improvement: ProxyCommand sh -c 'h="%h"; exec ssh "${h%%,*}" -W "${h#*,}":%p' [01:11] ProxyCommand >/dev/stdout; h="%h"; exec ssh "${h%%,*}" -W "${h#*,}":%p [01:12] New bug: #682831 in plymouth (main) "lost console output early in boot" [Medium,Fix released] https://launchpad.net/bugs/682831 [01:21] Grrr... I with there was a channel for PlanetPlanet. The software is amazing but just a little help would be great. [01:57] Anyone in here use ODBC Connection to connect to their Mysql server?? [01:58] Im using Ubuntu 10.10 Server trying to get an access frontend to dump to mysql backend [02:21] AkakuMatt: why don't you just use mysql(1) ? === jjohansen is now known as jj-afk [02:41] I have unencrypted ldap working (ldap://127.0.0.1). I've told slapd to use ldaps:///, too, but when I try to ldapsearch -xHldaps://127.0.0.1, I get "ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)" [02:41] This is not useful for debugging. How do I get more debugging output from ldapsearch about the SSL failure? [02:45] OK, -d3 yields TLS: peer cert untrusted or revoked (0x42) [03:42] New bug: #692838 in bind9 (main) "package bind9 1:9.7.0.dfsg.P1-1ubuntu0.1 failed to install/upgrade: el subproceso script post-installation instalado devolvió el código de salida de error 1" [Undecided,New] https://launchpad.net/bugs/692838 [04:12] hello, i'm trying to find the correct way to set the console res in ubuntu server 10.04 [04:12] but i don't seem to be able to find anything relevant [04:12] am i just being blind or is there something out there? [05:26] Hi, I am having problems setting my fan speed atm I have tried echoing different values to both the PWM and acpi fan files but the fan is still stuck @ 100% [05:27] Is there a way to manually set the values myself (control fanspeed)? [05:29] EspadaV8_W: if the framebuffer driver you're using is compiled in, pass video=foofb:1024x768-16, where foofb is the driver [05:29] EspadaV8_W: if it isn't compiled in, "foofb 1024x768-16" in /etc/modules *I think*( [05:30] EspadaV8_W: you can also change the *font size* by issuing "dpkg-reconfigure console-setup" [05:31] how do i find out what driver it is? (i'm installing inside vmware fusion, without the vmware drivers installed atm) [05:31] I don't provide support for vmware, but I would guess vesafb or vga16fb [05:31] fbcon? [05:31] fbcon is the in-kernel terminal emulator that's built on top of the framebuffer. [05:31] ah, i have vga16fb in lsmod [05:33] ah, ok, thanks [05:33] i'll try doing that [05:34] GRUB_CMDLINE_LINUX_DEFAULT="video=vga16fb:1024x768-16" [05:34] does that look ok? [05:36] I don't know [05:36] If lsmod lists it, then there's no point telling the KERNEL to load it, because it's not compiled in [05:37] I guess you have to fight all the plymouth-related voodoo that's in ubuntu ramdisk and init nowadays [05:38] it is in lsmod, so i passed what you mentioned in that GRUB2 line [05:39] i've got around having a low res by ssh-ing from my host, but it's annoying [05:39] the docs for Ubuntu seem to be very lacking [05:40] I am trying to set a value in /sys/class/hwmon/hwmon1/device/pwm1 , to lower my fan speed but when I save the file i get a E667: sync error in vim [05:42] dragoon123: uh, don't use an editor to manipulate /sys and /proc [05:45] twb: How do I go about adjusting the speed manually? [05:47] echo datum >/sys/foo/bar/baz [05:47] printf, if you want to be anal [05:49] Hmm, the value does not change after I run the command [05:49] still stuck @ 255 pwm [05:51] any ideas? [06:54] sudo? [07:49] 08:49:11 up 12 days, 21:53, 2 users, load average: 55.18, 29.65, 12.68 [07:51] RoyK: call me when it gets to 400.. ;) [07:51] hehe [07:52] SpamapS: old c2d machine running 5 VMs with only a mirror of drives ... i/o sucks quite hard on that one compared to what it should have been [07:53] Best load average story I ever had was when a woody box running on an old AMD 5x86-133 w/ 512MB of RAM and a single crappy disk hit 400+ because of a spam flood. The most awesome part was, I let it churn.. and 36 hours later.. it returned to a load under 1.00 [07:54] decent memory load, I guess, then [07:55] linux usually can't (or at least couldn't back then) handle very rough memory loads [07:55] It was swapping like crazy [07:55] this was before spamd [07:55] spamassassin was just forking once for every mail [07:56] so there were hundreds of spamassassin's running, swapping in and out [07:56] then it's a wonder it didn't crash :P [07:57] I actually think crashing would be preferrable to being tied up for 36 hours [07:59] 'cept such a crash would make the server hang :P [08:00] so no cigar [08:01] Which is why I tend to suggest people have remote power control. :) [08:01] think about it [08:01] 36 hours of non usability [08:02] that is never acceptible [08:18] aaaaaaaargh [08:18] Debian bug #549168 affects lucid [08:18] Debian bug 549168 in rsyslog "high memory usage when using TLS netstream driver" [Important,Fixed] http://bugs.debian.org/549168 [08:18] (At least, the version predates the fix (which is in natty); I'm about to test it [09:20] hi, new to ubuntu. with ubuntu-server 10.10, why the file /etc/apt/apt.conf.d/10periodic does not exist? by reading the ubuntu-server serverguide, I supposed to edit this file. this serverguide doesn't ask users to create the file, instead, it uses the word 'edit'. thanks. [09:23] sgo11: it means that automatic updates are not enabled [09:24] sgo11: https://help.ubuntu.com/10.10/serverguide/C/automatic-updates.html [09:24] gobbe, thanks. then how to enable it? I followed the serverguide. install unattended-upgrades and then /etc/init.d/unattended-upgrades restart even if the serverguide doesn't ask me to start the service. [09:24] sgo11: read my link [09:25] sgo11: about in halfway, there's line starting with "To enable automatic updates" [09:26] gobbe, it writes "To enable automatic updates, edit /etc/apt/apt.conf.d/10periodic". but I don't have that file. that was my question. [09:26] yes, then you create it [09:26] I am wondering if I supposed to create the file by myself or the file should be created by the system. [09:26] and add lines that are listed there [09:26] no, you need to create it with editing :) [09:27] gobbe, it writes "To enable automatic updates, edit /etc/apt/apt.conf.d/10periodic". but I don't have that file. that was my question. [09:27] gobbe, sorry. something wrong with my xchat. [09:27] :) [09:28] so just open the file in editor, if you want you can cerate empty file before that ofcourse with touch [09:28] gobbe, ok. thanks. that is the answer to my question. some guy should modify the serverguide, use the word 'create' instead of 'edit'. :) sure. I can create a new file. thanks for the help. [09:29] hi, im spanish, i need help on webmin and virtualhost, 3 domains, but only open 1... [09:29] gobbe, btw, how can I check if unattended-upgrade service is running or not? I tried /etc/init.d/unattended-upgrades status. it doesn't support the option status. [09:29] sgo11: well, you can edit the file even when it's not there, so basicly documentation is ok ;) [09:31] sgo11: just restart it if you are not sure, it's jsut a python script [09:32] gobbe, oh. it's a python script... let me read it. I am wondering who is reading the file 10periodic. [10:21] where's jdub.. :( [10:21] I need that rascal [10:22] Anyone else in here know anything about PlanetPlanet? I'm not figuring out why the div's aren't closing correctly - http://cache.gyazo.com/e01b784fff1158c42d93aadbf39fbd8f.png - my template: http://dpaste.com/288955/ === demon_spork is now known as demonspork === lifeless_ is now known as lifeless [10:57] Hello, I have an HP server with 4 xeons and 26 gigs of memory. I want to run virtualization server on it and I am not sure what kind of RAID scenario and FS to use. It is gonna be a general purpose virtualizations server. I guess I need a FS that can be expanded later, what can you recommend? [11:01] grmph [11:01] alias vim='sudo apt-get install vim ; vim' [11:02] mauser: don't use FS at all [11:02] mauser: use LVM and give your VMs logical volume [11:18] Hey guys, what's the best way to get kvm-0.13 on maverick ?! [11:21] ivoks, LVM does stripe only, right? do I need to use some sort of underlying redundancy tehnique, like RAID1? [11:24] mauser: i wasn't talking about storage configuration, but VM configuration [11:24] mauser: as for storage, you know what you have, now many disks you have and what raid would fit you best [11:27] New bug: #692940 in mysql-dfsg-5.1 (main) "package libmysqlclient16 (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/libmysqlclient.so.16.0.0', which is also in package mysql-cluster-client-5.1 0:7.0.9-1ubuntu7" [Undecided,New] https://launchpad.net/bugs/692940 [12:29] hi .. we have a ubuntu server machine which has dhcp running on it.. we want to ssh into one of the systems gettings its dhcp from outside the network .. .how can we do this ? [12:38] jits: just run sshd on that machine and connect with a ssh client to it (e. g. using its hostname or its IP address). ssh and dhcp really do not have much in common... [12:38] jits: do you mean that your server machine acts as a dhcp server? or that it get its own IP address via DHCP and you need to find out what its external IP is? === j3z_ is now known as j3z [12:48] timo: server machine acts as dhcp server.. [12:48] he wants to ssh into basically a desktop machine behind the server machine [12:48] so he needs to read the dhcp logs, or use nmap or something [12:48] Patrickdk: yeah .. thats [12:49] Patrickdk: i need to allow incoming ssh connection on the network gateway .. to all systems.. how do i do that ? [12:50] Patrickdk: assuming that i know the target ip .. === jussi01 is now known as jussi [13:06] hii guys.. is it possible to mount a network drive on a ubuntu server over the WAN? [13:06] please let me know [13:09] how do i allow ssh from outside thru my network gateway ? [13:16] jits_: securely? http://ubuntuforums.org/showthread.php?t=831372 worked for me [13:22] guys... anyway I can do this? [13:22] Im trying to mount it as nfs, cifs.. but it doesn't work [13:23] it says " wrong fs type, bad option, ......." [13:24] first, what is a network drive? :) [13:24] i mean.. a drive connected and which has an IP on the subnet [13:24] sftp? ftp? smb? nfs? [13:24] it's an NTFS drive [13:24] you can't access ntfs over a network [13:24] I have mounted it on local subnet machines as nfs [13:25] well, use a vpn [13:57] hi guys.. after making a change to the crontab... do i need to restart the cron service? [13:58] twister004: no [13:58] ok thanks pmatulis!!! === doko__ is now known as doko [14:03] no, as long as you used crontab to make the change :) [14:04] guys... what if I put a script under /etc/cron.d... do I have to restart the service... [14:05] im asking coz this is not working ... i have not restarted the service yet [14:06] check syslog [14:06] you probably have made a mistake [14:07] oh, using the /etc/cron.* you don't have to touch cron at all :) [14:07] i have put in a script under /etc/cron.d/ [14:08] How can i be sure if cron is checking for files under /etc/cron.d/? [14:09] I wouldn't bother with that so much [14:09] Iwould bother checking your cron logfile [14:09] why so? [14:09] to see what it says [14:09] you can see by noticing a line RELOAD in syslog :) [14:09] patdk-wk... where is this log?? [14:10] depends on your syslog program [14:10] normally /var/log/cron [14:11] there's no such file on my system [14:13] looks to be logged in /var/log/syslog I guess, by default [14:13] guys.. i get Error: bad username; [14:13] well, fix it :) [14:14] what could it be? [14:14] *bad username* [14:14] pretty self explanitory there [14:15] the permissions are right... Im just pinging an IP in the script [14:15] I bet you attempted to make a normal crontab file, instead of a cron.d type file [14:15] so you screwed it up [14:15] and forgot to put the username in it [14:16] ?? [14:24] why can't ai create a normal script there?.. like in crontab?... please let me know... im new to this [14:24] twister004: pastebin your cron file for more assistance [14:24] twister004: (like pastebin.ca) [14:25] ok... http://pastebin.com/5RUkiqpJ... here it is [14:25] twister004, like patdk-wk said, you forgot the username [14:25] where do i put the username? [14:26] it is the field before the command [14:26] you should have other files in cron.d/ to use as a reference [14:26] I personally prefer putting stuff into my user's crontab, easier to manage that way. [14:26] yes [14:27] im refering to them.. after the time parameters, I see "root"? [14:27] Pici, that does make more sense in this case [14:27] twister004, yep, those are run as root [14:27] twister004, so why arent you using `crontab -e` like normal? [14:27] i thought of segregating [14:27] crontab works fine [14:28] but that is segregated... [14:28] i think I should go with crontab.. [14:28] I'll take your advice! [14:28] thanks guys!!! === twister004_ is now known as twister004 [14:34] New bug: #693002 in bind9 (main) "apparmor rights bug with bind9 and resovconf" [Undecided,New] https://launchpad.net/bugs/693002 [14:34] twister004: no offense, but next time -> http://tinyurl.com/25x9ave [14:35] that reminds me, I need to reinstall rsync onto my phone [14:39] hi .. i have a set of dhcp servers in range 10.1.0.x, and they dish out ips in 10.1.xx.yy range.. i want to ssh from one server's dhcp range to another server's dhcp range.. how do i do that ? [14:40] i am able to ssh from the servers to each other's ip ranges, but not able to connect from dhcp ranges of each other .. [15:07] New bug: #693020 in qemu-kvm (main) "Closing KVM window requires clicking the X twice" [Undecided,New] https://launchpad.net/bugs/693020 [15:26] has anyone sucessfully got duplicity working? === twister004_ is now known as twister004 [15:37] i0nic: ask your question (about whatever problem that you are having) and if someone knows the answer they'll reply. [15:53] is it possible to ensure a network-required upstart job (upon shutdown) will always have the network resources available? === cradek_ is now known as cradek [16:02] Daviey: no meeting today ? [16:05] ttx, i assumed there was going to be tbh [16:05] anyone else here for the server meeting? [16:08] pmatulis: Might want to enquire in #upstart channel [16:09] genii-around: thanks for the tip [16:11] anyone know where i put the slaves configuration for a bond when i'm setting up bridged networking? [16:11] i set the bond to manual but do i leave the slaves there? [16:13] cap_00 same place you would always put them? [16:14] i guess just didn't want to screw it up [16:14] the example i'm following takes the eth0 and changes it to br0 [16:15] i have eth0 and eth1 in bond0 which i want to change to br0 [16:15] so are my bridge ports bond0? or eth0 and eth1? [16:17] I dunno what you mean by *changes it* [16:17] think of it as containers [16:17] you don't change anything :) [16:17] bond0 contains eth0 and eth1 [16:17] hmmm ok [16:17] bond1 contains eth2 and eth3 [16:17] br0 contains bond0 and bond1 [16:17] so br0 will contain bond0? [16:17] ok [16:17] atleast, if that is how you want it :) [16:17] yes [16:18] if you want to bridge the bond of eth0 and eth1, yes [16:18] after you contain an interface, you shouldn't use it directly [16:19] so i should comment out auto bond0? [16:19] no, you need it, in order to bridge it [16:19] can't bridge bond0, if bond0 doesn't exist [16:20] You might want to put a pre-up directive for br0 that checks bond0 is up [16:21] oh ok good, i was just noticing that i had to comment out auto eth0 and eth1, but those are hardware devices which i guess will always exist [16:21] hii guys.. can I mount the same location(nfs mount) on many ubuntu servers? [16:21] pre-up? [16:21] in /etc/network/interfaces? [16:24] twister004, as many as you have ip's [16:24] patdk-wk... it doesn't work!! [16:24] lies :) [16:24] when I try mounting the same folder as an nfs mount on the 2nd machine, it hangs [16:24] I have nfs mount connected to >130 servers :) [16:25] that isn't an issue with mounting on multible machines [16:25] but probably that machine isn't setup correctly [16:25] I would be willing to bet, if you turned off the first one, that works, and tried the second one, it would still hang [16:26] i have iface bond0 inet manual, should i add mtu 1454 to the end of that line? [16:26] why would you use a small mtu on that? [16:26] bond doesn't have any overhead [16:26] i have no idea, i just found that on google for a pre up on eth0 [16:27] must be someone bond'ing ipsec or something [16:27] patdk-wk.. when I umount it from the 1st, I can mount it on the second!! [16:27] i'm guessing here, is it just as simple as pre-up ifconfig $IFACE ? [16:28] before the auto br0? [16:28] twister004, you have nat between them or something? [16:28] nop... [16:30] now it worked!! [16:30] thanks! [16:34] perlverts of the world: Unite! === jj-afk is now known as jjohansen [16:57] hi every body [16:58] i have a lexmark x1290 printer [16:58] i try to print, but it does not do nathing [16:58] i instaled the ppd file [16:58] but nathing [16:58] what can i do? [17:06] andres_: eh... trying to print from a server or a desktop? === jjohansen is now known as jj-afk [17:06] from a desktop [17:09] wrong channel, then :P [17:11] crap [17:15] apw: updated bug 690190 [17:15] Launchpad bug 690190 in linux "HP Mini 10, i915, ftrace faulted on writing [] video_output_register+0x1c/0x12c [output]" [Undecided,Fix released] https://launchpad.net/bugs/690190 [17:16] apw: sorry, bug 684304 [17:16] Launchpad bug 684304 in linux "cciss module does not identify resources" [High,Confirmed] https://launchpad.net/bugs/684304 [17:17] hggdh, ok so other than the ftrace trace it booted ok ... so the next upstream update will fix that machine then, good [17:17] hggdh, you are only getting the ftrace trace cause i am delivering 'old' kernels deliberatly to reduce the delta for testing [17:18] hggdh, thanks [17:18] apw: ah, OK. And with the hpsa module included in the d-i, we then should be good to go on a new ISO :-) [17:18] hggdh, i think so yep [17:19] hggdh, what is the deadline on the work there [17:19] apw: this is a blocker for the UEC -- we cannot test any right now [17:20] apw: so right now we are pretty much two milestones delayed [17:20] (alpha1 and alpha2) [17:20] hggdh, and will you be doing more testing before xmas? as basically whatever i upload takes a day and then you wait for the next iso, so you'd not have it before the 23td i guess even if i start now [17:20] how to stop application which is running in the background? XD newbie question [17:21] apw: I will at least load the machines -- if we find an issue, better sooner than later. So yes, I am expecting to work some next week [17:21] Ralchev, if you mean from a foo & in a shell you can kill %N where N is the number it gave you when you started it [17:22] hggdh, ok, i am expecting -rc7 shortly and would prefer to upload after that, but if its urgent i can do one before [17:22] apw, I haven't seen any number when I started it [17:22] Ralchev, otherwise i would suggest #ubuntu as a good place for further questions not about server-y things [17:22] Ralchev, jobs lists the ones you are running from 'this shell' and ps -ef will show you everything [17:23] hello people [17:23] apw: if shortly means we have the new ISO during next week, no probs, we can wait [17:23] will ubuntu-server play nice with phenom 2 x4 920? [17:23] hggdh, i'll have a look and make sure we have something in as soon as it makes sense [17:24] cirtiainy before xmas so you have it in the gap [17:24] apw: cool, thank you [17:24] hggdh, if it occurs earlier i will let you know, i may do something today and damn the cost [17:24] :-) [17:24] pin me whenever, apw. Thank you very much, and sorry for the extra work [17:25] hggdh, you arround for a bit if i make one last test kernel on the current base, may as well make sure it works before i push it [17:25] s/pin/&g/ [17:25] apw: yes, I will be here, not even midday now (US Texas) [17:26] apw, PID is the number you're talking about? [17:27] Ralchev, the number apw@dm$ sleep 10 & [17:27] [1] 7851 [17:27] apw@dm$ jobs [17:27] [1]+ Running sleep 10 & [17:27] Ralchev, so the number i meant was the [1], that would be referred to as %1 [17:27] * genii-around ponders fg and ^C [17:27] the PID in ps would be used without a % [17:30] apw, thank you, rly good explanation [17:52] http://pastebin.com/3sFVcbHE I got stuck here after linux image upgrade followed by reboot [17:52] any idea how to fix it? [17:52] main issue [17:52] ALERT! /dev/disk/by-uuid/08febc85-9ce2-40ac-a354-e006f709a586 does not exist. Dropping to a shell! [17:52] right now I am in busybox initramfs [17:56] What is a faster way of deleting 75k+ files that doesnt involve formatting the file system? [17:56] rm -rf is very slow and has been running for 2 hours and not even 10-15% of the way through [17:59] I'm running Lucid on a Dell PowerEdge 2650 and I'm having hard time getting USB drives recognized... any suggestions? [18:09] bogeyd6, dd if=/dev/zero of=/dev/sda bs=1M count=100 [18:09] but then you will have to make a new fs on that anyways [18:09] only other thing you can really do is mount it ext2 mode, do it, then remount it back like normal [18:22] after running "sudo apt-get update && sudo apt-get upgrade" how do i know if i have to restart or not [18:24] I always took it as, apt-get upgrade, no restart, apt-get dist-upgrade = restart [18:27] hrm, is there a way to just add rights for a user to install and remove packages, but nothing else from sudo? === txwikinger2 is now known as txwikinger [18:29] jussi: try sudo visudo. you may want to man visudo first [18:29] the syntax escapes me at the moment [18:30] HOWEVER, i'm pretty sure that if your user is smart enough they can become root by installing packages [18:30] pittstains: hrm [18:30] so don't do it if you don't trust them! [18:31] pittstains: yeah, I ve a server which I give out a few shells on, and I rather not give full access, but I dont want to install packages for them all the time. [18:47] under(initramfs) ls /dev/md* does not show md0 (swap) or md1(root) device [18:51] axisys: Ah, i think I see now your problem. The raid device has not yet an UUID to mount because initramfs was not updated with raid module built in [18:51] genii-around: so what do I do? [18:52] i cannot catch that grub menu.. too fast [18:52] timeout 0 [18:52] hot esc couple times [18:52] hit* [18:52] then i could switch to the previous kernel [18:52] axisys: Is the md1 root device a raid1 or some other raid? [18:52] raid1 [18:53] md1 is raid1, md0 is raid1 (swap) and md10 data (raid10) [18:53] 2 disks for the md1 and md0 and the other 6 disks for data raid10 [18:54] (initramfs) ls /dev/md* [18:54] /dev/md10 [18:57] axisys: Unfortunately to rebuild initramfs usually requires you to be already booted, etc. But you may be able to edit temporarily one of the boot raid1 to mount it''s own UUID, boot to that, then edit the i/etc/initramfs-tools/modules file for raid1 and then update-initramfs after [18:58] axisys: Then it will either boot next time off the disk you already altered the UUID to be itself, or in best case the proper raid1 [18:58] is there a fast, efficient way to screen shot using the command line in ubuntu? [18:58] (initramfs) ls /dev/disk/by-uuid [18:58] 9b3de848-b6e7-4c6b-9659-89875da35403 [18:58] how do I find out which disk's uuid is that ? [18:59] that is the only uuid i see [18:59] found it [18:59] that is md10 [18:59] (initramfs) ls -al /dev/disk/by-uuid/9b3de848-b6e7-4c6b-9659-89875da35403 [18:59] lrwxrwxrwx 1 0 0 10 /dev/disk/by-uuid/9b3de848-b6e7-4c6b-9659-89875da35403 -> ../../md10 [18:59] so how do I create the uuid for sda1 ? [18:59] genii-around: ^ [19:02] !pastebin [19:02] For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [19:04] axisys: does: blkid work under your initram-fs ? [19:05] *busybox* rather [19:07] initramfs) blkid /dev/sda1 [19:07] /dev/sda1: UUID="ad5e933e-d6bf-0df0-dac9-edcf54bcf06d" TYPE="linux_raid_member" [19:07] genii-around: looks like it did [19:07] but the TYPE is not ext4 [19:07] should I be able to boot from it ? [19:08] axisys: If you specify fs type explicitly in the old /etc/fstab, doesn't matter the partition type [19:08] genii-around: so how do I boot from this disk while at busybox [19:08] ? [19:09] bluethundr: http://bisqwit.iki.fi/source/snapscreenshot.html [19:10] axisys: busybox has some builtin commands. I think ed is one of them. So you can use ed (editor) directly on the old fstab file, put in the new UUID (or possibly uncomment it, if still there) , save, then reboot [19:10] genii-around: how to I access /etc/fstab ? [19:12] ed: not found [19:12] i were able to mount /dev/sda2 to /a [19:12] cd /a/etc [19:12] axisys: mount /dev/sda1 (or whatever subcomponent drive of the old md1) /mnt [19:12] ed fstab did not work [19:13] * SpamapS watches his MySQL 5.5 packages build with gleeee [19:14] cat /a/etc/fstab and I see the fstab [19:14] it has sed .. that will be tough to replace UUID [19:15] sed -i ? [19:16] axisys: Alternately, you can try chroot into /a [19:16] axisys: (where you should be able to run the system binaries there, like your favourite editor) [19:17] probably a better idea, granted [19:17] wow.. 5.5 builds a lot faster than 5.1 [19:17] already into tests [19:18] chroot /a is taking a while to get my prompt back [19:27] wow.. still waiting for the chroot /a to complete.. can't get out of it.. look like need to reboot [19:27] SpamapS: considered trying postgresql? [19:29] anyone in the mood for helping me with an nfs problem? [19:29] :) [19:30] I'm able to mount an nfs filesystem after booting [19:30] but not via /etc/fstab for some reason [19:32] :\ [19:33] genii-around: i were able to change the root device to sda2's uuid and still getting device not found error [19:33] genii-around: http://pastebin.com/BDcMQpDq [19:34] ALERT! /dev/disk/by-uuid/08febc85-9ce2-40ac-a354-e006f709a586 does not exist. Dropping to a shell! [19:34] hi all. I want to build this semi-secure setup of mine. I have a server at an ISP running Lucid, and I have a various number of computers around. I want to connect these to this server using (insertname)VPN and then let the traffic go unencrypted from the server. Which VPN solution would you recommend? It is important that this is supported for guests on win/mac/lin [19:34] i don't even have that UUID in my fstab [19:34] genii-around: ^ [19:34] axisys: replace the UUD with the device name - that works :) [19:34] oh [19:39] that worked.. i am back in the OS now [19:39] eehaa!! [19:39] ok, so I think I narrowed down the cause of my server not recognizing USB devices... lsmod shows that i'm missing the usbhid, hid, and usb_storage kernel modules [19:40] RoyK, genii-around : thank you both.. i still have lot of thinks need to be fixed.. [19:40] how do i add these in such a way that they are loaded at each boot? [19:40] first thing is the grub menu.. [19:41] pittstains, it should load them, when you plug in a usb keyboard/mount/drive [19:41] via udev [19:41] you can always dump them into /etc/modules though [19:42] patdk-wk: it doesn't seem to be doing so... [19:42] should i edit my grub menu and add them in there? is that preferable to dumping stuff in /etc/modules [19:43] * patdk-wk wonders what grub menu has to do with kernel modules [19:43] you mean add them into initrd? that is if you need them, in order to boot your computer [19:43] still nothing to do with grub [19:44] yes, i think that's what i meant [19:44] your server won't boot without usbhid and usbstorage? [19:45] yes it will; i didn't know that initrd was for stuff required in order to boot [19:45] i thought it was for stuff you want loaded when you boot [19:45] it's for stuff you need, mainly, to load your root drive ( / ) [19:46] like raid drivers, iscsi drivers, ... [19:46] any idea why /etc/fstab is empty now ? [19:46] is there a way to regenarate it ? [19:52] just restore it from your backup [19:53] * RoyK waits for the "what backup?" [19:54] hehe, I have learned due to other admins, basically keep /etc in some kind of revision tracking system [19:55] * RoyK is moving all he can over to zfs [19:55] arg, so I did: [19:55] $ sudo modprobe hid [19:55] $ sudo modprobe usbhid [19:55] $ sudo modprobe usb_storage [19:55] $ lsusb [19:55] !pastebin [19:55] For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [19:55] and all i get is a bunch of these: Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub [19:56] you have any usb things plugged in? [19:56] different bus IDs of course, just didn't want RoyK to yell at me again! [19:57] yes i have a Maxtor external drive [19:57] which automounts on my Linux laptop [19:57] but doesn't show up at all on my server [19:57] you have a dual power cord plugged into it? [19:57] most likely the server isn't giving it a good 1amp of power [19:57] good thinking [19:57] i'll try that [19:58] I wish they would make a usb hub, that give 1a or even 2a per port :( [20:00] patdk-wk: still no love [20:00] what's the best place to look for useful debugging? dmesg? [20:00] yep [20:01] also, I am dumb; device has its own power supply :-) [20:01] ah [20:02] i have huge issue .. md10 raid10 looks broken http://pastebin.com/ZjTuk2wj .. i am suppose to have a 6 disk raid10 .. i see four disks with md10 and a new raid md_d10 inactive with one of the two missing disks .. not sure where md_d10 came from .. i dont see sdc1 [20:02] Hi all. I'm trying to set up some error catching pages on my apache server. I've got it working for 404 errors, but I can't seem to make 500 errors work. I completely copy and pasted the code from the ErrorDocument 404 line to the 500 line, but it still doesn't work. Ideas? [20:02] in dmesg I see a message about sdc1 .. [20:02] md: export_rdev(sdc1) [20:03] axisys: Apologies on lag, I am at work and it got busy. chroot managed but your fstab there was empty? That is very odd. [20:03] chroot did not work.. i used sed [20:04] but fstab is empty.. but i got a backup fstab.. not a problem.. [20:04] big problem is md10 (raid10) data disk seems broken bad [20:05] http://pastebin.com/dhx7BZhi this dmesg says raid10: not enough operational mirrors for md10 [20:06] * RoyK hums zfszfszfszfszfszfszfszfszfszfszfszfszfszfszfs [20:06] RoyK: I've used postgresql for a number of things [20:06] RoyK: mysql and postgres have their strengths and weaknesses. Like sledge hammers and claw hammers.. neither is perfect for every job [20:07] patdk-wk: here are the last few lines from dmesg [20:07] i'm not really sure how to read this, or what the numbers in brackets mean [20:07] http://paste.ubuntu.com/546380/ [20:08] SpamapS: imho postgresql overgoes mysql in most ways, perhaps except for a miniature setup of wordpress or something [20:09] pittstains, that doesn't show any usb things at all [20:09] so no debug messages to help [20:10] but something with youe firewire is going nuts, you sure you didn't use firewire to connect that drive? [20:10] hggdh, ok the last test kernel is up [20:11] apw: uectst4? [20:11] hggdh, indeed [20:11] apw: downloading it now, thanks [20:12] RoyK: the replication story on postgres is awful [20:12] RoyK: for ad hoc queries, its by far the best though [20:13] RoyK: also, at about 1000 concurrent clients postgres starts to have context switching problems that mysql sidesteps with threading. That is a rare case though. [20:14] patdk-wk: i tried firewire with another drive last week and failed [20:14] RoyK: and your dismissal of mysql as "just for little sites" may suggest that you haven't tried it on a big site yet. ;) [20:15] RoyK: I've never seen postgres fail to deliver on everything it promises. Mysql just promises more, and occasionally fails. ;) [20:24] occasionally? [20:30] apw: boots without a hitch. I am uploading dmesg and lspci -vvvnn now [20:30] hggdh, thanks [20:36] i got stuck back in the same place [20:37] my fstab looks just same [20:38] http://pastebin.com/vr87FDr2 [20:38] but I still get ALERT! /dev/disk/by-uuid/08febc85-9ce2-40ac-a354-e006f709a586 does not exist. Dropping to a shell! [20:39] (initramfs) cat /proc/cmdline [20:39] BOOT_IMAGE=/boot/vmlinuz-2.6.32-27-generic root=UUID=08febc85-9ce2-40ac-a354-e006f709a586 ro console=ttyS0,9600n8 [20:39] so how do I change this root ? [20:39] why is it trying to pick /dev/md1's UUID when fstab says /dev/sda2 [20:45] axisys: did you update-initramfs? [20:45] no [20:45] SpamapS: ^ [20:45] SpamapS: after making the change to fstab ? [20:46] SpamapS: all i did is upgraded linux kernel from 2.6.32-26-generic to 2.6.32-27-generic .. and that broke it [20:47] so it could not find the md1 .. so I picked one of the mirror disk sda2 and were able to boot once.. [20:47] to make sure fstab works i tried to reboot again and now it does not want to boot again [20:48] from busybox ls /dev/md* shows only the data disk md10 .. not md1 (root) or md0 (swap) === Aison is now known as EU-suxx [21:33] how do I view the new changelog before installing an update? [21:36] osmosis: apt-listchanges does some of that [21:47] mathiaz: can you add jibel as a dev on the ubuntu-server-iso-tests? [21:47] i see initrd.img and initrd.img.old [21:47] should I swap them? will that fix my issue ? [21:47] same thing with vmlinuz [21:48] on /dev/sda2 root device [21:48] hmm busybox does not have unlink.. oh well [21:49] hggdh: I made you an administrator of https://launchpad.net/~ubuntu-server-iso-testing-dev [21:51] mathiaz: oooohhhh [21:51] mathiaz: thank you [21:51] hggdh: you're welcome! [21:55] how can I rename a VM? [21:55] doesn't look like it's possible from virt-manager === squishy is now known as SquishyNotHere === SquishyNotHere is now known as squishy [22:06] zul: tests still running.. UGH [22:08] Completed: Failed 1/1633 tests, 99.94% were successful. [22:08] damn [22:08] Spent 7586.540 of 10284 seconds executing testcases [22:08] * SpamapS thinks 3 nines is all mysql is used for anyway [22:28] kees: hi! [22:28] kees: what's the default shadow encrypting scheme in lucid? [22:28] kees: sha* something? [22:29] it's $6, so sha* [22:31] sha512 [22:31] lenios: yop - thanks! [22:39] shadow encrypting scheme, that is a new one === EU-suxx is now known as Aison [22:39] default password hash :) [22:40] sha512 with 8byte salt :) [22:40] I have one thing that won't do 16byte salts, I should check to see if it does now, and upgrade all the hashs again === WinstonSmith_ is now known as WinstonSmith [23:07] hi guys. I'm having difficulty with file locks & I'm not entirely sure how to debug the issue. [23:07] I have a number of users working with files remotely on an Ubuntu server over samba. occasionally there's a "glitch" on the network (bit like a brown-out, but I'm unsure how to investigate), and the users with open files get locked out & they are unable to commit their changes, writes or saves to the open files, as the server reports that the file is locked open by another user, but in fact it's their interrupted session. [23:07] What's wrong, what is the right way to address this & where should I look for more information. Also, how can I ascertain the case of the glitches? === jmoss42 is now known as phate408