This process has already been covered before in the forum. I have just installed rsync on Solaris 10 and would now like to activate a service. Tornado has previously posted a thread explaining the process. The question I have is:
If the following directory does not exist on your system (see below) where would you create this script?
If a script is required to start and stop the process, create the script and place it in a local directory such as /usr/local/svc/method
You need to create this directory. However, /usr/local/something is a poor advice (i.e. non Solaris standard compliant) and might lead to trouble. I would suggest /opt/local/svc/method instead.
Maybe another few questions you could answer for me:
I have downloaded rsync-3.0.6 into the tmp directory.
Where is the best location to install rsync?
Do you have an example manifest .xml file for the rsync service?
Will the start stop script I previously posted work?
I also read that you have also to configure the “/etc/rsyncd.conf” and “/etc/rsyncd.motd” files, as well as the “/etc/default/rsync” configuration file.
I'm confused. You wrote a week ago that you have already installed it. Did you download the source code or a binary package ? In the latter case, from what repository ?
The configuration files will depend on options provided when rsync is built.
If the next questions are outwith the scope of this thread then please ignore.
I have installed rsync from the companion cd as previously mentioned which
installs rsync to /opt/sfw/bin/rsync.
I have also added an entry into the /etc/inet/inetd.conf file
I then converted the rsync service to a SMF Service
I then tested the new service is online
Added an entry into the /etc/services file
I am now trying to connect to the Solaris system(considered remote host in this situation) using rsync on a Readynas Pro which is on one of our subnets. Evertime I try to connect to Solaris system using rsync on the NASbox says it cannot connect to host 192.168.xxx.xxx where I have installed and enabled rsync. I am trying to backup user files on the NASbox to a directory on the Sun system. There is a VPN router in the equation as well as a firewall, however I just want to be sure that rsync is installed and working correctly on the Solaris box.
Have I missed anything out of the rsync install and config? Any examples of how I can test this?
I have an array in an external file, "array.txt", which contains:
char *testarray={"Zero", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine"};I want to be able to add an element to this array, and have that element display, whenever I call it, without having to recompile... (29 Replies)
I wish to copy all the files & folder under /web/Transfer_Files/data/ on mymac1 (Linux) to remote server mybank.intra.com (Solaris 10) /tmp/ location
I am using Ansible tool synchronize module which triggers the unix rsync command as below:rsync --delay-updates -F --compress --archive --rsh=ssh... (2 Replies)
Hi all
I would like to know how to run task2.service after task1.service has finished.
task1.service has a timer (task1.timer), that makes it run every 5 minutes
OnCalendar=*:0/5task2.service is basically a script, that has to work on the files created after task1 has finished.
This is what I... (2 Replies)
Hi,
I would like to ask if someone knows and show/point me or simple help me how udev rules work in lucyd, upon my quest and search all the tuts i used is based on old udev since something i read the udev change in lucyd version.. I want to accomplised when i plug my usb 8Gb device and automount... (0 Replies)
I need some help with adding lines to file and substitute a pattern.
Ok I have a file:
#cat names.txt
name: John Doe
stationed: 1
name: Michael Sweets
stationed: 41
.
.
.
And would like to change it to:
name: John Doe
employed
permanently
stationed: 1-office (7 Replies)