[00:48] <hadwick> (hadwick) Hi all,  i am running version 12.04. I recently suffered a power outage and now am having trouble booting. Right now the boot process is hanging at netbios name server. Any help? I'm not doing so well on Google. Thanks in advance.
[01:20] <delinquentme> initialize a python script on a slave computer from a master computer over network /??
[01:25] <hamnstar> hey folks - trying to get a ubuntu server up and running, on my simple 192.168.50.X LAN.  However, once i configure the ethernet card, I cannot ping anything nor can anything ping it... wiresharking the switch shows arp requests that go unanswered.  Mad brownie points to anyone who can tell me what is going on????
[01:28] <MarkusDBX> hamnstar: have you checked ifconfig?
[01:29] <MarkusDBX> ifconfig should correspond with /etc/network/interfaces
[01:29] <hamnstar> yup, it does
[01:29] <hamnstar> interfaces is how im setting the static ip
[01:29] <hamnstar> well, 2 IPs... two  NICs, if that makes any difference
[01:29] <MarkusDBX> hamnstar: you are setting the static IP on the correct NIC?
[01:30] <hamnstar> yup.  I can see arp requests on the switch coming from it, so definately playing with the right one
[01:38] <hamnstar> after removing 70-persistent-net.rules and rebooting, i am now seeing the arp replies... but my server is still saying Destination Unreachable when pinging
[01:39] <hamnstar> very perplexing :/
[01:40] <MarkusDBX> hamnstar: do you have some kind of advanced router, that might block a local ping?
[01:40] <MarkusDBX> or layer 3 switch for that matter
[01:42] <hamnstar> I'm afraid not... I tried this on a production "dumb switch", but i'm now testing with an old cisco catalyst in "dumb" mode
[01:43] <hamnstar> just simple layer 2 stuff... i'm thinking its either a network card or drivers issue
[01:43] <hamnstar> going to try with a livecd on the offending server and see what happens
[01:45] <MarkusDBX> hamnstar: sounds like a good bet. LiveCD to rule out software issues.
[01:57] <hamnstar> MarkusDBX: looks like it works perfectly fine in Ubuntu Desktop 12.04...but not in Ubuntu Server 12.04
[01:59] <hamnstar> cant help but wonder if somehow its using a different driver....
[02:20] <delinquentme> is there a way to persist a session connection that I instantiate from machine B >> machine C
[02:20] <delinquentme> when I've SSHed into B from my laptop A ?
[02:21] <delinquentme> specifically I want to disconnect A to take home ... and let the logging happening in C ... write out to the filesystem in B
[02:21] <MarkusDBX> delinquentme: you can use screen
[02:22] <MarkusDBX> delinquentme: do you know about screen?
[02:22] <delinquentme> cant say I've ever used it MarkusDBX
[02:24] <hamnstar> yup, screen is likely your best option.  you can also look into nohup i believe
[02:24] <MarkusDBX> If you start screen on Machine B, you can have Machine B continue it's connection to machine C, regardless of what you do with Machine A
[02:25] <MarkusDBX> delinquentme: ssh might not be the best tool to keep unreliable connections up. (Mobile/Wifi and so on) Then Mosh is better.
[02:25] <delinquentme> yeah thats what im trying to do :D
[02:26] <MarkusDBX> Can I ask about the purpose for the connection between B and C?
[02:29] <delinquentme> logging so I dont have to write files onto a system which uses SD cards as it primary FS
[02:30] <delinquentme> so I did ctrl + a + c
[02:30] <MarkusDBX> delinquentme: use scp for that logging instead
[02:30] <delinquentme> but on killing between A + B it killed the process
[02:30] <MarkusDBX> delinquentme: or remote ssh commands
[02:31] <MarkusDBX> b -- scp logfile --> c
[02:31] <MarkusDBX> you could also consider monit, xymon or nagios for monitoring
[02:32] <delinquentme> MarkusDBX, is that logfile residing on c?
[02:33] <MarkusDBX> doesn't matter you can do it both ways.
[02:33] <delinquentme> I dont understand.
[02:34] <MarkusDBX> I believe you should send the log file as it's written with, some kind of protocol like ssh or scp.
[02:34] <MarkusDBX> you could just have cron checking for new logs, if you don't need realtime logs.
[02:34] <delinquentme> looks like screen did it!
[02:34] <MarkusDBX> great!
[02:35] <MarkusDBX> screen is very useful for lots of stuff
[02:35] <delinquentme> I needed to detatch the session before killing the connection
[02:35] <MarkusDBX> ah
[03:39] <hyperreal> Hello.  Can someone please tell me how to enable/disable upstart jobs/services permanently, so that they don't start at boot?
[03:48] <nuf0xx> hyperreal: https://help.ubuntu.com/community/UpstartHowto
[05:11] <Guest9847> hello?
[05:25] <nuf0xx> o/
[15:14] <bkfitz> Does anyone know if there is an enable/disable for cron?  I have an entry in crontab -e that doesn't seem to be running as scheduled... and I don't see anything in my /var/log/syslog
[15:18] <RoyK> bkfitz: pastebin the crontab, please
[15:18] <RoyK> bkfitz: and make sure cron is actually running
[15:18] <bkfitz> cron is running
[15:18] <bkfitz> 0 4 * * * /home/scripts/update_postgis.sh
[15:19] <bkfitz> pgrep cron -> 2036
[15:19] <RoyK> try to cron it up for something in a minute, just to probe it
[15:20] <bkfitz> RoyK: ok... but how do i 'probe' it if I don't see anything in the syslog
[15:20] <RoyK> just change it to run in a minute
[15:20] <Pici> Is there a newline at the end of your crontab?
[15:21] <bkfitz> Pici, y
[15:21] <bkfitz> RoyK: dumb question... how do i figure out the current time of system
[15:21] <Pici> bkfitz: because if there isn't, then it won't run.
[15:21] <bkfitz> date
[15:22] <bkfitz> :)
[15:22] <bkfitz> Pici: yeah.. checked for that
[15:22] <bkfitz> just did crontab -e, edited it to run in one minute
[15:23] <bkfitz> all that got spit into syslog is : (root) RELOAD (crontabs/root)
[15:25] <jrwren> is /home/scripts/update_postgis.sh executable?
[15:25] <bkfitz> have a feeling this has to do with tty
[15:25] <jrwren> is first line of it #!/bin/sh or something executable?
[15:26] <bkfitz> jrwren, good question... yes
[15:26] <jrwren> its not likely tty, unless your /home/scripts/update_postgis.sh script does something with tty
[15:26] <bkfitz> jrwren, no... just unzips some files, then runs some psql commands
[15:27] <jrwren> there is an /etc/cron.allow file, but by default it allows all
[15:27] <bkfitz> jrwren, no first line is : cd /
[15:27] <jrwren> bkfitz: try setting #!/bin/bash as  first line
[15:27] <HSaka> While I'm rebuilding my raid 5, can i mount it as use it as usual?
[15:28] <bkfitz> jrwren, done and reset to run in 1 min
[15:28] <RoyK>   
[15:29] <bkfitz> jrwren, i don't see a cron.allow file in /etc only the daily/weekly/etc files
[15:29] <bkfitz> ... and the main crontab file
[15:30] <jrwren> bkfitz: that is fine. like I said, it defaults to all allowed
[15:30] <RoyK> bkfitz: did you grep the syslog for CRON (in caps?)
[15:30] <bkfitz> same thing...  all that got spit into syslog is : (root) RELOAD (crontabs/root)
[15:30] <HSaka> anyone? : )
[15:31] <bkfitz> RoyK: http://paste.ubuntu.com/6119887/
[15:32] <RoyK> not much there, no
[15:32] <bkfitz> 11:24 and 11:30 were the recent scheduled times
[15:32] <bkfitz> is it possible it is actually running and my script is having some sort of trouble?
[15:33] <RoyK> can you run the script manually? can you pastebin the script?
[15:34] <bkfitz> yeah script runs find manually
[15:35] <bkfitz> will pastebin when it finishes in a min
[15:35] <RoyK> just press ctrl+z and run bg
[15:35] <RoyK> to background it
[15:39] <bkfitz> http://paste.ubuntu.com/6119913/
[15:40] <bkfitz> RoyK: good tip on bg
[15:42] <RoyK> bkfitz: can you try to add "* * * * * /bin/date" to the crontab?
[15:42] <RoyK> just to see if that works
[15:43] <bkfitz> RoyK, how often will that run if there is not second, minute, etc specified
[15:43] <RoyK> every minute
[15:44] <bkfitz> done
[15:44] <bkfitz> tailing syslog
[15:44] <RoyK> that should generate an email to root every minute with the output of 'date'
[15:44] <bkfitz> RobbyF, looks like that did run... got this in syslog: Sep 17 11:45:01 rcgeo CRON[29838]: (root) CMD (/bin/date)
[15:45] <RoyK> RoyK, even ;)
[15:45] <bkfitz> sorry RobbyF :)
[15:45] <bkfitz> tab
[15:45] <RoyK> I knoiw...
[15:45] <RoyK> know, even
[15:45] <bkfitz> RoyK, so what does that mean?
[15:45] <bkfitz> RoyK, that date will run but other script wont'? permissions?
[15:46] <bkfitz> RoyK, I'm running all this as root right?
[15:46] <RoyK> ls -l that script
[15:46] <RoyK> and ls -ld the dir it's in
[15:46] <bkfitz> RoyK,-rwxr-xr-x 1 root root  4348 2013-09-17 11:38 update_postgis.sh
[15:46] <RoyK> should work
[15:47] <bkfitz> RoyK, yeah
[15:47] <bkfitz> owned by root, x +x
[15:48] <bkfitz> RoyK, does it not like the .sh
[15:50] <RoyK> shouldn't matter much
[15:51] <RoyK> linux doesn't care about file extensions
[15:51] <RoyK> only about file permissions
[15:54] <patdk-wk_> but I care
[15:57] <bkfitz> RoyK: something to do with either the time config in the crontab line or the .sh at the end... i removed the .sh and put in all *s and now its running every minute
[16:03] <bkfitz> RoyK: it's not the .sh... something to do with the date?
[16:04] <bkfitz> i just changed it to run at 12:04 EST and it didnt' run again... change it back to all *'s and it runs fine every minute?????
[16:07] <smoser> adam_g, what do you think about https://bugs.launchpad.net/cloud-archive/+bug/1226674
[16:07] <smoser> basically, zul requested me to sync havana-staging, which would have added python3-lesscpy.
[16:08] <smoser> but there is no justifcation for python3-lesscpy's existance in the cloud-archive via Recommends or Depends.
[16:08] <adam_g> smoser, that should be optional, i think. next cycle we can evaluate including it as a core dependency
[16:08] <smoser> well it is optional.
[16:08] <adam_g> smoser, its basically a python replacement of the nodejs lessc. we've avoided the dependency on that so we dont need to support node-js, by shipping pre-compressed CSS and JS
[16:08] <smoser> i dont disagree with that.
[16:09] <zul> and it doesnt exist in precise afaik i know and upstream openstack-ci needs it
[16:09] <smoser> i disagree with randomly uploading things to the clodu archive.
[16:09] <smoser> that do not have any documented reason
[16:09] <adam_g> smoser, we patch horizon to avoid doing any online compression (using node-ness, python-lesscpy, etc) so that its not a required depends. if that changes, we would need to ship python-lesscpy
[16:09] <smoser> ie, to me the cloud archive contents should be a simple depends tree generated from things not available on 12.04 that are requirements of 'nova glance openstack-dashboard ...'
[16:10] <smoser> or build depends.
[16:10] <smoser> adam_g, right. so there is no reason for its presense in the cloud archive. but zul is requesting it to go based on openstack-ci's usage.
[16:11] <adam_g> what prevents them from installing it from other sources, like they do for many of their other dependencies?
[16:11] <smoser> i dont know.
[16:12] <rbasak> SpamapS: any update on bug 1162139/debian 678252 please? You had marked it pending...
[16:14] <SpamapS> rbasak: we are stalled on MySQL 5.5.33 failing to build due to broken tests
[16:14] <SpamapS> rbasak: the fix is in the svn repo tho
[16:14] <rbasak> SpamapS: thanks. I'll try cherry-picking that then I guess.
[16:16] <adam_g> smoser, https://launchpadlibrarian.net/150433028/buildlog_ubuntu-precise-i386.python-oauthlib_0.5.1-1~cloud0_MANUALDEPWAIT.txt.gz <- something else we need to consider
[16:16] <zul> adam_g:  nothing is using it
[16:16] <zul> for h3 at least
[16:16] <adam_g> zul, oauthlib is no longer used by anything?
[16:17] <zul> no oauth2 isnt in the keystone package for h3 im still going to try porting it over to oauthlib
[16:17] <zul> but i dont think oauth2 will be in main this cycle
[16:17] <adam_g> we're talking about python-oauthlib
[16:18] <zul> crappers sorry about thtat
[16:20] <adam_g> zul, smoser so yeah, python-oauthlib's new dependency on dh-python is concerning.  this probably won't be the last failure of this kind before we make it to 14.04
[16:20] <zul> agreed
[16:31] <adam_g> zul, what ever came of that upstream patch to make keystone's dependency resolution avoid requiring extensions dependencies?
[16:35] <zul> i aint sure ill double check
[16:36] <zul> adam_g: https://review.openstack.org/#/c/46797/
[16:41]  * RoyK is pretty happy for a laptop with an ssd in this turbulance
[16:41] <RoyK> at 30 ft now (or so)
[16:41] <RoyK> tok ft
[16:42] <RoyK> damn - 30,000 feet
[17:15] <abradley> after mysql-server install, I'm attemping to connect to with HeidiSQL and get :http://i.imgur.com/AlZbSfo.png
[17:15] <abradley> http://i.imgur.com/AlZbSfo.png
[17:15] <abradley> Beyond "sudo apt-get install mysql-server" and setting the root password what must be done to get mysql-server up ?
[17:33] <Ng> howdy
[17:34] <Ng> is there a mechanism at the moment for forcing a textmode console all the way through the ubuntu server boot?
[17:34] <Ng> "nomodeset vga=normal" on the kernel command line used to work, but seems to not work in the latest release
[18:05] <free50> hello everyone. I have a question regarding MAAS and Infiniband
[18:06] <free50> is it straightforward to setup a MAAS system using flexboot?
[18:07] <sarnold> free50: if you don't get an answer here, you may have better success in #maas
[18:07] <HSaka> I've been rebuilding my raid for hours, suddenly it stops and one of my hdds are saying sdc[4](F), what does that mean+
[18:07] <free50> thanks sarnold
[18:12] <bkfitz> Anyone here a cron/crontab expert... having trouble getting a script to run
[18:13] <bkfitz> using crontab -e to add a job -> 00 14 11 * * /home/scripts/update_postgis >> /home/scripts/cron_logging.txt
[18:13] <bkfitz> doesn't seem to run properly... but if I replace the 00 14 11 with * * * (to have it run every minute), it works fine
[18:15] <bkfitz> there is an empty line at the end of my crontab -e file, cron is definitely running, i'm adding the job as root, the script runs fine when executed manually, nothing in the syslog other than "RELOAD (crontabs/root) when the job is supposed to have executed
[20:57] <SpamapS> hallyn_: ping (re lxc and iscsi)
[20:59] <SpamapS> hallyn_: specifically, how can I tell if a system like iscsi has had its netlink bits namespaced?
[21:32] <HSaka> Is Debian better than Ubuntu server?
[21:32] <HSaka> I've constant have 2 of my friends discuss about it
[21:44] <RoyK> HSaka: it's the same codebase - debian is a bit more conservative on the package selection, ubuntu uses newer stuff
[21:44] <RoyK> HSaka: it all depends on what you need
[21:44] <adac>  someone familiar with samba server config? I have the folleing configuration: https://gist.github.com/anonymous/6600861 Problems are: I cannot access as a guest. Second problme ist that the share is not visible on the network, only when i directly access the samba share via ip adress. Any ideas?
[21:46] <RoyK> adac: looks like "map to user" contains an invalid username
[21:46] <RoyK> apart from that, looks ok to me
[21:47] <adac> RoyK, Wondering how should this look like then?
[21:49] <RoyK> it should be visible
[21:55] <sarnold> adac: should 'directory mask' be 02775? I don't know if samba requires the leading 0 for octal parsing or not
[21:56] <adac> sarnold, I'm also not really sure, however it works like that (when i access the server via correct username/ password)
[21:58] <RoyK> adac: if you access the server, do you see the share?
[21:58] <RoyK> adac: you haven't opened up for anonymouse (non-user) access, however
[21:58] <adac> RoyK, if I access it with the correct username and password then yes
[21:59] <adac> just as guest it doesn't wirk
[21:59] <halvors> Hi!
[21:59] <RoyK> AFAIK there's no way to open up for anonymous acces *and* user/pass access with samba
[21:59] <RoyK> HSaka: hi
[21:59] <halvors> Which port does BIND9 actually use for RNDC?
[21:59] <RoyK> halvors: hi, even
[21:59] <halvors> 953 TCP or UDP?
[21:59] <halvors> RoyK: Hi :)
[22:00] <RoyK> halvors: iirc it doesn't use IP, but a unix socket
[22:01] <RoyK> by default, that is
[22:01] <halvors> By default. Yes.
[22:01] <halvors> But i've set it up to use ip.
[22:01] <RoyK> never tried that
[22:01] <RoyK> check netstat -a --inet
[22:02] <RoyK> you probably need to configure some ACLs to allow access from elsewhere
[22:02] <RoyK> google tells me it's using TCP, which makes sence
[22:02] <RoyK> sense, even
[22:03] <halvors> I know :) Have it working. Just applying iptables :)
[22:03] <RoyK> not ufw?
[22:03] <halvors> Yeah. Seems like that :)
[22:03] <halvors> No.
[22:03] <halvors> Iptables :)
[22:03] <RoyK> DIY firewalling? ;)
[22:04]  * RoyK mostly just uses ufw
[22:04] <adac> RoyK, found it out via helo from #samba I had to uncoment the line: "valid users = guest, marcan"
[22:17] <RoyK> adac: goodie
[22:54] <hallyn_> SpamapS: uh, well.  netlink itself is namespaced.  which should just mean that you probably can't talk to it from a non-init network namespace
[22:54] <hallyn_> i've not looked into it though
[23:00] <hallyn_> oh, i see a bug was just opened for that.  heh, not an lxc bug, but I'll wait to decide what to do about it.
[23:01]  * hallyn_ dropping off
[23:13] <mgw> is it normal for an /etc/default file to get clobbered on package upgrade?
[23:16] <SpamapS> hallyn_: thanks for the response
[23:17] <hallyn_> SpamapS: np.  unfortunately it's going to be purely a kernel issue.  i've made a note to look deeper tomorrow to make sure i'm not wrong.
[23:18] <SpamapS> hallyn_: thanks, thats the conclusion we've come to as well.
[23:19] <SpamapS> hallyn_: I look forward t your analysis, as I trust you more than {all of us} ;)
[23:29] <augustrush> My computer lost power suddenly and now it hangs on the netBios name server line. Any  help? Do I need to do a fresh install? This is version 12.04 if it matters. Thanks.
[23:58] <Diegonat> hi guys,? do you know anything about devstack?? Its not clear to me if i can use it to run instances.
[23:59] <pleia2> Diegonat: probably want #openstack but yes, you can run instances in it, but it's the development version of openstack so you probably don't want to for anything serious