/srv/irclogs.ubuntu.com/2013/09/17/#ubuntu-server.txt

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.00:48
delinquentmeinitialize a python script on a slave computer from a master computer over network /??01:20
hamnstarhey 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:25
MarkusDBXhamnstar: have you checked ifconfig?01:28
MarkusDBXifconfig should correspond with /etc/network/interfaces01:29
hamnstaryup, it does01:29
hamnstarinterfaces is how im setting the static ip01:29
hamnstarwell, 2 IPs... two  NICs, if that makes any difference01:29
MarkusDBXhamnstar: you are setting the static IP on the correct NIC?01:29
hamnstaryup.  I can see arp requests on the switch coming from it, so definately playing with the right one01:30
hamnstarafter removing 70-persistent-net.rules and rebooting, i am now seeing the arp replies... but my server is still saying Destination Unreachable when pinging01:38
hamnstarvery perplexing :/01:39
MarkusDBXhamnstar: do you have some kind of advanced router, that might block a local ping?01:40
MarkusDBXor layer 3 switch for that matter01:40
hamnstarI'm afraid not... I tried this on a production "dumb switch", but i'm now testing with an old cisco catalyst in "dumb" mode01:42
hamnstarjust simple layer 2 stuff... i'm thinking its either a network card or drivers issue01:43
hamnstargoing to try with a livecd on the offending server and see what happens01:43
MarkusDBXhamnstar: sounds like a good bet. LiveCD to rule out software issues.01:45
hamnstarMarkusDBX: looks like it works perfectly fine in Ubuntu Desktop 12.04...but not in Ubuntu Server 12.0401:57
hamnstarcant help but wonder if somehow its using a different driver....01:59
delinquentmeis there a way to persist a session connection that I instantiate from machine B >> machine C02:20
delinquentmewhen I've SSHed into B from my laptop A ?02:20
delinquentmespecifically I want to disconnect A to take home ... and let the logging happening in C ... write out to the filesystem in B02:21
MarkusDBXdelinquentme: you can use screen02:21
MarkusDBXdelinquentme: do you know about screen?02:22
delinquentmecant say I've ever used it MarkusDBX02:22
hamnstaryup, screen is likely your best option.  you can also look into nohup i believe02:24
MarkusDBXIf 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 A02:24
MarkusDBXdelinquentme: ssh might not be the best tool to keep unreliable connections up. (Mobile/Wifi and so on) Then Mosh is better.02:25
delinquentmeyeah thats what im trying to do :D02:25
MarkusDBXCan I ask about the purpose for the connection between B and C?02:26
delinquentmelogging so I dont have to write files onto a system which uses SD cards as it primary FS02:29
delinquentmeso I did ctrl + a + c02:30
MarkusDBXdelinquentme: use scp for that logging instead02:30
delinquentmebut on killing between A + B it killed the process02:30
MarkusDBXdelinquentme: or remote ssh commands02:30
MarkusDBXb -- scp logfile --> c02:31
MarkusDBXyou could also consider monit, xymon or nagios for monitoring02:31
delinquentmeMarkusDBX, is that logfile residing on c?02:32
MarkusDBXdoesn't matter you can do it both ways.02:33
delinquentmeI dont understand.02:33
MarkusDBXI believe you should send the log file as it's written with, some kind of protocol like ssh or scp.02:34
MarkusDBXyou could just have cron checking for new logs, if you don't need realtime logs.02:34
delinquentmelooks like screen did it!02:34
MarkusDBXgreat!02:34
MarkusDBXscreen is very useful for lots of stuff02:35
delinquentmeI needed to detatch the session before killing the connection02:35
MarkusDBXah02:35
hyperrealHello.  Can someone please tell me how to enable/disable upstart jobs/services permanently, so that they don't start at boot?03:39
=== holymac_ is now known as holymac
nuf0xxhyperreal: https://help.ubuntu.com/community/UpstartHowto03:48
=== thumper is now known as thumper-afk
=== kenneth is now known as Guest9847
Guest9847hello?05:11
nuf0xxo/05:25
=== geser_ is now known as geser
=== irv_ is now known as irv
=== yofel_ is now known as yofel
=== _ruben_ is now known as _ruben
=== mosh_ is now known as mosh
=== DasIch_ is now known as DasIch
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
=== iNeal is now known as neal__
=== lifeless_ is now known as lifeless
=== pgraner` is now known as pgraner
=== Mez_ is now known as Mez
=== baggar11_ is now known as baggar11
bkfitzDoes 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/syslog15:14
RoyKbkfitz: pastebin the crontab, please15:18
RoyKbkfitz: and make sure cron is actually running15:18
bkfitzcron is running15:18
bkfitz0 4 * * * /home/scripts/update_postgis.sh15:18
bkfitzpgrep cron -> 203615:19
RoyKtry to cron it up for something in a minute, just to probe it15:19
bkfitzRoyK: ok... but how do i 'probe' it if I don't see anything in the syslog15:20
RoyKjust change it to run in a minute15:20
PiciIs there a newline at the end of your crontab?15:20
bkfitzPici, y15:21
bkfitzRoyK: dumb question... how do i figure out the current time of system15:21
Picibkfitz: because if there isn't, then it won't run.15:21
bkfitzdate15:21
bkfitz:)15:22
bkfitzPici: yeah.. checked for that15:22
bkfitzjust did crontab -e, edited it to run in one minute15:22
bkfitzall that got spit into syslog is : (root) RELOAD (crontabs/root)15:23
jrwrenis /home/scripts/update_postgis.sh executable?15:25
bkfitzhave a feeling this has to do with tty15:25
jrwrenis first line of it #!/bin/sh or something executable?15:25
bkfitzjrwren, good question... yes15:26
jrwrenits not likely tty, unless your /home/scripts/update_postgis.sh script does something with tty15:26
bkfitzjrwren, no... just unzips some files, then runs some psql commands15:26
jrwrenthere is an /etc/cron.allow file, but by default it allows all15:27
bkfitzjrwren, no first line is : cd /15:27
jrwrenbkfitz: try setting #!/bin/bash as  first line15:27
HSakaWhile I'm rebuilding my raid 5, can i mount it as use it as usual?15:27
bkfitzjrwren, done and reset to run in 1 min15:28
RoyK  15:28
bkfitzjrwren, i don't see a cron.allow file in /etc only the daily/weekly/etc files15:29
bkfitz... and the main crontab file15:29
jrwrenbkfitz: that is fine. like I said, it defaults to all allowed15:30
RoyKbkfitz: did you grep the syslog for CRON (in caps?)15:30
bkfitzsame thing...  all that got spit into syslog is : (root) RELOAD (crontabs/root)15:30
HSakaanyone? : )15:30
bkfitzRoyK: http://paste.ubuntu.com/6119887/15:31
RoyKnot much there, no15:32
bkfitz11:24 and 11:30 were the recent scheduled times15:32
bkfitzis it possible it is actually running and my script is having some sort of trouble?15:32
RoyKcan you run the script manually? can you pastebin the script?15:33
bkfitzyeah script runs find manually15:34
bkfitzwill pastebin when it finishes in a min15:35
RoyKjust press ctrl+z and run bg15:35
RoyKto background it15:35
bkfitzhttp://paste.ubuntu.com/6119913/15:39
bkfitzRoyK: good tip on bg15:40
RoyKbkfitz: can you try to add "* * * * * /bin/date" to the crontab?15:42
RoyKjust to see if that works15:42
bkfitzRoyK, how often will that run if there is not second, minute, etc specified15:43
RoyKevery minute15:43
bkfitzdone15:44
bkfitztailing syslog15:44
RoyKthat should generate an email to root every minute with the output of 'date'15:44
bkfitzRobbyF, looks like that did run... got this in syslog: Sep 17 11:45:01 rcgeo CRON[29838]: (root) CMD (/bin/date)15:44
RoyKRoyK, even ;)15:45
bkfitzsorry RobbyF :)15:45
bkfitztab15:45
RoyKI knoiw...15:45
RoyKknow, even15:45
bkfitzRoyK, so what does that mean?15:45
bkfitzRoyK, that date will run but other script wont'? permissions?15:45
bkfitzRoyK, I'm running all this as root right?15:46
RoyKls -l that script15:46
RoyKand ls -ld the dir it's in15:46
bkfitzRoyK,-rwxr-xr-x 1 root root  4348 2013-09-17 11:38 update_postgis.sh15:46
RoyKshould work15:46
bkfitzRoyK, yeah15:47
bkfitzowned by root, x +x15:47
bkfitzRoyK, does it not like the .sh15:48
RoyKshouldn't matter much15:50
RoyKlinux doesn't care about file extensions15:51
RoyKonly about file permissions15:51
patdk-wk_but I care15:54
bkfitzRoyK: 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 minute15:57
bkfitzRoyK: it's not the .sh... something to do with the date?16:03
bkfitzi 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:04
smoseradam_g, what do you think about https://bugs.launchpad.net/cloud-archive/+bug/122667416:07
uvirtbotLaunchpad bug 1226674 in horizon "openstack-dashboard should suggest python3-lesscpy" [Undecided,New]16:07
smoserbasically, zul requested me to sync havana-staging, which would have added python3-lesscpy.16:07
smoserbut there is no justifcation for python3-lesscpy's existance in the cloud-archive via Recommends or Depends.16:08
adam_gsmoser, that should be optional, i think. next cycle we can evaluate including it as a core dependency16:08
smoserwell it is optional.16:08
adam_gsmoser, 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 JS16:08
smoseri dont disagree with that.16:08
zuland it doesnt exist in precise afaik i know and upstream openstack-ci needs it16:09
smoseri disagree with randomly uploading things to the clodu archive.16:09
smoserthat do not have any documented reason16:09
adam_gsmoser, 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-lesscpy16:09
smoserie, 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:09
smoseror build depends.16:10
smoseradam_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:10
adam_gwhat prevents them from installing it from other sources, like they do for many of their other dependencies?16:11
smoseri dont know.16:11
rbasakSpamapS: any update on bug 1162139/debian 678252 please? You had marked it pending...16:12
uvirtbotLaunchpad bug 1162139 in mysql-5.5 "mysql-5.5 still built using GCC-4.4, should be built with the default GCC" [Unknown,Confirmed] https://launchpad.net/bugs/116213916:12
uvirtbotDebian bug 678252 in src:mysql-5.5 "mysql-5.5 depends on gcc-4.4/g++-4.4" [Normal,Open] http://bugs.debian.org/67825216:12
SpamapSrbasak: we are stalled on MySQL 5.5.33 failing to build due to broken tests16:14
SpamapSrbasak: the fix is in the svn repo tho16:14
rbasakSpamapS: thanks. I'll try cherry-picking that then I guess.16:14
adam_gsmoser, https://launchpadlibrarian.net/150433028/buildlog_ubuntu-precise-i386.python-oauthlib_0.5.1-1~cloud0_MANUALDEPWAIT.txt.gz <- something else we need to consider16:16
zuladam_g:  nothing is using it16:16
zulfor h3 at least16:16
adam_gzul, oauthlib is no longer used by anything?16:16
zulno oauth2 isnt in the keystone package for h3 im still going to try porting it over to oauthlib16:17
zulbut i dont think oauth2 will be in main this cycle16:17
adam_gwe're talking about python-oauthlib16:17
zulcrappers sorry about thtat16:18
adam_gzul, 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.0416:20
zulagreed16:20
adam_gzul, what ever came of that upstream patch to make keystone's dependency resolution avoid requiring extensions dependencies?16:31
zuli aint sure ill double check16:35
zuladam_g: https://review.openstack.org/#/c/46797/16:36
* RoyK is pretty happy for a laptop with an ssd in this turbulance16:41
RoyKat 30 ft now (or so)16:41
RoyKtok ft16:41
RoyKdamn - 30,000 feet16:42
abradleyafter mysql-server install, I'm attemping to connect to with HeidiSQL and get :http://i.imgur.com/AlZbSfo.png17:15
abradleyhttp://i.imgur.com/AlZbSfo.png17:15
abradleyBeyond "sudo apt-get install mysql-server" and setting the root password what must be done to get mysql-server up ?17:15
Nghowdy17:33
Ngis 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 release17:34
free50hello everyone. I have a question regarding MAAS and Infiniband18:05
free50is it straightforward to setup a MAAS system using flexboot?18:06
sarnoldfree50: if you don't get an answer here, you may have better success in #maas18:07
HSakaI'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
free50thanks sarnold18:07
bkfitzAnyone here a cron/crontab expert... having trouble getting a script to run18:12
bkfitzusing crontab -e to add a job -> 00 14 11 * * /home/scripts/update_postgis >> /home/scripts/cron_logging.txt18:13
bkfitzdoesn't seem to run properly... but if I replace the 00 14 11 with * * * (to have it run every minute), it works fine18:13
bkfitzthere 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 executed18:15
=== omkar is now known as admin-man
=== empty is now known as davidbowlby
=== ogra_ is now known as ogra
SpamapShallyn_: ping (re lxc and iscsi)20:57
SpamapShallyn_: specifically, how can I tell if a system like iscsi has had its netlink bits namespaced?20:59
=== thumper-afk is now known as thumper
HSakaIs Debian better than Ubuntu server?21:32
HSakaI've constant have 2 of my friends discuss about it21:32
RoyKHSaka: it's the same codebase - debian is a bit more conservative on the package selection, ubuntu uses newer stuff21:44
RoyKHSaka: it all depends on what you need21: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:44
RoyKadac: looks like "map to user" contains an invalid username21:46
RoyKapart from that, looks ok to me21:46
adacRoyK, Wondering how should this look like then?21:47
RoyKit should be visible21:49
sarnoldadac: should 'directory mask' be 02775? I don't know if samba requires the leading 0 for octal parsing or not21:55
adacsarnold, I'm also not really sure, however it works like that (when i access the server via correct username/ password)21:56
RoyKadac: if you access the server, do you see the share?21:58
RoyKadac: you haven't opened up for anonymouse (non-user) access, however21:58
adacRoyK, if I access it with the correct username and password then yes21:58
adacjust as guest it doesn't wirk21:59
halvorsHi!21:59
RoyKAFAIK there's no way to open up for anonymous acces *and* user/pass access with samba21:59
RoyKHSaka: hi21:59
halvorsWhich port does BIND9 actually use for RNDC?21:59
RoyKhalvors: hi, even21:59
halvors953 TCP or UDP?21:59
halvorsRoyK: Hi :)21:59
RoyKhalvors: iirc it doesn't use IP, but a unix socket22:00
RoyKby default, that is22:01
halvorsBy default. Yes.22:01
halvorsBut i've set it up to use ip.22:01
RoyKnever tried that22:01
RoyKcheck netstat -a --inet22:01
RoyKyou probably need to configure some ACLs to allow access from elsewhere22:02
RoyKgoogle tells me it's using TCP, which makes sence22:02
RoyKsense, even22:02
halvorsI know :) Have it working. Just applying iptables :)22:03
RoyKnot ufw?22:03
halvorsYeah. Seems like that :)22:03
halvorsNo.22:03
halvorsIptables :)22:03
RoyKDIY firewalling? ;)22:03
* RoyK mostly just uses ufw22:04
adacRoyK, found it out via helo from #samba I had to uncoment the line: "valid users = guest, marcan"22:04
RoyKadac: goodie22:17
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 namespace22:54
hallyn_i've not looked into it though22:54
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:00
* hallyn_ dropping off23:01
mgwis it normal for an /etc/default file to get clobbered on package upgrade?23:13
SpamapShallyn_: thanks for the response23:16
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:17
SpamapShallyn_: thanks, thats the conclusion we've come to as well.23:18
SpamapShallyn_: I look forward t your analysis, as I trust you more than {all of us} ;)23:19
augustrushMy 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:29
Diegonathi guys,? do you know anything about devstack?? Its not clear to me if i can use it to run instances.23:58
pleia2Diegonat: 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 serious23:59

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