[01:32] <delinquentme> 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] <sarnold> 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] <sarnold> delinquentme: but perhaps there would be another tool written by someone else that would do the same job in a better fashion?
[01:36] <sarnold> s/better/more automated/
[01:36] <delinquentme> sarnold, it looks like linode has tools that I'm looking far
[11:29] <igalic> If anyone here is particularily bored, I'd love to get some feedback on https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/1235616
[16:43] <Kwayzu> anyone running utorrent with webgui on their ubuntu-server?  Mine is stuck "loading"
[19:56] <gartral> 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] <gartral> nvm, fixed it
[20:00] <gartral> the -r=3 was wrong, it needed too be -r 3
[20:04] <andol> gartral: the = is more common with --long-options, even if it often is volontary then.
[21:04] <Trebacz> 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] <Trebacz> I tried something like sudo rsync -e "ssh -p 22" -avz /var/www david@192.168.0.188:/var/www
[21:12] <bekks> Trebacz: sudo rsync ...
[21:18] <Trebacz> 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] <bekks> Trebacz: you have to setup ssh keys for root for what you want to do there.
[21:23] <TJ-> Trebacz: You'll need the "-t" or even "-tt" argument to "ssh" to solve the "no tty present" issue
[21:24] <shauno> or 'nopasswd' for rsync in sudoers, so it doesn't need to prompt for a pass ?
[21:27] <Trebacz> 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] <Trebacz> rsync 3.0.9 version is identical on both servers
[22:36] <gartral> 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] <gartral> 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] <TJ-> 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] <gartral> 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] <zoned> when i do a mount -t reiserfs /dev/disk/by-id/<the id> /mnt/foo     df -h shows my 750G disk as 134M
[23:02] <kartoffelfreund> 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] <kartoffelfreund> well...bein in ubuntu server makes my first question obsolete
[23:03] <gartral> kartoffelfreund: you aren't offering much to go on here.. elaborate please
[23:04] <kartoffelfreund> well... i run a raspberryPI with rasbian-netinstall, have set up an apace, owncloud etc and everything went well...
[23:05] <kartoffelfreund> now i wanted to overclock the systen and made a backup from the sdcard...
[23:05] <kartoffelfreund> as mentioned in the oc menu, the system failed, so I dd'ed the backup back to the mmc-card
[23:06] <kartoffelfreund> now I'm able to boot the system but it does not start the apache (read only filesystem)
[23:06] <kartoffelfreund> it does not find the external hdd eiter
[23:08] <kartoffelfreund> im not sure but has the "read only " something to do with the user-permissions from my laptop?
[23:08] <gartral> 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] <kartoffelfreund> I even tried this http://askubuntu.com/questions/197459/read-only-file-system but fsck does noting/something i dont understand
[23:09] <kartoffelfreund> yes
[23:09] <kartoffelfreund> im logged in via ssh
[23:10] <gartral> which did fsck do, nothing, or was there some output that doesn't make sense?
[23:11] <kartoffelfreund> root@pi:~# fsck -Af -M
[23:11] <kartoffelfreund> fsck from util-linux 2.20.1
[23:11] <kartoffelfreund> root@pi:~#
[23:13] <kartoffelfreund> but i fear that the backup was inconsistent... :/
[23:14] <gartral> ok, so that rules out the corrupt FS theory.. for now.. do ls -AR | grep *.lock
[23:15] <gartral> oops, let me revise that
[23:15] <gartral> kartoffelfreund: ls -AR / | grep *.lock
[23:16] <kartoffelfreund> shows nothing
[23:17] <gartral> >.<
[23:17] <gartral> kartoffelfreund: ls -AR / | grep lock
[23:17] <kartoffelfreund> much more :D
[23:18] <gartral> did that show times?
[23:19] <kartoffelfreund> what do you mean by times?
[23:19] <kartoffelfreund> it listed roughly 100 files
[23:21] <gartral> kartoffelfreund: you'll have to go through and determine when those locks were created
[23:22] <kartoffelfreund> o.o
[23:22] <gartral> i recommend man ls or a good google, but I'm willing to bet that some of those locks are old
[23:22] <kartoffelfreund> i set the pi yesterday up...
[23:23] <kartoffelfreund> i worked like a charm until i decided to oc the pi...
[23:26] <gartral> is it still overclocked?
[23:27] <kartoffelfreund> looking closer it also shows entries called block/clock etc...
[23:27] <kartoffelfreund> yes but at a safer value wich worked well
[23:28] <gartral> 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] <kartoffelfreund> and it even does not boot up when rebooting...
[23:35] <kartoffelfreund> :(