Server :: Rsync Server Setup

Feb 4, 2010

I am setting up a CentOS mirror on my company LAN for the 1st time ever. I am wondering what the do and don't are for this. Obviously I would need to open the TCP port for Rsync on my Firewall so that my rsync server can properly communicate with the external mirror but is there things I should do or know before I just blindly open TCP 873 on my network? I was moving the server to the DMZ interface and then point all my internal servers to my rsync server on the DMZ.

View 1 Replies


ADVERTISEMENT

General :: Setup Server Using Rsync

Mar 5, 2010

How I use rsync to setup server from any existing server, that I want to create server from my existing one server where I have installed and tune everything, I want everything replecate on new server excluding network (IP) and /proc

View 2 Replies View Related

Server :: Setup LAMP With MySQL Master/slave Replication And Apache Rsync?

Aug 12, 2010

I started over combining the first parts of this guide: [URL]..ubuntu8.04 (Only the first few parts in terms of configuration and naming). Then I used this guide: [URL]..Surprisingly enough all steps worked.

1. Now I need to set up LAMP servers with MySQL master/slave replication and Apache rsync.

2. Next i need to add BIND to both my Load Balancers with master/slave backup and replication...

Are there any guides to look at to follow on these? Can tou point me to the right direction for BIND with replication.

View 1 Replies View Related

Server :: Sync File Server Data Into Backup Server Machine By Command- Rsync -avu?

Jun 21, 2011

iam trying to sync file server data into backup server machine by command- rsync -avu path/of/data ipaddress-of-backup-server:/path/where/to/save after running it ask for root password and manually it is successful.but i want to make it automatic.for that i also tried cronjob and also generated authentication key but iam not successful in login automatically..anybody know how to authenticate root to login for storing data in backup server.

View 14 Replies View Related

Server :: Rsync Execution - With Crontab - Have Given Full Path To Rsync Too

Apr 12, 2011

I have a tiny shell script to rsync files between two servers and remove the source files.

This script works fine, when it has been initiated manually or even when the rsync command is executed on the command line.

But the same script doesn't work, when I try to automate it through crontab.

I am using 'abc' user to execute this rsync, instead of root, as root login to servers are restricted in all of our servers, by us.

As I mentioned earlier, manual execution works like charm!

When this rsync.sh is initiated through crontab, it runs the first command(chown abc.abc ...) perfectly without any issues. But the second line is not at all executed, and there is no log entry i can find at /mnt/xyz/folder/rsync.log.

View 6 Replies View Related

Software :: Run Rsync To Download Files From A Server Without Rsync Daemon?

Sep 18, 2009

I just tried to sync files from one server to another. After the sync process, I found the files are bigger than original ones.

I looked up the web and found someone mentions the rsync daemon. So I have to run the daemon on one server before I run the rsync?

The command I used is rsync --partial --progress -r source destination

View 1 Replies View Related

Server :: Rsync Can Not Rsync Files With Include Filter

Jul 21, 2010

use rsync to cp such files and dirs under /var/www/html/mydir directory but these two files(/dir4/1.html /dir4/2.html) cant rsync to dest mechine.

rsync configure file,below...

View 2 Replies View Related

Server :: Rsync Fails In Cron - Ssh Key - For Rsync?

Dec 8, 2010

I'm using Ubuntu 10.04 LTS server and Postgresql 8.4. I have a .sh script that is run by cron every other hour. That works fine. The .sh script includes an rsync command that copies a postgresql dump .tar file to a remote archive location via ssh. That fails when run by cron; I think because it is (quietly) asking for the remote user's password (and not getting it). I set up the public/private ssh key arrangement. The script succeeds when run manually as the same user that the cron job uses, and does not ask for the password. I am able to ssh to the remote server from the source server (using the same username) and not get the password prompt (both directions), so why doesn't rsync work? I even put a .pgpass file in the root of that user's directory with that user's password, and the user/password are identical on both servers.

I think the problem is rsync is not able to use the ssh key correctly. I tried adding this to my script but it didn't help.

Code:

Here is the rsync command embedding in the .sh script.

Code:

Here is the cron entry:

Code:

View 6 Replies View Related

Server :: Rsync Files And Directories From A RedHat Host To A Windows Server 2003R2?

Jun 9, 2011

I'm trying to rsync files and directories from a RedHat linux host(v 4.5 & 4.7) to a Windows server 2003R2 Standard Edition with cygwin running. I'm executing the rsync command from the cygwin shell. The transfer involves rsync'ing approximately 1 TB of data from the linux server to the windows server. After about 280+GB of data transfer, the transfer just dies.

