[00:42] <SpamapS> LowValueTarget: to answer your earlier question, you can in fact use an ssh bouncer as a key logger.
[00:44] <SpamapS> LowValueTarget: however, it would probably require modifying openssh, unless they've added the "spy on users" option recently.
[00:45] <LowValueTarget> found this.... http://www.balabit.com/network-security/scb
[00:45] <LowValueTarget> that may be what we need
[00:45] <LowValueTarget> this is for PCI ....
[00:47] <SpamapS> 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] <kees> LowValueTarget: you can also use netcat to avoid the key logging. in /etc/.ssh/config:
[00:48] <kees> Host *%*
[00:48] <kees>     ProxyCommand ssh $(echo %h | cut -d% -f1) nc -q0 $(echo %h | cut -d% -f2) %p
[00:48] <kees> then you can ssh server2%server1
[00:48] <SpamapS> Right, unless you have the cooperation of sshd itself, its not going to catch everything.
[00:52] <LowValueTarget> SpamapS: And it goes on.... http://bit.ly/hFY90p
[00:57] <twb> Oh wow
[00:58] <twb> kees: btw, current ssh versions don't need nc on the far end, ssh -W
[01:02] <twb> I had to use -d%% to make it work with 5.5p1
[01:06] <twb> Doesn't work so well if you try to use @'s in there
[01:08] <twb> Oh, and of course you can use pattern substitution
[01:10] <twb> ARGH, ssh adds "exec" to the string
[01:10] <twb> Not exactly an improvement:   ProxyCommand sh -c 'h="%h"; exec ssh "${h%%,*}" -W "${h#*,}":%p'
[01:11] <twb> ProxyCommand >/dev/stdout; h="%h"; exec ssh "${h%%,*}" -W "${h#*,}":%p
[01:21] <MTecknology> Grrr... I with there was a channel for PlanetPlanet. The software is amazing but just a little help would be great.
[01:57] <AkakuMatt> Anyone in here use ODBC Connection to connect to their Mysql server??
[01:58] <AkakuMatt> Im using Ubuntu 10.10 Server trying to get an access frontend to dump to mysql backend
[02:21] <twb> AkakuMatt: why don't you just use mysql(1) ?
[02:41] <twb> 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] <twb> This is not useful for debugging.  How do I get more debugging output from ldapsearch about the SSL failure?
[02:45] <twb> OK, -d3 yields TLS: peer cert untrusted or revoked (0x42)
[04:12] <EspadaV8_W> hello, i'm trying to find the correct way to set the console res in ubuntu server 10.04
[04:12] <EspadaV8_W> but i don't seem to be able to find anything relevant
[04:12] <EspadaV8_W> am i just being blind or is there something out there?
[05:26] <dragoon123> 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] <dragoon123> Is there a way to manually set the values myself (control fanspeed)?
[05:29] <twb> EspadaV8_W: if the framebuffer driver you're using is compiled in, pass video=foofb:1024x768-16, where foofb is the driver
[05:29] <twb> EspadaV8_W: if it isn't compiled in, "foofb 1024x768-16" in /etc/modules *I think*(
[05:30] <twb> EspadaV8_W: you can also change the *font size* by issuing "dpkg-reconfigure console-setup"
[05:31] <EspadaV8_W> how do i find out what driver it is? (i'm installing inside vmware fusion, without the vmware drivers installed atm)
[05:31] <twb> I don't provide support for vmware, but I would guess vesafb or vga16fb
[05:31] <EspadaV8_W> fbcon?
[05:31] <twb> fbcon is the in-kernel terminal emulator that's built on top of the framebuffer.
[05:31] <EspadaV8_W> ah, i have vga16fb in lsmod
[05:33] <EspadaV8_W> ah, ok, thanks
[05:33] <EspadaV8_W> i'll try doing that
[05:34] <EspadaV8_W> GRUB_CMDLINE_LINUX_DEFAULT="video=vga16fb:1024x768-16"
[05:34] <EspadaV8_W> does that look ok?
[05:36] <twb> I don't know
[05:36] <twb> If lsmod lists it, then there's no point telling the KERNEL to load it, because it's not compiled in
[05:37] <twb> I guess you have to fight all the plymouth-related voodoo that's in ubuntu ramdisk and init nowadays
[05:38] <EspadaV8_W> it is in lsmod, so i passed what you mentioned in that GRUB2 line
[05:39] <EspadaV8_W> i've got around having a low res by ssh-ing from my host, but it's annoying
[05:39] <EspadaV8_W> the docs for Ubuntu seem to be very lacking
[05:40] <dragoon123> 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] <twb> dragoon123: uh, don't use an editor to manipulate /sys and /proc
[05:45] <dragoon123> twb: How do I go about adjusting the speed manually?
[05:47] <twb> echo datum >/sys/foo/bar/baz
[05:47] <twb> printf, if you want to be anal
[05:49] <dragoon123> Hmm, the value does not change after I run the command
[05:49] <dragoon123> still stuck @ 255 pwm
[05:51] <dragoon123> any ideas?
[06:54] <Makere> sudo?
[07:49] <RoyK>  08:49:11 up 12 days, 21:53,  2 users,  load average: 55.18, 29.65, 12.68
[07:51] <SpamapS> RoyK: call me when it gets to 400.. ;)
[07:51] <RoyK> hehe
[07:52] <RoyK> 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] <SpamapS> 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] <RoyK> decent memory load, I guess, then
[07:55] <RoyK> linux usually can't (or at least couldn't back then) handle very rough memory loads
[07:55] <SpamapS> It was swapping like crazy
[07:55] <SpamapS> this was before spamd
[07:55] <SpamapS> spamassassin was just forking once for every mail
[07:56] <SpamapS> so there were hundreds of spamassassin's running, swapping in and out
[07:56] <RoyK> then it's a wonder it didn't crash :P
[07:57] <SpamapS> I actually think crashing would be preferrable to being tied up for 36 hours
[07:59] <RoyK> 'cept such a crash would make the server hang :P
[08:00] <RoyK> so no cigar
[08:01] <SpamapS> Which is why I tend to suggest people have remote power control. :)
[08:01] <SpamapS> think about it
[08:01] <SpamapS> 36 hours of non usability
[08:02] <SpamapS> that is never acceptible
[08:18] <twb> aaaaaaaargh
[08:18] <twb> Debian bug #549168 affects lucid
[08:18] <twb> (At least, the version predates the fix (which is in natty); I'm about to test it
[09:20] <sgo11> 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] <gobbe> sgo11: it means that automatic updates are not enabled
[09:24] <gobbe> sgo11: https://help.ubuntu.com/10.10/serverguide/C/automatic-updates.html
[09:24] <sgo11> 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] <gobbe> sgo11: read my link
[09:25] <gobbe> sgo11: about in halfway, there's line starting with "To enable automatic updates"
[09:26] <sgo11> 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] <gobbe> yes, then you create it
[09:26] <sgo11> I am wondering if I supposed to create the file by myself or the file should be created by the system.
[09:26] <gobbe> and add lines that are listed there
[09:26] <gobbe> no, you need to create it with editing :)
[09:27] <sgo11> 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] <sgo11> gobbe, sorry. something wrong with my xchat.
[09:27] <gobbe> :)
[09:28] <gobbe> so just open the file in editor, if you want you can cerate empty file before that ofcourse with touch
[09:28] <sgo11> 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] <nei354> hi, im spanish, i need help on webmin and virtualhost, 3 domains, but only open 1...
[09:29] <sgo11> 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] <gobbe> sgo11: well, you can edit the file even when it's not there, so basicly documentation is ok ;)
[09:31] <gobbe> sgo11: just restart it if you are not sure, it's jsut a python script
[09:32] <sgo11> gobbe, oh. it's a python script... let me read it. I am wondering who is reading the file 10periodic.
[10:21] <MTecknology> where's jdub.. :(
[10:21] <MTecknology> I need that rascal
[10:22] <MTecknology> 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/
[10:57] <mauser> 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] <ivoks> grmph
[11:01] <ivoks> alias vim='sudo apt-get install vim ; vim'
[11:02] <ivoks> mauser: don't use FS at all
[11:02] <ivoks> mauser: use LVM and give your VMs logical volume
[11:18] <kim0> Hey guys, what's the best way to get kvm-0.13 on maverick ?!
[11:21] <mauser> ivoks, LVM does stripe only, right? do I need to use some sort of underlying redundancy tehnique, like RAID1?
[11:24] <ivoks> mauser: i wasn't talking about storage configuration, but VM configuration
[11:24] <ivoks> mauser: as for storage, you know what you have, now many disks you have and what raid would fit you best
[12:29] <jits> 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] <joschi> 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] <timo> 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?
[12:48] <jits> timo: server machine acts as dhcp server..
[12:48] <Patrickdk> he wants to ssh into basically a desktop machine behind the server machine
[12:48] <Patrickdk> so he needs to read the dhcp logs, or use nmap or something
[12:48] <jits> Patrickdk: yeah .. thats
[12:49] <jits> Patrickdk: i need to allow incoming ssh connection on the network gateway .. to all systems.. how do i do that ?
[12:50] <jits> Patrickdk: assuming that i know the target ip ..
[13:06] <twister004> hii guys.. is it possible to mount a network drive on a ubuntu server over the WAN?
[13:06] <twister004> please let me know
[13:09] <jits_> how do i allow ssh from outside thru my network gateway ?
[13:16] <xampart> jits_: securely? http://ubuntuforums.org/showthread.php?t=831372 worked for me
[13:22] <twister004> guys... anyway I can do this?
[13:22] <twister004> Im trying to mount it as nfs, cifs.. but it doesn't work
[13:23] <twister004> it says " wrong fs type, bad option, ......."
[13:24] <patdk-wk> first, what is a network drive? :)
[13:24] <twister004> i mean.. a drive connected and which has an IP on the subnet
[13:24] <patdk-wk> sftp? ftp? smb? nfs?
[13:24] <twister004> it's an NTFS drive
[13:24] <patdk-wk> you can't access ntfs over a network
[13:24] <twister004> I have mounted it on local subnet machines as nfs
[13:25] <patdk-wk> well, use a vpn
[13:57] <twister004> hi guys.. after making a change to the crontab... do i need to restart the cron service?
[13:58] <pmatulis> twister004: no
[13:58] <twister004> ok thanks pmatulis!!!
[14:03] <patdk-wk> no, as long as you used crontab to make the change :)
[14:04] <twister004> guys... what if I put a script under /etc/cron.d... do I have to restart the service...
[14:05] <twister004> im asking coz this is not working ... i have not restarted the service yet
[14:06] <ivoks> check syslog
[14:06] <ivoks> you probably have made a mistake
[14:07] <patdk-wk> oh, using the /etc/cron.* you don't have to touch cron at all :)
[14:07] <twister004> i have put in a script under /etc/cron.d/
[14:08] <twister004> How can i be sure if cron is checking for files under /etc/cron.d/?
[14:09] <patdk-wk> I wouldn't bother with that so much
[14:09] <patdk-wk>  Iwould bother checking your cron logfile
[14:09] <twister004> why so?
[14:09] <patdk-wk> to see what it says
[14:09] <ivoks> you can see by noticing a line RELOAD in syslog :)
[14:09] <twister004> patdk-wk... where is this log??
[14:10] <patdk-wk> depends on your syslog program
[14:10] <patdk-wk> normally /var/log/cron
[14:11] <twister004> there's no such file on my system
[14:13] <patdk-wk> looks to be logged in /var/log/syslog I guess, by default
[14:13] <twister004> guys.. i get  Error: bad username;
[14:13] <patdk-wk> well, fix it :)
[14:14] <twister004> what could it be?
[14:14] <patdk-wk> *bad username*
[14:14] <patdk-wk> pretty self explanitory there
[14:15] <twister004> the permissions are right... Im just pinging an IP in the script
[14:15] <patdk-wk> I bet you attempted to make a normal crontab file, instead of a cron.d type file
[14:15] <patdk-wk> so you screwed it up
[14:15] <patdk-wk> and forgot to put the username in it
[14:16] <twister004> ??
[14:24] <twister004> why can't ai create a normal script there?.. like in crontab?... please let me know... im new to this
[14:24] <pmatulis> twister004: pastebin your cron file for more assistance
[14:24] <pmatulis> twister004: (like pastebin.ca)
[14:25] <twister004> ok... http://pastebin.com/5RUkiqpJ... here it is
[14:25] <c0nv1ct> twister004, like patdk-wk said, you forgot the username
[14:25] <twister004> where do i put the username?
[14:26] <c0nv1ct> it is the field before the command
[14:26] <c0nv1ct> you should have other files in cron.d/ to use as a reference
[14:26] <Pici> I personally prefer putting stuff into my user's crontab, easier to manage that way.
[14:26] <twister004> yes
[14:27] <twister004> im refering to them.. after the time parameters, I see "root"?
[14:27] <c0nv1ct> Pici, that does make more sense in this case
[14:27] <c0nv1ct> twister004, yep, those are run as root
[14:27] <c0nv1ct> twister004, so why arent you using `crontab -e` like normal?
[14:27] <twister004> i thought of segregating
[14:27] <twister004> crontab works fine
[14:28] <c0nv1ct> but that is segregated...
[14:28] <twister004> i think I should go with crontab..
[14:28] <twister004> I'll take your advice!
[14:28] <twister004> thanks guys!!!
[14:34] <pmatulis> twister004: no offense, but next time -> http://tinyurl.com/25x9ave
[14:35] <patdk-wk> that reminds me, I need to reinstall rsync onto my phone
[14:39] <jits> 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] <jits> 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:26] <i0nic> has anyone sucessfully got duplicity working?
[15:37] <rigved> i0nic: ask your question (about whatever problem that you are having) and if someone knows the answer they'll reply.
[15:53] <pmatulis> is it possible to ensure a network-required upstart job (upon shutdown) will always have the network resources available?
[16:02] <ttx> Daviey: no meeting today ?
[16:05] <Daviey> ttx, i assumed there was going to be tbh
[16:05] <Daviey> anyone else here for the server meeting?
[16:08] <genii-around> pmatulis: Might want to enquire in #upstart channel
[16:09] <pmatulis> genii-around: thanks for the tip
[16:11] <cap_00> anyone know where i put the slaves configuration for a bond when i'm setting up bridged networking?
[16:11] <cap_00> i set the bond to manual but do i leave the slaves there?
[16:13] <patdk-wk> cap_00 same place you would always put them?
[16:14] <cap_00> i guess just didn't want to screw it up
[16:14] <cap_00> the example i'm following takes the eth0 and changes it to br0
[16:15] <cap_00> i have eth0 and eth1 in bond0 which i want to change to br0
[16:15] <cap_00> so are my bridge ports bond0? or eth0 and eth1?
[16:17] <patdk-wk> I dunno what you mean by *changes it*
[16:17] <patdk-wk> think of it as containers
[16:17] <patdk-wk> you don't change anything :)
[16:17] <patdk-wk> bond0 contains eth0 and eth1
[16:17] <cap_00> hmmm ok
[16:17] <patdk-wk> bond1 contains eth2 and eth3
[16:17] <patdk-wk> br0 contains bond0 and bond1
[16:17] <cap_00> so br0 will contain bond0?
[16:17] <cap_00> ok
[16:17] <patdk-wk> atleast, if that is how you want it :)
[16:17] <cap_00> yes
[16:18] <patdk-wk> if you want to bridge the bond of eth0 and eth1, yes
[16:18] <patdk-wk> after you contain an interface, you shouldn't use it directly
[16:19] <cap_00> so i should comment out auto bond0?
[16:19] <patdk-wk> no, you need it, in order to bridge it
[16:19] <patdk-wk> can't bridge bond0, if bond0 doesn't exist
[16:20] <genii-around> You might want to put a pre-up directive for br0 that checks bond0 is up
[16:21] <cap_00> 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] <twister004> hii guys.. can I mount the same location(nfs mount) on many ubuntu servers?
[16:21] <cap_00> pre-up?
[16:21] <cap_00> in /etc/network/interfaces?
[16:24] <patdk-wk> twister004, as many as you have ip's
[16:24] <twister004> patdk-wk... it doesn't work!!
[16:24] <patdk-wk> lies :)
[16:24] <twister004> when I try mounting the same folder as an nfs mount on the 2nd machine, it hangs
[16:24] <patdk-wk> I have nfs mount connected to >130 servers :)
[16:25] <patdk-wk> that isn't an issue with mounting on multible machines
[16:25] <patdk-wk> but probably that machine isn't setup correctly
[16:25] <patdk-wk> 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] <cap_00> i have iface bond0 inet manual, should i add mtu 1454 to the end of that line?
[16:26] <patdk-wk> why would you use a small mtu on that?
[16:26] <patdk-wk> bond doesn't have any overhead
[16:26] <cap_00> i have no idea, i just found  that on google for a pre up on eth0
[16:27] <patdk-wk> must be someone bond'ing ipsec or something
[16:27] <twister004> patdk-wk.. when I umount it from the 1st, I can mount it on the second!!
[16:27] <cap_00> i'm guessing here, is it just as simple as pre-up ifconfig $IFACE ?
[16:28] <cap_00> before the auto br0?
[16:28] <patdk-wk> twister004, you have nat between them or something?
[16:28] <twister004> nop...
[16:30] <twister004> now it worked!!
[16:30] <twister004> thanks!
[16:34] <RoyK> perlverts of the world: Unite!
[16:57] <andres_> hi every body
[16:58] <andres_> i have a lexmark x1290 printer
[16:58] <andres_> i try to print, but it does not do nathing
[16:58] <andres_> i instaled the ppd file
[16:58] <andres_> but nathing
[16:58] <andres_> what can i do?
[17:06] <RoyK> andres_: eh... trying to print from a server or a desktop?
[17:06] <andres_> from a desktop
[17:09] <RoyK> wrong channel, then :P
[17:11] <andres_> crap
[17:15] <hggdh> apw: updated bug 690190
[17:16] <hggdh> apw: sorry, bug 684304
[17:17] <apw> hggdh, ok so other than the ftrace trace it booted ok ... so the next upstream update will fix that machine then, good
[17:17] <apw> hggdh, you are only getting the ftrace trace cause i am delivering 'old' kernels deliberatly to reduce the delta for testing
[17:18] <apw> hggdh, thanks
[17:18] <hggdh> 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] <apw> hggdh, i think so yep
[17:19] <apw> hggdh, what is the deadline on the work there
[17:19] <hggdh> apw: this is a blocker for the UEC -- we cannot test any right now
[17:20] <hggdh> apw: so right now we are pretty much two milestones delayed
[17:20] <hggdh> (alpha1 and alpha2)
[17:20] <apw> 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] <Ralchev> how to stop application which is running in the background? XD newbie question
[17:21] <hggdh> 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] <apw> 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] <apw> 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] <Ralchev> apw, I haven't seen any number when I started it
[17:22] <apw> Ralchev, otherwise i would suggest #ubuntu as a good place for further questions not about server-y things
[17:22] <apw> Ralchev, jobs lists the ones you are running from 'this shell' and ps -ef will show you everything
[17:23] <wizardslovak> hello people
[17:23] <hggdh> apw: if shortly means we have the new ISO during next week, no probs, we can wait
[17:23] <wizardslovak> will ubuntu-server play nice with phenom 2 x4 920?
[17:23] <apw> hggdh, i'll have a look and make sure we have something in as soon as it makes sense
[17:24] <apw> cirtiainy before xmas so you have it in the gap
[17:24] <hggdh> apw: cool, thank you
[17:24] <apw> hggdh, if it occurs earlier i will let you know, i may do something today and damn the cost
[17:24] <hggdh> :-)
[17:24] <hggdh> pin me whenever, apw. Thank you very much, and sorry for the extra work
[17:25] <apw> 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] <hggdh> s/pin/&g/
[17:25] <hggdh> apw: yes, I will be here, not even midday now (US Texas)
[17:26] <Ralchev> apw, PID is the number you're talking about?
[17:27] <apw> Ralchev, the number apw@dm$ sleep 10 &
[17:27] <apw> [1] 7851
[17:27] <apw> apw@dm$ jobs
[17:27] <apw> [1]+  Running                 sleep 10 &
[17:27] <apw> 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] <apw> the PID in ps would be used without a %
[17:30] <Ralchev> apw, thank you, rly good explanation
[17:52] <axisys> http://pastebin.com/3sFVcbHE  I got stuck here after linux image upgrade followed by reboot
[17:52] <axisys> any idea how to fix it?
[17:52] <axisys> main issue
[17:52] <axisys> ALERT! /dev/disk/by-uuid/08febc85-9ce2-40ac-a354-e006f709a586 does not exist. Dropping to a shell!
[17:52] <axisys> right now I am in busybox initramfs
[17:56] <bogeyd6_> What is a faster way of deleting 75k+ files that doesnt involve formatting the file system?
[17:56] <bogeyd6_> rm -rf is very slow and has been running for 2 hours and not even 10-15% of the way through
[17:59] <pittstains> I'm running Lucid on a Dell PowerEdge 2650 and I'm having hard time getting USB drives recognized... any suggestions?
[18:09] <patdk-wk> bogeyd6, dd if=/dev/zero of=/dev/sda bs=1M count=100
[18:09] <patdk-wk> but then you will have to make a new fs on that anyways
[18:09] <patdk-wk> only other thing you can really do is mount it ext2 mode, do it, then remount it back like normal
[18:22] <vraa> after running "sudo apt-get update && sudo apt-get upgrade" how do i know if i have to restart or not
[18:24] <patdk-wk> I always took it as, apt-get upgrade, no restart, apt-get dist-upgrade = restart
[18:27] <jussi> hrm, is there a way to just add rights for a user to install and remove packages, but nothing else from sudo?
[18:29] <pittstains> jussi: try sudo visudo.  you may want to man visudo first
[18:29] <pittstains> the syntax escapes me at the moment
[18:30] <pittstains> HOWEVER, i'm pretty sure that if your user is smart enough they can become root by installing packages
[18:30] <jussi> pittstains: hrm
[18:30] <pittstains> so don't do it if you don't trust them!
[18:31] <jussi> 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] <axisys> under(initramfs) ls /dev/md* does not show md0 (swap) or md1(root) device
[18:51] <genii-around> 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] <axisys> genii-around: so what do I do?
[18:52] <axisys> i cannot catch that grub menu.. too fast
[18:52] <axisys> timeout 0
[18:52] <axisys> hot esc couple times
[18:52] <axisys> hit*
[18:52] <axisys> then i could switch to the previous kernel
[18:52] <genii-around> axisys: Is the md1 root device a raid1 or some other raid?
[18:52] <axisys> raid1
[18:53] <axisys> md1 is raid1, md0 is raid1 (swap) and md10 data (raid10)
[18:53] <axisys> 2 disks for the md1 and md0 and the other 6 disks for data raid10
[18:54] <axisys> (initramfs) ls /dev/md*
[18:54] <axisys> /dev/md10
[18:57] <genii-around> 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] <genii-around> 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] <bluethundr> is there a fast, efficient way to screen shot using the command line in ubuntu?
[18:58] <axisys> (initramfs) ls /dev/disk/by-uuid
[18:58] <axisys> 9b3de848-b6e7-4c6b-9659-89875da35403
[18:58] <axisys> how do I find out which disk's uuid is that ?
[18:59] <axisys> that is the only uuid i see
[18:59] <axisys> found it
[18:59] <axisys> that is md10
[18:59] <axisys> (initramfs) ls -al /dev/disk/by-uuid/9b3de848-b6e7-4c6b-9659-89875da35403
[18:59] <axisys> lrwxrwxrwx    1 0        0              10 /dev/disk/by-uuid/9b3de848-b6e7-4c6b-9659-89875da35403 -> ../../md10
[18:59] <axisys> so how do I create the uuid for sda1 ?
[18:59] <axisys> genii-around: ^
[19:02] <RoyK> !pastebin
[19:04] <genii-around> axisys: does: blkid                       work under your initram-fs ?
[19:05] <genii-around> *busybox* rather
[19:07] <axisys> initramfs) blkid /dev/sda1
[19:07] <axisys> /dev/sda1: UUID="ad5e933e-d6bf-0df0-dac9-edcf54bcf06d" TYPE="linux_raid_member"
[19:07] <axisys> genii-around: looks like it did
[19:07] <axisys> but the TYPE is not ext4
[19:07] <axisys> should I be able to boot from it ?
[19:08] <genii-around> axisys: If you specify fs type explicitly in the old /etc/fstab, doesn't matter the partition type
[19:08] <axisys> genii-around: so how do I boot from this disk while at busybox
[19:08] <axisys> ?
[19:09] <RoyK> bluethundr: http://bisqwit.iki.fi/source/snapscreenshot.html
[19:10] <genii-around> 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] <axisys> genii-around: how to I access /etc/fstab ?
[19:12] <axisys> ed: not found
[19:12] <axisys> i were able to mount /dev/sda2 to /a
[19:12] <axisys> cd /a/etc
[19:12] <genii-around> axisys: mount /dev/sda1 (or whatever subcomponent drive of the old md1) /mnt
[19:12] <axisys> ed fstab did not work
[19:13]  * SpamapS watches his MySQL 5.5 packages build with gleeee
[19:14] <axisys> cat /a/etc/fstab and I see the fstab
[19:14] <axisys> it has sed .. that will be tough to replace UUID
[19:15] <RoyK> sed -i ?
[19:16] <genii-around> axisys: Alternately, you can try chroot into /a
[19:16] <genii-around> axisys: (where you should be able to run the system binaries there, like your favourite editor)
[19:17] <RoyK> probably a better idea, granted
[19:17] <SpamapS> wow.. 5.5 builds a lot faster than 5.1
[19:17] <SpamapS> already into tests
[19:18] <axisys> chroot /a is taking a while to get my prompt back
[19:27] <axisys> wow.. still waiting for the chroot /a to complete.. can't get out of it.. look like need to reboot
[19:27] <RoyK> SpamapS: considered trying postgresql?
[19:29] <Ferhat> anyone in the mood for helping me with an nfs problem?
[19:29] <Ferhat> :)
[19:30] <Ferhat> I'm able to mount an nfs filesystem after booting
[19:30] <Ferhat> but not via /etc/fstab for some reason
[19:32] <Ferhat> :\
[19:33] <axisys> genii-around: i were able to change the root device to sda2's uuid and still getting device not found error
[19:33] <axisys> genii-around: http://pastebin.com/BDcMQpDq
[19:34] <axisys> ALERT! /dev/disk/by-uuid/08febc85-9ce2-40ac-a354-e006f709a586 does not exist. Dropping to a shell!
[19:34] <RoyK> 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] <axisys> i don't even have that UUID in my fstab
[19:34] <axisys> genii-around: ^
[19:34] <RoyK> axisys: replace the UUD with the device name - that works :)
[19:34] <RoyK> oh
[19:39] <axisys> that worked.. i am back in the OS now
[19:39] <axisys> eehaa!!
[19:39] <pittstains> 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] <axisys> RoyK, genii-around : thank you both.. i still have lot of thinks need to be fixed..
[19:40] <pittstains> how do i add these in such a way that they are loaded at each boot?
[19:40] <axisys> first thing is the grub menu..
[19:41] <patdk-wk> pittstains, it should load them, when you plug in a usb keyboard/mount/drive
[19:41] <patdk-wk> via udev
[19:41] <patdk-wk> you can always dump them into /etc/modules though
[19:42] <pittstains> patdk-wk: it doesn't seem to be doing so...
[19:42] <pittstains> 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] <patdk-wk> you mean add them into initrd? that is if you need them, in order to boot your computer
[19:43] <patdk-wk> still nothing to do with grub
[19:44] <pittstains> yes, i think that's what i meant
[19:44] <patdk-wk> your server won't boot without usbhid and usbstorage?
[19:45] <pittstains> yes it will; i didn't know that initrd was for stuff required in order to boot
[19:45] <pittstains> i thought it was for stuff you want loaded when you boot
[19:45] <patdk-wk> it's for stuff you need, mainly, to load your root drive ( / )
[19:46] <patdk-wk> like raid drivers, iscsi drivers, ...
[19:46] <axisys> any idea why /etc/fstab is empty now ?
[19:46] <axisys> is there a way to regenarate it ?
[19:52] <patdk-wk> just restore it from your backup
[19:53]  * RoyK waits for the "what backup?"
[19:54] <patdk-wk> 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] <pittstains> arg, so I did:
[19:55] <pittstains> $ sudo modprobe hid
[19:55] <pittstains> $ sudo modprobe usbhid
[19:55] <pittstains> $ sudo modprobe usb_storage
[19:55] <pittstains> $ lsusb
[19:55] <RoyK> !pastebin
[19:55] <pittstains> and all i get is a bunch of these: Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[19:56] <patdk-wk> you have any usb things plugged in?
[19:56] <pittstains> different bus IDs of course, just didn't want RoyK to yell at me again!
[19:57] <pittstains> yes i have a Maxtor external drive
[19:57] <pittstains> which automounts on my Linux laptop
[19:57] <pittstains> but doesn't show up at all on my server
[19:57] <patdk-wk> you have a dual power cord plugged into it?
[19:57] <patdk-wk> most likely the server isn't giving it a good 1amp of power
[19:57] <pittstains> good thinking
[19:57] <pittstains> i'll try that
[19:58] <patdk-wk> I wish they would make a usb hub, that give 1a or even 2a per port :(
[20:00] <pittstains> patdk-wk: still no love
[20:00] <pittstains> what's the best place to look for useful debugging?  dmesg?
[20:00] <patdk-wk> yep
[20:01] <pittstains> also, I am dumb; device has its own power supply :-)
[20:01] <patdk-wk> ah
[20:02] <axisys> 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] <takamarou> 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] <axisys> in dmesg I see a message about sdc1 ..
[20:02] <axisys> md: export_rdev(sdc1)
[20:03] <genii-around> 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] <axisys> chroot did not work.. i used sed
[20:04] <axisys> but fstab is empty.. but i got a backup fstab.. not a problem..
[20:04] <axisys> big problem is md10 (raid10) data disk seems broken bad
[20:05] <axisys> http://pastebin.com/dhx7BZhi this dmesg says raid10: not enough operational mirrors for md10
[20:06]  * RoyK hums zfszfszfszfszfszfszfszfszfszfszfszfszfszfszfs
[20:06] <SpamapS> RoyK: I've used postgresql for a number of things
[20:06] <SpamapS> RoyK: mysql and postgres have their strengths and weaknesses. Like sledge hammers and claw hammers.. neither is perfect for every job
[20:07] <pittstains> patdk-wk: here are the last few lines from dmesg
[20:07] <pittstains> i'm not really sure how to read this, or what the numbers in brackets mean
[20:07] <pittstains> http://paste.ubuntu.com/546380/
[20:08] <RoyK> SpamapS: imho postgresql overgoes mysql in most ways, perhaps except for a miniature setup of wordpress or something
[20:09] <patdk-wk> pittstains, that doesn't show any usb things at all
[20:09] <patdk-wk> so no debug messages to help
[20:10] <patdk-wk> but something with youe firewire is going nuts, you sure you didn't use firewire to connect that drive?
[20:10] <apw> hggdh, ok the last test kernel is up
[20:11] <hggdh> apw: uectst4?
[20:11] <apw> hggdh, indeed
[20:11] <hggdh> apw: downloading it now, thanks
[20:12] <SpamapS> RoyK: the replication story on postgres is awful
[20:12] <SpamapS> RoyK: for ad hoc queries, its by far the best though
[20:13] <SpamapS> 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] <pittstains> patdk-wk: i tried firewire with another drive last week and failed
[20:14] <SpamapS> 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] <SpamapS> RoyK: I've never seen postgres fail to deliver on everything it promises. Mysql just promises more, and occasionally fails. ;)
[20:24] <zul> occasionally?
[20:30] <hggdh> apw: boots without a hitch. I am uploading dmesg and lspci -vvvnn now
[20:30] <apw> hggdh, thanks
[20:36] <axisys> i got stuck back in the same place
[20:37] <axisys> my fstab looks just same
[20:38] <axisys> http://pastebin.com/vr87FDr2
[20:38] <axisys> but I still get ALERT! /dev/disk/by-uuid/08febc85-9ce2-40ac-a354-e006f709a586 does not exist. Dropping to a shell!
[20:39] <axisys> (initramfs) cat /proc/cmdline
[20:39] <axisys> BOOT_IMAGE=/boot/vmlinuz-2.6.32-27-generic root=UUID=08febc85-9ce2-40ac-a354-e006f709a586 ro console=ttyS0,9600n8
[20:39] <axisys> so how do I change this root ?
[20:39] <axisys> why is it trying to pick /dev/md1's UUID when fstab says /dev/sda2
[20:45] <SpamapS> axisys: did you update-initramfs?
[20:45] <axisys> no
[20:45] <axisys> SpamapS: ^
[20:45] <axisys> SpamapS: after making the change to fstab ?
[20:46] <axisys> 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] <axisys> so it could not find the md1 .. so I picked one of the mirror disk sda2 and were able to boot once..
[20:47] <axisys> to make sure fstab works i tried to reboot again and now it does not want to boot again
[20:48] <axisys> from busybox ls /dev/md* shows only the data disk md10 .. not md1 (root) or md0 (swap)
[21:33] <osmosis> how do I view the new changelog before installing an update?
[21:36] <soren> osmosis: apt-listchanges does some of that
[21:47] <hggdh> mathiaz: can you add jibel as a dev on the ubuntu-server-iso-tests?
[21:47] <axisys> i see initrd.img and initrd.img.old
[21:47] <axisys> should I swap them? will that fix my issue ?
[21:47] <axisys> same thing with vmlinuz
[21:48] <axisys> on /dev/sda2 root device
[21:48] <axisys> hmm busybox does not have unlink.. oh well
[21:49] <mathiaz> hggdh: I made you an administrator of https://launchpad.net/~ubuntu-server-iso-testing-dev
[21:51] <hggdh> mathiaz: oooohhhh
[21:51] <hggdh> mathiaz: thank you
[21:51] <mathiaz> hggdh: you're welcome!
[21:55] <RoyK> how can I rename a VM?
[21:55] <RoyK> doesn't look like it's possible from virt-manager
[22:06] <SpamapS> zul: tests still running..  UGH
[22:08] <SpamapS> Completed: Failed 1/1633 tests, 99.94% were successful.
[22:08] <SpamapS> damn
[22:08] <SpamapS> Spent 7586.540 of 10284 seconds executing testcases
[22:08]  * SpamapS thinks 3 nines is all mysql is used for anyway
[22:28] <mathiaz> kees: hi!
[22:28] <mathiaz> kees: what's the default shadow encrypting scheme in lucid?
[22:28] <mathiaz> kees: sha* something?
[22:29] <lenios> it's $6, so sha*
[22:31] <lenios> sha512
[22:31] <mathiaz> lenios: yop - thanks!
[22:39] <patdk-wk> shadow encrypting scheme, that is a new one
[22:39] <patdk-wk> default password hash :)
[22:40] <patdk-wk> sha512 with 8byte salt :)
[22:40] <patdk-wk> 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
[23:07] <kieppie> hi guys. I'm having difficulty with file locks & I'm not entirely sure how to debug the issue.
[23:07] <kieppie> 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] <kieppie> 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?