Yes I did, but I expected similar syntax as to the rsync over ssh, as you see in my code snippet.
Now I'm doing this and it works:
function exec_rsync() {
local...
Type: Posts; User: slakkie; Keyword(s):
Yes I did, but I expected similar syntax as to the rsync over ssh, as you see in my code snippet.
Now I'm doing this and it works:
function exec_rsync() {
local...
Hello all,
I have a question regarding rsync --read-batch=file over ssh.
I'm doing the following:
function exec_rsync() {
local host=$1
For my own systems it is pretty easy to figure out if I'm in a chroot. But on other systems I cannot assume a file is there or not.
Guys, use PDO for this. It does all the checking for you, prepared statements ftw :)
http://php.net/manual/en/book.pdo.php
Your current method:
$sql = sprintf("SELECT code, name FROM...
No worries, I added an extra check, we shouldn't get into your situation again.
That doesn't really work, for example:
Inside my Ubuntu chroot:
15:33 pts/9 0 wesleys@eniac:/home/wesleys
$ ls -id /
2 /
My Debian (currently running):
15:33 pts/8 0...
Hello,
I've been trying to figure out what I need to do to check whether I'm in a chrooted environment.
At the moment, my search came up with little results.
Does anyone have some useful...
I made a cli version for this, had it a long time ago, for Ubuntu, recently made a version which supports Debian/Ubuntu and has been tested on:
Ubuntu 8.04 LTS / 10.10
Debian stable /...
Haha, there is no lib64stdc++5 available, afaics
Try to install one of these:
http://packages.ubuntu.com/search?suite=all&arch=amd64&searchon=names&keywords=libstdc%2B%2B5
I ment in the ssh_need_pass function, you could use echo "" instead of ls. It is quicker (me thinks).
because you use "$OPTIONS_BASE --dry-run ..." after rsync (without eval), rsync thinks you...
ty, is use something like that to copy over certain files and setup keybased logins on machines where i still have password logins..
btw, in stead of ls, you could also use echo, could be quicker....
That's a wrong interpretation. I think it is weird that it doesn't work. But as a quick fix:
export LD_LIBRARY_PATH=/usr/lib
and then run the ldd command again, it should now find it. Why it...
function check_ssh_needs_pass() {
local host="$1"
ssh $host -o BatchMode=yes ls &>/dev/null
if [ $? -eq 0 ] ; then
echo "keybased login OK"
return 0
else
...
wat does ldd say?
ldd /mnt/dsrc/i486_linux/obj/redirect
Because your setup looks good..
grep -r ZOMBIE $HOME /etc will do the trick as well. maxdepth 1 is the same as grep ZOMBIE $HOME/* /etc/*
And there is no need for xargs:
find /etc $HOME -type f -exec grep ZOMBIE {} +
#...
This seems to be your problem:
Unpacking replacement adobe-flashplugin ...
dpkg: error processing /var/cache/apt/archives/adobe-flashplugin_10.2.152.27-0maverick1_i386.deb (--unpack):
...
what is the name of the zombie variable?
You can also use the unset command.
unset ZOMBIE and it should be gone.. and/or use export ZOMBIE="" but, I guess finding where it is would be more...
I guess I have been calculating stuff incorrectly since '92, since I used different math-rules. In '92 they changed the order. Guess no high-school teacher wanted to tell me this :D
Tbh, the answer could never be 60.
30 / 60 * 120 == 30 / ( 60 * 12) == 30 / 7200 != 60
The notation should be different, eg (30/60) * 120.
That's funny..
$ echo "30 / 60 * 120" | bc
0
$ echo "scale = 1; 30 / 60 * 120" | bc
60.0
Have a look at pinning:
sudo vi /etc/apt/preferences
# Use this specific version of the hello package
Package: hello
See: http://blog.opperschaap.net/2009/11/13/upgrade-flash-on-ubuntu-after-a-release-upgrade/
Just add that repository and you'll be fine.
Shutting down a server? Weird request but eh.. not my box.
Have a look at cron:
man crontab
man cron
You would have something like this in the crontab of root:
It might be handy to post the contents of your X log file:
cat /var/log/Xorg.0.log
cat /var/log/Xorg.0.log.old
This will help in troubleshooting the issue :)
In that case I think the generic kernel will do just fine.