There seems to be no particular file or directory that the transfer stops at. I'm able to rsync GB's of data from other linux hosts to this cygwin server with no problem. Files and directories rsync fine.The network infrastructure is essentially the same regardless of the server being rsync'ed in that it is GB Ethernet running through Cisco GB switches. There appear to be no glitches or hiccups across the network path.

I've asked the folks at rsync.samba.org if they know of any problems or issues. Their response has been neutral in that if the version of rsync that cygwin has ported is within standards then there is no rsync reason this problem should happen.I've asked the cygwin support site if they know of any issues and they have yet to reply. So, my question is whether the version of rsync that is ported to cygwin is standard. If so, is there any reason cygwin & rsync keep failing like this?

I've asked the local rsync on linux guru's and they can't see any reason this should fail from a linux perspective. Apparently I am our company cygwin knowledge base by default.

View 3 Replies View Related

General :: Run Rsync On Server A To Copy All Files From Server B When They Are Newer Than 7 Days

Jun 14, 2011

I want to run rsync on server A to copy all files from Server B when they are newer than 7 days.(find . -mtime -7) I don't want to delete the files on Server B.

View 2 Replies View Related

Server :: SUA On Win2k3R2 Server Rsync Pull From Linux Host

Jun 10, 2011

Has anyone had any experience on using SUA(Services for UNIX Applications) rsync to "pull" files down to the Win2k3R2 server from a linux rsync host?I was trying to use cygwin rsync before until I found out from cygwin that the cygwin port of rsync was "flakey" and would fail intermittently for no apparent reason. cygwin suggested I use SUA or SFU for rsync services.

I've looked for/ am looking for any experience using SUA rsync to copy files down from a linux rsync host to the Windows host via rsync on the Windows host. Also, if you have done this successfully, do you have any pointers/caveats you can share on how you got it working? What I am basically looking to do is copy files and subdirectories of files from a linux host using rsync to some static location on a Windows server on a scheduled basis so that I can backup the windows server to tape using Symantec's Backup Exec application.

I'm doing it this way to avoid deploying the Remote Agents for either linux or Windows on the target hosts. As an alternative I've seen reference to a product called DeltaCopy that uses a native Windows rsync port with the native linux port of rsync to do what I need also.I realize this is not a strictly linux question, but more of a hybrid as I'm moving data to and from Windows and linux hosts. So, if this is too Windows-y a question, please say so and I'll withdraw my question.

View 2 Replies View Related

Server :: Setup RAID 1 On CentOS 5 Server For A Zimbra Email Server

Feb 7, 2011

I'm trying to setup RAID 1 on a CentOS 5 server for a zimbra email server.I get a partion schema error. Can I do this?The server is a HP Proliant ML150 G3 server with two 80GB HDD.

View 1 Replies View Related

Server :: Rsync --server --sender -logDtpr . /

Apr 14, 2010

root 24527 0.3 0.3 92180 23812 ? Ss Apr13 2:30 rsync --server --sender -logDtpr . /

I found this process running, OS is RHEL 5.4 64bit.

View 1 Replies View Related

Server :: Unable To Setup A NIS Server Setup On CentOS System

Jan 19, 2010

We are trying to set up a NIS server on a CentOS system. We need to have a NIS server which can provide NIS authentication to a couple of clients. We are practically new to all this stuff.

Just googled to find some ideas about installing ypserv and ypbind and portmapper. We did all that and also started them successfully. But now the clients are not able to join to the NIS domain . The error log states "YP_DOMAIN NOT BOUND".

I guess we have not entered the /etc/yp.conf, /etc/hosts files properly. Please let us know the detailed steps to setup a NIS server .

Also, please let us know what entries should go into the different /etc/<file_names>? What is meant by HOSTNAME in the /etc/hosts file?

Is there any other files which need to be changed? Are we missing any steps?

Also to add-on, while executing the ypinit command we faced the following error:

At this point, we have to construct a list of the hosts which will run NIS servers. localhost.localdomain is in the list of NIS server hosts. Please cont inue to add the names for the other hosts, one per line. When you are done with the list, type a <control D>. next host to add: localhost.localdomain next host to add:

The current list of NIS servers looks like this:

Is this correct? [y/n: y] y

Error running Makefile.

View 3 Replies View Related

General :: Setup A SMS Server, Appropriate Distribution To Setup A SMS Server?

Oct 22, 2010

How to setup a SMS server using Linux, also want to know the appropriate Linux distribution to setup a SMS server.

View 2 Replies View Related

Server :: Setup An Ssh Server That Doesn't Require A Username,password Or Cert To Login?

Jun 22, 2010

