/srv/irclogs.ubuntu.com/2013/10/05/#ubuntu-server.txt

=== gary_poster is now known as gary_poster|away
delinquentmeso 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:32
sarnolddelinquentme: 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
sarnolddelinquentme: but perhaps there would be another tool written by someone else that would do the same job in a better fashion?01:36
sarnolds/better/more automated/01:36
delinquentmesarnold, it looks like linode has tools that I'm looking far01:36
=== 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
igalicIf anyone here is particularily bored, I'd love to get some feedback on https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/123561611:29
uvirtbotLaunchpad bug 1235616 in kexec-tools "linux-crashdump doesn't actually dump and reboot" [Undecided,New]11:29
Kwayzuanyone running utorrent with webgui on their ubuntu-server?  Mine is stuck "loading"16:43
gartralhey 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.log19:56
gartralnvm, fixed it20:00
gartralthe -r=3 was wrong, it needed too be -r 320:00
andolgartral: the = is more common with --long-options, even if it often is volontary then.20:04
TrebaczMigrating 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:04
TrebaczI tried something like sudo rsync -e "ssh -p 22" -avz /var/www david@192.168.0.188:/var/www21:06
bekksTrebacz: sudo rsync ...21:12
TrebaczI 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 specified21:18
bekksTrebacz: you have to setup ssh keys for root for what you want to do there.21:20
TJ-Trebacz: You'll need the "-t" or even "-tt" argument to "ssh" to solve the "no tty present" issue21:23
shaunoor 'nopasswd' for rsync in sudoers, so it doesn't need to prompt for a pass ?21:24
TrebaczWith 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:27
Trebaczrsync 3.0.9 version is identical on both servers21:31
gartralandol: 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:36
gartralside 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:56
TJ-gartral: It depends on whether the development has come to a halt or not, and whether it interacts with other programs/kernel :D22:57
gartralTJ-: 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 other23:01
zonedwhen i do a mount -t reiserfs /dev/disk/by-id/<the id> /mnt/foo     df -h shows my 750G disk as 134M23:02
kartoffelfreundhello everybody... is someone fit in server maintenance? i have a little issue with my raspberryPI,a backup and a read only system23:02
kartoffelfreundwell...bein in ubuntu server makes my first question obsolete23:03
gartralkartoffelfreund: you aren't offering much to go on here.. elaborate please23:03
kartoffelfreundwell... i run a raspberryPI with rasbian-netinstall, have set up an apace, owncloud etc and everything went well...23:04
kartoffelfreundnow i wanted to overclock the systen and made a backup from the sdcard...23:05
kartoffelfreundas mentioned in the oc menu, the system failed, so I dd'ed the backup back to the mmc-card23:05
kartoffelfreundnow I'm able to boot the system but it does not start the apache (read only filesystem)23:06
kartoffelfreundit does not find the external hdd eiter23:06
kartoffelfreundim not sure but has the "read only " something to do with the user-permissions from my laptop?23:08
gartralkartoffelfreund: 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:08
kartoffelfreundI even tried this http://askubuntu.com/questions/197459/read-only-file-system but fsck does noting/something i dont understand23:09
kartoffelfreundyes23:09
kartoffelfreundim logged in via ssh23:09
gartralwhich did fsck do, nothing, or was there some output that doesn't make sense?23:10
kartoffelfreundroot@pi:~# fsck -Af -M23:11
kartoffelfreundfsck from util-linux 2.20.123:11
kartoffelfreundroot@pi:~#23:11
kartoffelfreundbut i fear that the backup was inconsistent... :/23:13
gartralok, so that rules out the corrupt FS theory.. for now.. do ls -AR | grep *.lock23:14
gartraloops, let me revise that23:15
gartralkartoffelfreund: ls -AR / | grep *.lock23:15
kartoffelfreundshows nothing23:16
gartral>.<23:17
gartralkartoffelfreund: ls -AR / | grep lock23:17
kartoffelfreundmuch more :D23:17
gartraldid that show times?23:18
kartoffelfreundwhat do you mean by times?23:19
kartoffelfreundit listed roughly 100 files23:19
gartralkartoffelfreund: you'll have to go through and determine when those locks were created23:21
kartoffelfreundo.o23:22
gartrali recommend man ls or a good google, but I'm willing to bet that some of those locks are old23:22
kartoffelfreundi set the pi yesterday up...23:22
kartoffelfreundi worked like a charm until i decided to oc the pi...23:23
gartralis it still overclocked?23:26
kartoffelfreundlooking closer it also shows entries called block/clock etc...23:27
kartoffelfreundyes but at a safer value wich worked well23:27
gartralat 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 sorry23:28
kartoffelfreundand it even does not boot up when rebooting...23:35
kartoffelfreund:(23:35

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