Debian Installation :: Sounds Like A Job For Rsync ?
Jan 19, 2010
I have two 32-bit boxes here at work on a windows network. Box A I set up a couple months ago with Squeeze. Box B has a fresh install of Squeeze and I want to transfer all my /home and info/setting from Box A to Box B. I have Box B set up with /home on it's own partition. Is this as easy as using rsync over the network? Or would scp be better?
lenny gives me either system sounds, or other sounds like flash plugin sounds like videos, cd playback etc., but not both. to hear videos i have to disable system sounds. as soon as i tick enable software sound mixing (esd) in system -> preferences -> sound -> sounds, videos goes. a message saying it could not open the resource as something else is using it comes up when trying to play a cd. sounds like a threading problem in some program. what should i do to get sounds to be equitably shared by all?
I've been using opensuse for about a week.(although I'm not completely a linux noob) I've been slowly moving more of the stuff I do on windows over to suse. I thought my sound was working fine until I decided to get mp3s running on amarok. I followed a bunch of guides which didn't work. While I was messing around with stuff I noticed a startup noise. I just assumed it didn't have a startup noise. At some point I broke all of my sound except running wine, so I reinstalled.
Now that I've noticed, none of my notification sounds work. Stuff like skype, firefox, and wine still give me sounds.
(If anyone could point me in the direction of a good place to get mp3s working on amarok would be nice as well.)
I have a HP laptop model HP G72 Notebook PC, Processor Intel(R) Core(TM) i3 CPU M 350 @2.27GHz & the Sound devices are Intel(R) Display Audio & Realtek High Definition Audio.
This machine came loaded with Windows7 & I have successfully dual booted it with Ubuntu Lucid 10.04.3.
The problem I am having is that I cannot get the sound to work at all in Ubuntu. No opening sounds or anything else that I have tried. No Web sounds, no CD sounds... All sounds work fine on the Windows side, but nothing I have tried so far seem to work with Ubuntu & I have tried many options from many threads.
when a notification sound is played, skype mutes all other sounds and it's very annoying. There is only one sound device 'PulseAudio server' in skype options so I can't choose another. I use Debian 8
I am on testing, using alsa and i have sound in players, login, flash, skype.....Exept window`s and buttons.
In sounds preferences, there are buttons to test the various system sounds. In this window the checkboxes for Enable sytem sound and Play System Sounds are selected. When I click the various buttons to test the sounds (default sound, drop etc. ) i hear sound themes. But when i close windows and use buttons there is no sound.
I recently gave XFCE a try, after using Openbox for a long time and I really like it, so that I think I will switch totally to XFCE. All is working fine, except one thing: I really would like to have event sounds.
So I launched the Appearance-Module and checked under the Settings-tab both Enable event sounds and Enable input feedback sounds. Following the tooltip for the event sounds I also installed libcanberra, but I get absolutely no event sound.
[Code]...
I thought, maybe there is a lack of a sound theme, so I also installed freedesktop-sound-theme, but that didn't help. I did already searched with Google and in this forum, but have found nothing that would help me. I would be very happy if anyone can give me an advice what to check or has a link to a tutorial for this sounds.
I get annoying buzz sounds when I reboot or hit backspace in terminal when there is no text. It is not coming from the speaker (it happens when the computer is muted). I posted part of this a while ago, but have not been using Debian much recently (had too much school stuff to have time to set it up). running lspci -k and below is my result
Is there a way of changing the loud thump that announces the gdm login screen in Squeeze to something else? At the moment I cannot see how this can be easily done, other than turn event sounds off, which I don't want to do. Have I missed something? There seems to be very little event sound customisation in Squeeze, compared to Lenny.Also is there a way of getting Squeeze to play a short exit sound on logout or reboot? I know how to turn off the annoying system beep, that is there at the moment.
I'm trying out Konqueror on Debian Lenny. I'm annoyed by the sounds it plays along with message boxes (for instance: sound of a breaking glass on message boxes showing an error). I can't neither find any setting for that nor I've been able to find some general setting.
I'm trying to figure out what in the world is going on with my sound in OpenSuSE. I put in a brand new Audigy chipset soundcard and finally got some sound to come out of the speakers. I used the guide here: SDB:AudioTroubleshooting - openSUSE. to fix the permissions on my sound and am able to get sound-test to play sounds as well as connect to the sound device in my vmware and play sounds. That being said, I have terrible sound quality coming out. There is a lot of static sound like white noise and the volume of the actual sound played is very low compared to the noise. The sounds also distort somewhat.
I have tried the pulse audio change in the tutorial above also and have been searching around google. The only problem that I saw similar was a person who fixed the problem by updating KDE. I don't have KDE, I'm using Afterstep.
I know Xubuntu is a "quiet" OS, but I don't even get a login sound and I have checked the box in Login Screen settings. I'm using 10.04 final. Are there no system sounds in this version? There doesn't seem to be a way to specify your own chosen sound by pointing to a directory.
videos videos that is showing on the non videos websites is causing breaking up into pieces. how i fix this? ubuntu 11.04 updates mess the flash player up? works fine on videos website if i click on the video link.
anyway why is the sounds coming in medium on the ubuntu 11.04? i turn it all the way up past the 100% on the output volume. but it reset after ubuntu reboot. some videos i can very hear on what they are saying. no problem using windows 7 on hearing them.
Thought I'd post it here because it's more server related than desktop... I have a script that does:
[Code]....
This is used to sync my local development snapshot with the live web server. There has to be a more compact way of doing this? Can I combine some of the rsyncs? Can I make the rsync set or keep the user and group affiliations? Can I exclude .* yet include .htaccess?
When I run rsync --recursive --times --perms --links --delete --exclude-from='Documents/exclude.txt' ./ /media/myusb/
where Documents/exclude.txt is
- /Downloads/ - /Desktop/books/
the files in those directories are still copied onto my USB.
And...
I used fetchmail to download all my gmail emails. When I run rsync -ar --exclude-from='/home/xtheunknown0/Documents/exclude.txt' ./ /media/myusb/ I get the first image at url.
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.
I've just installed Fedora 11 and have noticed some funkiness regarding "window and button sounds".
Here are my observations: (All found using "Sound Preferences")
If "Output Volume" (OV) is set to max, and "Alert Volume" (AV) is set to max, the "window and button sounds" (WABS) are very loud. This seems to be correct.
If I begin to move OV to a lower slider value, the WABS become quieter twice as fast as other sounds (such as ..... videos). However, all sounds seem to get quieter in some sort of inverse curve. (As opposed to the more normal linear fashion.) At about 50% level the WABS are non-existent and other sounds are way too quiet.
Now here's the funky thing. If I leave OV at full and begin to reduce AV, whenever a WABS is heard, the OV volume temporarily reduces to the AV level until the sound is finished.
And here's the uber funky thing: If I reduce OV by 25% and AV by 50% and an WABS occurs, the OV volume temporarily changes to a 75% reduced volume. This mathematical relationship remains true until the combined value is greater than 100% reduction, at which point the speaker icon temporarily shows a mute icon (small red "x") and no sound is heard. (This can be seen in "Sound Preferences" and the Gnome-Panel icon.)
Another thing I've noticed is the "Master" slider in "Advance Volume Control" hits rock bottom when the "Sound Preferences" slider is only at 50%. (The terminal based alsamixer has the same behaviour.)
On a positive note, enabling Japanese input was by far the easiest it has ever been on Linux, or even Windows. Awesome! Let's just hope this iBus thingy isn't too buggy... Nyuk, nyuk!
I'm not sure how to find out exactly what my sound chip might be, but it's some nVidia nForce2 doohickey.
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.
I have 2 different mounts. One points to a local windows share(NTFS ->Samba) and the other one points to a PPTP VPN connection sharing(I belive that is NTFS too). I use "cifs" scheme in my fstab to mount these. And I use my Debian box to copy between these 2 mounts. I have started using Rsync for that purpose, I think that it works fine for now. My main problem is that it looks like Rsync cannot figure out if the files are same or not in source and target folders when I use these mounts. Most of the time Rsync copies the same files and folders over and over again even though those files and folders are on the target.
I am wondering if there is a way to make this scheme work? Being on a Vpn connection(slow) a Windows box, Rsync could have save a lot of my time if it could have recognized the files and folders that are same on both ends
I switched last summer from Windows (used it since Windows 95) to Debian. I'm using Debian Jessie for a couple of months now and I'm getting used a little.
There are problems here and there, but I can solved them with some reading on the web. Not really a big problem...till now
I run Debian 8.2 om my PC (PC1). Bought an older PC (PC2) that I want to use as a backup server.
I'm using PC2 only for making backups, after the backup I switch it off again.
So I installed Debian 8.2 (net-install without DE and with SSH) on PC2 and tried to configure it to let it work as my backup location. Made a public SSH key and exported it to the root account (no problem) and to the user account (sensdeb), but there was an error "Access Denied"
Gave the user (sensdeb) sudo-rights via visudo file
# User privilege specification root ALL=(ALL:ALL) ALL sensdeb ALL=(ALL:ALL) ALL
I installed rsync.
The problem is that Rsync only works when I use the root account.
I don know how to give the user sensdeb the rights so that I can use that account for my backup tasks. Now it's possible to sync with the root account, but that should not be the way to do it, I read many times.
I'd like to backup my whole system to a 2nd disk using rsync (other tools not possible).Which paths should I exclude from the packup?I was thinking about /proc, /dev, the lost+found directories...What other paths am I forgetting?
I am running Debian squeeze on a Seagate Dockstar. It boots Debian from a USB flash drive, and has two 1 TB usb hard disks hooked to it. The machine is used for only rtorrent and nfs. The flash drive contains only the system software and rtorrent. All of the data that rtorrent moves around is on the usb hard disks, including downloaded data, watch folder, and session folder. About once a day I run rsync with the source being usb_1 and the target being usb_2: # time rsync --progress --stats -a --delete /media/usb_1/ /media/usb_2 Since this machine boots from a usb flash drive, I'm interested in keeping the number of writes to the flash drive to a minimum. The machine used to boot from an Adata flash drive, which has no LED. That drive wore out after about five months. Completely dead, as in gparted would fail with an I/O error on write when trying to write a new partition table to it. No big deal - I restored the software to a new flash drive using an image I had made in Clonezilla.
The new drive (a Sandisk Cruzer 4 GB) has an LED and I assume this is showing me when the drive is being accessed, read and write. When the system is at idle, the LED sort of "breathes" off and on slowly. When rtorrent is downloading or uploading, it flashes a few times and goes back to breathing.
I'm assuming that once everything has been loaded and the system has been running a while that when the LED flashes, that means that data is being written to the flash drive. (Is this a good assumption?) With just rtorrent running, there's not much flashing, maybe 10 - 20 times/minute. However when rsync is running, the LED just flashes on and off like crazy. The daily rsync run takes anywhere from three to 30 minutes, depending on how much new data was downloaded each day. But no matter how long it takes, the LED just flashes like crazy the whole time.
I'm assuming this means that all the new data from the source drive is being written temporarily to the flash drive or something like that, and this is wearing the flash drive out prematurely. Does this sound likely? If so, is there a way to get rsync not to do this and to do its thing in RAM only and not write to the boot flash drive?
I am backing up my debian server with rsnapshot which actually uses rsync to perform the backup. The backups are located in an external storage of size 1.4T .
[code]....
I tried to understand what this error message means and i founde that error code 12 : 12 Error in rsync protocol data stream I understand that when rsync find that a file on the target was changed , it will send only the block/blocks that contain the changes and in the destination rsync will create new file and not update the old one (new inod...) . I want to know if this error i get is due to full disk or perhaps it is some other factor
Basically I download to main PC and rsync to my pi as the pi has a fraction of the speed for some reason when downloading form a source outside of my network.
The first few files will sync fine. Then I start getting errors like this
Code: Select allrsync: rename "/data/temp/.File.ext.y1716M" -> "File.ext": No such file or directory (2)
The directory on the host has user and group ownership as pi. Rsync has been setup to login without a password.
After hours of struggles I'm still not able to configure a simple backup from a Debian Jessie server to a Planet branded NAS.
Configuration is as follows: NAS user name: user pass: user12 share name: user. Inside that directory, there is bkp directory where stuff should go. bkp was created using Dolphin. The NAS offers smb service and is accessible through Dolphin file manager and from Windows stations.
Server also has a user named "user" and a password "1"..
Fstab looks like this: //192.168.2.3/user /mnt/NAS cifs username=user,password=user12,iocharset=utf8 0 0
The command is: Code: Select allrsync -ahv /home/user/Desktop/ /mnt/NAS/bkp/
Errors are: Code: Select allrsync: chgrp "/mnt/NAS/bkp/." failed: Operation not permitted (1) and Code: Select allrsync: mkstemp "/mnt/NAS/bkp/.teszt.YEmVM3" failed: Operation not permitted (1) where teszt is a file created by me and YEmVM3 seems to be randomly generated character string.
I use openvpn to connect otherwise isolated machines, and use samba to share filesystems across the vpn, which works just fine.But I recently discovered that copying files using rsync -e ssh is so much faster than copying from a mounted filesystem - like about 5 times faster.I've got comp-lzo enabled in both server and the client, at least I think I have, the directive is there in both the server.conf and the client.conf files, but how do I check that it's active?Does anyone know if I can make openvpn behave more like rsync, because copying is easier than rsyncing?
I am trying to install RSYNC to my newly installed Debian (Booting from SD). I ran the command apt-get install rsync and I got the following error WARNING: This version of glibc requires that you be running kernel version 2.6.12 or later. Earlier kernels contained bugs that may render the system unusable if a modern version of glibc is installed. The installation of a 2.6 kernel _could_ ask you to install a new libc first, this is NOT a bug, and should *NOT* be reported. In that case, please add etch sources to your /etc/apt/sources.list and run: apt-get install -t etch linux-image-2.6 Then reboot into this new kernel, and proceed with your upgrade dpkg: error processing /var/cache/apt/archives/libc6_2.7-18lenny1_arm.deb(--unpack): subprocess pre-installation script returned error exit status 1 INIT: version 2.86 reloading Errors were encountered while processing: /var/cache/apt/archives/libc6_2.7-18lenny1_arm.deb E: Sub-process /usr/bin/dpkg returned an error code (1) When I ran uname and I found out the kernal version of my debian is 2.4.26. Then I ran apt-get install -t etch linux-image-2.6, and I get the error
Reading Package Lists... Done Building Dependency Tree... Done Package linux-image-2.6 is a virtual package provided by: linux-image-2.6.26-2-orion5x 2.6.26-21
I've been using grsync to backup my home directory to an external drive (connected via USB), but lately I've been getting errors very early in the process and I was hoping someone might be able to help me fix them (or at least understand what I'm doing wrong).
Here's the output of a window titled "rsync: stopped" and in red "completed with errors!" rsync: write failed on "/media/LaCie/myhomefolder/.cache/champlain/osm-mapnik/6/12/23.png": Input/output error (5) kyconway/.cache/champlain/osm-mapnik/6/12/26.png rsync error: error in file IO (code 11) at receiver.c(322) [receiver=3.0.8] rsync: connection unexpectedly closed (486 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(601) [sender=3.0.8] Rsync process exit status: 12