CentOS 5 :: Making Own Yum Repository Via Rsync?

Oct 29, 2009

I'm making my own yum repository - firstly so that all the machines I administer can be updatedvia the internal network, secondly so that I can test any updates on a spare machine before passing them on, and thirdly so that I can add my own repo for internal software.

I've created the necessary folders under my webserver, and used rsync to update them from my local CentOS mirror, following the instructions at [URL]

I notice it says to run "createrepo" on the base repository, created by copying the rpms from release DVD.

When I rsynced the updates repo, but I notice that the files in repodata are very small. In fact, having a look inside them, filelists.xml contains no file details. But if I run createrepo in the updates directory, filelists.xml gets lots of file details inside it.

I wondered if maybe the local mirror hadn't been updated properly, but checking against mirror.centos.org shows that has the same files.

how does the (real, live, CentOS) updates repo work when there is nothing in the filelists?

View 11 Replies


ADVERTISEMENT

Fedora :: Making An Rsync Backup More Robust?

Aug 24, 2009

I'm syncing a server over the internet with rsync, but it only works for a few hours before the backup fails with a "No route to host". I can restart the job and it'll will pick up where it left off, but is there an automated way to do this, or protect against a connection failure? I have about 170GB to copy over initially, but I can only get through about 4-5GB before the connection drops--manually restarting the sync everytime it drops will make the initial backup take days...

View 2 Replies View Related

General :: Rsync And Making Sure All Files Have Been Transferred Before Applying The Changes?

Nov 15, 2010

I was wondering if there is a way to tell rsync to only apply changes (delete, overwrite,create) only if all files in the file list transferred successfully.Just to clarify, this would essentially be putting a transaction around the transfer.

View 3 Replies View Related

OpenSUSE Network :: Repository Not In The Rsync?

Feb 24, 2011

Just tried to rsync /repositories/server:/monitoring for SLE 11.1 which is visible through http [URL], but when I browse through [URL] the SLE_11.1 directory isn't there.

View 3 Replies View Related

Server :: Making Incremental Copies/transfers With Rsync In Cygwin?

Mar 21, 2011

As an example, I have two servers, sm-i222 and fileserv. sm-i222 is a Win2k3 system running cygwin. fileserv is a linux box running RHEL 4.7. sm-i222 maps /cygdrive/c to the c: drive and /cygdrive/d maps to the d: drive(actually a single 4TB RAID). from the sm-i222 server /cygdrive/c I call a small script from the crontab. The internal IP for fileserv is 10.0.0.7. See below.