Is it possible to somehow setup an ssh server that doesn't require a username,password or cert to login?I wish to provide shell access to a console program, which will prompt for a username and password.Encryption is essential though, and users must not be able to snoop in on each other

View 9 Replies View Related

Programming :: Java Servlets: Setup The Server Side Configuration On Fedora Web Server?

Jan 4, 2010

If you hadn't guessed it from my last 3000(ish) java-related posts, I'm a Java n00b writing a Java Applet for a work project. I got to the part was I was about to write the applet code that would send HTTP requests to my CGI scripts. But I read some paragraphs in a book praising Java servlets as better that CGI because they are easier to use and give much better performance server side. My server load isn't very big, though, and I was wondering if it would be worth taking the time to learn about Java servlets and how to set up the server side configuration on my Fedora web server.

View 3 Replies View Related

OpenSUSE :: FIrewall Setup / Client Computer Cannot See NFS Server When Scanning For Server - OSE 11.2?

Apr 21, 2010

I have a small home-office network. On that network I have two linux computers, one is a client the other a server.

On the server I have NFS Server setup and mount some NFS exports on the client computer.

On the server I have the firewall on and here it becomes a little tricky.

Since both the server and the client connect to the router the interface (eth1) is theoretically both an internal & external zone.

The router is commercial grade and therefore has a good firewall on it which is also setup. Therefore the firewall on the server is really more of a backup than a necessity. But that's fine, and by having the server's firewall on 'fail2ban' is able to work which I like to have working so I don't want to just turn off the server firewall even though I have good security from the router.

However, when I turn on the server's firewall, the client computer cannot see the NFS server when scanning for server -- done by: clicking on "Choose" next to "NFS Server Hostname" when adding an NFS share in the NFS Client in YaST. Clearly something is being blocked even though I have both "NFS Client" and "NFS Server Service" allowed in the server firewall. The Firewall config. files for these are below.

The Firewall configuration is pretty much "out of the box". That is I have the services I need opened up for the external zone, the other zones are left at their default which means the internal zone, although not used (i.e.: attached to any interface), is completely open.

The perfect solution I guess would be to setup my client computer to connect through a different NIC (perhaps eth0), make that the "Internal Zone" and therefore allow all traffic through to it while still blocking the server from the external zone. However, I cannot make that physical change to my network for now so I am looking for an in between (non-perfect) solution.

In this case I am guessing that means opening up extra NFS ports to the external zone so I have full NFS functionality. I don't mind this because like I said, the router firewall is the main line of defense anyway.

So, given all of the above could someone tell me what I would need to additionally open up in the server firewall to make the NFS server detection work on the client while the firewall was on. Or, if you have a cleverer/better solution without me changing my physical network that would be great.

Hopefully I have written this in enough detail and clearly enough so that all the parameters are clear but if not, feel free to ask me what you like and I'll try to make it clear.

Code:
## Description: Firewall Configuration for NFS kernel server.
#
# Only the variables TCP, UDP, RPC, IP and BROADCAST are allowed.
# More may be supported in the future.
code....

View 6 Replies View Related

OpenSUSE Network :: Mulit Server Setup \ Server Machine Has No Internet?

Mar 27, 2010

