Installing the ddclient Perl script
Hi
How do i change permissions. I need to copy a file and it is telling me that i am not the owner.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Cesare Tirabassi
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
I need to copy the file to sbin, and it wont let me change the permissions in the folder sbin
Revision history for this message
|
#2 |
If i try to do it in a terminal i get the following error.
cp: cannot stat `ddclient': No such file or directory
Revision history for this message
|
#3 |
type in a terminal
chown owner filename
to change the owner of a file.
Use sudo if there is a permission problem.
Byez
Revision history for this message
|
#4 |
will this work for the sbin file as well
thanks
Revision history for this message
|
#5 |
how do i know who the owner of sbin is.
Revision history for this message
|
#6 |
even using sudo i get the error above
Revision history for this message
|
#7 |
Hello Massimo,
the file you wish to copy to sbin is that a file you have created before or an existing file?
br
Mathias
Revision history for this message
|
#8 |
Hi
It is an existing file, part of the files that I need to copy to finish the
installation of ddclient.
Best Regards
Massimo Gatta
IT Manager
Full Signal (pty) Ltd
Unit 18b, 5 Galaxy Ave
Linbro Bussiness Park
Tel : +2711 6084618
Fax : +2711 6084619
Cell : +2782 3733749
Mail : <email address hidden>
The information transmitted in this e-mail is intended only for the person
or entity to which it is addressed and may contain confidential and/or
privileged material. Any review, retransmission, dissemination or other use
of, or taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer. All rights reserved by Full Signal (Pty) Ltd.
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
Mathias Uebelacker
Sent: 13 July 2007 01:07 PM
To: <email address hidden>
Subject: Re: [Question #9653]: not owner
Your question #9653 on nautilus in ubuntu changed:
https:/
Status: Open => Answered
Mathias Uebelacker proposed the following answer:
Hello Massimo,
the file you wish to copy to sbin is that a file you have created before
or an existing file?
br
Mathias
--
If this answers your question, please go to the following page to let us
know that it is solved:
https:/
m?answer_id=6
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https:/
You received this question notification because you are a direct
subscriber of the question.
__________ NOD32 2396 (20070712) Information __________
This message was checked by NOD32 antivirus system.
http://
Revision history for this message
|
#9 |
Massimo,
use this command:
sudo cp ddclient /usr/sbin/
Make sure you are in the directory where you downloaded the script.
Revision history for this message
|
#10 |
Also, if you are asked to create and/or edit your configuration file, do it prefixing the command with sudo.
For instance:
sudo gedit /etc/ddclient/
Revision history for this message
|
#12 |
Hi
I have installed all the required things,i think. I am now getting this error when i try to start the ddclient.
bash: service: command not found
Revision history for this message
|
#13 |
Most probably a missing dependancy. It would be better to install the package from our repositories:
sudo apt-get install ddclient
You should remove whatever file you have manually installed though.
For instance:
sudo rm -iv /usr/sbin/ddclient
sudo rm -iv /etc/ddclient/
etc. etc.
be careful with rm, a simple typing mistake can wipe out a good chunk of your hard dsik.
Revision history for this message
|
#14 |
I should also add that apparently in ubuntu the configuration file is in /etc not in /etc/ddclient and to start the daemon you can use:
sudo /etc/init.
or simply reboot (it is automatically started at boot).
Revision history for this message
|
#15 |
Hi
i try running from the repositories but i get the following error.
E: could'nt find package ddclient
Revision history for this message
|
#16 |
massimo - you might have to enable the 'backports' repository:
http://
https:/
Revision history for this message
|
#17 |
Do you have the universe repository enabled?
You can check this manually (its in /etc/apt/
System-
You can than use Synaptic to install the package too.
Revision history for this message
|
#18 |
@Anders,
no, I think his problem is the universe repository, but you are right that there is an update in the backport one:
feisty: 3.7.0-3ubuntu1
feisty-backports: 3.7.1-0ubuntu1~
Revision history for this message
|
#19 |
Hi
Thanks, that worked.
It is now asking for a couple of things which I am not to sure of.
DynDns fully qualified domain names
Username for dynamic dns service
Password
Interface used.
Were do I get these from.
Kind regards
Massimo Gatta
IT Manager
Full Signal (pty) Ltd
Unit 18b, 5 Galaxy Ave
Linbro Bussiness Park
Tel : +2711 6084618
Fax : +2711 6084619
Cell : +2782 3733749
Mail : <email address hidden>
The information transmitted in this e-mail is intended only for the person
or entity to which it is addressed and may contain confidential and/or
privileged material. Any review, retransmission, dissemination or other use
of, or taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer. All rights reserved by Full Signal (Pty) Ltd.
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
Cesare Tirabassi
Sent: 13 July 2007 03:21 PM
To: <email address hidden>
Subject: RE: [Question #9653]: not owner
Your question #9653 on Ubuntu changed:
https:/
Cesare Tirabassi proposed the following answer:
@Anders,
no, I think his problem is the universe repository, but you are right
that there is an update in the backport one:
feisty: 3.7.0-3ubuntu1
feisty-backports: 3.7.1-0ubuntu1~
--
If this answers your question, please go to the following page to let us
know that it is solved:
https:/
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https:/
You received this question notification because you are a direct
subscriber of the question.
__________ NOD32 2396 (20070712) Information __________
This message was checked by NOD32 antivirus system.
http://
Revision history for this message
|
#20 |
I guess you have already registered with a dynamic DNS server?
If so:
DynDns -> the dynamic dns server you registered with (eg. members.dyndns.org)
Username -> the username you used to register with the dynamic dns service
Password -> the password you used to register with the dynamic dns service
Interface -> Your network interface (ppp0, eth0, etc.)
Have also a look here for some options and configuration examples:
http://
You can also type "man ddclient".
There is also an example made for Ubuntu in /usr/share/
sample-
Revision history for this message
|
#21 |
Hi
Thanks for that. It seems to be all setup. It seems to be configured as
well.
Unfortunately it is not working. I get the following error when I try to
start the ddclient.
* dynamic dns service update utility not in use.
I have looked in the services menu but cant find it in there
Thanks
Massimo Gatta
IT Manager
Full Signal (pty) Ltd
Unit 18b, 5 Galaxy Ave
Linbro Bussiness Park
Tel : +2711 6084618
Fax : +2711 6084619
Cell : +2782 3733749
Mail : <email address hidden>
The information transmitted in this e-mail is intended only for the person
or entity to which it is addressed and may contain confidential and/or
privileged material. Any review, retransmission, dissemination or other use
of, or taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer. All rights reserved by Full Signal (Pty) Ltd.
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
Cesare Tirabassi
Sent: 13 July 2007 05:54 PM
To: <email address hidden>
Subject: RE: [Question #9653]: not owner
Your question #9653 on Ubuntu changed:
https:/
Status: Open => Answered
Cesare Tirabassi proposed the following answer:
I guess you have already registered with a dynamic DNS server?
If so:
DynDns -> the dynamic dns server you registered with (eg.
members.dyndns.org)
Username -> the username you used to register with the dynamic dns service
Password -> the password you used to register with the dynamic dns service
Interface -> Your network interface (ppp0, eth0, etc.)
Have also a look here for some options and configuration examples:
http://
8d1fb
You can also type "man ddclient".
There is also an example made for Ubuntu in
/usr/share/
sample-
--
If this answers your question, please go to the following page to let us
know that it is solved:
https:/
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https:/
You received this question notification because you are a direct
subscriber of the question.
__________ NOD32 2399 (20070714) Information __________
This message was checked by NOD32 antivirus system.
http://
Revision history for this message
|
#22 |
Did you set run_daemon to 'true' in /etc/default/
If you do not want to use it as a daemon, you have to follow the instructions in:
/usr/share/
Revision history for this message
|
#23 |
Hi
My conf files do not have that command in it so I added it right at the top,
is this correct.
Another thing I look up my host name that I setup in dyndns and when I try
to find the server I just seem to get the netgear router, I have setup the
router to use the dns I setup but still no luck.
Thanks
Massimo Gatta
IT Manager
Full Signal (pty) Ltd
Unit 18b, 5 Galaxy Ave
Linbro Bussiness Park
Tel : +2711 6084618
Fax : +2711 6084619
Cell : +2782 3733749
Mail : <email address hidden>
The information transmitted in this e-mail is intended only for the person
or entity to which it is addressed and may contain confidential and/or
privileged material. Any review, retransmission, dissemination or other use
of, or taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer. All rights reserved by Full Signal (Pty) Ltd.
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
Cesare Tirabassi
Sent: 16 July 2007 01:17 PM
To: <email address hidden>
Subject: RE: [Question #9653]: not owner
Your question #9653 on Ubuntu changed:
https:/
Status: Open => Answered
Cesare Tirabassi proposed the following answer:
Did you set run_daemon to 'true' in /etc/default/
If you do not want to use it as a daemon, you have to follow the
instructions in:
/usr/share/
--
If this answers your question, please go to the following page to let us
know that it is solved:
https:/
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https:/
You received this question notification because you are a direct
subscriber of the question.
__________ NOD32 2399 (20070714) Information __________
This message was checked by NOD32 antivirus system.
http://
Revision history for this message
|
#24 |
Hi
new at this so lots of questions. I think i have sorted out the ddclient. Now when i try to ftp the server it tells me.
ftp: connect: connection refused
I also need to know if this is because i turned the anonomous user of, i need to have the people that log in the system be able to upload and download files but i nedd them to log in to do this, for security.
Thanks for the help so far.
Revision history for this message
|
#25 |
Hi
From the terminal window i can now ftp the server but it asks me for a log in and password, were do i setup these as i have not set it up anywere.
Also if i try to log in from a windows system i get an error, something about no permission
Help please.
Revision history for this message
|
#26 |
Massimo,
if the problem with ddclient has been solved please mark this as solved and open a new question about setting up a server and enabling ftp connection.
Its a totally new question and there are people here that can help you with that much better than me.
Revision history for this message
|
#27 |
Thank you. will do.
All your help is much appreciated.