=== gary_poster is now known as gary_poster|away [01:32] so how can I automate the install of something like the passenger configuration script ... since when I run $ passenger-install-nginx-module it asks for prompts !!!!!!!!!!!!!!!!!!! how do automate something like this!? [01:36] delinquentme: if the script doesn't just let you give answers via --foo=bar, --floor=baz, etc., then you can always drag out expect(1). expect is a horrible tool, but when it works, it often solves a task that nothing else quite can do... [01:36] delinquentme: but perhaps there would be another tool written by someone else that would do the same job in a better fashion? [01:36] s/better/more automated/ [01:36] sarnold, it looks like linode has tools that I'm looking far === airtonix_ is now known as airtonix === freeflying_away is now known as freeflying === lionel_ is now known as lionel === freeflying is now known as freeflying_away [11:29] If anyone here is particularily bored, I'd love to get some feedback on https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/1235616 [11:29] Launchpad bug 1235616 in kexec-tools "linux-crashdump doesn't actually dump and reboot" [Undecided,New] [16:43] anyone running utorrent with webgui on their ubuntu-server? Mine is stuck "loading" [19:56] hey all, I have a dying drive, and a drive of slightly larger capacity that I wish to clone said bad drive too, using ddrescue I get "Bad or missing numerical argument" with the command ddrescue -r=3 -d -f -v /dev/sda /dev/sdc ./recovery.log [20:00] nvm, fixed it [20:00] the -r=3 was wrong, it needed too be -r 3 [20:04] gartral: the = is more common with --long-options, even if it often is volontary then. [21:04] Migrating to a new server. Is the best way to migrate configuration files and settings to use rsync? If so how to I copy files between directories such as /var/www using sudo and ssh? [21:06] I tried something like sudo rsync -e "ssh -p 22" -avz /var/www david@192.168.0.188:/var/www [21:12] Trebacz: sudo rsync ... [21:18] I tried: sudo rsync -e "ssh -p 22" -avz --rsync-path="sudo rsync" /var/www david@192.168.0.188:/var/www/ but I get a no tty present and no askpass program specified [21:20] Trebacz: you have to setup ssh keys for root for what you want to do there. [21:23] Trebacz: You'll need the "-t" or even "-tt" argument to "ssh" to solve the "no tty present" issue [21:24] or 'nopasswd' for rsync in sudoers, so it doesn't need to prompt for a pass ? [21:27] With sudo rsync -e "ssh -tt -p 8080" -avz --rsync-path="sudo rsync" /var/www david@192.168.0.188:/var/www/ I get a protocol version mismatch -- is your shell clean? [21:31] rsync 3.0.9 version is identical on both servers [22:36] andol: there's no special magic I have to pull out of rear-end to make this cloned drive bootable, right? aside from, of course, the obligatory fsck, right? [22:56] side thought; how many years does it take to squash all bugs in a program? A: x=1*r (r standing for known fixed bugs.) [22:57] gartral: It depends on whether the development has come to a halt or not, and whether it interacts with other programs/kernel :D [23:01] TJ-: those are forigen variables. also, the latter is almost cetainly always in a "false" state, as even the most basic of programs *must* communicate through other programs, same for the most elementar, BIOS and Microcode are nothing without each other [23:02] when i do a mount -t reiserfs /dev/disk/by-id/ /mnt/foo df -h shows my 750G disk as 134M [23:02] hello everybody... is someone fit in server maintenance? i have a little issue with my raspberryPI,a backup and a read only system [23:03] well...bein in ubuntu server makes my first question obsolete [23:03] kartoffelfreund: you aren't offering much to go on here.. elaborate please [23:04] well... i run a raspberryPI with rasbian-netinstall, have set up an apace, owncloud etc and everything went well... [23:05] now i wanted to overclock the systen and made a backup from the sdcard... [23:05] as mentioned in the oc menu, the system failed, so I dd'ed the backup back to the mmc-card [23:06] now I'm able to boot the system but it does not start the apache (read only filesystem) [23:06] it does not find the external hdd eiter [23:08] im not sure but has the "read only " something to do with the user-permissions from my laptop? [23:08] kartoffelfreund: well either there was an inconsistent backup, which corrupted your server or you've left some *.lock files where they shouldn't have been, are you able to ssh into the PI and poke around? [23:09] I even tried this http://askubuntu.com/questions/197459/read-only-file-system but fsck does noting/something i dont understand [23:09] yes [23:09] im logged in via ssh [23:10] which did fsck do, nothing, or was there some output that doesn't make sense? [23:11] root@pi:~# fsck -Af -M [23:11] fsck from util-linux 2.20.1 [23:11] root@pi:~# [23:13] but i fear that the backup was inconsistent... :/ [23:14] ok, so that rules out the corrupt FS theory.. for now.. do ls -AR | grep *.lock [23:15] oops, let me revise that [23:15] kartoffelfreund: ls -AR / | grep *.lock [23:16] shows nothing [23:17] >.< [23:17] kartoffelfreund: ls -AR / | grep lock [23:17] much more :D [23:18] did that show times? [23:19] what do you mean by times? [23:19] it listed roughly 100 files [23:21] kartoffelfreund: you'll have to go through and determine when those locks were created [23:22] o.o [23:22] i recommend man ls or a good google, but I'm willing to bet that some of those locks are old [23:22] i set the pi yesterday up... [23:23] i worked like a charm until i decided to oc the pi... [23:26] is it still overclocked? [23:27] looking closer it also shows entries called block/clock etc... [23:27] yes but at a safer value wich worked well [23:28] at this point, I'm not much help, I don't own a PI and i can't divert any more time into helping you with yours, I'm sorry [23:35] and it even does not boot up when rebooting... [23:35] :(