SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Cant find host problem
Author Message
Post Cant find host problem 
Hi,

I'm running the 2.1.0 version on MDK 10.0 and I have a little problem
with permissions I think. Here is the result from the FAQ test for
finding a host :

[backuppc < at > queribus /]$ /opt/BackupPC/bin/BackupPC dump -v -f amandine
Name server doesn't know about amandine; trying NetBios cmdSystemOrEval: about to system /usr/bin/nmblookup amandine
cmdSystemOrEval: finished: got output querying amandine on 192.168.0.255
192.168.0.1 amandine<00>

NetBiosHostIPFind: found IP address 192.168.0.1 for host amandine
cmdSystemOrEval: about to system /bin/ping -c 1 192.168.0.1
cmdSystemOrEval: finished: got output ping: icmp open socket: Operation not permitted

CheckHostAlive: first ping failed (512, ) no ping response

ping: icmp open socket: Operation not permitted
I've tried the ping -c 1 192.168.0.1 as root and it worked, so do you
know what group permissions do I have to add to the "backuppc" user so
he can do a ping ? Or is it something else?

Thanks



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Post Cant find host problem 
Milos Jariabka writes:

I'm running the 2.1.0 version on MDK 10.0 and I have a little problem
with permissions I think. Here is the result from the FAQ test for
finding a host :

[backuppc < at > queribus /]$ /opt/BackupPC/bin/BackupPC dump -v -f amandine
Name server doesn't know about amandine; trying NetBios cmdSystemOrEval: about to system /usr/bin/nmblookup amandine
cmdSystemOrEval: finished: got output querying amandine on 192.168.0.255
192.168.0.1 amandine<00>

NetBiosHostIPFind: found IP address 192.168.0.1 for host amandine
cmdSystemOrEval: about to system /bin/ping -c 1 192.168.0.1
cmdSystemOrEval: finished: got output ping: icmp open socket: Operation not permitted

CheckHostAlive: first ping failed (512, ) no ping response

ping: icmp open socket: Operation not permitted
I've tried the ping -c 1 192.168.0.1 as root and it worked, so do you
know what group permissions do I have to add to the "backuppc" user so
he can do a ping ? Or is it something else?

On many systems ping is installed as u+s root (ie: setuid root).
What are the permissions on your ping?

Another alternative is to disable the ping by setting:

$Conf{PingCmd} = '/bin/true';

Craig


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB