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.
I'm new to LinuxQuestions and this is my first post. I'm trying to build rrdtool to install Cacti and encountered the following problem: 'make' step returns an error messages:
Code: ./.libs/librrd.so: undefined reference to `xmlTextReaderGetParserLineNumber' collect2: ld returned 1 exit status What I have doneDownload and build the latest version of pkg-config, glib, pixman, cairo, pango, atk, gtk+ from official sites. Download rrdtool source Set PKG_CONFIG_PATH correctly
There is actually another problem with the computer which is "The Nautilus application has quit unexpectedly" everytime I open File Browser application or right-click>Properties a file/directory. This happen only after installing cairo and pango and I don't know how to revert to old version. Since there are a lot of log files so I'm very confused. Can someone give me a direction on how to resolve this?
when i use rsync command to backup my image file , it shows the following error message.
bash: line 1: /usr/bin/rsync: Argument list too long rsync: connection unexpectedly closed (0 bytes received so far) [receiver] rsync error: remote command could not be run (code 126) at io.c(463) [receiver=2.6.8]
The command which i used is rsync -avrl -e ssh cms@server:/data/cms/data/images/* /mnt/Backup/Intranet_cms_backup/images
I transfer avi files on my usb drive to watch on my xbox. I have Ubuntu 9.10. When I watch the movie their are parts that skip or look messed up and sometimes freeze. When I transfer the avi files to my usb drive I do have a lot of other programs running so that could create problems when transferring the files. But it shouldn't right?
I just purchased an Ibiza Rhapsody the other day, and installed Gnomad2 to transfer my library of mp3's to it. Once the transfer finished, only about half the number of songs showed up on the Ibiza as there were songs I was transferring over. All of them are proper mp3 files. Also, none of the files that transferred over can be played by the Ibiza. Sometimes it pops up an error message that it can not play the audio, but mostly it sits on the song and does not play. It reads the title and artist out of the MP3, but I guess it doesn't get the real data, considering the lack of playing, coupled with the fact that it does not show a length/timeleft for the song when I go to play it. In adddition, other mp3 players I've used come up in the filesystem, mount, etc, and you can browse it, directly paste in mp3's, etc (Makes life much easier). With this, it does not show up on the desktop like the others do, and I do not see it in the filesystem whatsoever. Upon plugging in, Ubuntu does realize something is happening, but thinks it is a camera and tries to import pictures. It's weird, because apparantly Gnomad picked it up (considering it transferred some files).
I am unable to update apt-get and I am unable to install any software. The following message when I use the sudo apt-get update command: W: GPG error: [URL] maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2EBC26B60C5A2783 W: Failed to fetch [URL] Hash Sum mismatch E: Some index files failed to download, they have been ignored, or old ones used instead.
When I for example try to install the gcc I also get weird feedback: gcc is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I thought it was that they where already installed on the comp, however, the computer keeps telling me that gcc is not installed. I am not quite sure what to do. I am using the latest version of ubuntu (10.10).
I am using 11.3 on one machine and 11.2 on the other (a netbook). 11.4 won't install on either and 11.3 on the netbook fails to install as well.
I am using the same setup as I have always used when both systems ran 11.2 (details below) but now I can only mount a drive in one direction. In the other direction the mount command gets stuck with no error message until it eventually times out. I can ping and ssh the machines from each other without difficulty.
Even in the direction in which the mount apparently works (11.2 mounting a drive on the 11.3 machine) when I try to copy files across nothing actually happens.
exportfs -a was run successfully on the exporting machine, and nfsserver is running on both machines as does nfs client.
The exporting machine is 192.168.1.102 (eeelinux) and the other machine is 192.168.1.101 (nina).
Details: The /etc/exports file on the exporting machine (192.168.1.102) looks like this: eeelinux:/home/naima # more /etc/exports # See the exports(5) manpage for a description of the syntax of this file. # This file contains a list of all directories that are to be exported to # other computers via NFS (Network File System).
I was running an update on my computer (running Ubuntu 10.04 Lucid) and something must have been transferred incorrectly as every time I open synaptic, I get an error message that tells me to type a command into the terminal:
Code: sudo dpkg --configure -a After doing that, it displays this:
I'm trying to understand rsync filters .. but it isn't goig to well.I want to rsync only files with a specific extension (.gz.des3). Could someone please tell me how to add such filter to the rsync commandline (not a seperate filter filer).
I am able to invoke 'skype' using the following command in a Terminal window. < export XLIB_SKIP_ARGB_VISUALS=1 && LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so && skype & >. I want to be able to enter it through the Gnome Application interface. I right click on the skype icon and went to properties and added the above code. When I click the icon I get the following error message set out on the attachment? properly enter the commands within the application Command: line?
I just installed Squeeze on an older PC. Installation seemed to go fine. But when it booted up on the installed system for the first time, I could not login - username/password failure. I tried every possible typing error and CAP LOCK error I could have made - still nothing.
I brought up a console window and tried logging in as root - same problem.
I booted into single user mode and entered passwd command to set new root password - I got a SYSTEM ERROR message from the passwd command.
I booted to a Live CD, went to /etc/shadow and deleted the encrypted password. Rebooted on the hard drive, went to console window and logged in as root, with no password required. So far so good. I entered passwd command to set new password and got the same SYSTEM ERROR message.
The machine seems fine when running on the Live CD, and the install seemed to go fine.
I've installed openMPI-1.4.1 on my laptop and I'm trying to compile some fortran code I've written using MPI. I downloaded the openMPI-1.4.1 file from the openMPI website and used the shell script they provide to install it. This is the shell script:
shell$ cd openmpi-1.4.1 shell$ ./configure --prefix=/usr/local shell$ make all install
There was an additional line extracting the tar file, but I did this by hand. The first time I ran this script there was an error on the final stage saying that a directory couldn't be created because of lack of permission. I decided to run the script again this time as a sudo.
Having run the script again everything appeared to install properly, however when I went to compile some fairly simple code I got a message saying that the compiler couldn't find MPI. I was using this command: gfortran messages.f90 -o messages I looked on the openMPI website where it recommends compiling with a compiler called mpif. However when I type mpif messages.f90 -o messages I get an error message saying mpif isn't a recognized command......
Why would rsync insert a user's home directory path in variable expansion when run via cron, but not when run manually. The gory details... Red Hat Enterprise Linux AS release 4 (Nahant Update 6) Linux 2.6.9-67.0.20.ELsmp The script (parts anyway, and simplified)...
I received the following output from an rsync (3.0.0) command that was executed: sending incremental file list sent 77214 bytes received 484 bytes 155396.00 bytes/sec total size is 254531170 speedup is 3275.90 What does "sending incremental file list" mean?
I have two directories, dirA whicht contains N gb of data and dirB which is supposed to contain only the newest M gb of data from dirA. When files are added to dirA, they sould also be added to dirB, while the oldest files in dirB should be deleted.Is that possible with rsync? or any other software?
rsync -r -v -e ssh email@example.com:/usr/local/websites/* /usr/local/websites and each time I run it it copies everything - all files. I thought rsync was only supposed to copy files that had been added or modified.
I'm using the command below to sync two directories. Problem is insted of deleting the files on the target directory it simply appends a ~ character at the end of the file name. Not sure why this is happening?I'd like to have all deletes on the source replicated on target.