[00:13] <psyferre> Hey folks.  I've got a machine with a corrupted crontab file... Characters look a bit like if you try to view an executable in notepad.  Is there any way I can recover?  Maybe a system created backup of some sort?  I didn't think to keep backups of /var/spool/cron.  Any help would be appreciated!
[00:14] <sarnold> psyferre: do you care about their contents?
[00:14] <psyferre> It'd be great to get it back if possible... Crontab for a database backup server.  Lots of screwing around to get everything back to perfect...
[00:18] <psyferre> sarnold: Trying to find some sort of tool that might be able to tell me if it just got converted to some weird encoding that I can just convert back to latin1, but so far no luck.
[00:22] <sarnold> psyferre: seems unlikely, most useful encodings share ASCII in common..
[00:22] <sarnold> psyferre: dying hard drive or a corrupted filesystem data after a reboot are more likely
[00:23] <psyferre> sarnold:  Yeah... that'd be my guess to.  This machine has had some issues lately that might have contributed to that.  My googling didn't turn up any "secret system backup" of user crontabs I might be able to use, so I think I'm out of luck
[00:24] <psyferre> trying to see if there's a log somewhere that might have echoed my previous commands
[00:32] <psyferre> Ah, close enough.  For anyone trying to recover a corrupted crontab who might find this IRC log:  You can at least get a copy of all commands and when they ran from your old crontab by grepping syslog for CRON.  http://askubuntu.com/questions/56683/where-is-the-cron-crontab-log
[00:39] <sarnold> psyferre: oh, hey, grepping syslog is pretty clever :)
[00:41] <psyferre> Woot! :)  Works great for me... I knew when commands were being run, but not precisely what they were.  Score
[01:28] <zwirc> Hi! Can i check if a user on my ubuntu server has downloaded or opened any root files?
[01:39] <hadifarnoud> I limited access to SSH port and port 10000 and 20000 by an specific IP. it was all working well. after restart, I cannot connect to SSH with that IP. this is my iptable. http://pastebin.com/F1JNgw6w any idea?
[01:39] <hadifarnoud> iptables -L http://pastebin.com/9vwgr5b8
[01:44] <bananapie> can I build a precise (12.04) vm machine from a lucid (10.04 ) host using ubuntu-vm-builder ? I symbolic linked gutsy to precise in /usr/share/debootstrap/scripts.
[01:45] <storrgie> I have a service (mpdscribble) that I want to enable (from the terminal) but when I do an update-rc.d mpdscribble enable it errors out saying: mpdscribble runlevel arguments do not match the LSB default start values
[03:39] <zwirc> Hi! To install LAMP, is this the correct procedure: http://www.unixmen.com/install-lamp-with-1-command-in-ubuntu-1010-maverick-meerkat/
[06:11] <daya> I upgraded Ubuntu 10.04 Server using Alternate CD, but it doesn't upgrade the kernel. Plz help me
[06:11] <daya> Any way to upgrade the kernel using Alternate CD
[06:12] <andol> daya: Well, I have no idea exactly what you have done, but assuming you have gotten the rest of your userspace, your apt sources etc upgraded, why don't you just use apt-get to install the current kernel?
[06:23] <daya> andol: Actually I am seeking some offline way, where there is not Internet connection
[06:24] <daya> andol: I mounted the Alternate CD and run cdromupgrade script without using the network
[06:25] <daya> It should upgrade the kernel as well isn't it?
[06:29] <daya> andol: is there any way to make do-release-upgrade offline, I mean to point it in local repo
[06:38] <andol> daya: Might be that do-release-upgrade has an additional dependency, but otherwise you can always point your sources.list at a local repositoriy.
[06:40] <daya> andol: ok,
[06:40] <daya> andol: Alternat CD should upgrade the kernel as well isn't it ?
[06:40] <daya> andol: all are updated but not kernel
[06:45] <andol> daya: No idea about the Alternate CD upgrade
[07:24] <Pupeno> Does anybody have a recommendation on servlet containers to run on Ubuntu? should I go with Apache Tomcat?
[07:32] <gnuyoga> Pupeno: why not, go ahead
[07:32] <gnuyoga> Pupeno: apache tomcat works brilliant in Ubuntu
[07:32] <Pupeno> gnuyoga: because there's also Jetty that I could use.
[07:33] <gnuyoga> Pupeno: Jetty is powerful but i don't think there is a deb package available
[07:33] <Pupeno> gnuyoga: yes, there is for Ubuntu 12.04; and there's even solr integration for both already packaged :)
[07:34] <gnuyoga> Pupeno: ( am bit out dated on jetty package ). u r right i see a package http://packages.ubuntu.com/search?keywords=jetty
[07:34] <Pupeno> I'm more interested in which one is more straight forward to configure and maintain.
[07:35] <gnuyoga> Pupeno: both should be equally easy. you can configure mod_jk ( Apache htttpd server ) to connect to jetty or Apache Tomcat
[07:37] <gnuyoga> Pupeno: go ahead and install/configure Jetty. You will not be disappointed ( since i have seen Jetty performance is way much better than Apache tomcat ) and much stable in production. If you find a error irc is there to help you ;)
[07:37] <Pupeno> Ok. Thanks.
[08:48] <samuel_> Hi :)
[08:50] <samuel_> Just updated our main server (running Ubuntu 8.04) to 10.04 with update-manager-core
[08:51] <samuel_> Slapd is now broken and can't be configured with dpkg-reconfigure
[08:52] <samuel_> I removed both slapd and ldap-utils with apt-get purge
[08:52] <samuel_> then re-installed these two packages back
[08:53] <samuel_> Is there a way to import our old LDAP database to this new LDAP installation ?
[08:53] <samuel_> Thanks for your help !
[09:00] <maxb> samuel_: Um. 'purge' is a rather drastic step, that usually means erasing all traces of the package. You may have deleted your database. Have a look what exists in /var/lib/ldap, and in /var/backups
[09:03] <samuel_> maxb, apt-get remove didn't work, so I "had" to use apt-get purge in order to remove these packages. Don't worry though, the backups are still in /var/backups :)
[09:03] <maxb> I am a little surprised that purge worked when remove didn't
[09:04] <samuel_> There are also some stuff in /var/lib/ldap, as you said
[09:05] <samuel_> I really don't know why remove didn't work
[09:05] <maxb> The stuff in /var/lib/ldap might be the old DB, or it might be an empty new one created by purge+install
[09:07] <samuel_> How could I tell the difference between these two cases ?
[09:10] <samuel_> "ls -al --time ctime" says the files are from today
[09:10] <samuel_> so I guess it's a new DB
[09:18] <samuel_> maxb, my colleague has an LDIFF backup of our old DB, could it be useful ?
[09:19] <maxb> Sure, just restore the backup
[09:22] <samuel_> maxb, could you please point me to some online documentation on how to do that ? I browsed www.openldap.org, without success so far...
[09:23] <maxb> I work with slapd from time to time, but I don't have the exact commands memorized. I'd have to research it myself
[09:29] <samuel_> I'll have a look at the slapd man page, I'll tell you if I find anything
[09:33] <samuel_> maxb, could slapadd -c -l backup.ldif be the right command ?
[09:55] <samuel_> maxb, just tried slapadd -c -l our.backup.file.ldif and it didn't work
[10:07] <maxb> "didn't work" isn't enough info for anyone to say anything useful
[10:12] <samuel_> maxb, I'm sorry for the lack of info, I'm new to the LDAP protocol and it's way above my head at the moment
[10:13] <maxb> Well, error messages are a good start
[10:14] <gnuyoga> samuel_: i have don't good amount of research recently on openldap i can point some documentation
[10:14] <gnuyoga> samuel_: for sure there is less clarity on many features available in Openldap 3 ( there are plenty of documentation on openldap 2 )
[10:15] <gnuyoga> samuel_: do u have a old backup ? (  import our old LDAP database ) ??
[10:16] <samuel_> maxb, if I remember correctly it was something like "slapd doesn't permit slapadd" or something like that...
[10:17] <samuel_> gnuyoga, yes, my colleague has an ldif file ready
[10:17] <gnuyoga> samuel_: then its easy
[10:18] <gnuyoga> samuel_: i would suggest mv /var/lib/ldap and a archive folder and reinstall the package ( install openldap-server, openldap-client and phpldapadmin )
[10:18] <gnuyoga> samuel_: dpkg-reconfigure slaps ( and enter the base dn if you remember, else check it in ldif file )
[10:19] <gnuyoga> samuel_: * sorry dpkg-reconfigure slapd
[10:19] <gnuyoga> samuel_: phpldapadmin is a easier way since it has nice cute web interface to handle all operation w.r.t import export of LDIF works clean without hassle
[10:24] <samuel_> my colleague is working on the LDAP server right now, I'll keep you guys posted :)
[10:25] <samuel_> Anyway, thanks maxb and gnuyoga for your help, it's really appreciated :)
[10:25] <gnuyoga> samuel_: great
[10:26] <gnuyoga> samuel_: BTW a decent reference i always refer to is here http://www.zytrax.com/books/ldap/ch14/
[10:26] <samuel_> It's lunch time here in this part of the world, I'll be afk for half an hour approx.
[10:29] <gnuyoga> samuel_: bon appetite  !!
[10:32] <hadifarnoud> I limited access to SSH port to my IP address. I saved the rules and rebooted. after iptables restore, even I can't access ssh port. is the order of my iptables rules wrong? http://pastebin.com/F1JNgw6w
[10:36] <gnuyoga> hadifarnoud: i just replied u in #ubuntu channel. U don't have a rule for SSH in ur IPTables ;)
[11:29] <samuel_> maxb, gnuyoga, I'm back :) I had 200 grams of spaghetti, a grapefruit, and some coffee :)
[11:30] <gnuyoga> samuel_: measure and eat !!!! its a sin ;)
[11:31] <samuel_> :D
[11:31] <samuel_> My colleague is also back from lunch and working on the LDAP server
[11:32] <gnuyoga> samuel_: g8. get the system installed with required packages
[11:35] <samuel_> yep, if I understand correctly my colleague is ldapadding some extra schemas in order to get samba working with LDAP
[11:41] <Senor> How can I cancel those irrelevant process initialize at  system startup ?
[11:47] <rbasak> Senor: http://upstart.ubuntu.com/cookbook/#disabling-a-job-from-automatically-starting
[11:48] <rbasak> Senor: I'm not sure why you'd want to do this though. Ubuntu Server ships with minimal daemons anyway.
[11:54] <Senor> rbasak: After my server startup , this command "ps -ef" shows me 98 process running
[11:54] <Senor> So I feel it is fat
[11:55] <Senor> for example: there are 12 kworker running
[11:55] <Senor> 4 watchdog running
[11:56] <rbasak> Senor: you can't do anything about the kernel processes. Best to just ignore them.
[11:56] <rbasak> Senor: kernel processes apply to every Linux-based distribution, not just Ubuntu. They show internal workings that you don't need to worry about.
[11:57] <Senor> why so many clone of one ?
[12:23] <samuel_> gnuyoga, have you any experience with the slapcat command ?
[12:23] <gnuyoga> samuel_: yup have used it
[12:28] <gnuyoga> samuel_: shoot ur question
[12:34] <samuel_> gnuyoga, my colleague is fighting with this command :) She tries to create a samba.ldif file with it.
[12:35] <samuel_> samba integration with LDAP seems to be the last hurdle...
[12:41] <samuel_> gnuyoga, we don't understand what this samba.ldif file should look like, and information on this subject is scarse
[13:03] <zul> jamespage/roaksoax: https://code.launchpad.net/~zulcss/nova/nova-requests/+merge/171540
[13:10] <pmatulis> samuel_: what are you putting in that LDIF file?
[14:21] <klimtx> hello everybody
[14:22] <klimtx> someone can help me about libmemcached installation?
[14:22] <Darkstar1> hi all
[14:23] <Darkstar1> If I want to start a program as another user, do I need to login as the user?
[14:23] <Darkstar1> I'd like to startup tomcat as the tomcat user instead of root
[14:24] <rbasak> !ask | klimtx
[14:25] <rbasak> Darkstar1: if tomcat uses an upstart job, then you can provide the user in the upstart job configuration file.
[14:25] <Darkstar1> No. I have several installed on the dev system
[14:26] <rbasak> Darkstar1: then you can use start-stop-daemon to start them, which can set the user.
[14:26] <klimtx> I can't install libmemcached on my server this is the error I get:
[14:26] <klimtx> root@nc-ph-0078-02:/libmemcached-1.0.17# make
[14:26] <klimtx> make -j3  all-am
[14:26] <klimtx> make[1]: Entering directory `/libmemcached-1.0.17'
[14:26] <klimtx>   CXX      libtest/libtest_libtest_la-server_container.lo
[14:26] <klimtx>   CXX      libtest/libtest_libtest_la-strerror.lo
[14:26] <klimtx>   CXX      libtest/libtest_libtest_la-timer.lo
[14:26] <klimtx> libtest/server_container.cc: In member function 'libtest::Server* libtest::server_startup_st::create(const string&, in_port_t, bool)':
[14:26] <klimtx> libtest/server_container.cc:241:9: error: 'HAVE_MEMCACHED_BINARY' was not declared in this scope
[14:26] <klimtx> make[1]: *** [libtest/libtest_libtest_la-server_container.lo] Error 1
[14:26] <klimtx> make[1]: *** Waiting for unfinished jobs....
[14:26] <klimtx> make[1]: Leaving directory `/libmemcached-1.0.17'
[14:26] <klimtx> make: *** [all] Error 2
[14:26] <Darkstar1> klimtx: use a pastebin service please
[14:27] <klimtx> sorry :)
[14:27] <Darkstar1> rbasak: I want to be able to start and stop them arbitrarily as I am testing some software.
[14:28] <Darkstar1> two of them are set to use the same ports as they have two slightly different versions of the app I'm testing
[14:30] <Darkstar1> guess not then
[14:40] <rbasak> Darkstar1: in your case it's probably easier to make the port configurable from the command line (via a wrapper script or whatever) and then test that way. You might be interested in LXC or at least network namespaces. Or configure sudo so that you can run it as a different user. But whichever way only root can give you permission to run something as a different user, even if indirectly via a login window (via PAM), etc.
[14:49] <Darkstar1> rbasak: Thanks, I'll just have to keep logging in as the tomcat user and starting them that way. much easier for the time being
[15:13] <ianneub> Howdy all. I've been working through an issue with Ubuntu 12.04 cloud image on EC2 inside a VPC. It seems that cloud-init does not set the hostname in /etc/hosts. which causes hostname -f to fail. I'm wondering if this is a bug?
[15:22] <rbasak> ianneub: can you check your behaviour against http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/precise/cloud-init/precise/view/head:/doc/examples/cloud-config.txt#L397 - after reading that, do you still think that there's a bug?
[15:27] <ianneub> Thanks rbasak. I did not realize that the default was false. Given that I wouldn't consider it a bug.
[15:29] <yolanda> jamespage, zul: https://code.launchpad.net/~yolanda.robla/ubuntu/saucy/ipxe/ftbfs/+merge/171586
[15:29] <ianneub> Perhaps there is an issue with /bin/hostname ? It will error out on a machine in VPC, but not in the normal EC2 cloud
[15:29] <zul> yolanda:  you rebuilt it with the patch and it works fine?
[15:29] <zul> er...builds fine?
[15:29] <ianneub> (I can't believe i'm the only one having this problem, so I must be doing something wrong, but not sure what it is)
[15:32] <rbasak> ianneub: can you pastebin the error, the output of "hostname" and your /etc/hosts?
[15:32] <rbasak> ianneub: VPC became default for new customers only recently, and old customers still use non-VPC I think. I wonder if that's the reason others haven't reported this?
[15:33] <ianneub> http://pastebin.com/eQfmkDJt
[15:33] <ianneub> Possibly, that or everyone else using VPC is a lot smarter than I am :)
[15:33] <yolanda> zul, yes
[15:33] <zul> yolanda:  ok cool
[15:34] <jamespage> yolanda, zul: please see my comment on the MP
[15:34] <jamespage> yolanda, upstream is a good place to look for fixes first
[15:34] <rbasak> ianneub: what do you expect hostname -f to give you, given that you haven't actually set an FQDN?
[15:34] <yolanda> oh good
[15:34] <ianneub> rbasak: I would expect empty string ""
[15:35] <jamespage> yolanda, https://github.com/ipxe/ipxe/commit/238050dfd46e3c4a87329da1d48b4d8dde5af8a1.patch
[15:35] <ianneub> but instead it errors, which breaks other packages that use hostname --fqdn
[15:36] <ianneub> rbasak: maybe those other packages are bugged and should gracefully handle that, i dont know the protocol there
[15:36] <rbasak> ianneub: you'll only get an empty string if the hostname actually has an entry in /etc/hosts
[15:37] <rbasak> ianneub: this would require manage_etc_hosts: localhost at a minimum I think.
[15:37] <rbasak> ianneub: perhaps the default is wrong/unhelpful on VPC. Do you know what happens with non-VPC?
[15:37] <ianneub> rbasak: I can add that in for sure. It just seems like a pain if this is the default.
[15:38] <ianneub> rbasak: hostname -f works fine on a normal EC2 instance
[15:38] <rbasak> ianneub: do you happen to have the output of hostname and /etc/hosts on a non-VPC instance please?
[15:38] <rbasak> ianneub: and what do you get - the empty string?
[15:38] <ianneub> rbasak: here is a non-VPC instance - http://pastebin.com/T3iUv5nf
[15:39] <rbasak> ianneub: thanks.
[15:39] <ianneub> rbasak:it seems that /bin/hostname can do the right thing in this case
[15:39] <rbasak> ianneub: more questions...
[15:39] <rbasak> ianneub: what does "getent hosts ip-10-117-95-179" give you on that non-VPC instance please?
[15:40] <ianneub> rbasak: 10.117.95.179   ip-10-117-95-179.ec2.internal
[15:40] <rbasak> ianneub: but no mention of ip-10-... in /etc/hosts, right?
[15:40] <rbasak> ianneub: can you see if that is coming from DNS, please? Do you know how to do that?
[15:40] <ianneub> rbasak: correct
[15:41] <ianneub> dig -x 10.117.95.179; that shows ip-10-117-95-179.ec2.internal
[15:41] <rbasak> ianneub: and that's definitely coming from Amazon's DNS service?
[15:42] <rbasak> ianneub: what about forwards? Does "dig `hostname` a" work?
[15:43] <rbasak> ianneub: and does that come from Amazon's DNS service? Do you see where I'm going with this? Is the underlying cause that Amazon is providing some default DNS for the system hostname with non-VPC, but does not do so or does so differently with VPC?
[15:43] <ianneub> I'm 99% sure that is from amazon. I launched a canonical ami and did not change anything else. dig reports 172.16.0.23 and /etc/resolv.conf = 172.16.0.23
[15:43] <ianneub> rbasak: dig `hostname` a does not return any results
[15:44]  * rbasak thinks
[15:44] <ianneub> rbasak: i do believe its a difference in how amazon is handling things internally. so the question is, is it something that should be chagned in ubuntu? or amazon?
[15:44] <ianneub> rbasak: or me? :)
[15:45] <rbasak> ianneub: I think it's perhaps justification for modifying cloud-init's default behaviour. I think it should be able to work by default.
[15:45] <ianneub> rbasak: i too would think it should "just work" without tweaking anything
[15:46] <ianneub> rbasak: i realize that i don't carry any weight with that statement. i'm just an ubuntu fan
[15:46] <rbasak> ianneub: I can't remember exactly what DNS queries it needs to do to compare. Could you please run something like "sudo tcpdump -nieth0 -s0 port 53" on both VPC and non-VPC to capture what happens when you run "hostname -f" in both cases please?
[15:47] <ianneub> rbasak: yeah i'll do that on both and create some new pastebins. thanks for your help
[15:47] <rbasak> ianneub: if Ubuntu images don't Just Work on Amazon w/VPC, then I think that's something that should be fixed.
[15:48] <rbasak> ianneub: I'd like to understand this better. I'm just trying to build some confidence in what I think is the cause, and if your results point to my understanding being right then I'd like to see a bug filed and I'll draw the right people's attention to it.
[15:48] <rbasak> ianneub: I appreciate you bringing this up, and the help you've given in getting to the bottom of this quickly
[15:49] <ianneub> rbasak: no sweat. I'm happy to contribute what I can back.
[15:51] <yolanda> jamespage, same patch  cannot be applied in a clean way, needs to be refreshed
[15:51] <jamespage> thats OK
[15:52] <yolanda> i'll test the build again before submitting the mp
[15:52] <ianneub> rbasak: https://gist.github.com/ianneub/5868604
[15:52] <ianneub> rbasak: I hope github is ok, I don't want to loose these pastes.
[15:54] <rbasak> ianneub: looking
[15:56] <rbasak> ianneub: that confuses me. Where did the system get the name "ec2.internal" from?
[15:57] <rbasak> ianneub: I'm not sure what's going on there and I've got to run, sorry. But please go ahead and file a cloud-init bug if you think that "hostname -f" fails on a simple EC2 VPC instance started from an official Ubuntu image. I think that bug would be valid.
[15:58] <ianneub> rbasak: i'm trying to figure that out myself. i'm guessing because of the dig -x. but maybe it is stored elsewhere that hostname -r is checking
[15:58] <ianneub> rbasak: thanks again. i'll write up some more and post a bug
[16:18] <ianneub> rbasak: I figured out why no one else really had this problem in VPC and why it was looking for ec2.internal on EC2… The DHCP settings had set up a domain name setting on the interface, which caused it to append that domain name to the local /etc/hostname. Apparently my company VPC did not set the dns domain name through DHCP. I only realized this when I created a brand new VPC on a personal AWS account. Thank you for your time 
[16:19] <rbasak> ianneub: no problem. Thanks for checking.
[17:22] <ProFlashback> Getting this when trying to install Ubuntu server LTS: http://pastebin.com/riKqNbi6 - ideas?
[17:22] <sarnold> ProFlashback: was there anything useful in /var/log/syslog or virtual console 4?
[17:23] <ProFlashback> not really, sarnold i'm viewing it from a monitor.. shall i take a picture of it? I'm not very familar with Linux
[17:23] <sarnold> ProFlashback: if that's easier than copy-and-pasting, yeah, at least a photo is something.. :)
[17:24] <ProFlashback> no way to copy and paste it really ;p
[17:25] <ProFlashback> sarnold, http://i.imgur.com/04yt0km.jpg
[17:30] <sarnold> ProFlashback: are those lines prefixed with 2050 showing hard drive errors?
[17:30] <ProFlashback> sarnold, they show: http://i.imgur.com/jj87Qwa.jpg
[17:32] <sarnold> ProFlashback: hrm. those look a bit more like CD read problems. does that sound right?
[17:32] <ProFlashback> sarnold, yep
[17:32] <ProFlashback> I think you are
[17:33] <sarnold> ProFlashback: can you try a USB stick instead?
[17:33] <ProFlashback> sarnold, I sure can. Do I just extract the files to the stick or is they something else I need to do?
[17:34] <ProFlashback> (I'm using Windows)
[17:37] <sarnold> ProFlashback: hrm, windows, I'm on pretty shaky ground there..
[17:37] <Zw> hi!
[17:37] <Zw>  What is the difference between byoub and screen?
[17:42] <sarnold> ProFlashback: hrm, a lot of this looks .. iffy .. but it's a starting point: https://help.ubuntu.com/community/Installation/FromUSBStick#From_Windows
[17:43] <Pici> Zw: byobu is just a wrapper around screen that provides some fancy 'widgets'.
[17:43] <Pici> it can also wrap tmux though.
[17:51] <Zw> Is it possible to scroll in screen, byobu or tmux?
[17:52] <sarnold> Zw: ^A, [ and ]
[17:52] <sarnold> well, it'd be ^B in tmux, but .. :)
[17:53] <Zw> what is ^:Å
[17:53] <sarnold> Zw: hit control and A simutanously
[17:54] <Zw> tnx
[17:55] <Zw> do you know how to detatch and create a tmux with a name? (Like screen -dmS name)
[17:56] <Zw> ctrl a d worked when nothing was running
[18:12] <Chocobo> Hi all...  what do I need to do to ensure that an rc3.d script (S20openvswitch-vswitch) start BEFORE the upstart networking job?
[18:15] <sarnold> Chocobo: can you re-write it to emit its own signal and then modify the networking job to require that signal as s pre-req? this may help: http://upstart.ubuntu.com/cookbook/#override-files
[18:18] <Zw> Question: If i have multiple ips on my dedicated server, can i specify ip pr folder on the server? Or do just all ips forward like dns to the server?
[18:19] <Chocobo> sarnold: so basically I would override the "start on" in networking.override?  I need to figure out how to get a script to emit a signal
[18:19] <sarnold> Chocobo: that's my thought, anyway...
[18:21] <Chocobo> sarnold: thanks.  That is a bigger pain in the butt than I was hoping for.  The other option is move part of my networking (setting the ip on the bridge created by openvswitch) into rc.local or something like that.  Both options seems sort of hackish
[18:21] <sarnold> Chocobo: agreed there, neither one seems awesome
[18:25] <koolhead17> Daviey, around
[18:25] <koolhead17> KyleMacDonald, HI
[18:29] <ruben231> hi guys how do i set nameserver permanently even i reboto server
[18:38] <sarnold> ruben231: you'll have to rephrase your question..
[18:42] <ruben231> sarnold: with ubuntu serer 12.04
[18:42] <ruben231> i cant set permmanet nameserver 8.8.8.8
[18:43] <ruben231> when i reboot its lost when i set it on resolv.conf , how to make this permanent somehow
[18:44] <sarnold> ruben231: do you have the resolvconf package installed?
[18:46] <ruben231> sarnold: i have this file /etc/resolv.conf
[18:47] <ruben231> inside it it says any changes will be remove upon reboot
[18:48] <sarnold> ruben231: then add your changes to /etc/resolvconf/resolv.conf.d/tail
[18:49] <ruben231> sarnold: how do i add in what format..?
[18:49] <ruben231> nameserver 8.8.8.8 and nameserver 8.8.4.4
[18:49] <sarnold> ruben231: it is just added to the end of the generated resolv.conf file
[18:49] <sarnold> ruben231: so just add the lines you want
[18:53] <ruben231> sarnold:  i have this only ---> base  head  original  <---i dont see tail
[18:53] <ruben231> any idea..?
[18:54] <sarnold> ruben231: hrm, not sure why I have a tail and you don't. You can also use 'head'.
[18:57] <ruben231> # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN <---------this is teh message inside the head
[18:57] <sarnold> ruben231: yes.
[18:57] <sarnold> ruben231: notice how it is identical to the message in /etc/resolv.conf :)
[18:58] <ruben231> yes so i can put the nameserver there it will be still lost on the reboot process right..?
[18:59] <ruben231> sarnold:  what should i do please help
[19:00] <sarnold> ruben231: perhaps you should go read the indicated manpages to understand the process
[19:05] <Zw> How to add a ip adress to ubuntu server?
[19:05] <sarnold> Zw: see /etc/network/interfaces
[19:07] <Zw> did add it
[19:07] <Zw> but only know ip
[19:08] <Zw> auto eth0:1
[19:08] <Zw> iface eth0 inet static
[19:08] <Zw> adress x.x.x.x
[19:13] <Zw> hmm¨
[19:25] <Spr1ng> Anybody had any success getting request tracker 4 running under ubuntu 12.04 lts?  I'm experiencing some challenges and would appreciate talking to an expert as the official rt irc support channel is not very friendly.
[19:31] <Daviey> koolhead17: hey
[19:34] <smoser> zul, ping.
[19:34] <smoser> so i hear that python-[openstack-project]client
[19:35] <smoser> are making good progress towards python3-[$openstack-project]client ?
[19:35] <ProFlashback> sarnold, sup, you still around?
[19:36] <sarnold> ProFlashback: hey, how's it going? :)
[19:36] <ProFlashback> sarnold, so, I followed the steps.. When the server boots up the led on the flash drive blinks but it never boots to the drive
[19:37] <sarnold> ProFlashback: some BIOSes require some fiddling to boot to USB
[19:37] <ProFlashback> sarnold, I checked the bios and removable device is set as first priority on the boot
[19:37] <sarnold> ProFlashback: can you hit a key to get a menu of boot options?
[19:37] <ProFlashback> sarnold, in the bios or?
[19:38] <sarnold> ProFlashback: at boot
[19:38] <ProFlashback> sarnold, nope.. This is my server if it means anything: http://h20000.www2.hp.com/bizsupport/TechSupport/Home.jsp?locale=en_US&prodTypeId=15351&prodSeriesId=374617
[19:39] <zul> smoser: whats up
[19:39] <zul> smoser: working through it
[19:39] <smoser> ^
[19:39] <smoser> so you're thinking that we have python3-swfitclient sometime soon ?
[19:39] <smoser> and python3-keystoneclient and the like ?
[19:40] <zul> cinderclient is basically done, novaclient is inpreogress
[19:40] <zul> yeah :)
[19:40] <smoser> good.
[20:23] <sk1pper> hi all,
[20:23] <sk1pper> is it possible to load apache2 status module just on one vhost?
[20:26] <patdk-wk_> you don't load modules on hosts, so no
[20:27] <patdk-wk_> !goal
[20:27] <patdk-wk_> stupid bot
[20:36] <Spr1ng> How does one go about requesting that a apt-get package in the repo be updated to the latest version?
[21:01] <sarnold> Spr1ng: depends on the package and if you want it updated for just the devel release or for an already-released release..
[21:02] <Spr1ng> RT is out of date, current repo package is 4.0.4, latest version is 4.0.13 with some major security/enhancements
[21:04] <sarnold> Spr1ng: request-tracker4 is in universe; any member of the community can prepare a debdiff with the security fixes necessary
[21:05] <Spr1ng> <- not a developer, no clue how to even proceed.
[21:05] <sarnold> Spr1ng: you can find the open vulnerabilities here: http://people.canonical.com/~ubuntu-security/cve/pkg/request-tracker4.html
[21:21] <hadifarnoud> why PSAD is so shit. any better alternative?
[22:01] <blazemore> I have got a working PPTP server here, but I can't access the Internet at large through it
[22:01] <blazemore> I have put net.ipv4.ip_forward=1 in /etc/sysctl.conf
[22:04] <sarnold> blazemore: do you have a default route (for the rest of the internet) going through your pptp connection?
[22:04] <blazemore> On the client or the server, sarnold ?
[22:04] <sarnold> blazemore: on the client
[22:04] <blazemore> I'll be honest, I'm mostly flying blind
[22:04] <sarnold> blazemore: ah good, same here, I've never done pptp :)
[22:05] <blazemore> My client is Windows, which does seem to have a fair number of networking options, but I wouldn't know how to do the equivelant of the "route" command
[22:05] <sarnold> blazemore: but my assumption is that it winds up configuring a new interface on the client, and you need to tell the routing tables to use the new interface (and remote peer) as the default gateway for the rest of the internet
[22:05] <blazemore> Yes it would seem that's happening
[22:05] <blazemore> I don't know how to do it though; I guess that's a Windows thing
[22:06] <blazemore> What I'm looking for is a kind of souped-up proxy: I want *all* my IP traffic (Not just http) to go via my server
[22:06] <Spr1ng> route add -p destination_network subnetmask interface_to_use_to_get_there
[22:06] <sarnold> blazemore: I think the 'route' command works on windows, but configuring it is probably right-click on MS TCP/IP and go  through tabs until you find routing..
[22:10] <blazemore> Well I don't know what I did, but I think it worked...
[22:10] <sarnold> uhoh :)
[22:16] <shankstaBytes>  /leave
[23:04] <GH0> If I have an X Server installed on ubuntu-server, how can I modify Xlib or make note in Xlib to extend NV-GLX extension to all displays?
[23:05] <GH0> Because I believe that is preventing me from running Vmware with 3D acceleration at the moment.
[23:05] <GH0> I have been trying to fix that, but can't seem to find the dtails.
[23:06] <sarnold> GH0: does 3d accel in guests require installing vmware-provided modules / drivers ?
[23:06] <sarnold> GH0: if so, have you installed those modules or drivers in the guests?
[23:06] <GH0> sarnold, in the Guest OS VMware Tools, which is the drivers package is installed. Yes.
[23:07] <sarnold> aha, okay :)
[23:07] <sarnold> GH0: does 'glxinfo' show promising output on the host?
[23:07] <GH0> I have been googling and posting on several forums in hopes to receive an answer, so I am not sure anymore what I can do.
[23:07] <GH0> Hold on...
[23:08] <GH0> http://pastebin.com/ktQYpHRV
[23:08] <GH0> I am VNC'ed into the machine right now, but even if I log into the machine physically, I still have the same error messages popping up, so I can't believe that it is a specific issue related to VNC causing this problem.
[23:09] <GH0> I have the "nvidia-current" package installed right now.
[23:11] <sarnold> GH0: how about LIBGL_DEBUG=verbose glxinfo  ? I'm curious what that does..
[23:12] <GH0> Uh, looks like it presents the same text, but here is a pastebin anyways.http://pastebin.com/FQ6zF5BM
[23:13] <rschmitty> any security guys around to help on http://askubuntu.com/questions/309033/unattended-upgrades-sends-attachment-instead-of-text  ?
[23:13] <sarnold> aw, nuts. mine just showed which drivers it tried, and which config files it tried..
[23:23] <sarnold> rschmitty: I can't find anything in the unattended-upgrades source code that would generate MIME or MIME attachments
[23:24] <GH0> What is server glx vendor string: SGI?
[23:24] <GH0> What is that referencing? Because I don't have any device called that on my machine?
[23:24] <sarnold> GH0: SGI came up with the GLX standard, back when they still existed and were relevant...
[23:24] <GH0> I notice on this: http://pastebin.com/QY0iF105 lines 970+ complain about GLX minimum requirements, not being 1.3 or higher, even though my nvidia says it has 1.4.
[23:25] <rschmitty> sarnold: would other possibilities be the mailer it is sending with or my email host?
[23:25] <rschmitty> also ty for digging
[23:26] <sarnold> rschmitty: I guess it could be a mail server along the way trying to normalize all output to be MIMEd rather than allowing through old-school emails..
[23:45] <GH0> sarnold, could I possibly edit xord.conf and add monitor/device's up to :10 so that it could somehow trick VMware into thinking that everything is hunkydorey?
[23:46] <sarnold> GH0: I wouldn't be surprised if it would then just use :11 ..
[23:47] <rschmitty> sarnold: anything jump out at you?  I just changed to a gmail address and got the same result: http://pastebin.ubuntu.com/5803192/
[23:47] <sarnold> rschmitty: oh my!
[23:47] <rschmitty> hah.. uh oh
[23:50] <ScottK> sarnold: Doesn't it have to be a special amplifier to go to 11?
[23:52] <sarnold> ScottK: hahaha
[23:53] <sarnold> rschmitty: okay... heirloom-mailx may be getting 'helpful' :) note the '8bit' encoding description in the manpage, and perhaps fiddle with that option via a config file specified via MAILRC environment variable in the cronjob...
[23:53] <sarnold> rschmitty: it is a bit involved, but I'm getting hopeful :)
[23:57] <rschmitty> sarnold: aha interesting! thanks will start looking at those settings.  also just in case, is there an alternative to herloom-mailx or something more preferred? im still getting my feet wet and that was either installed with ubuntu 12.04 server or as part of the apt get for `unattended-upgrades` or `apticron`.  im playing with a VM so its easy for me to test
[23:57] <sarnold> rschmitty: there's also mailutils and bsd-mailx
[23:59] <sarnold> rschmitty: bsd-mailx is in main, which may give some indication of a preference if you've got no better preferences..
[23:59] <rschmitty> gotcha thanks