rsync: opendir "/db/pluto/test" failed: Permission denied (13)
I am getting the below error when try to run a perl script which copy mysql db using resync.
Could anyone please help Creating log directories Initializing data WARNING: Use of this system is restricted and monitored! This system is for the use of authorized users only. Individuals using this computer system without authority, or in excess of their authority, are subject to having all of their activities on this system monitored and recorded by system personnel. In the course of monitoring individuals improperly using this system, or in the course of system maintenance, the activities of authorized users may also be monitored. Anyone using this system expressly consents to such monitoring and is advised that if such monitoring reveals possible evidence of criminal activity, system personnel may provide the evidence of such monitoring to law enforcement officials. receiving incremental file list rsync: opendir "/db/pluto/test" failed: Permission denied (13) sent 12 bytes received 130 bytes 284.00 bytes/sec total size is 0 speedup is 0.00 rsync error: some files/attrs were not transferred (see previous errors) (code 2 3) at main.c(1505) [generator=3.0.6] Aborting : Database copy from primary to secondary failed. |
Quote:
http://www.linuxquestions.org/questi...ad-4175452115/ http://www.linuxquestions.org/questi...rs-4175452119/ Also, you need to read the Question Guidelines link in my posting signature...you aren't giving us ANY details at all; version/distro of Linux, contents of that perl program, or even what permissions on that directory. Without details, there is nothing we can help with. |
From the information you posted it would seem the user running the rsync command does not have permission to writ to the "db/pluto/test" directory. Are the source and destination on the same machine? is it on a network? Who is the owner:group and what are the permissions?
|
Hi Guys,
I have two servers dc2db01 and dc2db02 used as (primary and secondary for MYSQL DB) there is user pluto on both the servers and db test is located on "/db/pluto/test" i am trying to copy test from dc2db01 to "/db/pluto/test" on dc2db02. When i am creating a DB for customers generally we run a perl script, it is first ran on dc2db01 and then on dc2bd02.IN case of dc2db02 it trys to copy db from primary server dc2db01 and fails with a permission denied error. pluto user has below permission drwx - - |
Quote:
Since it's working on one server and not another, then it's very clear there is a DIFFERENCE between the two. Identify it. |
All times are GMT -5. The time now is 10:54 AM. |