cd /cygdrive/d/fileserv/home
rm -rf /cygdrive/d/fileserv/home/*
rsync -avz -e 'ssh -c blowfish' root@10.0.0.7:/home/* .

These three lines perform well in that they make a full transfer of the fileserv:/home/ directory on fileserv to the appropriate place on sm-i222 using rsync. I use rsync instead of scp because I have to traverse subdirectories and symbolic links in the /home/... filesystem on fileserv. What I'm looking to do is use rsync to do an incremental transfer/backup of only the files that have changed since the last full backup. I'll manage the times I do this manually or in crontab. A colleague says this is do-able, but not how. Rsync.org says this is do-able but not how. Cygwin says this is do-able... see rsync.org. I believe what I'm looking for is a single rsync line like I have above that only transfers the changed files on fileserv to sm-i222.

View 14 Replies View Related

Ubuntu :: Dpkg-genchanges/reprepro For Making Repository?

May 11, 2011

I have some source of some packages( .dsc, diff.gz, orig.tar.gz) and I want to generate a [.changes] file for it so that I can use [reprepro] for generating my desired repository.

I read the manual of dpkg-genchanges and try with it however, It direct me to help of the command.

1. Can I generate from ( .dsc, diff.gz, orig.tar.gz) file a [.changes].

2. If question (1) is not possible, how can I use directly ( .dsc, diff.gz, orig.tar.gz) in reprepro for generating my repository.

View 1 Replies View Related

Ubuntu :: Dpkg-genchanges / Reprepro For Making Repository

May 11, 2011

I have some source of some packages( .dsc, diff.gz, orig.tar.gz) and I want to generate a [.changes] file for it so that I can use [reprepro] for generating my desired repository. I read the manual of dpkg-genchanges and try with it. Can I generate from ( .dsc, diff.gz, orig.tar.gz) file a [.changes]. If question (1) is not possible, how can I use directly ( .dsc, diff.gz, orig.tar.gz) in reprepro for generating my repository.

View 14 Replies View Related

CentOS 5 Networking :: Error: Cannot Retrieve Repository Metadata (repomd.xml) For Repository: Addons

Mar 4, 2011

I am trying to configure DNS on my CentOS 5. When i am trying to install BIND using YUM, i am getting the following error.

Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile http://mirror.centos.org/centos/5/addons/x86_64/repodata/repomd.xml: [Errno 12] Ti meout: <urlopen error timed out> Trying other mirror.Error: Cannot retrieve repository metadata (repomd.xml) for repository: addons. Pl ease verify its path and try again. I am able to ping from Linux to windows OS. But when iam trying to do

[Code]...

View 2 Replies View Related

CentOS 5 :: Cannot Retrieve Repository Metadata (repomd.xml) For Repository: Base

Apr 23, 2010

I installed centos 5.3 on my server one year back, it was getting update form yum till jan 2010. but now if i update it through yum it gives following error:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: ftp.jaist.ac.jp
* city-fan.org: download.virtensys.com

[Code].....

View 3 Replies View Related

CentOS 5 Server :: Cannot Retrieve Repository Metadata (repomd.xml) For Repository

Jul 18, 2010

I am trying to install apache on centos-5-i386 (# yum install httpd) and get the following error:

==========================
[root@IDK3 /]# yum install httpd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.mirrors.tds.net

[Code].....

Edit: The url works if I leave out "repomd.xml" at the end; and the repomd.xml is exactly in that folder? i have downloaded the file but don't know how to use it.

View 1 Replies View Related

CentOS 5 :: Error: Cannot Retrieve Repository Metadata (repomd.xml) For Repository

Oct 25, 2010

Yum update do not respond and I get these exceptions. Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile [URL]... [Errno 14] HTTP Error 403: Forbidden
Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again I have search the forum but the suggestion have not help me resolve this issue. I tried both the mirrorlist and baseurl links in the CentOS-Base.repo file. I using proxy and have followed the instruction [URL]. When I run "yum --disablerepo "*" --enablerepo "rpmforge" list available" I get this

Loaded plugins: fastestmirror Error getting repository data for rpmforge, repository not found

View 1 Replies View Related

Slackware :: Making A SlackBuild Script Download From A Repository Instead Of A Tarball

Jan 1, 2011

how to modify an existing slackbuild from slackbuilds.org to check source out of a git repo instead of downloading a tarball? Slackbuild in question is 'scantailor'.I could just change the 'info' file to point to a git snapshot URL, but I would have trouble with the version numbers and tarball checksums needing manual updating, no?

View 7 Replies View Related

Server :: Unifying Permissions Between Two Servers - CentOS - Webmin/CentOs - Cpanel - And Rsync

Jan 1, 2010

I have two servers, both running CentOS, but one running Cpanel as the control panel and the other running Webmin.

I would like to sync the web folders using rsync. However, when I sync the files from the Cpanel host the permissions look as follows:

Code:

But that doesn't work on the Webmin server which needs the following:

Code:

It seems the Cpanel install has the group as 'nobody' whilst webmin has it the same as the file owner. I can fix this by running:

Code:

But as the file transfers will be frequent, I don't want the files to be inaccessible until chown is run.

So, what I really want to know is - how can I change things on the 'webmin' server so that files with ownership owner:nobody will run?

View 1 Replies View Related

CentOS 5 :: Error Value: Error Getting Repository Data For Installed, Repository Not Found

Dec 22, 2009

Error Type: <class 'yum.Errors.RepoError'>
Error Value: Error getting repository data for installed, repository not found
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3125, in <module>
main()

[code]....

View 3 Replies View Related

CentOS 5 :: Creating Local CentOS 5.4 Repository For Internal Upgrades Only?

Apr 16, 2010

I am installing a cluster which is hidden from the rest of the world and there is no router either froma general login node. I would therefore require a local repository of the updates to CentOS5.4. When I checked I only found instructions for a full mirror. As I have no room and neither the human resources to setup and maintain a full-blown mirror, this is not a solution. However if I try to find updates for 5.4 to download in a repository-type of way I fail to find a solution. Maybe I am just not looking in the right places.

View 1 Replies View Related

CentOS 5 :: Rsync 3.0.7-1.el5.rf Does Not Work

Aug 18, 2010

I installed CentOS 5.4 on a virtual server to host the tool OpenVAS, which is used to execute vulnerability assessment.This tool is based on a master engine and thousand of plugins, each one doing a specific, little function.I wrote a cron that, every sunday, updates the list of these plugins to keep the system updated; this cron uses a tool's proprietary function that download the new plugins from a site using rsync.I was using the rsync 2.6.8-3.1 until last week, when I decided to install ALL the updates proposed by operating system itself (more than 170) and the whole list includes rsync 3.0.7-1.el5.rf (from rpmforge).

This monday, the log of the tool's function gave me a bad response about the impossibility to establish a connection with the remote server due to a connection timeout.Before doing the rollback of the system, I tried to understand what happened, so I started manually the function on a terminal and, together, I was watching the results using netstat -tuvnap, so I saw that there was an attempt of connection, between my server and the remote one, but the connection did not finish the three way handshake, because the state of connection was always "SYN_STAT".I tried to value the $RSYNC_PROXY variable, because there is a proxy between my server and the world, but the result was exactly the same, so I was forced to execute the rollback of the system, which works very well now!

View 3 Replies View Related

CentOS 5 :: Time Changes In Rsync Log File

Mar 18, 2010

I'm running rsync in daemon mode on CentOS 5.4, and I'm seeing inconsistent times reported in the log file.

View 2 Replies View Related

CentOS 5 :: Rsync To Ignore Spaces?

Oct 29, 2010

I have a script that users execute to copy files from one server to another 3 boxes.

I want to prevent rsync from trying to copy files with spaces.

Anyone have an example I can use?

The rsync just craps out when they try to sync files with spaces, I tell them that but....

View 3 Replies View Related

General :: Rsync - Graphical Interface For Centos 5.3?

Sep 7, 2009

Is there a graphical interface for centos 5.3

View 3 Replies View Related

Software :: CentOS 5 - Mirroring System Using Rsync

Mar 30, 2011

I believe it was rsync was the tool. I have a box running CentOS 5. It has a 250GB HD in it. I have another drive with the exact model. Currently it has a as a said a 250GB IDE drive. I want to shutdown the machine, install this other hard drive and set up a cron job that will backup my main drive at times that I set. This way if the main drive fails, I do not loose all the data and have to rebuild the server from scratch as I have been custom configuring it for years. I can't remember if there was an issue with the main drive being mounted to back it up or not. I have looked at some of the how's on rsync but they seem to only talk about using another server for this. If I shit down the box, install the new drive, and the box boots back up, is it going to ask about that drive or what do I need to do to get rsync going and does it partition the drive as such? And can I do it this way. This way if the main drive fails, I can just swap the drive and be on my marry way.

View 2 Replies View Related

CentOS 5 :: Ruse Rsync To Backup A Directory?

May 22, 2010

I want to use rsync to backup a directory on my local hard drive to a USB hard drive.

I created the initial backup with:

rsync -av /share/chris/docs/* /usb/docs

View 7 Replies View Related

CentOS 5 :: Find And Rsync For Remote Copy?

Jan 14, 2011

This command would copy the files to the local directory,find /mnt/nas -type f -ctime 1 -iname '*.avi' -exec rsync -av {} /mnt/Mythbuntu

View 1 Replies View Related

CentOS 5 :: Making An Script To Run A Ppp With Modem?

Sep 16, 2009

I'm running Centos 5.3 with an analog modem attached to /dev/ttyS0. I'm making an script to run a ppp link, and I need to know if the modem is already in use or not. Where should I look for a lock file and what is the name it's supposed to have?

View 1 Replies View Related

CentOS 5 :: Mkisofs For Making .iso File?

Aug 27, 2010

I'm facing problem while making .iso from CD.I used the following commandmkisofs -o cdi.iso clusterwarewhere 'clustereware' is the content i need.Once done, checking this cdi.iso file noticed that certain file names are trimmed/corrupted like from .oui to _ouirunInstaller.sh to runInstalike this many file name changed.

View 5 Replies View Related

General :: Centos Grant Read Access For RSync

May 2, 2011

I am trying to setup a Rsync backup method.I have multiple files and folders all OWNED by different users.Now I can read the files as root.But I want to make a user for RSYNC that can ONLY read all these files for copying them across.It requires to create a non password login and I dont want to do that with the root user ! I have tried to create a new user and use 'setfacl':setfacl -m u:someuser:r /var/test.But when I su to 'someuser' I cannot copy the files to my homedir. So I think it wont work for rsync also.

View 8 Replies View Related

CentOS 5 :: Any Known Errors On Allocating Disk Space Using Rsync?

Mar 13, 2009

Need to know if there are any known errors allocating disk space using rsync. I have recently setup a small file backup server (2 500GB drives) running Centos 5.2, with a rsync daemon (via xinetd). However I have noticed that after about a week of usage, if I reboot, then the disk that rsync uses, has a lot of multiply claimed blocks and inode errors, such that I have to run fsck multiple times to fix. This has happened a couple of times now so I don't think that its random.

View 11 Replies View Related

CentOS 5 :: Grsync - Rsync - Read Only Until Unmount And Mount

Sep 27, 2010

I am running version 5.5. I am using Grsync to back up 2 folders to an USB external 1.5 terabyte drive. Sometimes grsync backs the folders up correctly but most of the time, I need to unmount and then mount the drive to get it to work.

View 5 Replies View Related

CentOS 5 :: RSYNC: Listing Files Added & Changed?

Oct 21, 2010

I'm using rsync to create a mirror of the data files on our main server every day. I've looked at the man page, and can't see it; can I get a listing of the files that have been changed on or added to the mirror when it's completed? Can it just log what it's doing to a file?

View 1 Replies View Related

CentOS 5 Hardware :: Rsync - Changed Blocks Or Files?

Sep 9, 2011

how rsync will handle disk images. Will rsync copy only the changed blocks of a vhd or a lun? This is what I've been told, but wouldn't this require overlaying a filesystem on the vhd? How would rsync handle copying a 500GB lun?

View 1 Replies View Related

CentOS 5 :: LIBSSH2 Not Making An Ssh2.so File

Jul 25, 2010

Alright so, I ran everything, and when I go to compile my libssh2 using: phpize && ./configure -with-ssh2 && make

View 1 Replies View Related







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