=== gary_poster is now known as gary_poster|away | ||
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:32 |
---|---|---|
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 | 01: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 | ||
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 | 11:29 |
uvirtbot | Launchpad bug 1235616 in kexec-tools "linux-crashdump doesn't actually dump and reboot" [Undecided,New] | 11:29 |
Kwayzu | anyone running utorrent with webgui on their ubuntu-server? Mine is stuck "loading" | 16:43 |
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 | 19:56 |
gartral | nvm, fixed it | 20:00 |
gartral | the -r=3 was wrong, it needed too be -r 3 | 20:00 |
andol | gartral: the = is more common with --long-options, even if it often is volontary then. | 20: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:04 |
Trebacz | I tried something like sudo rsync -e "ssh -p 22" -avz /var/www david@192.168.0.188:/var/www | 21:06 |
bekks | Trebacz: sudo rsync ... | 21:12 |
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:18 |
bekks | Trebacz: 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" issue | 21:23 |
shauno | or 'nopasswd' for rsync in sudoers, so it doesn't need to prompt for a pass ? | 21:24 |
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:27 |
Trebacz | rsync 3.0.9 version is identical on both servers | 21:31 |
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:36 |
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:56 |
TJ- | gartral: It depends on whether the development has come to a halt or not, and whether it interacts with other programs/kernel :D | 22:57 |
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:01 |
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:02 |
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:03 |
kartoffelfreund | well... i run a raspberryPI with rasbian-netinstall, have set up an apace, owncloud etc and everything went well... | 23:04 |
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:05 |
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:06 |
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:08 |
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:09 |
gartral | which did fsck do, nothing, or was there some output that doesn't make sense? | 23:10 |
kartoffelfreund | root@pi:~# fsck -Af -M | 23:11 |
kartoffelfreund | fsck from util-linux 2.20.1 | 23:11 |
kartoffelfreund | root@pi:~# | 23:11 |
kartoffelfreund | but i fear that the backup was inconsistent... :/ | 23:13 |
gartral | ok, so that rules out the corrupt FS theory.. for now.. do ls -AR | grep *.lock | 23:14 |
gartral | oops, let me revise that | 23:15 |
gartral | kartoffelfreund: ls -AR / | grep *.lock | 23:15 |
kartoffelfreund | shows nothing | 23:16 |
gartral | >.< | 23:17 |
gartral | kartoffelfreund: ls -AR / | grep lock | 23:17 |
kartoffelfreund | much more :D | 23:17 |
gartral | did that show times? | 23:18 |
kartoffelfreund | what do you mean by times? | 23:19 |
kartoffelfreund | it listed roughly 100 files | 23:19 |
gartral | kartoffelfreund: you'll have to go through and determine when those locks were created | 23:21 |
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:22 |
kartoffelfreund | i worked like a charm until i decided to oc the pi... | 23:23 |
gartral | is it still overclocked? | 23:26 |
kartoffelfreund | looking closer it also shows entries called block/clock etc... | 23:27 |
kartoffelfreund | yes but at a safer value wich worked well | 23:27 |
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:28 |
kartoffelfreund | and 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!