/srv/irclogs.ubuntu.com/2011/08/08/#ubuntu-server.txt

swimfinsah sleep all night...00:08
swimfinsund I grep all day00:11
fluvvell"oh he's a lumberjack and he's ok...."00:12
lickalott.00:13
swimfinsyes yes00:13
fluvvell... I search b-trees, I eat my lunch..."00:18
swimfinsah go to /dev/null to p00:22
JoeCoderI'm logged in as root and I added a new sh file to /etc/cron.daily  It is +x.  It runs fine when I run it as my root user (from any directory, all paths are absolute), but it is not being executed by cron.00:33
JoeCoderare there any log files I can check?  There is no /var/log/cron file.00:33
JoeCodercrontab -e shows an empty cron file.  Do I need to make an entry in order for cron.daily to be used?00:34
JoeCodermaybe because my file does not begin with #!/bin/bash ?00:36
swimfinsyou don't need the sh-bang but you do need to tell it when you want it to run00:38
JoeCoderso I need to add a cron entry before cron-daily is run?00:39
JoeCoderit's not automatic?00:39
JoeCoder(I had assumed I could just dump scripts in that folder)00:39
swimfinsno, you00:41
swimfinsyou're right00:42
JoeCoderwhat user does cron run the script as?00:42
swimfinsthat should work.  You will see job info in /var/log/syslog00:42
JoeCoderperhaps it's failing due to some environment difference.  Is there a way to make it log?00:42
JoeCoderok00:42
swimfinsfrom ubuntu.com "When adding a new entry to a blank crontab, forgetting to add a newline at the end is a common source for the job not running. If the last line in the crontab does not end with a newline, no errors will be reported at edit or runtime, but that line will never run."00:43
JoeCoderwow00:44
JoeCoderI had no newlines00:44
JoeCoderthat seems like it should be a bug?00:44
JoeCodera bug that should be easy to fix and should have been fixed long ago?00:44
JoeCodergrep server-backup /var/log/syslog found no instances of my server-backup.sh running.00:45
swimfinsI believe that the newline would follow all entries except the last one00:45
JoeCoderthe last line of my server-backup.sh had a complete command followed by no newline.00:46
JoeCoderso the last line was not "black"00:46
JoeCoder"blank"00:46
swimfinsI think you just need to remember to do a cr after the last line00:47
swimfinsso you have the backup script in /etc/cron.daily?00:47
JoeCoderyes, and it is +x00:47
JoeCoderthere was no cr after the last line00:48
JoeCoderI am thinking that cron.daily is run at 10:25am ?  https://gist.github.com/e3281cd38fd62dbafc7a00:48
JoeCoderI am wondering why that time was chosen?00:49
swimfinsso, in that case yes, you do need the shebang at the start #!/bin/?shell?00:49
JoeCoderI've added that too00:49
JoeCoderI am about to change my time to 10:24 and see if this is run.  This is not a production server (yet)00:50
JoeCoderunless there is a better way to test cron jobs?00:50
swimfinsyou do need to add each one to crontab00:52
swimfinsand you can change the time from there00:53
JoeCoderso cron.daily is not automatic?00:53
swimfinsno00:53
swimfins02 4 * * * root run-parts /etc/cron.daily00:53
swimfinswill run at 4:0200:53
JoeCoderthen why is it an entry in the github post above?00:53
JoeCoderthe github post above is my current /etc/crontab file00:54
JoeCoderI did not add any of those entries.  I'm unfamiliar with the commands run, but I see /etc/cron.daily referenced.00:55
swimfinssorry missed that00:55
JoeCoderI set my time to 10:24:55 but my cron job was not run, and I do not see it referenced in /var/log/syslog00:55
swimfinsyou're running anacron00:55
JoeCoderI'm on ubunt 10.04; haven't modified this since install.00:56
JoeCoderthis is a cloud server.  perhaps my host (rackspace) has it modified version of ubuntu that is used?00:57
swimfinsmake sure it's at /usr/sbin/anacron00:57
swimfinsNot sure00:57
JoeCoderit's not00:58
jmarsdenJoeCoder: the run-parts script is what runs all the scripts in a directory, so it makes /etc/cron.{hourly,daily,weekly,monthly} work.  The reason for doing it is primarily flexibility; if you really need the daily stuff to run at a different time from usual, you can change /etc/crontab as needed.  But by default, /etc/cron.daily/* scripts will run daily, etc.00:58
jmarsdenYour issue is that you named the script server-backup.sh.  Name it serverbackup instead and it will run fine.00:58
JoeCoderthere is another file in cron.daily named "man-db"  dates to Mar 2 2010 and I suspect it is part of the ubuntu install.01:00
jmarsdenJoeCoder: The namespaces for the scripts run-parts will accept are limited, man run-parts for the details if you really care.01:00
JoeCoderI'm still renaming it and seeing if it works01:00
jmarsdenJoeCoder: OK, so server-backup is probably OK... maybe it is the period that is breaking it... I just know the namespace stuff is odd from past experience.01:00
swimfinsjmarsden, the script is running /usr/sbin/anacron, not run-patrs01:01
swimfinsrun-parts01:01
jmarsdenWait... someone just pasted 02 4 * * * root run-parts /etc/cron.daily above... amd I confused??01:01
=== medberry is now known as med_out
swimfinsthat was me.  I didn't see the github post01:02
JoeCoderthat was from a stackoverflow answer, as an example01:02
jmarsdenswimfins: Why would a hosted server that is up 24x7 use a non-standard cron ???  Makes no sense.01:02
swimfinsnot sure, check out his crontab here:  https://gist.github.com/e3281cd38fd62dbafc7a01:03
jmarsdenJoeCoder: You can test whether run-parts likes your script by doing   sudo run-parts --test /etc/cron.daily  to list all th scripts it will run from that directory.01:04
JoeCoderrenaming it to serverbackup has not fixed it.  It has a shebang at the beginning and a line return at the end.  grep serverbackup /var/log/syslog returns nothing01:04
JoeCoderrun-parts --test /etc/cron.daily lists serverbackup among all the other files there01:04
jmarsdenJoeCoder: Who or what edited your /etc/crontab file?01:05
JoeCoderit has never been edited01:05
swimfinsjmarsden is THE MAN by the way.  Fixed a problem that I was working on for days in about 10 minutes01:05
JoeCodersince setting up this server I have saved all modifying commands to a shell script, for reproducability.01:05
JoeCoderI'm just thankful for all the help I'm getting here.  This is a great channel.01:05
jmarsdenJoeCoder: Hmm. OK... do you have anacron installed?  what does    dpkg -l anacron     output?01:05
JoeCoderI'm relatively new to linux sysadmin01:05
* jmarsden has been doing Unix and Linux sysadmin work since 1994 :)01:06
JoeCoderhttps://gist.github.com/0228fef1aad25bf054e0  seems it's not?01:06
JoeCoderstrange that it's set to be used but not installed?  Maybe I'll have a chat with rackspace support if this turns out to be the cause.01:07
jmarsdenJoeCoder: OK, good.  No, you don't want anacron on a server that is up 24x701:07
JoeCoderso I'll switch it to cron01:07
jmarsdenleave it alone :)01:07
JoeCoderbecuase the current crontab references anacron?01:07
jmarsdenIt will use anacron if it is there, if not it will use run-parts.01:07
JoeCoderok01:07
jmarsdenBut swimfins said you were not using run-parts...01:07
JoeCodermy /etc/crontab references run-parts01:08
jmarsdenSo, run-parts can see your serverbackup script just fine.01:08
jmarsdenIs there any problem with us running all your cron.daily scripts right now, as a test?01:08
JoeCodernope.  I was about to ask if I should remove the -test argument.01:08
JoeCoderrun-parts: failed to exec /etc/cron.daily/serverbackup: Exec format error01:09
JoeCoderso there's a problem with my script01:09
jmarsdenAha.  pastebin the script itself please :)01:09
jmarsdenProbably an issue with the #! line01:09
swimfinseww, I just looked at it again, didn't notice the pipe01:10
JoeCoderhttps://gist.github.com/0228fef1aad25bf054e001:10
JoeCoderaha, there's a line return before my #!01:11
JoeCoderbut pastebin doesn't show it (trims empty lines at start?)01:11
jmarsdenOK, remove the empty line and retest :)01:11
JoeCoderseems to be working now01:12
jmarsdenCool :)01:13
JoeCoderthanks01:13
jmarsdenYou're welcome.01:13
KM0201how do you pastebin the contents of a file, from CLI?01:15
JoeCoderdepends on what program is displaying the CLI01:15
jmarsdenpastebinit filename01:15
KM0201really?01:15
KM0201hmm01:15
jmarsdenKM or for pastebinning output from some commands,   somecommand |pastebinit01:16
JoeCoderwow, pastebinit actually is a valid package01:16
JoeCoderapt-get install pastebinit01:16
jmarsdenOf course :)01:16
KM0201jmarsden: yeah, i know how to do it w/ commands01:16
KM0201just didn't know how to do it w/ the contents of a file01:16
jmarsdenKM0201: well, if you know it for commands, cat file |pastebinit    would also work, cat is a command ... :)01:16
jmarsdenIt's just that pastebinit filename  is more efficient :)01:17
KM0201yeah01:17
KM0201i'll be darned, it worked01:18
jmarsdenDid you really expect me to tell you something that *wouldn't* work? :)01:19
KM0201jmarsden: no.. just surprised i'd never figured that out.01:21
KM0201lol01:21
KM0201jmarsden: i had tried pastebinit | /path/to/filename01:21
KM0201and that was no joy.01:21
KM0201didn't think the way you did it, would work01:21
jmarsdenKM0201: next time, man pastebinit and read the man page :)   man pages contain useful information...01:21
KM0201jmarsden: yeah, but they make my head hurt.01:22
KM0201lol01:22
KM0201i wish you could save them to a txt file, and read them that way01:22
KM0201second, the man pages, often get a little to geeky for my understanding01:22
jmarsdenHuh?    man pastebinit >pastebinit.txt    # if you really need it as a text file....01:23
KM0201hmm, didn't know that01:23
jmarsdenbut why do you need them as a text file?01:23
jmarsdenUse whatever pager you prefer, you get highlighting (bold, underline, etc) that way...01:24
jmarsdenOr use xman or similar to view them in a GUI if you really want to have them look pretty :)01:24
jmarsdenThere are *many* ways to view man pages ... stuffing them into text files seems like a very low-end choice to me on a modern PC...01:26
KM0201jmarsden: i just hate reading them in terminal01:29
KM0201lol, call me crazyu01:29
twb1 plum.cyber.com.au mdadm: RebuildFinished event detected on md device /dev/md1, component device  mismatches found: 2214401:30
jmarsdenSo... use man -Tdvi and then dvi2pdf and read them in pretty PDF format, or whatever... just not a plain text file :)01:30
twbShould I worry about that?01:30
twbjmarsden: man -Tps | ps2pdf - tmp.pdf ?01:30
KM0201lol01:30
jmarsdentwb: Well, a RAID rebuild is a bad thing unless you specifically asked for it... and 22K mismatches doesn't sound nice, although I don't know exactly what they mean... it might have "fixed" them all?01:31
twbjmarsden: ubuntu systems resync raid @monthly01:31
twbThe question is whether the mismatches are significant01:31
jmarsdenOK, so it happened by design...  If I saw something like that on a hardware raid controller I'd be worried... don't do enough with Ubuntu/Debian software RAID to know if it matters in that context, though.01:32
twbThe host in question has write-intent bitmaps turned on, 2√óRAID1 250MB HDDs01:33
twbI'll just lurk until an md expert wakes up, I guess01:33
jmarsdentwb: Can you run SMART tests on the two drives?01:33
twbGood question.  smart ought to be already deployed, lemme check01:34
jmarsdenOK, I need to go out for a while, but will be back later.  I'd check SMART and also check your backups, while waiting for that md expert to arrive :)01:34
twbThat's odd, smartmontools starts without any syslog output, despite a missing -d ata in smartd.conf01:35
=== nickmoeck_ is now known as nickmoeck
Bernhardafter installing ubuntu server 11.4 i get these errors. On reboot the file system /boot is corrupted. When i repair this disk with knoppix cd it says it was uncleanly unmounted. after repair it boots normal. But after a reboot i gives the same error. The error message is Cannot write bytes: pipe error. Basicly it does not unmount /boot correctly. Then i installed Debian to see if it was02:27
Bernharda software issue. But the i get about a similar error. When Debian shuts down it says something like this: cannot unmount file system failed.  So it seems it is some sort of same issue.. idears ?02:27
twbBernhard: that information is not precise enough to isolate the fault.02:28
Bernhardoke let me see the exact error02:29
twbHow was /boot "corrupt"?02:29
Bernhardubuntu.. on reboot it says mountall fsck /boot [344] terminated with status 102:31
Bernhardcould not write bytes : pipe error02:31
twbThat doesn't mean it's necessarily corrupt.02:31
twbExit status 1 from fsck actually means: 1    - File system errors corrected02:32
Bernhardafter that it show about 60 times  could not write bytes : pipe error on screen02:32
twbThe pipe error output sounds like dd or something is getting its knickers in a twist02:33
twbIt suggests there's some problem with the boot process' init scripts02:33
twbI speculate that what's happening is that after fsck finds and fixes an error, it tries to report that to ubuntu's crappy in-house splash code, which fails02:33
twbAnd because that fails, the entire boot process just hangs02:34
twbUnfortunately upstart/mountall/usplash issues are a bitch to debug, especially over the phone (or IRC).02:34
twbIMO your best bet at this point is to try installing LTS server02:35
Bernhardbtw the system does not hang after that error.. i can login..  Its true i made an image with dd.. Both the source drive and target give these errors. both drives are new. But it might be that the source disk had this error earlier..02:36
twbWhat does "you made an image with dd" mean?02:39
twbMaybe you did that wrong02:39
Bernhardi did dd if=/dev/sda of=/dev/sdb sb=4M02:48
twbAh, OK02:49
twbThat should be fine, except that grub will probably boot off sda still unless you physicall unplug it02:49
Bernhard<twb> when i make /boot only readeble it does not give those errors..02:52
twbBernhard: that is interesting02:55
twbjmarsden: FYI, the md issue appears to be caused by hosting swap on the md: debbugs 51883402:59
Bernhardi'm off. .bey03:00
Stev66hiya04:00
Stev66I've a little understanding problem with PHP error reporting. In the php.ini I have display_errors = On; and error_reporting = Off; By default I don't want to display errors. However I want to be able to switch them on by script.  When I add this line to my script: error_reporting(E_ALL);  i expected it to display all errors but parse errors for example got straight into a blank page. Am I not allowed to override the php.ini 04:00
Stev66I'm running Ubuntu 10 LTS and php 5.3.204:02
twbI don't know how, but our PHP weenie made his PHP app report errors via syslog(3).  IMO this is desirable.04:02
twbCould be /etc/php5/apache2/php.ini:error_log = syslog ?04:03
Stev66yes, I'm looging the errors too but there's demand for external developers that they can also see errors while running the script.04:04
twbDunno, sorry.04:04
twbYou could also try ##php of course04:04
Stev66I think you only get in there by invitation....(Channel)04:06
twbMore likely you need to register your nick04:09
twbFWIW I can get there04:09
JRWRhaving a issue with NGINX, nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) after a upgrade from 0.7 to 1.0 same config, i checked netstat -l and it states nothing is on port 80, and i did a simple connect, nothing is on that port -- Ubuntun 10.04LTS04:21
=== erichammond1 is now known as erichammond
twbJRWR: that's [::]:80, not *:8004:26
twbJRWR: i.e. IPv604:26
JRWRFor the logs, The issue was resloved, Had a extra config from install in sites-enabled04:26
JRWRand with nginx [::]:80 listens on ipv4 and v504:27
JRWRv6*04:27
elz89I am trying to get 'fuppes' running on ubuntu-server, but I am having some problems. I'm not sure where to start looking for the cause?04:32
twbIs this significant?  e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang04:35
twbelz89: http://bugs.debian.org/42604804:36
elz89twb: I have had a look but I can't see what will help?05:02
twbIf you want fuppes on Ubuntu you should work with those people to get it packaged.05:03
jmarsdenelz89: Did you install fuppes from a package?  If not, then doing so might well help.05:03
twbjmarsden: I was eliding the "some deb I found" case, because I don't consider it substantially better than "some tarball I found" -- ref. e.g. webmin05:04
jmarsdentwb: The packages mentioned in that bug should be quite  a bit better than a random tarball, they were at least aiming for Debian/Ubuntu packaging quality...05:05
twbjmarsden: mea culpa, I didn't bother to read the whole ticket05:10
elz89I  use the GetDeb Apps PPA. The 'fuppes' package is from the repo.05:14
twbhttp://www.ubuntuupdates.org/ppa/getdeb_apps ?05:19
twbAh, http://www.getdeb.net/welcome/05:20
twbSounds like arch-for-ubuntu: "integration testing?  What is that?"05:20
elz89twb: your first url was right05:21
elz89ever used it, or do you have any ideas how I can fix it?05:31
twbI don't provide support for third-party PPAs, but if you can describe the precise issue, it might be something I can help with anyway.05:32
elz89To be fair, I am only looking at 'fuppes' because I have used it as part of FreeNAS a while ago. Can you recommend an alternative upnp media server for ubuntu server natty?05:34
twbI avoid UPNP because I heard it's basically a big gaping security hole.05:34
elz89How else can I stream music to my PS3 then...05:35
* lickalott researches elz89's host05:36
lickalotti kid, i kid...05:36
elz89I'm cloaked?05:40
twbelz89: apparently you are cloaked: 16:11 *** 311 elz89 ~elz89 unaffiliated/elz89 * Elliot Still06:11
twbelz89: and yeah, unless you're going to reflash ubuntu onto your PS3, I don't know how you can make it play your music06:12
twbI remember when I first ran into that (with a 360) -- "what do you mean it's not just talking CIFS to the NAS?!"06:12
=== bkerensa_ is now known as bkerensa
rickspencer3hi all07:46
rickspencer3is there an easy way to see what formulas I have available (for ensemble)?07:46
twbHrmph; "formula" sounds like a bit of a mixed metaphor for orchestra/ensemble07:47
twbrickspencer3: (I don't know.)07:47
twbSurely it should be more like "score"07:48
rickspencer3hi twb07:48
rickspencer3they are musicians who are also chemists07:48
rickspencer3eer, mathematicians?07:48
twbrickspencer3: either holds07:49
rickspencer3twb, btw, I figured it out08:28
twbk08:29
rickspencer3you branch the specific recipes that you want to use08:29
rickspencer3it was just *too* easy ;)08:29
uvirtbotNew bug: #822566 in postfix (main) "package postfix 2.8.3-1 failed to install/upgrade: trying to overwrite '/usr/share/apport/package-hooks/source_postfix.py', which is also in package postfix-pcre 2.8.3-1ubuntu1" [Undecided,New] https://launchpad.net/bugs/82256608:56
uvirtbotNew bug: #822573 in bacula (main) "package bacula-director-mysql 5.0.3-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/82257309:11
elz89twb: did you have any ideas on fuppes in the end?09:26
twbelz89: hmm?  Sorry, no09:33
twbelz89: "not my field" or so09:33
elz89do you know any good dlna media servers for ubuntu server?09:35
twbSee above: not my field09:38
twbelz89: https://secure.wikimedia.org/wikipedia/en/wiki/Comparison_of_UPnP_AV_media_servers ?09:38
elz89twb: OK, thanks all the same.09:40
twbI don't understand what the "source control" column of that page means, since it has "FTP" and "HTTP" in there for some rows09:40
uvirtbotNew bug: #822585 in quagga (main) "Please sync quagga 0.99.18-2 from Debian unstable." [Undecided,New] https://launchpad.net/bugs/82258509:51
CoreStyxhello, anybody familiar with ubuntu-server 11.0410:17
CoreStyxvery specific problem, and I nailed it down on the weekend. does not seem that it was already noticed in that way. It is regarding "mdadm -> RAID1 and on top LVM volume. As soon as lvm sits on top of md0, respectivly no specific file system was created on top of md0 ->udev-work throws inotfy_add_watch(6 ,/dev/md9,10) failed: no such device.10:20
CoreStyxThis is because udev tries to add some kind of event watcher, which I can not get rid of. Does anybody knows ubuntu so deeply to give an answer to this? I googled... bug/feature...etc. but nobody saw it in this context. All I need to find out how to tell udev to leave md0 as it is, since lvm locks it and of course a watcher can not be installed anymore.10:24
uvirtbotNew bug: #822613 in etckeeper (main) "etckeeper should depends on hostname" [Undecided,New] https://launchpad.net/bugs/82261311:06
jasonmspAnyone know how to send the F10 key in terminal to close htop?   Im on Ubuntu 11.04 connected to my server which is 10.04/11:29
Jeeves_jasonmsp: There's a button on your keyboard11:30
Jeeves_labeled 'F10'11:30
Jeeves_:)11:30
jasonmspnice..11:30
jasonmspproblem is it isn't sending it through the terminal.11:30
Piciclose htop? I just press 'q'11:31
jasonmspyikes!  I was so channelized on the fact that the F10 key is listed at the bottom for exit that I didn't even try q!  ha.  thanks!11:33
CoreStyxnobody here who knows?12:01
Jeeves_CoreStyx: You're doing md on top of lvm?12:03
CoreStyxthe other way around...12:03
CoreStyxlvm on top of md12:03
Jeeves_Ah, ok12:05
Jeeves_That makes more sense indeed12:05
Jeeves_Sorry12:06
Jeeves_I'm not running 11.04 anywhere12:06
CoreStyxdid you ever try something like it ?12:06
Jeeves_No, I don't really like Ubuntu 11.*12:07
Jeeves_So i'm still at lucid12:07
Ursinhabom dia12:50
bericguys how do I make my package depend on java JDK without specifying implementation ?12:53
bericI don't want to force sun jdk or openjdk12:54
reisiberic: java5-runtime java6-runtime?12:57
reisiberic: or those are for -jre's; for jdk's there seem to be java5-sdk and java6-sdk12:58
bericreisi: how can I verify that? apt-get install java6-jdk says no such package13:00
reisiberic: java6-*sdk*13:01
bericthanks !! :)13:01
reisiberic: aptitude show opendjdk-6-jdk | grep Provides:13:01
reisiberic: though, i'm no debian packager, but afaik this is exactly what those virtual packages are for13:02
bericYes and that's exactly what I wanted.  I knew there was a virtual package for that but I just couldn't figure out the names.13:03
kirklandRoAkSoAx: pong13:16
lynxmanUrsinha: bom dia!13:35
Ursinhalynxman: bon dia :)13:35
hggdhUrsinha: good dia13:38
Ursinhahggdh: bonjour :)13:38
hggdh:-)13:38
hggdhDaviey: did you get with Colin? (I am curious)13:43
* nigelb blinks, looks at channel name, blinks again.13:43
* RoyK doubleblinks13:47
* hggdh closes eyes13:48
Davieyhggdh: not grabbed him yet13:48
RoyKhttp://xkcd.com/924/13:48
* Jeeves_ is thinking about tmi13:48
Daviey13:50
Daviey/win 213:50
jpds 13:50
lynxmansmoser: ping14:07
philsfHi, can someone give me suggestions for webmail clients available in Lucid repos?14:08
philsfThe more user-friendly, the merrier. People here don't like the vanilla squirrelmail14:09
greppyphilsf: either roundcube or squirrelmail14:09
lynxman+1 for roundcube, it looks pretty nice14:10
Davieyroundcube doesn't handle very large mailboxes with lots of folders that well.14:11
greppyI haven't had any problems with it, what kind of IMAP had problems?14:12
patdk-wkroundcube would be simple and easy14:13
philsfwill check them out, thanks14:21
CoreStyxhow to report a server bug... 11.0414:25
RoAkSoAxkirkland: nevermind :) wanted to know how warm were TX nights14:29
kirklandRoAkSoAx: "very"  :-)14:29
RoAkSoAxkirkland: hehe feels just like Miami14:30
=== smb` is now known as smb
GanymedeHello. I have an existing CSR and private key with no subjectAlternativeName field. I'd like to add a pair of DNS names as SANs to the pre-existing CSR. I tried something like: "openssl req -new -in original.csr -config test-conf -out revised.csr -key myprivkey.key" and the config file has some stuff in it and a list of the DNS names to go into the SAN field. Does this sound like the correct approach?14:30
lynxmanhallyn: ping14:36
=== med_out is now known as medberry
bernhard1is it possible to set up LVM for all partitions except for /boot ??14:45
_rubenthat's how i setup 99% of all my systems14:48
Picibernhard1: mount a different partition onto /boot/14:49
RoAkSoAxkirkland: when you coming btw?14:49
lynxmanRoAkSoAx: tomorrow14:50
lynxman(he just told me)14:50
kirklandRoAkSoAx: either this afternoon, or tomorrow14:50
kirklandRoAkSoAx: robbiew recommended that I come tomorrow, I think14:50
patdk-wkif I setup an lvm system, I set /boot as non-lvm14:52
patdk-wkbut I am so used to using vm's now, I never use lvm on a vm14:52
_rubenpatdk-wk: why not?14:53
patdk-wkjust doesn't seem any use for me, and adds extra complexity14:53
patdk-wkif I need to make it larger, grow the vm disk size, and expand partition14:54
patdk-wkand the issue I mainly have with lvm, mounting that disk on another system gets to be a pain if they have the same lvm names14:54
bernhard1is it possible to set up LVM for all partitions except for /boot ??14:54
Picibernhard1: What part of the answer that I supplied doesn't help?14:55
RoAkSoAxkirkland: ok cool ;)14:55
RoAkSoAxlynxman: lol14:56
_rubenprobably the part where his connection had already died... ;)14:56
patdk-wkpici, the part that he has a crappy irc connection, and it hasn't timed out yet14:56
lynxmanRoAkSoAx: hey btw do you have experience with LXC?14:56
RoAkSoAxlynxman: nope unfortunatlely :(14:57
lynxmanRoAkSoAx: dang, trying to get ahold of smoser :)14:57
RoAkSoAxlynxman: zul hallyn might be able to help you too14:57
zulRoAkSoAx: i already beat him over the head with the lxc stick this morning :)14:58
bernhard1<Pici> can you repeat your answer i was disconnected..14:58
RoAkSoAxzul: hahah good :)14:58
lynxmanRoAkSoAx: it's out of zul's range and hallyn doesn't reply either :]14:58
Picibernhard1: <Pici> bernhard1: mount a different partition onto /boot/14:58
robbiewzul: you cry from the beauty that is Milbank, yet15:02
lynxmanrobbiew: he does :)15:05
zulrobbiew: a single tear went down my cheek15:06
hallyn~>15:13
hallyn~>15:13
hallyn~>15:13
hallynsorry15:13
hallynlynxman: hi15:14
lynxmanhallyn: hi o/15:14
hallynlynxman: i'll be slow responding, whats up?15:15
lynxmanhallyn: I have an issue with LXC and several people here pointed me in your direction15:15
lynxmanhallyn: got openstack + LXC running, all good except that when I try to start an instance the instance complains about lack of permissions, for example for creating dev entries15:15
lynxmanhallyn: have you found this problem before and if so, any suggested solution path or places to look further?15:18
hallynlynxman: you probably need to add whitelist entries to the devices cgroup for the container15:20
hallynyou can set those in the contianer config file15:20
hallyn(and/or in the one used at container create time)15:20
lynxmanhallyn: cool, will look into that15:21
zulhallyn: libvirt though15:21
lynxmanzul: that's true, it's libvirt15:21
hallynzul: lynxman: oh!15:23
hallynsorry, libvirt is not extensible like that.  so you'll have to change the whitelist at run-time15:26
lynxmanhallyn: hmm okay... so how can I do it? =)15:26
hallynswitch to liblx?  :)15:27
hallynlynxman: look at /proc/$$?cgroups for a task in the container,15:27
hallynget the path for the devices cgroup,15:27
hallynand then echo something like "c 1:3 a" > /sys/fs/cgroup/path/to/cgroup/devices.allow15:28
hallyn(if youwant /dev/null access:)15:28
hallynsubstitute b for block, and maj:minor15:28
lynxmanhallyn: cool!15:29
hallynlynxman: but talk to zul, i thought he had a patch for using lxc.sf.net with openstack15:30
zulhallyn: almost....not ready yet15:30
lynxmanhallyn: I have him sitting just in front of me15:30
* lynxman stares at zul15:30
hallyncareful with those daggers15:30
hallynok, thx, lemme know if you have problems :)15:31
lynxmanhallyn: he has a huge ruler, like... 70cms long15:31
lynxmanhallyn: thanks :)15:31
Ursinha3g for the rescue15:51
Ursinha(or not)15:51
robbiewzul: Daviey: DMB opening (wink wink)15:54
robbiewlol15:54
zulrobbiew: uh huh :)15:55
robbiewzul: just sayin...would be nice to have some more server folks ;)15:56
robbiewwe gotta represent!15:56
zuldont you have to nominate people?15:56
SlybootsAFternoon folk16:05
SlybootsAnyone here familure with Mdadm?  Using a RAID6 array and added a disk to the array and "Grew" the array into it.16:06
SlybootsBut its giving an ETA of 6000mins..16:06
SlybootsBDoes that sound right?16:10
=== Ursinha` is now known as Ursinha-afk
=== Ursinha-afk is now known as Guest6606
=== Guest6606 is now known as Ursula
=== Ursula is now known as Ursinha
Ursinhalynxman: hey, you really should be assigned to bug 807233?16:16
uvirtbotLaunchpad bug 807233 in mcollective "mcollective not working with rabbitmq" [Undecided,Incomplete] https://launchpad.net/bugs/80723316:16
lynxmanUrsinha: I marked it as incomplete I think... let me have a look16:16
Ursinhalynxman: yes, you did, but you're also assigned to it16:17
lynxmanUrsinha: ah okay, I'll assign it to myself then :)16:18
RoAkSoAxadam_g: you in london yet?16:18
lynxmanUrsinha: ah I did already :D16:18
lynxmanUrsinha: the guy didn't reply so I reckon I can close it?16:18
Ursinhahaha but why? are you going to work on that?16:18
Ursinhalynxman: I believe you should wait for him to reply... if not, the bug will expire16:19
lynxmanUrsinha: I asked for more info but he didn't reply, that's why I'm asking, first time I got one bug hanging16:19
MTecknologyAny ideas how I could force a cups job to retry printing and tell me what caused it to fail if it does?16:20
Ursinhanot sure what to do there (why the bug isn't set to expire?)16:21
RoAkSoAxkirkland: so we'd need a new package to install the ensemble related stuff right? such as ubuntu-orchestra-ensemble ?16:26
lynxmanUrsinha: not me either :D16:29
keeswin w16:29
keeshmmm16:29
adam_gRoAkSoAx: yessir16:30
RoAkSoAxadam_g: cool. were you able to deploy openstack yet?16:30
jasonmspanyone know why an update to .bashrc might not take effect even after exiting and logging back in or typing bash?16:32
SlybootsRight, obviously something was wrong since.  Well mdadm segfaulted16:33
Slybootsand it appears to have crashed my entire array16:33
SlybootsSo now Im kind of panicing to try and fix this :P16:34
SlybootsAnyone any tips?16:35
cjwatsonwould anyone be able to sanity-check a libvirt patch for me?  http://paste.ubuntu.com/661171/16:37
cjwatsonchecking that libvirt still works with that would be nice if possible; I don't use it myself ...16:37
SlybootsAnyone?16:43
SlybootsI've tried to rebuild the array, but its showing all the disks as "Inactive" and "Spares"16:43
SlybootsIm guessing thats *really* bad#16:43
davroswtf why wont applications open. stupid kde16:43
=== medberry is now known as med_out
SlybootsI would just like to take this moment to say *fuck* you mdadm16:46
Slybootsx.x16:46
Myrttinow now, no need for harsh language16:49
kirklandRoAkSoAx: actually, I'm about to head over to the sprint16:49
kirklandRoAkSoAx: can be there in ~25 minutes;  what time are ya'll breaking for lunch?16:50
RoAkSoAxkirkland: supposedly in 10 mins16:51
p3rsistHey guys, what tool do you use for db (postgreSQL) clustering?16:54
kirklandRoAkSoAx: okay, i'll call you and find out where to meet16:54
RoAkSoAxkirkland: cool, though the meeting rooms are in the ground floor to the right of the lobby,  and we should be right there i think16:55
kirklandRoAkSoAx: are ya'll going out for lunch?16:55
SlybootsOK, so Mdamd has screwed me over and killed my array x.x16:56
=== zz_ng_ is now known as ng_
RoAkSoAxkirkland: no lunch is suppodsedly in the hotel16:58
hggdhhallyn: do you see a chance of getting https://bugzilla.redhat.com/show_bug.cgi?id=601494 into Natty?18:14
uvirtbotbugzilla.redhat.com bug 601494 in kvm "qemu-io: No permission to write image" [Medium,Closed: errata]18:14
=== otubo is now known as otubo[AFK]
_johnnyhi, any matlab wizards here? :)18:22
=== otubo[AFK] is now known as otubo
hallynhggdh: yeah i think so, though it depends on exactly what the fix was18:27
hallynhggdh: have you looked at the rpm source to see what exactly they fixed?  (git log for qemu isn't glaringly obvious)18:29
hggdhhallyn: will grab it & look. The bug it18:30
hggdhself is amazingly lacking in details18:30
=== otubo is now known as otubo[AFK]
hggdhhallyn: all of that because I was giving your make_kvm_vm a go & changing it a bit :-)18:31
=== otubo[AFK] is now known as otubo
hallynhggdh: eh? :)  actually vm-new from ubuntu-qa-tools should soon work the same way (auto-pulling down of mini-iso) as my make_kvm_vm18:40
hggdhah, cool. I will consolidate myself on the u-q-t, then18:42
=== otubo is now known as otubo[AFK]
RoAkSoAxkirkland: http://pastebin.ubuntu.com/661323/18:43
RoAkSoAxkirkland: http://paste.ubuntu.com/661320/18:43
hggdhhallyn: well, anyway qemu-img does not seem to work on natty, at least for qcow2 (have not tested other formats)18:44
=== otubo[AFK] is now known as otubo
RoAkSoAxkirkland: http://pastebin.ubuntu.com/661331/18:49
RoAkSoAxkirkland: lp:~andreserl/orchestra/ensemble18:54
=== jamespage1 is now known as jamespage
=== otubo is now known as otubo[AFK]
hallynhggdh: qemu-img, or qemu-io?  I use qemu-img all the time on natty...19:26
hggdhhallyn: qemu-img19:27
hggdhweird19:27
hggdhhum19:28
hallynhggdh: i can qemu-img on my natty netbook right here.  but qemu-io indeed does not work for me19:28
hallynhggdh: would you mind filing a bug?19:28
hggdhhallyn: will do. That's interesting. And this is a brand-new Natty install (gave up on oneiric), I had to bloody format the HD19:29
hggdhhallyn: I am starting to suspect local FUBAR -- I can qemu-img create on the local dir19:32
* hggdh goes find out WTH is going on19:32
dkncan i pip contents of a file into chmod if i wanted to change the group owner of a bunch of different files and directory?19:32
dknpipe*19:32
* hggdh uses part of the time to blame the laptop manufacturer19:32
dkni know i can use find / -group thegroupname but how can i pipe that into sudo chmod :newgroupname [pipe from find here??]19:36
dkni have like 500 files to change...19:36
Ursinharobbiew: hey, want to have that call?19:45
=== otubo[AFK] is now known as otubo
uvirtbotNew bug: #822394 in samba (main) "package smbclient 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade: ErrorMessage: subprocess dpkg-deb --fsys-tarfile returned error exit status 2" [Undecided,New] https://launchpad.net/bugs/82239420:01
RoAkSoAxkirkland: http://pastebin.ubuntu.com/661386/20:01
JRWRIm having a issue with nginx/1.0.5 on ubuntu 10.04.3LTS with add_after_body, Its not grabbing the contents and adding it to the pages, here is my main server block http://pastebin.com/Dqr0CsNS and other configs http://pastebin.com/Vb7AR3TB20:05
robbiewUrsinha: hey...sorry...had to go pickup a rental van for jcastro20:48
UrsinhaI was about to ping you again :)20:49
=== ng_ is now known as zz_ng_
fbc_How do I install the xslt-filter on my server? I installed libapache2-modxslt and reloaded, but my application still fails. a2enmod does not show it on the list. How do I enable it.21:56
fbc_?21:57
=== kentb is now known as kentb-afk
XpticalHi all.  What is a good base for a free VM server?  I've used Virtual Box and VMWare.  I'm looking at Zen right now.  Any other really awesome VM servers?22:16
e_t_Xptical: kvm is very good, though graphical tools are seriously lacking.22:17
XpticalI'm more of a CLI guy anyway.  I just want something that will allow me to quickly spawn guests and install them from an ISO.  Or to quickly clone a guest to another guest.22:18
sw0rdfishheya guys.......can I have two web servers running on the same vps?22:19
RoAkSoAxsmoser: ping22:19
XpticalBeing able to pass options like hostname and root/password would be great22:19
nzkozHey guys, I just want to follow up on a fix for a critical / high bug affecting memcached on lucid.  https://bugs.launchpad.net/ubuntu/lucid/+source/memcached/+bug/63711422:19
uvirtbotLaunchpad bug 637114 in memcached "Large multiget requests randomly broken" [High,Fix released]22:19
nzkozI've tracked the problem down and outlined the fix, but not sure who to nudge to get it shipped / reviewed?22:19
e_t_Xptical: Check out LXC or OpenVZ. I've set up LXC and can create a new machine in about five seconds. I've heard, however, that OpenVZ is better for production.22:21
e_t_sw0rdfish: You can run a dozen web servers if that's what you want. However, only one can bind port 80 at a time.22:22
sw0rdfishI see.22:22
sw0rdfishcan I use other ports for http purposes, e_t_ ?22:22
e_t_sw0rdfish: Of course. You can run HTTP on port 22 or SSH on port 80. You can use any port number (that's not already in use on your box) between 0 and 65535, but 0 - 1023 are so-called "well known ports" and certain services are expected at those ports (http://www.iana.org/assignments/port-numbers).22:26
sw0rdfishcool cool.....I just wanna experiment on both apache2 and nginx :)22:26
sw0rdfishthanks e_t_22:26
chihello, I am having issues getting grub/grub2 installed on a software RAID1 from ubuntu server 10.04.  I get the following error: Executing 'grub-install /dev/sda' failed.22:31
chimeh not worth the wait22:46
=== otubo is now known as otubo[AFK]
=== otubo[AFK] is now known as otubo

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