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 |
---|---|---|
delinquentme | initialize a python script on a slave computer from a master computer over network /?? | 01:20 |
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:25 |
MarkusDBX | hamnstar: have you checked ifconfig? | 01:28 |
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:29 |
hamnstar | yup. I can see arp requests on the switch coming from it, so definately playing with the right one | 01:30 |
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:38 |
hamnstar | very perplexing :/ | 01:39 |
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:40 |
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:42 |
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:43 |
MarkusDBX | hamnstar: sounds like a good bet. LiveCD to rule out software issues. | 01:45 |
hamnstar | MarkusDBX: looks like it works perfectly fine in Ubuntu Desktop 12.04...but not in Ubuntu Server 12.04 | 01:57 |
hamnstar | cant help but wonder if somehow its using a different driver.... | 01:59 |
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:20 |
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:21 |
MarkusDBX | delinquentme: do you know about screen? | 02:22 |
delinquentme | cant say I've ever used it MarkusDBX | 02:22 |
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:24 |
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:25 |
MarkusDBX | Can I ask about the purpose for the connection between B and C? | 02:26 |
delinquentme | logging so I dont have to write files onto a system which uses SD cards as it primary FS | 02:29 |
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:30 |
MarkusDBX | b -- scp logfile --> c | 02:31 |
MarkusDBX | you could also consider monit, xymon or nagios for monitoring | 02:31 |
delinquentme | MarkusDBX, is that logfile residing on c? | 02:32 |
MarkusDBX | doesn't matter you can do it both ways. | 02:33 |
delinquentme | I dont understand. | 02:33 |
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:34 |
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 | 02:35 |
hyperreal | Hello. 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 | ||
nuf0xx | hyperreal: https://help.ubuntu.com/community/UpstartHowto | 03:48 |
=== thumper is now known as thumper-afk | ||
=== kenneth is now known as Guest9847 | ||
Guest9847 | hello? | 05:11 |
nuf0xx | o/ | 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 | ||
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:14 |
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:18 |
bkfitz | pgrep cron -> 2036 | 15:19 |
RoyK | try to cron it up for something in a minute, just to probe it | 15:19 |
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:20 |
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:21 |
bkfitz | :) | 15:22 |
bkfitz | Pici: yeah.. checked for that | 15:22 |
bkfitz | just did crontab -e, edited it to run in one minute | 15:22 |
bkfitz | all that got spit into syslog is : (root) RELOAD (crontabs/root) | 15:23 |
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:25 |
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:26 |
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:27 |
bkfitz | jrwren, done and reset to run in 1 min | 15:28 |
RoyK | 15:28 | |
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:29 |
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:30 |
bkfitz | RoyK: http://paste.ubuntu.com/6119887/ | 15:31 |
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:32 |
RoyK | can you run the script manually? can you pastebin the script? | 15:33 |
bkfitz | yeah script runs find manually | 15:34 |
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:35 |
bkfitz | http://paste.ubuntu.com/6119913/ | 15:39 |
bkfitz | RoyK: good tip on bg | 15:40 |
RoyK | bkfitz: can you try to add "* * * * * /bin/date" to the crontab? | 15:42 |
RoyK | just to see if that works | 15:42 |
bkfitz | RoyK, how often will that run if there is not second, minute, etc specified | 15:43 |
RoyK | every minute | 15:43 |
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:44 |
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:45 |
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:46 |
bkfitz | RoyK, yeah | 15:47 |
bkfitz | owned by root, x +x | 15:47 |
bkfitz | RoyK, does it not like the .sh | 15:48 |
RoyK | shouldn't matter much | 15:50 |
RoyK | linux doesn't care about file extensions | 15:51 |
RoyK | only about file permissions | 15:51 |
patdk-wk_ | but I care | 15:54 |
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 | 15:57 |
bkfitz | RoyK: it's not the .sh... something to do with the date? | 16:03 |
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:04 |
smoser | adam_g, what do you think about https://bugs.launchpad.net/cloud-archive/+bug/1226674 | 16:07 |
uvirtbot | Launchpad bug 1226674 in horizon "openstack-dashboard should suggest python3-lesscpy" [Undecided,New] | 16:07 |
smoser | basically, zul requested me to sync havana-staging, which would have added python3-lesscpy. | 16:07 |
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:08 |
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:09 |
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:10 |
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:11 |
rbasak | SpamapS: any update on bug 1162139/debian 678252 please? You had marked it pending... | 16:12 |
uvirtbot | Launchpad 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/1162139 | 16:12 |
uvirtbot | Debian bug 678252 in src:mysql-5.5 "mysql-5.5 depends on gcc-4.4/g++-4.4" [Normal,Open] http://bugs.debian.org/678252 | 16:12 |
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:14 |
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:16 |
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:17 |
zul | crappers sorry about thtat | 16:18 |
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:20 |
adam_g | zul, what ever came of that upstream patch to make keystone's dependency resolution avoid requiring extensions dependencies? | 16:31 |
zul | i aint sure ill double check | 16:35 |
zul | adam_g: https://review.openstack.org/#/c/46797/ | 16:36 |
* 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:41 |
RoyK | damn - 30,000 feet | 16:42 |
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:15 |
Ng | howdy | 17:33 |
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 | 17:34 |
free50 | hello everyone. I have a question regarding MAAS and Infiniband | 18:05 |
free50 | is it straightforward to setup a MAAS system using flexboot? | 18:06 |
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:07 |
bkfitz | Anyone here a cron/crontab expert... having trouble getting a script to run | 18:12 |
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:13 |
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 | 18:15 |
=== omkar is now known as admin-man | ||
=== empty is now known as davidbowlby | ||
=== ogra_ is now known as ogra | ||
SpamapS | hallyn_: ping (re lxc and iscsi) | 20:57 |
SpamapS | hallyn_: 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 | ||
HSaka | Is Debian better than Ubuntu server? | 21:32 |
HSaka | I've constant have 2 of my friends discuss about it | 21:32 |
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:44 |
RoyK | adac: looks like "map to user" contains an invalid username | 21:46 |
RoyK | apart from that, looks ok to me | 21:46 |
adac | RoyK, Wondering how should this look like then? | 21:47 |
RoyK | it should be visible | 21:49 |
sarnold | adac: should 'directory mask' be 02775? I don't know if samba requires the leading 0 for octal parsing or not | 21:55 |
adac | sarnold, I'm also not really sure, however it works like that (when i access the server via correct username/ password) | 21:56 |
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:58 |
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 :) | 21:59 |
RoyK | halvors: iirc it doesn't use IP, but a unix socket | 22:00 |
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:01 |
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:02 |
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:03 |
* 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:04 |
RoyK | adac: goodie | 22: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 namespace | 22:54 |
hallyn_ | i've not looked into it though | 22: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 off | 23:01 | |
mgw | is it normal for an /etc/default file to get clobbered on package upgrade? | 23:13 |
SpamapS | hallyn_: thanks for the response | 23: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 |
SpamapS | hallyn_: thanks, thats the conclusion we've come to as well. | 23:18 |
SpamapS | hallyn_: I look forward t your analysis, as I trust you more than {all of us} ;) | 23:19 |
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:29 |
Diegonat | hi guys,? do you know anything about devstack?? Its not clear to me if i can use it to run instances. | 23:58 |
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 | 23:59 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!