I want to set up the following server in open suse:dhcpopenldapnfs (to allow users to mount their home directories from the serverI started off with the openldap server. I configured it with dc=localdomain,dc=local as its domain. As the server machine has no internet. Though when I go to add a .ldif file with the following command

Code:
ldapadd -x -D 'cn=Administrator,dc=localdomain,dc=local' -f /home/base.ldif -W
It returns this

[code]....

View 9 Replies View Related

Ubuntu :: Web Server - Setup Model And Need To Give Computer Some Capability To Act As A Server

May 19, 2010

I want to set up moodle and need to give my computer some capability to act as a server. I am following the steps at [URL] although my question is not really related to moodle. Here is the problem: setting everything up to make my computer accessible from outside has worked so far. I got myself a static IP address using a dynamic dns server and can ssh into my computer from any other computer connected to the www. So,

[Code]....

View 3 Replies View Related

General :: Setup Dedicated Server Using Ubuntu Server Or Equivalent Opensource OS?

Jan 16, 2010

How to setup Dedicated Server for Web Hosting using Ubuntu Server or equivalent opensource Operating System? And how to make secured my Dedicated Server on public?

View 1 Replies View Related

General :: Setup Remote Access Server On Red Hat Enterprise Server Release 5.1?

Aug 30, 2009

how i have a machine installed Red Hat Enterprise Linux Server release 5.1 with 2 modem (usb & com port) still i want to configure RAS server so some pple able to connect my server and send me some files.

View 4 Replies View Related

Server :: Setup A VPN Server At Work For Resource Sharing - Connect Keep Failing

Aug 29, 2010

I need to setup a Linux VPN server at work for resources' sharing, I currently have a server running CentOS 5.4, and tried endless tutorials on the web, but to no avail, and can't find where the logs are kept for the VPN server to check where the error is. But all my attempts to try to connect keep failing.

View 9 Replies View Related

Server :: Server Setup Using Ubuntu For SSH Account Hosting For Socks Proxy?

Mar 21, 2010

I have a few friends that have seen me bypass firewalls with a socks proxy (SSH). I explained on how it works and how secure it is for browsing the Internet and checking your email in public places. I had at least 6 asked me if I could set up an account on my server for them and they would pay me! Now what I wanted to know was how I can set this up in a server and website where they can register an account and pay me through PayPal! I don't need help setting up the site! Just on how to set up the server to automate this. What tools are needed (ex. ISPConfig, jailkit.... stuff like that?) I don't mind doing this manually but if I get more people that would like this I don't really want to do every single one.

View 1 Replies View Related

General :: Setup Server To Automatically Synchronize Its Server Clocks?

Oct 5, 2009

How can I setup my Linux server to automatically synchronize its server clocks? We need to ensure our server clocks are set to the correct time always.

View 2 Replies View Related

General :: Setup A Sendmail Server On Dedicated Server And Exim

Mar 16, 2010

I am trying to setup a sendmail server on my dedicated server. It was pre-configured to use exim from cpanel. Is it possible to use exim for all emails from a a certain domain i setup on the server and sendmail for others?

ex.
domain1.com -> exim
domain2.com -> sendmail

If it is possible can someone let me know how i would go about doing this? If it is not how would i disable exim and use sendmail for all mail?

View 4 Replies View Related

Server :: Setup Home (1 Computer) FTP Server Using DSL Connection No Router?

Jan 21, 2010

I'm going to start a new thread because previous searches have not totally satisfied my question. I've read all day about doing this but each inquiry leads to discussion of configuring the router. I am also not network savy. I would like to set up an FTP server on my home computer (presently Ubuntu 8.10). I have only one computer. I am using DSL with my telephone line for internet connection. I do not use a router.

Is it possible to do this with no router and only a DSL ISP connection?

View 3 Replies View Related

Server :: Setting Up Sendmail On A Blank RHEL 5.5 Server Setup

Jun 21, 2010

Having some issues setting up sendmail on a (basically) blank RHEL 5.5 server setup. My ultimate goal is to be able to automagically send logs / errors / notifications to ourselves from the server.

Our basic setup is a Win 2003 domain with exchange running on mail.domain.com.au.

I've edited the '/etc/mail/sendmail.mc' and added the :

Code:

line to it.

Also added the domain (domain.com.au) to the '/etc/mail/local-host-names' files

Also edited submit.mc and added

Code:

When I try and send a mail from root or a test user to one of the domain accounts, it seems to go fine, i.e no errors are reported but it never gets delivered.

From the mail logs:

Code:

So it seems to be sent to the queue no problems and when I check the queue :

Code:

Total requests: 0

Not nothing ever gets received. Am I missing something? I have read and read and read but dont seem to be getting any furthur.

So in the end this server doesn't need to do anything except be able to send mail from root to an external mail address.

View 1 Replies View Related

Server :: Setup Reverse Proxy With Proxy_mod To Port 443 On IIS Server

Aug 30, 2010

We currently have a SUSE Apache2 reverse proxy server setup to reverse proxy (proxy_mod) our GroupWise Web Access server. Our SUSE box is located at www.domain.com. Our GroupWise Web Access server is located internally and is called GWMail. We are in the process of migrating from Novell to Windows, so we will have an exchange server with OWA access running on a Windows Server 2008 IIS7 box. That one will be called EXMail internally. Right now when someone goes to www.domain.com/gw/webacc it goes to the GWMail internal server from the outside world. This was all set up by previous techs who used Linux more.

We would like to set up reverse proxy to be able to reverse proxy to the Exchange Server from the outside world. Unfortunately the snag we are running into is that Exchange needs to run on port 443, and forwarding to port 443 has been a little tricky. I've read elsewhere we need to implement a generic TCP proxy, such as IPtables. what we need to do to get our SUSU Apache2 server to be able to reverse proxy to our Exchange server on port 443. For the save of argument lets call our SUSE server ExtranetServer. Below is our default-configuration.conf file's configuration:

[Code]....

View 12 Replies View Related

Server :: Setup An Incoming And Outgoing Mail Server On Centos?

Feb 22, 2010

What is the easiest way to setup an incoming and outgoing mail server on centos? Without using a control panel, such was webmin.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved