[00:00] <izanagisan> update*
[00:38] <Quest> if i have installed ubuntu-desktop . how to make ubuntu/kubuntu boot and only go to console automatically. do not load gui?
[00:40] <izanagisan> sarnold: so, in theory, there's no easy way to install an old version of postgres, even if I have the .tar file?
[00:41] <izanagisan> always thought it was as easy to install old versions of things in linux as it is in windoes
[00:41] <sarnold> Quest: create an override file for lightdm's upstart job: http://upstart.ubuntu.com/cookbook/#override-files
[00:43] <sarnold> izanagisan: if you're starting from a source package, you've got to compile it. if you just want an old binary package, you can go find those (for example, https://launchpad.net/ubuntu/+source/postgresql-8.2 )
[00:44] <sarnold> izanagisan: but 8.1 looks too old, if you change that 8.2 to 8.1, you'll see what I mean..
[00:44] <izanagisan> oh, ok. Must be easy to restore the 8.1 database into 8.2
[00:45] <izanagisan> it's just that restoring a 8.1 database dump into 9.2 is damn near impossible
[00:45] <izanagisan> sarnold: thanks a lot : )
[00:46] <sarnold> heh, even the 8.1 package directory is empty: http://archive.ubuntu.com/ubuntu/pool/main/p/postgresql-8.1/
[00:46] <sarnold> .. I thought it'd be there.
[00:52] <izanagisan> sarnold: I checked the downloadable files, but I get .tar.gz files
[00:52] <izanagisan> so, I'd also have to compile them from source, I think?
[00:52] <izanagisan> as you can see, I come from UbuntuDesktop and have never compiled from source
[00:52] <izanagisan> so I'm not even sure of what's going on there
[00:53] <izanagisan> oh no!
[00:53] <izanagisan> found the .DEB
[00:53] <izanagisan> : )
[00:53] <sarnold> yay!
[00:53] <sarnold> where was it?
[00:53] <izanagisan> I can apt-get install a .deb, right?
[00:53] <izanagisan> http://launchpadlibrarian.net/12789312/postgresql-8.2_8.2.7-1_ia64.deb
[00:53] <sarnold> dpkg -i ..
[00:53] <izanagisan> thanks!
[01:04] <izanagisan> I get expectable dependency problems. How do I download packages? with aptitude?. For instance: "Package libkrb53 is not installed"
[01:06] <sarnold> izanagisan: you could try installing those with apt-get install libkrb53 or whatever you prefer.. hopefully you won't need similarly ancient versions of the other packages
[01:07] <izanagisan> well, I did *apt-get -f install*
[01:08] <izanagisan> and that somehow solved those issues
[01:08] <izanagisan> I also had to download the postgresql-client-8.2
[01:08] <izanagisan> so I did and now it would appear that I have postgresql 8.2!
[01:09] <izanagisan> hate when I don't quite understand what happens but oh well, I need to run that test
[01:20] <ddsss> how do you people keep your ssh keys if you have to use several desktops for example and u need to access servers from all of these desktops?
[01:20] <TheLordOfTime> i give each system its own SSH key
[01:20] <TheLordOfTime> and each of them is able to SSH auth to the user on the server (never root directly)
[01:20] <ddsss> TheLordOfTime: do u add passphrase as well?
[01:21] <TheLordOfTime> absolutely
[01:21] <TheLordOfTime> usually a different one for each system, but i'm hyper paranoid
[01:21] <ddsss> TheLordOfTime: how do u keep track of all of these passphrases?
[01:21]  * TheLordOfTime can't tell you.
[01:21] <TheLordOfTime> secret.
[01:21] <ddsss> TheLordOfTime: iohhh CAMON
[01:21] <TheLordOfTime> nah i kid, i keep an encrypted database with the passcodes/keys, if I forget.
[01:22] <ddsss> TheLordOfTime: likee keepassx?
[01:22] <TheLordOfTime> i don't like keepassx, but that's one method
[01:22] <ddsss> TheLordOfTime: truecrypt? cryptfs?
[01:22]  * TheLordOfTime GPG encrypts a sqliteDB with the data on it, and then encrypts the folder the GPG-encrypted sqliteDB is in.
[01:23] <TheLordOfTime> as i said, i'm hyper paranoid, don't use my methods for normal use
[01:23] <ddsss> TheLordOfTime: i see...
[01:23] <TheLordOfTime> but generally speaking I will create an SSH key for each system.
[01:23] <TheLordOfTime> and place its public key data into the authorized_hosts file on the server those systems SSH to
[01:24] <TheLordOfTime> (the only system that I do NOT have a ssh key passphrase on is one which requires two-factor authentication, biometric+smartcard, to login
[01:24] <TheLordOfTime> but that's an implied hyper-secure system)
[01:24] <ddsss> ThatOneRoadie: dafuck who are u working for - pentagon?
[01:24] <TheLordOfTime> xD
[01:24] <TheLordOfTime> oh btw
[01:24] <TheLordOfTime> !language
[01:24] <TheLordOfTime> ^ that
[01:25] <TheLordOfTime> SHUT UP BOT!
[01:25]  * TheLordOfTime kicks uvirtbot into /dev/null
[01:25] <izanagisan> ^ dpck
[01:25] <izanagisan> heheh
[01:25] <izanagisan> ^ dpkg
[01:26] <ddsss> TheLordOfTime: it's almost kinda be cool to have some usb drive-based keychain or something...
[01:26] <izanagisan> ah, I get it, it's not a valid command for the bot, thought it checked Ubuntu commands
[01:26] <TheLordOfTime> izanagisan:  :P
[01:26] <TheLordOfTime> nah.
[01:26] <TheLordOfTime> it's just being stupid.
[01:27] <TheLordOfTime> ddsss:  i don't work at the pentagon.  but i'm also NOT saying where I work
[01:27] <TheLordOfTime> because i'm not in the mood to talk about that
[01:27] <ddsss> TheLordOfTime: yep. there are many otehr 3-letter agencies.
[01:27] <TheLordOfTime> having said this, you can either (1) clone your ssh keys across all your systems so they're shared, or
[01:27] <TheLordOfTime> (2) create an SSH key for each system accessing the remote system, and on the remote system add each key into the authorized_keys file
[01:27] <TheLordOfTime> or some weird auth system other than that one, but to answer your question... :P
[01:28] <ddsss> TheLordOfTime: yeah. I guess that's what I'm gonna do.
[01:31] <sarnold> the complication is that if you often ssh from one 'desktop' to another 'desktop', compromising one key probably compromises all the keys. I think it's a bit false-sense-of-safety to have multiple ssh keys for multiple client machines, if you ssh among them regularly. if you never ssh -to- a certain machine, giving it a unique key then -does- feel useful to me. (say, your phone or tablet or travel-laptop..)
[02:45] <ddsss> 4/exit
[04:30] <phunyguy> is it possible to create a bridge interface like br0 with no actual devices in it?
[04:31] <phunyguy> like an empty bridge staged for future use?
[04:57] <sarnold> phunyguy: I think either the libvirt or lxc startup scripts create an empty bridge at boot..
[05:06] <ia0001> can someone please help me why flash not woring in ubuntu server>
[05:07] <ia0001> im using 12.04 LTS
[05:07] <ia0001> ive tries tons of methods just not working
[05:07] <ia0001> manual install.. flash 11.. and the newer plug in
[05:07] <ia0001> none of them work
[05:12] <petey> is there a command i can run that searches for specific text in say, php files?
[05:14] <sarnold> petey: grep -r "specific text" /path/to/top/directory/of/files
[05:14] <petey> perfect!
[05:14] <petey> thank you very much
[05:52] <cuken> I'm having a problem with vsftpd, internally on an ftp conection I'm able to see the directories that I specify, if I access it from an external address, I have to force it to use active mode, and it shows no directories
[05:55] <sarnold> cuken: does your ftp server have an externally routable IP address?
[05:56] <andol> cuken: How does your nat/firewall handle the data channel?
[05:56] <cuken> yes it does
[05:56] <cuken> I have it on a dynamic dns
[05:56] <cuken> accessible through a name, I'm able to make a connection
[05:56] <cuken> and pass my credentials through
[05:56] <cuken> :andol I changed the default port and it appears to be open
[05:57] <andol> Still sounds like you have your control channel working, but the data channel being the problematic one.
[05:58] <cuken> ahh, ok so I need to open the data channel as well?
[05:58] <sarnold> yeah
[05:58] <cuken> is it possible to have the inbound and data share the same port?
[05:59] <sarnold> use sftp instead :)
[05:59] <andol> Yeah, sftp alt. http/webdav is really preferable to ftp in almost any case.
[06:00] <Nafallo> cuken: http://wooledge.org:8000/FtpMustDie
[06:00] <Nafallo> ;-)
[06:00] <cuken> sheesh, I've uncovered a movement! I'm sorry!
[06:00] <Nafallo> that said, stuff like wordpress seems to like having ftp available :-P
[06:00] <cuken> I just wanted easy access to a share, cant we all just get along
[06:01] <sarnold> sftp is easier too! :)
[06:01] <cuken> ok so use my ssh server with sftp
[06:01] <andol> Exactly, nothing easy about ftp.
[06:02] <cuken> Due to your wisdom oh powerful ones, ftp server is dead
[06:03] <cuken> Thanks for the tip guys
[06:03] <Nafallo> yw :-)
[06:03] <sarnold> woo :)
[06:04]  * Nafallo sings ♫ another one bites the dust ♪
[06:08] <Nafallo> hrm. that URL I posted changed location...
[06:08] <Nafallo> http://mywiki.wooledge.org/FtpMustDie
[06:36] <cuken_> I'm failing on this sftp setup lol
[06:37] <cuken_> I'm getting a message about a non trusted key, and then after i click accept anyways, it looks like my server is blocking it
[06:48] <xro> Hi, i just found a /dev/.tmp11-1 what is this? is it legitimate?
[06:50] <sarnold> xro: i don't have one on my raring laptop.. check lsof to see if anything is using it?
[06:52] <cuken_> Did I read correctly that the root directory of your CHRootDirectory in sftp needs to be owned by the same group as the user connecting?
[06:54] <sarnold> cuken_: sshd_config says "all components of the pathname must be root-owned directories that are not writable by any other user or group" -- I'd guess that group ownership is only necessary if you want to grant read access via group permissions rather than to everyone
[06:55] <cuken_> Hm. I'm not understanding that correctly then. I have a ZFS pool mounted at /storage
[06:55] <cuken_> currently my regular account owns /storage, and all subfolders within it
[06:56] <cuken_> I'm trying to delegate sftp access to my girlfriends account and mine so we can access it externally from our network, so I created a CHrootdirectory to be based off of storage, but external calls are getting blocked
[06:56] <cuken_> did I just set it up completely wrong?
[06:56] <cuken_> erm not blocked but denied by sftp
[06:57] <sarnold> /storage would need to be root-owned and not writable by your user..
[06:59] <cuken_> well thats not good lol
[06:59] <cuken_> i have all my applications that dump data into storage running on my regular account
[07:05] <sarnold> cuken_: why chroot?
[07:05] <cuken_> that was the tutorial iwas reading
[07:05] <cuken_> didnt know I had an option for something else
[10:37] <vrturbo> hi all, I've some how managed to brick a rabbitmq install, used for openstack. Anyone know how to fix, service won't install or start  http://pastie.org/7660220 ???
[10:46] <vrturbo> ive tried apt-get remove and purge follow by autoremove, still no luck
[10:46] <vrturbo> ubuntu 12.04 server
[12:37] <ckuerste> jamespage, I am preparing a security patch for tomcat6. I want to test it before I load it up. jdstrand said that you might had a look before at the testsuite provided and might be able to help me.
[13:07] <rbasak> ckuerste: jamespage is at ODS in California at the moment. It finishes today - I think he's back early next week.
[13:07] <ckuerste> okay, thanks.
[13:12] <germanstudent> Hey. I'm wondering how much efford it is to set up VPSs on my own. I have a scenario where I want to run 4 VPS on one machine. Does anyone know how much work is involded setting this up and maintaing the main system afterwards? What's the best technique? KVM?
[13:17] <mardraum> I guess you mean "VM"?
[13:18] <germanstudent> yes -.-
[13:19] <germanstudent> The question is, if this is doable with medium linux skills or how much I have to learn in order to run this host machine
[13:19] <mardraum> qemu-kvm is probably best bet yes, many prefer to use it with libvirt to assist management
[13:19] <mardraum> certainly doable, so long as you are not afraid to 1) google and 2) read
[13:19] <germanstudent> Okay, thanks for the suggestion mardraum.
[13:21] <Froberg> Probably a silly question, but here goes. I'm running Ubuntu Server 12.10 and I wish to create a few shared folders that are going to be accessed from a Windows system. I.e. I want to map the network drives. Previously I've done so with Samba, but I kind of missed having the ability to see space remaining and such. Would NFS be better in this scenario?
[13:22] <mardraum> nfs client on windows? no.
[13:22] <Froberg> also hi sarnold - maxb n' izanagisan :)
[13:22] <maxb> afternoon :-)
[13:23] <Froberg> Thank you again for the help yesterday :)
[13:23] <Froberg> mardraum is there any way for a linux share to display on the remote computer what kind of space is remaining? :)
[13:23] <mardraum> a linux share?
[13:23] <mardraum> you mean samba?
[13:24] <Froberg> Whatever gets the job done, really. I'm just wondering if I can make a network drive on my ubuntu box that I can add on Windows, and see how much space has been used out of the available space total.
[13:24] <Froberg> i.e. like a normal network drive.
[13:25] <Froberg> Haven't gotten that to work with Samba. It just seems silly to check the server every time I need to see free space.
[13:25] <Froberg> Apologies if I'm not explaining myself properly :D
[15:47] <petey_> does godaddy not support grep?
[15:47] <petey_> i tried running grep on a godaddy server (which worked great on my VPS) but nothing showed up on the godaddy one
[17:01] <Fieldy> is there a way to tell apt to not try to execute things in /tmp/ ? i have it mounted noexec for a reason, but if I can set that working directory to be elsewhere, I can avoid problems.
[17:04] <sw0rdfish> are vservers as good as OpenVZ vps
[17:05] <GrueMaster> Nothing definitive on if I can hot-add cpus in kvm on 12.04.2 server. Anyone know more on this? I have a vm with 2 current, 16 max cpus. Bumping current to 4 doesn't appear to affect the guest OS (also 12.04)
[17:20] <RoyK> GrueMaster: I don't think that's currently possible. Try asking on #virt @ irc.oftc.net
[17:20] <GrueMaster> k, thx.
[17:24] <RoyK> http://www.linux-kvm.org/page/CPUHotPlug
[17:35] <GrueMaster> Yea, I read that (and several other web pages).  Nothing definitive, everything contradictory.
[17:37] <GrueMaster> "A new cpu should appear on /sys/devices/system/cpu"  -  this is the part that appears to fail for me.  virsh vcpuvount <domain> changes accordingly when I use virsh setvcpus <domain> <#> --live, but the guest doesn't get an acpi event.
[17:43] <holymacaroons> What's the difference between a Cluster Instance and the Regular Ubuntu server on Amazon Web Services?
[17:43] <Kenjiro> good afternoon
[17:43] <RoyK>  just tested with 13.04 - no new cpu found after that command
[17:43] <RoyK> (for GrueMaster)
[17:45] <GrueMaster> Hmm.  Not sure if this is a bug or incomplete feature.
[17:46] <RoyK> imho an incomplete feature is a bug :P
[17:56] <sw0rdfish> Hey, I should be ok using an openvpn install script written for an OpenVZ vps on KVM V vps, right?
[18:00] <sarnold> sw0rdfish: I'd expect the openvz-based script to create and modify network interfaces in an openvz-specific way
[18:31] <sw0rdfish> hmmmmmmmmmmmmmmmmmmmmmmmmmmmm.
[18:58] <Kenjiro> guys, I am kindda noob in terms of Ubuntu...
[18:58] <Kenjiro> how can I download an old version of a package?
[18:59] <Kenjiro> the server where we run redmine was on version 10.04. But today it got upgraded to 12.04. The upgrade went just fine, but now redmine (which is version 1.1.1 (pretty old) won't work)
[19:00] <Kenjiro> one thing I noticed, reading it's documentation is that it requires rubygem-1.3.1
[19:00] <Kenjiro> and now we have rubygems-1.8.5 installed
[19:00] <Kenjiro> (among other dependencies)
[19:01] <Kenjiro> Is the only way to do that downgrade by pointing apt-get to use 10.04 repositories?
[19:03] <sarnold> Kenjiro: you may wish to read up on package pinning; you can enable multiple repositories and pin specific packages to come from different repositories. though I wonder why you cannot just use a newer redmine that works with newer software?
[19:05] <Kenjiro> sarnold: my coworker was trying to make a newer install, on another server. He was having a hard time to make it work
[19:06] <Kenjiro> that's the problem when something is installed and configured by some who is no longer in the company...
[19:06] <Kenjiro> and worse, he hasn't documented anything he did to make the stuff work back then :(
[19:07] <Kenjiro> *someone
[19:07] <sarnold> Kenjiro: oh man :( my condolances :(
[19:07] <Kenjiro> yeah
[19:17] <Arrick> good afternoon all... I need to know how to tell if my ubuntu lts (latest stable) has a working outbound email... how would I tell that?
[19:18] <RoyK> Arrick: mail someone@somewhare.com < /dev/null
[19:19] <Arrick> not currently installed.
[19:19] <Arrick> how do i install it?
[19:19] <RoyK> then install it
[19:19] <RoyK> apt-get install mail-utils iirc
[19:20] <Arrick> unable to locate
[19:20] <RoyK> apt-get install mailx
[19:24] <Arrick> ok, it was mailutils
[19:24] <Arrick> no dash
[19:30] <RoyK> ok
[19:31] <Arrick> thanks... its not doing anything after I set it up with all defaults...
[19:31] <RoyK> install postfix
[19:32] <RoyK> iirc the default is another mta
[19:32] <Arrick> did that, even reconfigured it according to http://tsengf.blogspot.com/2012/01/send-email-from-command-line-in-ubuntu.html
[19:33] <RoyK> does mailq show anything?
[19:33] <Arrick> got it to work, had to use satellite in setup
[19:33] <Arrick> thanks.
[19:39] <Arrick> hrm... how do i change the name that it is sending as to noreply@ ?
[19:46] <Arrick> RoyK, I see th following at a site regarding sending as a generic account...
[19:46] <Arrick> >>/etc/postfix/generic echo "http@example.com   admin@example.com" >> /etc/postfix/main.cf echo "smtp_generic_maps = hash:/etc/postfix/generic"
[19:46] <Arrick> postmap /etc/postfix/generic
[19:46] <Arrick> service postfix restart
[19:46] <Arrick> but when I run the first part, it says "no such file or folder found"
[20:39] <izanagisan> hi all. Good evening-morning-night
[20:39] <izanagisan> found a contradiction on IBM's official guide on RAID
[20:40] <izanagisan> "A larger stripe size produces higher read performance. If your computer regularly performs random read requests, choose a smaller stripe size. The default is 64 Kbytes"
[20:41] <izanagisan> what is it then? if larger stripe size produces higher read performance, then should I not choose a larger stripe size if my disc array will be used mostly for reading?
[20:43] <izanagisan> (full disclosure: I'm installing RAID 5 on 3 physical drives that will hold a small-ish PostgreSQL database)
[20:49] <RoyK> good localtime();
[20:49] <Arrick> can anyone tell me why I am getting this from a ubuntu server with apache2?? Incorrect access detected, this server may be accessed only through "http://10.3.20.9" address, sorry.
[20:49] <Arrick> Please notify server administrator.
[20:50] <RoyK> izanagisan: for a small postgresql db on hardware raid, use a smallish blocksize
[20:50] <RoyK> 64kB seems like a good choice
[20:54] <Malinux> I have a server with a Pentium D 2.8GHz. Is it possible to set cpu-scaling on it?
[20:54] <Malinux> running ubuntu 12.04
[20:58] <izanagisan> RoyK: thanks a lot! testing with 8KB, will then use 64KB
[21:19] <RoyK> izanagisan: I just use sw raid these days
[21:20] <RoyK> easier to manage when the shit hits the fan
[21:20] <RoyK> 8k blocks seems rather low
[21:26] <markthomas> izanagisan: is that the same box you were installing yesterday?
[21:47] <izanagisan> markthomas: indeed. Still testing
[21:47] <izanagisan> yesterday I configured RAID 1 on 2 of the drives, stripe size of 128 KB
[21:54] <markthomas> izanagisan: Have you checked the postgres documentation for recommendations?
[23:01] <izanagisan> markthomas: searched for official stances but found only forum posts
[23:01] <izanagisan> seems like the agreement is that 64 KB will be optimal for my needs
[23:06] <markthomas> izanagisan: sounds like a plan.
[23:50] <HSaka> Somebody here could help me with deluge on ubuntu server?