/srv/irclogs.ubuntu.com/2013/04/19/#ubuntu-server.txt

izanagisanupdate*00:00
=== rideh_ is now known as rideh
Questif i have installed ubuntu-desktop . how to make ubuntu/kubuntu boot and only go to console automatically. do not load gui?00:38
izanagisansarnold: so, in theory, there's no easy way to install an old version of postgres, even if I have the .tar file?00:40
izanagisanalways thought it was as easy to install old versions of things in linux as it is in windoes00:41
sarnoldQuest: create an override file for lightdm's upstart job: http://upstart.ubuntu.com/cookbook/#override-files00:41
sarnoldizanagisan: 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:43
sarnoldizanagisan: but 8.1 looks too old, if you change that 8.2 to 8.1, you'll see what I mean..00:44
izanagisanoh, ok. Must be easy to restore the 8.1 database into 8.200:44
izanagisanit's just that restoring a 8.1 database dump into 9.2 is damn near impossible00:45
izanagisansarnold: thanks a lot : )00:45
sarnoldheh, 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:46
izanagisansarnold: I checked the downloadable files, but I get .tar.gz files00:52
izanagisanso, I'd also have to compile them from source, I think?00:52
izanagisanas you can see, I come from UbuntuDesktop and have never compiled from source00:52
izanagisanso I'm not even sure of what's going on there00:52
izanagisanoh no!00:53
izanagisanfound the .DEB00:53
izanagisan: )00:53
sarnoldyay!00:53
sarnoldwhere was it?00:53
izanagisanI can apt-get install a .deb, right?00:53
izanagisanhttp://launchpadlibrarian.net/12789312/postgresql-8.2_8.2.7-1_ia64.deb00:53
sarnolddpkg -i ..00:53
izanagisanthanks!00:53
izanagisanI get expectable dependency problems. How do I download packages? with aptitude?. For instance: "Package libkrb53 is not installed"01:04
sarnoldizanagisan: 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 packages01:06
izanagisanwell, I did *apt-get -f install*01:07
izanagisanand that somehow solved those issues01:08
izanagisanI also had to download the postgresql-client-8.201:08
izanagisanso I did and now it would appear that I have postgresql 8.2!01:08
izanagisanhate when I don't quite understand what happens but oh well, I need to run that test01:09
ddssshow 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
TheLordOfTimei give each system its own SSH key01:20
TheLordOfTimeand each of them is able to SSH auth to the user on the server (never root directly)01:20
ddsssTheLordOfTime: do u add passphrase as well?01:20
TheLordOfTimeabsolutely01:21
TheLordOfTimeusually a different one for each system, but i'm hyper paranoid01:21
ddsssTheLordOfTime: how do u keep track of all of these passphrases?01:21
* TheLordOfTime can't tell you.01:21
TheLordOfTimesecret.01:21
ddsssTheLordOfTime: iohhh CAMON01:21
TheLordOfTimenah i kid, i keep an encrypted database with the passcodes/keys, if I forget.01:21
ddsssTheLordOfTime: likee keepassx?01:22
TheLordOfTimei don't like keepassx, but that's one method01:22
ddsssTheLordOfTime: 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:22
TheLordOfTimeas i said, i'm hyper paranoid, don't use my methods for normal use01:23
ddsssTheLordOfTime: i see...01:23
TheLordOfTimebut generally speaking I will create an SSH key for each system.01:23
TheLordOfTimeand place its public key data into the authorized_hosts file on the server those systems SSH to01:23
TheLordOfTime(the only system that I do NOT have a ssh key passphrase on is one which requires two-factor authentication, biometric+smartcard, to login01:24
TheLordOfTimebut that's an implied hyper-secure system)01:24
ddsssThatOneRoadie: dafuck who are u working for - pentagon?01:24
TheLordOfTimexD01:24
TheLordOfTimeoh btw01:24
TheLordOfTime!language01:24
ubottuPlease watch your language and topic to help keep this channel family-friendly, polite, and professional.01:24
TheLordOfTime^ that01:24
uvirtbotTheLordOfTime: Error: "that" is not a valid command.01:24
TheLordOfTimeSHUT UP BOT!01:25
* TheLordOfTime kicks uvirtbot into /dev/null01:25
izanagisan^ dpck01:25
uvirtbotizanagisan: Error: "dpck" is not a valid command.01:25
izanagisanheheh01:25
izanagisan^ dpkg01:25
uvirtbotizanagisan: Error: "dpkg" is not a valid command.01:25
ddsssTheLordOfTime: it's almost kinda be cool to have some usb drive-based keychain or something...01:26
izanagisanah, I get it, it's not a valid command for the bot, thought it checked Ubuntu commands01:26
TheLordOfTimeizanagisan:  :P01:26
TheLordOfTimenah.01:26
TheLordOfTimeit's just being stupid.01:26
TheLordOfTimeddsss:  i don't work at the pentagon.  but i'm also NOT saying where I work01:27
TheLordOfTimebecause i'm not in the mood to talk about that01:27
ddsssTheLordOfTime: yep. there are many otehr 3-letter agencies.01:27
TheLordOfTimehaving said this, you can either (1) clone your ssh keys across all your systems so they're shared, or01: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 file01:27
TheLordOfTimeor some weird auth system other than that one, but to answer your question... :P01:27
ddsssTheLordOfTime: yeah. I guess that's what I'm gonna do.01:28
sarnoldthe 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..)01:31
ddsss4/exit02:45
phunyguyis it possible to create a bridge interface like br0 with no actual devices in it?04:30
phunyguylike an empty bridge staged for future use?04:31
sarnoldphunyguy: I think either the libvirt or lxc startup scripts create an empty bridge at boot..04:57
ia0001can someone please help me why flash not woring in ubuntu server>05:06
ia0001im using 12.04 LTS05:07
ia0001ive tries tons of methods just not working05:07
ia0001manual install.. flash 11.. and the newer plug in05:07
ia0001none of them work05:07
peteyis there a command i can run that searches for specific text in say, php files?05:12
sarnoldpetey: grep -r "specific text" /path/to/top/directory/of/files05:14
peteyperfect!05:14
peteythank you very much05:14
cukenI'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 directories05:52
sarnoldcuken: does your ftp server have an externally routable IP address?05:55
andolcuken: How does your nat/firewall handle the data channel?05:56
cukenyes it does05:56
cukenI have it on a dynamic dns05:56
cukenaccessible through a name, I'm able to make a connection05:56
cukenand pass my credentials through05:56
cuken:andol I changed the default port and it appears to be open05:56
andolStill sounds like you have your control channel working, but the data channel being the problematic one.05:57
cukenahh, ok so I need to open the data channel as well?05:58
sarnoldyeah05:58
cukenis it possible to have the inbound and data share the same port?05:58
sarnolduse sftp instead :)05:59
andolYeah, sftp alt. http/webdav is really preferable to ftp in almost any case.05:59
Nafallocuken: http://wooledge.org:8000/FtpMustDie06:00
Nafallo;-)06:00
cukensheesh, I've uncovered a movement! I'm sorry!06:00
Nafallothat said, stuff like wordpress seems to like having ftp available :-P06:00
cukenI just wanted easy access to a share, cant we all just get along06:00
sarnoldsftp is easier too! :)06:01
cukenok so use my ssh server with sftp06:01
andolExactly, nothing easy about ftp.06:01
cukenDue to your wisdom oh powerful ones, ftp server is dead06:02
cukenThanks for the tip guys06:03
Nafalloyw :-)06:03
sarnoldwoo :)06:03
* Nafallo sings ♫ another one bites the dust ♪06:04
Nafallohrm. that URL I posted changed location...06:08
Nafallohttp://mywiki.wooledge.org/FtpMustDie06:08
=== security is now known as megha
cuken_I'm failing on this sftp setup lol06:36
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 it06:37
xroHi, i just found a /dev/.tmp11-1 what is this? is it legitimate?06:48
sarnoldxro: i don't have one on my raring laptop.. check lsof to see if anything is using it?06:50
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:52
sarnoldcuken_: 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 everyone06:54
cuken_Hm. I'm not understanding that correctly then. I have a ZFS pool mounted at /storage06:55
cuken_currently my regular account owns /storage, and all subfolders within it06:55
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 blocked06:56
cuken_did I just set it up completely wrong?06:56
cuken_erm not blocked but denied by sftp06:56
sarnold/storage would need to be root-owned and not writable by your user..06:57
cuken_well thats not good lol06:59
cuken_i have all my applications that dump data into storage running on my regular account06:59
sarnoldcuken_: why chroot?07:05
cuken_that was the tutorial iwas reading07:05
cuken_didnt know I had an option for something else07:05
=== smb` is now known as smb
=== roniez is now known as roniez[af]
=== highvolt1ge is now known as highvoltage
vrturbohi 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:37
vrturboive tried apt-get remove and purge follow by autoremove, still no luck10:46
vrturboubuntu 12.04 server10:46
=== security is now known as megha
ckuerstejamespage, 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.12:37
rbasakckuerste: jamespage is at ODS in California at the moment. It finishes today - I think he's back early next week.13:07
ckuersteokay, thanks.13:07
germanstudentHey. 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:12
mardraumI guess you mean "VM"?13:17
germanstudentyes -.-13:18
germanstudentThe question is, if this is doable with medium linux skills or how much I have to learn in order to run this host machine13:19
mardraumqemu-kvm is probably best bet yes, many prefer to use it with libvirt to assist management13:19
mardraumcertainly doable, so long as you are not afraid to 1) google and 2) read13:19
germanstudentOkay, thanks for the suggestion mardraum.13:19
=== wedgwood_away is now known as wedgwood
FrobergProbably 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:21
mardraumnfs client on windows? no.13:22
Frobergalso hi sarnold - maxb n' izanagisan :)13:22
maxbafternoon :-)13:22
FrobergThank you again for the help yesterday :)13:23
Frobergmardraum is there any way for a linux share to display on the remote computer what kind of space is remaining? :)13:23
mardrauma linux share?13:23
mardraumyou mean samba?13:23
FrobergWhatever 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
Frobergi.e. like a normal network drive.13:24
FrobergHaven'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
FrobergApologies if I'm not explaining myself properly :D13:25
=== me is now known as Guest21897
=== Guest21897 is now known as dir
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 one15:47
=== darrenjones is now known as DazJones
Fieldyis 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:01
sw0rdfishare vservers as good as OpenVZ vps17:04
GrueMasterNothing 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:05
RoyKGrueMaster: I don't think that's currently possible. Try asking on #virt @ irc.oftc.net17:20
GrueMasterk, thx.17:20
RoyKhttp://www.linux-kvm.org/page/CPUHotPlug17:24
GrueMasterYea, I read that (and several other web pages).  Nothing definitive, everything contradictory.17:35
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:37
holymacaroonsWhat's the difference between a Cluster Instance and the Regular Ubuntu server on Amazon Web Services?17:43
Kenjirogood afternoon17:43
RoyK just tested with 13.04 - no new cpu found after that command17:43
RoyK(for GrueMaster)17:43
GrueMasterHmm.  Not sure if this is a bug or incomplete feature.17:45
RoyKimho an incomplete feature is a bug :P17:46
=== yofel_ is now known as yofel
sw0rdfishHey, I should be ok using an openvpn install script written for an OpenVZ vps on KVM V vps, right?17:56
sarnoldsw0rdfish: I'd expect the openvz-based script to create and modify network interfaces in an openvz-specific way18:00
=== Ursinha is now known as Ursinha-afk
sw0rdfishhmmmmmmmmmmmmmmmmmmmmmmmmmmmm.18:31
=== Ursinha-afk is now known as Ursinha
Kenjiroguys, I am kindda noob in terms of Ubuntu...18:58
Kenjirohow can I download an old version of a package?18:58
Kenjirothe 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)18:59
Kenjiroone thing I noticed, reading it's documentation is that it requires rubygem-1.3.119:00
Kenjiroand now we have rubygems-1.8.5 installed19:00
Kenjiro(among other dependencies)19:00
KenjiroIs the only way to do that downgrade by pointing apt-get to use 10.04 repositories?19:01
sarnoldKenjiro: 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:03
Kenjirosarnold: my coworker was trying to make a newer install, on another server. He was having a hard time to make it work19:05
Kenjirothat's the problem when something is installed and configured by some who is no longer in the company...19:06
Kenjiroand worse, he hasn't documented anything he did to make the stuff work back then :(19:06
Kenjiro*someone19:07
sarnoldKenjiro: oh man :( my condolances :(19:07
Kenjiroyeah19:07
Arrickgood 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:17
RoyKArrick: mail someone@somewhare.com < /dev/null19:18
Arricknot currently installed.19:19
Arrickhow do i install it?19:19
RoyKthen install it19:19
RoyKapt-get install mail-utils iirc19:19
Arrickunable to locate19:20
RoyKapt-get install mailx19:20
Arrickok, it was mailutils19:24
Arrickno dash19:24
RoyKok19:30
Arrickthanks... its not doing anything after I set it up with all defaults...19:31
RoyKinstall postfix19:31
RoyKiirc the default is another mta19:32
Arrickdid that, even reconfigured it according to http://tsengf.blogspot.com/2012/01/send-email-from-command-line-in-ubuntu.html19:32
RoyKdoes mailq show anything?19:33
Arrickgot it to work, had to use satellite in setup19:33
Arrickthanks.19:33
Arrickhrm... how do i change the name that it is sending as to noreply@ ?19:39
ArrickRoyK, 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
Arrickpostmap /etc/postfix/generic19:46
Arrickservice postfix restart19:46
Arrickbut when I run the first part, it says "no such file or folder found"19:46
izanagisanhi all. Good evening-morning-night20:39
izanagisanfound a contradiction on IBM's official guide on RAID20:39
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:40
=== wedgwood is now known as wedgwood_away
=== wedgwood_away is now known as wedgwood
izanagisanwhat 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:41
izanagisan(full disclosure: I'm installing RAID 5 on 3 physical drives that will hold a small-ish PostgreSQL database)20:43
RoyKgood localtime();20:49
Arrickcan 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
ArrickPlease notify server administrator.20:49
RoyKizanagisan: for a small postgresql db on hardware raid, use a smallish blocksize20:50
RoyK64kB seems like a good choice20:50
MalinuxI have a server with a Pentium D 2.8GHz. Is it possible to set cpu-scaling on it?20:54
Malinuxrunning ubuntu 12.0420:54
izanagisanRoyK: thanks a lot! testing with 8KB, will then use 64KB20:58
RoyKizanagisan: I just use sw raid these days21:19
RoyKeasier to manage when the shit hits the fan21:20
RoyK8k blocks seems rather low21:20
markthomasizanagisan: is that the same box you were installing yesterday?21:26
izanagisanmarkthomas: indeed. Still testing21:47
izanagisanyesterday I configured RAID 1 on 2 of the drives, stripe size of 128 KB21:47
markthomasizanagisan: Have you checked the postgres documentation for recommendations?21:54
=== Ursinha is now known as Ursinha-afk
izanagisanmarkthomas: searched for official stances but found only forum posts23:01
izanagisanseems like the agreement is that 64 KB will be optimal for my needs23:01
markthomasizanagisan: sounds like a plan.23:06
=== wedgwood is now known as wedgwood_away
HSakaSomebody here could help me with deluge on ubuntu server?23:50

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!