=== wedgwood is now known as wedgwood_away [00:10] Help: Need a way to log everything done thru the terminal. [00:14] PadNet_201: are you looking for a simple and friendly tool like 'script'? [00:14] yes something like that, that runs everytime a term session starts [00:14] or at boot to log all term activity [00:15] or even a way to run 'script -q' automatically === wedgwood_away is now known as wedgwood [00:19] PadNet_201: I don't think ubuntu provides this pam module by default but it may be better suited to your task: http://linux.die.net/man/8/pam_tty_audit [00:20] (I also don't think it will be nearly as nice to _read_ as the output of script) [00:21] Thx that helps alo [00:21] ^alot [00:21] PadNet_201: Error: "alot" is not a valid command. === wedgwood is now known as wedgwood_away === megha is now known as bsd_freak === bsd_freak is now known as BSD_freak [03:07] hallyn: is lxc-create making a btrfs subvolume expected ? [03:07] hallyn: cause, its highly surprising and not in the man page. [03:07] hallyn: I'm seeking to characterise the bug I will be filing :) === gary_poster is now known as gary_poster|away [04:00] lifeless: yes, it is expected. [04:00] lifeless: i would have made lxc-clone do that, and not lxc-create, but someone convinced me there was no downside to it [04:01] hasn't in practice been much of a problem since noone can keep btrfs running long enough to run into problems with a container on it [04:02] "but i kid" [04:04] i'll be looking for that bug report :) [04:04] * hallyn out [04:53] hallyn: ok, thanks [04:54] hallyn: the downside is you can't delete a container [07:09] /msg nickserv identify 39208323 [07:30] agu10^: hi [07:30] you may want to change that if you havent already [07:31] oops [09:22] Hey guys, anyone able to give me a quick guide to uMurmur? [10:35] yolanda, if you have time - https://code.launchpad.net/~james-page/cinder/grizzly-oslo-config-tidy/+merge/149520 [10:36] jamespage, yes, just a moment [10:36] dealing with a ceilometer bug [10:39] yolanda, OK - no hurry [10:43] jamespage, why that change of ordering in debian/cinder-common.install? [10:43] yolanda, wrap-and-sort -s [10:44] ok [10:44] looks nicer now :) [10:45] approved [10:50] what§s oslo-config? [10:54] * RoyK would love to reconfigure this city [10:58] bbcmicrocomputer: top nick [10:59] What should I normally expect to see in /etc/resolvconf/resolv.conf.d/original and /etc/resolvconf/resolv.conf.d/tail ? At the moment, I see in there the junk that gets added to the end of my /etc/resolv.conf each time I restart the interface :) [10:59] Can I safely truncate those two files? [11:12] VSpike: thanks! === edamato is now known as edamato-afk === frojnd_ is now known as frojnd [12:14] I have one machine where `sudo top` takes maybe 10 seconds to load, puppet is taking >140s when it's typically <10s, and in generally it seeems to be extremely slow. [12:14] But top shows negligible cpu load >95% idle, over 10G ram free, it's an SSD machine so IO should be golden. I'm lost. [12:15] Any suggestions on how to investigate the root cause of the slowness? [12:16] chmac: Fix your dns [12:20] +1 === edamato-afk is now known as edamato [12:27] Any idea what might be wrong with dns? [12:27] Hostnames, etc, should all be fine, nothing has changed recently that I'm aware of. [12:27] Jeeves: Thanks for the suggestion, I'll check out all the dns related issues I can think of... [12:34] Looks like dns resolution is extremely slow for external hosts, `time getent hosts google.co.uk` takes >4s [12:47] Oh well, reboot seems to have resolved whatever the issue was. Restarting bind did not. [12:54] hi there, i have a12.04 nfs server, it seems as the frontend system will set raw uid/gid and the ubuntu server does not support this, any idea how to switch this on? === gary_poster|away is now known as gary_poster === railsraider_ is now known as railsraider [14:20] RoyK, oslo-config is the first 'released' version of some of the openstack shared infrastructure code [14:20] specifically related to configuration file handling [14:24] how do I find mysql configuration file in ubuntu? [14:24] I tried locate my.ini - it returned nothing. locate *.ini |grep sql returned a couple, but I'm not sure which is used... [14:24] flcl, my.cnf [14:24] /etc/mysql [14:25] lifeless: hm, lxc-destroy should use subvolume delete? [14:26] jamespage: thank you!!! [14:28] I want to trace all SQL statements that have been executed by mysql. Which log must I enable? [14:29] is it general_log_file or just log? [14:29] how to fix my trouble , hotot Can not get token from the server. [14:29] Network error! Please try later. === wedgwood_away is now known as wedgwood [14:49] how do I restart mysql ? [14:50] hello? [14:51] irssi ignore [14:52] Any reason why starting a maas enlisted node fails with "Boot sector signature not found" (Precise maas btw) [14:52] the pxelinux.cfg/{MAC address} file contains "chain.c32" so it tells the node to boot off the local HD [14:59] hi guys... I have got a problem. If I open a luks partition and I close it afterward and I try again to reopen it, I cannot do it. Is there any reason why? [14:59] jamespage / yolanda: https://code.launchpad.net/~zulcss/glance/glance-oslo-config/+merge/149589 [14:59] brb [15:00] jamespage: ok [15:01] zul, is python-oslo-config duplicate? [15:01] there are 2 entries in the control file [15:02] is that ok to have that in build-depends and depends? [15:02] yolanda, zul: if its in pip-requires debhelper should add it automatically [15:03] yolanda: yes unless if its something like argparse which is in python 2.6 but not python 2.7 [15:04] guys any help? [15:09] hi guys... I have got a problem. If I open a luks partition and I close it afterward and I try again to reopen it, I cannot do it. Is there any reason why? [15:21] hi guys... I have got a problem. If I open a luks partition and I close it afterward and I try again to reopen it, I cannot do it. Is there any reason why? [15:22] i [15:22] diegosnat: Did you luksClose it? [15:23] diegosnat: With cryptsetup? [15:23] yes [15:23] jodh, i did close it [15:25] jpds, sorry yes, i did close it [15:52] jamespage/yolanda: https://code.launchpad.net/~zulcss/nova/grizzly-refresh/+merge/149607 [16:01] hi guys... I have got a problem. If I open a luks partition and I close it afterward and I try again to reopen it, I cannot do it. Is there any reason why? [16:06] may be you can put here or to pastebin console output? [16:08] hi guys... I have got a problem. If I open a luks partition and I close it afterward and I try again to reopen it, I cannot do it. Is there any reason why? [16:10] bsod_, there is not output, it looks like it worked [16:10] but the device is not in /dev/mapper [16:13] diegosnat, Idon't have that issue [16:14] patdk-wk, im always the unlucky one [16:14] i need to restart the computer [16:14] to be able to reopen it [16:14] which is not the right thing to do [16:22] /sbin/cryptsetup --key-file /etc/luks.keyfile luksOpen /dev/usbarchive archive [16:22] root@linback-xxx:~# /sbin/cryptsetup --key-file /etc/luks.keyfile luksClose archive [16:22] Device archive is not active. [16:28] guys can you help me? [16:36] diegosnat: use '-v' (verbose) when doing luksOpen maybe [16:42] pmatulis, Command failed with code 22: /dev/usbarchive is not a LUKS device. [16:42] but it is :-/ [16:42] this happens only after I have closed it [16:45] diegosnat: is there lvm on top? [16:45] no [16:45] ext4 [16:45] diegosnat: that device name doesn't sound right either. what is it? [16:45] xnox, i create it [16:45] with udev [16:45] however [16:46] the first time i open it is fine [16:46] but if i open it, close and i try to reopen it fails [16:46] you created it with udev - fair enough. But what is it? loop-mount, hard-drive, what device is it in actual fact? [16:46] usb hard drive [16:47] but first time works, while doesnt it the second? :-/ [16:51] xnox, any idea? [16:52] I am guessing it's a bug in your udev rules and etc. as by default plugged hardisks are recursively scanned for mdadm, lvm and luks devices and are automatically openend. [16:52] can you please explain what is your actual usecase / problem that you are using custom udev rules and hence breaking your system? === highvolt1ge is now known as highvoltage [16:53] because maybe there are other solutions.... please start from the beginning of how or why you ended up where you did. [16:54] xnox, [16:54] even if i do with the normal /dev [16:54] doesnt work [16:55] usbarchive is a syslink to sdd [16:55] if i use sdd instead of usbarchive [16:55] same error [16:59] hi guys [16:59] i'm planning on installing ubuntu server on a Xserve machine [16:59] does any one have any experience or know of any resource that might be helpful? [17:00] i found an article from 2007..and it seems very complicated…have there been any changes that might ease the installation? [17:10] anyone around that would be willing to help with setting up a private apt repo? I'm mostly there but getting 404's [17:15] xnox, any idea? [17:16] sunya7a: checkout help.ubuntu.com just look for apple there should be full documentation guides for many models. [17:16] pick the closest model and follow tips and tricks and caveats. [17:16] xnox: thank you sir [17:17] sunya7a: use the mac_amd64 image not just _amd64 [17:17] sunya7a: grab from cdimage.ubuntu.com [17:32] digitalsanctum: have you seen the apt-ftparchive tool in apt-utils? it may help you [17:33] sarnold: thx, but I actually just figured it out [17:33] digitalsanctum: oh, good :D === yofel_ is now known as yofel [18:25] does anyone know how to troubleshoot issues with syslog log rotation? [18:31] logrotates "rotates" logs and notifies syslog [18:31] check logrotate conf? [18:33] syslog doesn't use logrotate, does it? [18:33] I thought it uses rsyslog [18:34] oh I guess rsyslog is part of logrotate [18:48] hallyn: it will need to yes [18:48] hallyn: you can't just rm -rf a subvolume [18:48] hallyn: so it should be in the man page for lxc too, for folk doing manual stuff [18:53] anyone have a good script for backing up a website and mysql then ssh it over to my local server? [18:53] Joe1301: just mysqldump the database and backup everything [18:54] the raw mysql database files usually aren't good for backups [18:54] yeah I was trying to do via cron [18:55] you can run a mysqldump with cron [18:56] lifeless: oh, but it's not as bad as i was thinking. lxc-create does the right thing at least (creating new subvolume) and then lxc-clone snapshots it [18:56] lifeless: bug 1130840 [18:56] Launchpad bug 1130840 in lxc "fix btrfs-backed container deletion" [Undecided,New] https://launchpad.net/bugs/1130840 [18:56] I wrote something with rsync but it fails saying files have changed during tar [18:58] so then I tried to backup my shared hosts backup folder and it fails do to permissions....I am just struggling with this [18:59] hallyn: oh thanks! I was going to file it ... [18:59] hallyn: will you man page it up at the same time ? [19:00] hallyn: or would you like a separate bug for docs? [19:00] lifeless: yup [19:00] nah, i added that to the bug description [19:01] rocking, thanks! [19:04] np :) [19:33] hi people!! Im screwed!!! I just turn on my pc and I ve got a message saying that the system failed to mount it and Ive got a temporary root where I cannot edit anything because it is readonly... what can i do?? [19:40] adam_g: much smoother on the quantal openstack SRU's.. 1 bug to rule them all :) [19:41] diegosnat: server? [19:42] yes [19:42] !fsck [19:42] fsck is the FileSystem ChecKer, which runs automatically when you boot if you didn't shutdown cleanly. Type "man fsck" for information on running it manually. The command "sudo touch /forcefsck && sudo shutdown -r now" will force a reboot and a filesystem check; "sudo touch /fastboot" will skip a filesystem check at next reboot [19:43] you can fsck a filesystem if it's mounted read-only [19:43] (well, you can fsck any filesystem, but fscking an fs while it's mounted read-write is generally a bad idea) [19:44] ok guys [19:44] sudo touch /forcefsck [19:44] touch: cannot touch `/forcefsck': Read-only file system [19:45] fsck /dev/linback-temp/root [19:45] fsck from util-linux-ng 2.17.2 [19:45] WARNING: bad format on line 15 of /etc/fstab [19:45] e2fsck 1.41.11 (14-Mar-2010) [19:45] /dev/mapper/linback--temp-root: clean, 111811/296000 files, 622376/1199104 blocks [19:47] but I cant change the fstab [19:48] RoyK, ubottu ? [19:50] bad line from fsck? [19:50] or fstab [19:50] I mean [19:51] mount -o remount,rw /whatever [19:52] RoyK, fstab [19:52] i put a random letter in a new line [19:52] :( [19:53] wow [19:53] I cant believe it was so simple [19:53] ahahhaha [19:53] RoyK, you are great! [19:54] thanks [19:54] you learn a few things having used linux for 18 years ;) [19:57] RoyK, can i ask you another question? [19:58] ive got a luks external hd [19:58] when i open it [19:58] it works fine [19:58] i mount and it works [19:58] but after i close it [19:58] it fails to open it again [19:58] Command failed with code 22: /dev/usbarchive is not a LUKS device. [19:58] no idea, sorry [19:59] and ive got this error [19:59] do u have any suggestion? [19:59] i dont know what to do [20:00] what does /proc/partitions have to say? [20:00] 8 49 1465103871 sdd1 [20:00] its there [20:01] 1.5TB thing? [20:01] yep [20:01] well, try to mount it [20:01] mount /dev/sdd1 /opt/vmbackup/ [20:01] mount: unknown filesystem type 'crypto_LUKS' [20:01] sorry, don't know [20:01] perhaps unplug it and re-plug it [20:02] /sbin/cryptsetup -v --key-file /etc/luks.keyfile luksOpen /dev/usbarchive archive [20:02] Command failed with code 22: /dev/usbarchive is not a LUKS device. [20:02] so weird [20:06] RoyK, do you anyway to use udev in a way that mounts an external hd?? [20:06] because when i plug it i dont know what /dev/sdxx will be [20:06] I rarely use one [20:06] see dmesg [20:06] it'll show [20:07] i wanted it to be automatically [20:07] well, it's not [20:07] you don't have those services on a server [20:09] udev works [20:09] but i need to know in a script what sdx is [20:15] * genii-around ponders uuid mounting instead [20:19] SpamapS: thanks bud' [20:21] adam_g: np. Happy testing! [20:23] SpamapS: strictly using the meta bug didn't work so well last time. there'll be individual bug activity, too, at least on the bugs that have ubuntu tasks [20:25] Fedora Core's initramfs framework, dracut, seems to support network bridging for the pre-boot environment. Maybe I'm doing a terrible job searching, but I don't seem to see support like that in initramfs-tools for Ubuntu server [20:26] I'm sorry, I meant to say RedHat's initramfs framework, dracut... [20:27] adam_g: the key is to just manage the ones that show up here: http://people.canonical.com/~ubuntu-archive/pending-sru.html [20:55] so I got this command to work(rsync -avz -e ssh user@domain.com:/home3/elliotte.daily/public_html /var/www/local.dell/backup/) but there is one folder that user doesn't have read permission for...so I assume that is why TAR command is giving me trouble. I have tried to chmod and chown folder but it doesn't change. When I ls folder - permission denied...but it says /bin/ls/ and if i which ssh or which rsync it says /usr/bin...any help??? === ggg is now known as w0rmie === ggg is now known as w0rmie [21:06] Joe1301: Use 'sudo chown' to make the folder ownable by the user you want [21:07] thanks lemme try that [21:07] carefull with that axe Joe1301 [21:08] some program may not like if the dir they are suppose to read or write to dont belong to them anymore [21:08] so, 1st thing 1st, who is user (id) and what are the permission on this directory ? [21:10] so the user for folder IS the user I am trying to ssh rsync and the user I am logged in as currently but cannot ls or tar it and tar exit(s) or fails [21:12] what are the permission set on this dir ? [21:12] ls -dl /path/to/the/dir === ggg is now known as w0rmie [21:16] melmoth, root root [21:16] what is the output of the _full_ command ? [21:16] all i know is, it belong to root, and the group is root. I know nothing about permission set [21:16] drwx--x--x 2 root root 6 Feb 16 22:51 /home3/elliotte.daily/public_html/downloader/.cache/ [21:17] ok. so, it s probably ok to just chown it to user. [21:17] user cannot write nor read in it right now (last --x) [21:17] so either: chown -R user /home3/elliotte.daily/public_html/downloader/.cache/ [21:18] or chmod -R o+r /home3/elliotte.daily/public_html/downloader/.cache/ [21:18] and you definitively may want to get familiar with permission on file in your linux journey :-) [21:19] yes definitely can you splain the drwx--x--x [21:19] r= read w=write x=execute [21:20] the first 3 is for the owner (root), the second 3 for the group members (root groups), and the last 3 for the others people [21:20] http://en.wikipedia.org/wiki/Filesystem_permissions [21:21] thanks you melmoth been messing with this for days [21:21] its like cycling, once you know it, you won forget about it. [21:21] yeah but I think I skinned a knee lol [21:22] :) === ggg is now known as w0rmie [21:25] so I get permission denied when I try chown or chmod ... I get no sudoers if I sudo it... Its shared hosting [21:27] melmoth, and if I try to just use the real public_html...tar fails there to saying files have changed while tarring....I am pulling out my hair [21:28] file have changed whil etarring ? [21:28] is something writing in that dir ? [21:29] i must admit i dont remember experiencing this sort of problem [21:29] yes magento [21:29] it s not a good idea to tar something that move... but i dont see why would tar complain about it [21:31] Joe1301, can you afford to stop this stuff while you do the tarball ? [21:31] if yes, well, just do it. [21:31] if not.. this may be abit tricky [21:32] its a live website but millions of people backup their website....I just can't figure out why I can't [21:33] Did you check if Megento has its own backup mechanism? [21:34] yeah that it does which it crashes mysql while doing it and breaks the site so I disabled it [21:35] Then the next question is, is the directory you're trying to copy the one that has the MySQL data int it? [21:35] I mean bluehost is backing up my site fine with cpanel [21:36] I just want my own just in case you know [21:36] there s no point backuping a live mysql with tar. You will probably not be able to retsore the data back anyway [21:37] mysqldump is your friend for a backuping a live mysql stuff [21:38] no I wrote a scripts remote script -mysql dump tars public html bzips everything and add timestamp then local server just rsyncs file through ssh [21:39] I had it work for about 2 days now its stopped [21:39] wanna see the scripts? [21:43] http://pastebin.com/rzW6q5Wj [21:45] which directory does tar say is being written to when you're trying to tar it? If it's archive, then that means the live site is still doing something, and you should know what exactly it's writing to where === ggg is now known as w0rmie === ggg is now known as w0rmie === ggg is now known as w0rmie === wedgwood is now known as wedgwood_away === wedgwood_away is now known as wedgwood [22:13] hi .. i have a problem with a server installation on a mac xserve machine [22:13] someone available that could help me out? [22:15] Is it ok for an app to try and access /run/udev/data/* ? I'm configuring something for apparmor === ggg is now known as w0rmie === ggg is now known as w0rmie === ggg is now known as w0rmie === ggg is now known as w0rmie === ggg is now known as w0rmie === ggg is now known as w0rmie === ggg is now known as w0rmie [22:57] zul: do you mind taking a look at http://paste.ubuntu.com/1693946/ for libvirt raring debdiff, lemme know if i'm doing anything stupid there? [22:58] hallyn: sure [22:58] uh, wait [22:58] zul: hold on there's a missing chunk :) [23:00] hehe [23:04] zul: i'll get back to you with this tomorrow. i need to eod. === ggg is now known as w0rmie === ggg is now known as w0rmie === ggg is now known as w0rmie === wedgwood is now known as wedgwood_away