[BackupPC-users] Unable to read 4 bytes
Greetings, I've read, read, Googled, fiddled, and cannot figure this out. I tried to add a server to Backuppc and the only way it would show up on the list is by SSH into it from the Backuppc server. Now it's on the list but this server and the backup server are unable to backup with the subject error. I have run various keygen, ssh restart, etc. Anything standard about this message I've overlooked? - Ubuntu server Terry -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Unable to read 4 bytes
OS - 4 systems RHEL 7, Ubuntu 12 thru 14 Transfer Method - RSYNC SSH works on certain systems without PW and others require PW. My skill level with Backuppc, beginner Thank you for your help and mostly, patience. The Windows systems running on BUPC are still backing up without issue. Only the Linux systems fail with 'unable to read 4 bytes.' Terry From: Mauro Condarelli [mailto:mc5...@mclink.it] Sent: Tuesday, November 04, 2014 7:48 AM To: backuppc-users@lists.sourceforge.net Subject: Re: [BackupPC-users] Unable to read 4 bytes Uhm... What You tell us is a little too terse. What is the OS of the client machine? Linux? What transfer method are You trying to use? rsync? If You login on the BackupPC server as the backupppc user are You able to manually ssh into Your client WITHOUT manually entering a password? If You give us a bit more info we will try to help. Regards Mauro Il 04/11/2014 14:33, tschmid4 ha scritto: Greetings, I've read, read, Googled, fiddled, and cannot figure this out. I tried to add a server to Backuppc and the only way it would show up on the list is by SSH into it from the Backuppc server. Now it's on the list but this server and the backup server are unable to backup with the subject error. I have run various keygen, ssh restart, etc. Anything standard about this message I've overlooked? - Ubuntu server Terry -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Unable to read 4 bytes
After the last command, ssh-copy-id -i .ssh/id_dsa.pub r...@machine.tobe.backedup.com I receive - No identities found. Thank you for your help. Terry -Original Message- From: Sorin Srbu [mailto:sorin.s...@orgfarm.uu.se] Sent: Tuesday, November 04, 2014 8:56 AM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Unable to read 4 bytes > -Original Message- > From: tschmid4 [mailto:tschm...@utk.edu] > Sent: den 4 november 2014 14:33 > To: backuppc-users@lists.sourceforge.net > Subject: [BackupPC-users] Unable to read 4 bytes > > > > Greetings, > > I've read, read, Googled, fiddled, and cannot figure this out. > > I tried to add a server to Backuppc and the only way it would show up > on the list is by > > SSH into it from the Backuppc server. Now it's on the list but this > server and the backup > > server are unable to backup with the subject error. > > I have run various keygen, ssh restart, etc. > > Anything standard about this message I've overlooked? > > - Ubuntu server Did you ssh-copy the keys in question from the BPC-server to the host to be backed up? I usually get that message when BPC can't connect to the backupee. >From our internal FAQ: Q: How do I setup the RSA-key for passwordless rsync for BackupPC (BPC) clients? A: On mach012 or mach021, depending on if it's for instrument backup (m12) or user backup (m21): bash-3.2$ su -s /bin/bash - backuppc bash-3.2$ cd /bak bash-3.2$ ssh-copy-id -i .ssh/id_dsa.pub r...@machine.tobe.backedup.com More info on http://wiki.centos.org/HowTos#head-bab8e87dc82e722540e2d39de8408750004a8c4a http://www.unixmen.com/linux-tutorials/unix-tutorials/71-install-backuppc-server-in-centosrhelfedora -- //Sorin -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Unable to read 4 bytes
It's rsa, instead of DSA. Is that the possible issue? ~/.ssh# has 3 files: Id_rsa id_rsa.pub known_hosts So instead of ssh-copy-id -i .ssh/id_dsa.pub r...@machine.tobe.backedup.com<mailto:r...@machine.tobe.backedup.com> I would enter ssh-copy-id -i .ssh/id_rsa.pub r...@machine.tobe.backedup.com<mailto:r...@machine.tobe.backedup.com> ? Terry -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Thursday, November 06, 2014 1:21 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Unable to read 4 bytes On Thu, Nov 6, 2014 at 11:56 AM, tschmid4 mailto:tschm...@utk.edu>> wrote: > After the last command, > > ssh-copy-id -i .ssh/id_dsa.pub > r...@machine.tobe.backedup.com<mailto:r...@machine.tobe.backedup.com> > > I receive - No identities found. > You may have created a different type of keypair with your ssh-keygen for the backuppc users. What do you see in ~backuppc/.ssh? Normally you don't even need to specify the identity if you are using the defaults. -- Les Mikesell lesmikes...@gmail.com<mailto:lesmikes...@gmail.com> -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net<mailto:BackupPC-users@lists.sourceforge.net> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Unable to read 4 bytes
I did find this, In the known_hosts file, there is a section labeled: Too many arguments. Server-1 Server-2 Etc... That has the Linux servers unable to backup listed. Would it be proper to delete these entries from the known_hosts file? Terry -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Thursday, November 06, 2014 1:21 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Unable to read 4 bytes On Thu, Nov 6, 2014 at 11:56 AM, tschmid4 wrote: > After the last command, > > ssh-copy-id -i .ssh/id_dsa.pub r...@machine.tobe.backedup.com > > I receive - No identities found. > You may have created a different type of keypair with your ssh-keygen for the backuppc users. What do you see in ~backuppc/.ssh? Normally you don't even need to specify the identity if you are using the defaults. -- Les Mikesell lesmikes...@gmail.com -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Unable to read 4 bytes
Devils in the details. Now it returns 'ssh: Could not resolve host name .ssh/id_rsa.pub: Name or service not known I've altered the syntax as: Ssh-copy-id .ssh/id_rsa.pub root@server Have I missed the syntax somehow? Terry -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Thursday, November 06, 2014 1:37 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Unable to read 4 bytes On Thu, Nov 6, 2014 at 12:26 PM, tschmid4 wrote: > It's rsa, instead of DSA. Is that the possible issue? > > ~/.ssh# has 3 files: > Id_rsa > id_rsa.pub > known_hosts > > So instead of > ssh-copy-id -i .ssh/id_dsa.pub r...@machine.tobe.backedup.com > > I would enter > > ssh-copy-id -i .ssh/id_rsa.pub r...@machine.tobe.backedup.com ? > Yes, or you should just be able to omit the -i option entirely, as long as the environment is set up (by using the '-' option with su) so it can find your $HOME directory. -- Les Mikesell lesmikes...@gmail.com -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Unable to read 4 bytes
These entries are irrelevant for my issue though, correct? I don't need to remove them? Terry -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Thursday, November 06, 2014 1:58 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Unable to read 4 bytes On Thu, Nov 6, 2014 at 12:35 PM, tschmid4 wrote: > I did find this, > In the known_hosts file, there is a section labeled: > > Too many arguments. > Server-1 > Server-2 > Etc... > > That has the Linux servers unable to backup listed. > Would it be proper to delete these entries from the known_hosts file? If you remove a host entry from the known_hosts file you will be prompted for a confirmation the next time you connect to it. So you have to manually connect once and answer this prompt before backuppc will be able to connect. -- Les Mikesell lesmikes...@gmail.com -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Unable to read 4 bytes
Interesting. The command syntax worked, (Thanks Les) But it returned: Permanently added 'rsa.pub' (RSA) to the list of known hosts. Write failed: Broken pipe Terry -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Thursday, November 06, 2014 1:54 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Unable to read 4 bytes On Thu, Nov 6, 2014 at 12:45 PM, tschmid4 wrote: > Devils in the details. > Now it returns 'ssh: Could not resolve host name .ssh/id_rsa.pub: Name or > service not known > > I've altered the syntax as: > > Ssh-copy-id .ssh/id_rsa.pub root@server > > Have I missed the syntax somehow? > Yes the .ssh/id_rsa.pub is the argument to the -i (identity) option. If you omit one you have to omit both. -- Les Mikesell lesmikes...@gmail.com -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Unable to read 4 bytes
I'm SSH'ing into each server and in turn SSH'ing into each server that is having a backup issue to determine if they can connect. Some can, some can't. 'Strict checking' is currently enabled and I am getting a . If I simply disabled 'strict checking' and determined that all systems could Resolve new keys amongst themselves, then enable 'strict checking' again, would this be an acceptable troubleshooting step to determine Why Linux boxes can't backup? The concept is a pull configuration, correct? The BUPC server requests the data from each server, But the keys have been renewed and need to be generated again. What I don't know is the process for basically starting over with the SSH keys. Terry -Original Message- From: tschmid4 [mailto:tschm...@utk.edu] Sent: Thursday, November 06, 2014 2:11 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Unable to read 4 bytes Interesting. The command syntax worked, (Thanks Les) But it returned: Permanently added 'rsa.pub' (RSA) to the list of known hosts. Write failed: Broken pipe Terry -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Thursday, November 06, 2014 1:54 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Unable to read 4 bytes On Thu, Nov 6, 2014 at 12:45 PM, tschmid4 mailto:tschm...@utk.edu>> wrote: > Devils in the details. > Now it returns 'ssh: Could not resolve host name .ssh/id_rsa.pub: Name or > service not known > > I've altered the syntax as: > > Ssh-copy-id .ssh/id_rsa.pub root@server > > Have I missed the syntax somehow? > Yes the .ssh/id_rsa.pub is the argument to the -i (identity) option. If you omit one you have to omit both. -- Les Mikesell lesmikes...@gmail.com<mailto:lesmikes...@gmail.com> -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net<mailto:BackupPC-users@lists.sourceforge.net> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net<mailto:BackupPC-users@lists.sourceforge.net> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Unable to read 4 bytes
The broken pipe could have been my haste to sudo -s after SSH into the box. If I go into known_hosts and # out the specific line of the server with the issue, so I can have the data for reference, is that the same as deleting the line or do I really have to remove the entire line from the known_hosts file? Terry -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Friday, November 07, 2014 1:56 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Unable to read 4 bytes On Fri, Nov 7, 2014 at 12:30 PM, tschmid4 wrote: > > I'm SSH'ing into each server and in turn SSH'ing into each server that is > having a backup issue to determine if they can connect. > Some can, some can't. 'Strict checking' is currently enabled and I am > getting a . If I simply disabled 'strict checking' and determined that > all systems could Resolve new keys amongst themselves, then enable > 'strict checking' again, would this be an acceptable troubleshooting > step to determine Why Linux boxes can't backup? > > The concept is a pull configuration, correct? The BUPC server requests > the data from each server, But the keys have been renewed and need to be > generated again. > What I don't know is the process for basically starting over with the SSH > keys. Your screen shot has a pretty good description of what you need to do. When you install ssh on a host it generates a host key fingerprint and on your first connection to that target it stores a copy in ~/.ssh/known_hosts after you respond to the prompt about it. Subsequent connections verify that the value is the same and fail if not. If know the OS has been reinstalled or the host key replaced for some other reason, you must remove that line (conveniently noted after the : in the error message) from the known_hosts file, and then manually connect to that host so you can answer the prompt about accepting the new value. This is separate from, and in addition to what you have to do with the user level public key that goes in the target authorized_hosts file. I didn't understand the context of that: Write failed: Broken pipe message in your previous post though. That could mean that you have the wrong owner/permissions on one of the files in question. -- Les Mikesell lesmikes...@gmail.com -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Unable to read 4 bytes
Not concerned at all. I'd rather start from scratch at this point if it's possible. I've made a list of which servers can connect to others and for the most part, they can connect with a few stray disconnects. To start with a clean slate, would I SSH into the backup server and SSH to each Linux machine I wanted to connect to ? Is there a process for deleting a specific line from each host file so the server will add the correct key info for each connection? I still can't quite wrap my head around the process because some of what the messages tell you are to 'Add the correct host key' well, which machine ? Add correct host key in /root/.ssh/known_hosts to get rid of this message. Offending key in ~/.ssh/known_hosts:1 I know if I ever get it working it will be light a light bulb going off, but it's mighty dark right now with the servers not backing up I appreciate the replies for everyone. It really keeps me going. Terry -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Friday, November 07, 2014 2:32 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Unable to read 4 bytes On Fri, Nov 7, 2014 at 1:12 PM, tschmid4 mailto:tschm...@utk.edu>> wrote: > The broken pipe could have been my haste to sudo -s after SSH into the box. > > If I go into known_hosts and # out the specific line of the server > with the issue, so I can have the data for reference, is that the same as > deleting the line or do I really have to remove the entire line from the > known_hosts file? I don't know if sshd has a concept for comments in the known_hosts file. It would probably work anyway by making it not an exact match. But I'd probably just copy the old file to a different name if I wanted access to the old contents. You should never need them as long as you manually connect and accept the new key, unless you are concerned with the security implications that a different/fake server might be trying to intercept your connection and has hijacked the name/ip address that you used to connect. -- Les Mikesell lesmikes...@gmail.com<mailto:lesmikes...@gmail.com> -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net<mailto:BackupPC-users@lists.sourceforge.net> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Unable to read 4 bytes
Thank you guys so much. I think I can figure this out. I discussed with a veteran sys admin and he is coming to the same conclusions about the keys and the process being offered to me here. I have one Windows server remaining to add via Samba. At least I'm not getting the 'unable to read 4 bytes' error with this one. Terry -Original Message- From: Holger Parplies [mailto:wb...@parplies.de] Sent: Saturday, November 08, 2014 1:43 PM To: Les Mikesell Cc: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Unable to read 4 bytes Hi, Les Mikesell wrote on 2014-11-08 10:34:12 -0600 [Re: [BackupPC-users] Unable to read 4 bytes]: > On Sat, Nov 8, 2014 at 10:20 AM, Holger Parplies wrote: > > >> Mauro Condarelli wrote on 2014-11-07 22:45:53 +0100 [Re: [BackupPC-users] > >> Unable to read 4 bytes]: > >> [...] > >> backuppc@server:~$ scp .ssh/id_dsa > >> mcon@mailgate:/tmp/backu...@server.key > > And probably even more to the point is that most systems have an > 'ssh-copy-id' script that will do it for you and get it right. The > RedHat/Centos versions even fix the SElinux contexts for you. yes, but, as you can see, the transfer was done with a different remote user. Presumably, root cannot login with password authentication. Of course, root will need to be able to login with public key authentication for backups to work. Regards, Holger -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Unable to read 4 bytes
SUPER! My Linux boxes are backing up. All you guys are awesome. Now, at the risk of making a mistake and causing a problem with a perfectly good configuration, I have one small problem remaining that I THINK needs to have a wee bit of SAMBA configuration. I've added a new Windows (Virtual Box) server running on RHEL 7 platform. That is giving me a no ping (host not found) Message in the Backuppc Configuration Editor. Xfer: SMB I've compared it to an existing Windows box on the network and it's setup identical as far as I can tell. Also have looked at some configuration suggestions from the mail list. Other than adding a registry key, which I'm not willing, but able, to do, I can't find an overall consensus on A simple Windows/via SAMBA/ via BACKUPPC/ configuration. Also haven't found any specific SAMBA Details to try. FYI, All servers were previously setup and working by a prior admin, this single server is one I've added to the Schedule. Terry -Original Message- From: Holger Parplies [mailto:wb...@parplies.de] Sent: Saturday, November 08, 2014 1:43 PM To: Les Mikesell Cc: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Unable to read 4 bytes Hi, Les Mikesell wrote on 2014-11-08 10:34:12 -0600 [Re: [BackupPC-users] Unable to read 4 bytes]: > On Sat, Nov 8, 2014 at 10:20 AM, Holger Parplies wrote: > > >> Mauro Condarelli wrote on 2014-11-07 22:45:53 +0100 [Re: [BackupPC-users] > >> Unable to read 4 bytes]: > >> [...] > >> backuppc@server:~$ scp .ssh/id_dsa > >> mcon@mailgate:/tmp/backu...@server.key > > And probably even more to the point is that most systems have an > 'ssh-copy-id' script that will do it for you and get it right. The > RedHat/Centos versions even fix the SElinux contexts for you. yes, but, as you can see, the transfer was done with a different remote user. Presumably, root cannot login with password authentication. Of course, root will need to be able to login with public key authentication for backups to work. Regards, Holger -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Unable to read 4 bytes
I'll take a look in the morning. Correct: IP static. Windows Firewall tried off with no change. Added the host IP to the hosts.allow **Haven't found anything indicating I tweak the SAMBA server? tks Terry -Original Message- From: Holger Parplies [mailto:wb...@parplies.de] Sent: Monday, November 10, 2014 3:42 PM To: General list for user discussion, questions and support Cc: tschmid4 Subject: Re: [BackupPC-users] Unable to read 4 bytes Hi, Les Mikesell wrote on 2014-11-10 12:13:43 -0600 [Re: [BackupPC-users] Unable to read 4 bytes]: > On Mon, Nov 10, 2014 at 12:06 PM, tschmid4 wrote: > > > > I've added a new Windows (Virtual Box) server running on RHEL 7 platform. > > That is giving me a no ping (host not found) Message in the Backuppc > > Configuration Editor. > > Xfer: SMB > > I've compared it to an existing Windows box on the network and it's > > setup identical as far as I can tell. > > That might be as simple as having the Windows host firewall on. If > you want to leave it that way and you are able to map the share(s) you > are trying to back up from smbclient or other windows hosts, you can > set PingCmd to something like /bin/true to keep it from failing. actually, "host not found" is a failure to resolve the host name (by DNS and netbios). While setting PingCmd to /bin/true (or "&{sub {0}}" if you prefer saving a fork and don't mind cryptic code ;-) *will* resolve the issue (if not the host name), it also makes backups fail instead of not being attempted when the host is actually down. That might not be a problem - I believe BackupPC handles retries in the same way - but it will mess up things like your blackout schedule. The list of possible solutions is long, with the simplest being to add a line in /etc/hosts on the BackupPC server for the machine in question. If you have a DNS server on your network, you'd rather add it there, which may be slightly more complicated, but will give you network wide (consistent) resolution of the host name. Other than that, there's the Windoze way of getting the WINS server setup right (smb.conf on the BackupPC server) or, possibly, matching up the host name you use in BackupPC with what the host itself thinks it is called. Setting the domain/workgroup to match is also a good idea :). If your Windoze client is named "windozebox" (as far as BackupPC is concerned) and has the IP 1.2.3.4, your /etc/hosts line would be something like: 1.2.3.4 windozebox.yourdomain.com windozebox (both tabs and spaces should be accepted, use whatever other entries use). In any case, the /etc/hosts entry is the easiest way to try out what happens when name resolution is working (*). You might then run into the issue Les is referring to (ping denied by Windoze firewall). Hope that helps. Regards, Holger (*) 1.) Theoretically, it is possible to configure a Linux system in a way that /etc/hosts is *not* be used for name resolution, but it usually is not set up that way, and even if, I'm not sure all commands actually honour that configuration ;-). 2.) I'm assuming your Windoze box has a static IP. If it gets a random IP via DHCP, you can still *test* what would happen by creating an entry matching the *current* IP assignment (and deleting it again after testing!). For production use, you would then need to either have the Windoze host register its IP with the DNS server, use a combined DHCP/DNS server (like 'dnsmasq'), or use netbios for name resolution. That will likely involve using a WINS server, assuming your Windoze host is on a different network segment than the BackupPC server (I'm guessing that otherwise things would already work). -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Unable to read 4 bytes (No Ping)
Samba server is a different box than Backuppc. So, I can ping the backuppc server from the server I need backed up and visa versa. File and Print sharing is enabled on the Windows server needing to be backed up. What's confusing me is I can look at the configuration of an existing Windows server and don't see ANY of the details many of the articles I'm looking at are telling me. For instance: No backuppc user is created. Volume Shadow Copy service isn't running No LMHOSTS file in the Windows directory Yet, this server backs up on a daily basis. The BackupPC server is currently backing up 6 Linux boxes, and 6 Windows boxes. The Samba server is functioning as is. The trouble I'm having is determining what fraction of the steps I need to simply add 1 Windows Server to the existing configuration. All BackupPC configurations on the new server are identical to existing serrvers. Just get the no ping (no ping response) when starting a backup. Terry -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Monday, November 10, 2014 5:22 PM To: General list for user discussion, questions and support Cc: Holger Parplies Subject: Re: [BackupPC-users] Unable to read 4 bytes On Mon, Nov 10, 2014 at 3:58 PM, tschmid4 mailto:tschm...@utk.edu>> wrote: > I'll take a look in the morning. > Correct: IP static. > Windows Firewall tried off with no change. > Added the host IP to the hosts.allow > **Haven't found anything indicating I tweak the SAMBA server? You aren't actually using the samba _server_. You are using the windows file share service and the linux samba client, smbclient (or smbtar which is basically the same). There is really only one quirk that connects them and it is rare for it to cause a problem - and that is that smbclient does read the smb.conf config file that you might have configured with some custom values if you have a samba server running on the same machine as backuppc. -- Les Mikesell lesmikes...@gmail.com<mailto:lesmikes...@gmail.com> -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net<mailto:BackupPC-users@lists.sourceforge.net> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Unable to read 4 bytes (No Ping)
Backuppc looks by name? Terry -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Tuesday, November 11, 2014 10:27 AM To: General list for user discussion, questions and support Cc: Holger Parplies Subject: Re: [BackupPC-users] Unable to read 4 bytes (No Ping) On Tue, Nov 11, 2014 at 9:04 AM, tschmid4 wrote: > > So, I can ping the backuppc server from the server I need backed up > and visa versa. > [...] > Just get the no ping (no ping response) when starting a backup. > Take one step at a time here: What is different about the ping that succeeds manually from the backuppc server to the target and the one that fails when backuppc does it? -- Les Mikesell lesmikes...@gmail.com -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Unable to read 4 bytes (No Ping)
I can ping server host name and IP from client. I can ping client host name and IP from server. I don't see any server specific entries in any of the .conf files on the server. I don't understand what's different about this machine that it would need it's configuration added to a file with no other server info in it. Basically, if the Linux (backuppc) server has a .conf or .pl file with the list of servers being backed up, this server is in the file. The Windows box has the Computer Browser service started, Firewall is off, ... Terry -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Tuesday, November 11, 2014 11:03 AM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Unable to read 4 bytes (No Ping) On Tue, Nov 11, 2014 at 9:38 AM, tschmid4 wrote: > Backuppc looks by name? > You don't have to guess at this - it uses whatever you configured. Did you type the same thing on the command line to test it? If that is the difference, then you need to decide if you want a work-around by putting the IP in ClientNameAlias or /etc/hosts or to make your DNS work so the name also works from other systems. -- Les Mikesell lesmikes...@gmail.com -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Unable to read 4 bytes
Correct. The Virtual box has Network and Internet access. Terry -Original Message- From: G.W. Haywood [mailto:bac...@jubileegroup.co.uk] Sent: Tuesday, November 11, 2014 12:48 PM To: backuppc-users@lists.sourceforge.net Subject: Re: [BackupPC-users] Unable to read 4 bytes Hi there, On Tue, 11 Nov 2014, Les Mikesell wrote: > We are also assuming that your virtualbox network is bridged ... The VirtualBox default is NAT, the OP's Windows box may be on 10.0.0.0/8. -- 73, Ged. -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Unable to ping [Solved] /workaround/
I was able to get the server connected and backing up. In the 'ClientNameAlias' field, I entered the servers IP address. Although the other change I still need to make is to reapply Windows firewall and see if it's still good. Terry -Original Message- From: Holger Parplies [mailto:wb...@parplies.de] Sent: Tuesday, November 11, 2014 4:37 PM To: Les Mikesell Cc: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Unable to read 4 bytes Hi, Les Mikesell wrote on 2014-11-10 15:08:49 -0600 [Re: [BackupPC-users] Unable to read 4 bytes]: > On Mon, Nov 10, 2014 at 2:41 PM, Holger Parplies wrote: > > > > > actually, "host not found" is a failure to resolve the host name (by > > DNS and netbios). > > Which might - or might not - still have something to do with a > firewall blocking the netbios response. yes, sorry. I was thinking about DNS and missed the netbios case. I added that after checking the code to make sure the message actually means what it says and failed to realize the implication. Regards, Holger -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] PIPE error
Hi All, I've resolved all my backup issues but 1. A backup will start on this server and then end prematurely with the following: Xfer log: pool 644 0/0 444 yum/version-groups.conf same 644 0/02499 yum/yum-cron-hourly.conf same 644 0/02537 yum/yum-cron.conf Done: 2335 files, 29608525 bytes full backup started for directory /systems; updating partial #11 Running: /usr/bin/ssh -q -x -l root 0.0.0.0 /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group --devices --links --times --block-size=2048 --recursive --ignore-times . /systems/ Xfer PIDs are now 30295 Got remote protocol 30 Negotiated protocol version 28 Sent exclude: /backups Sent exclude: /mirroring Remote[1]: rsync: change_dir "/systems" failed: No such file or directory (2) Xfer PIDs are now 30295,30296 Read EOF: Tried again: got 0 bytes Can't write 4 bytes to socket Child is aborting Done: 0 files, 0 bytes Got fatal error during xfer (aborted by signal=PIPE) Backup aborted by user signal Not saving this as a partial backup since it has fewer files than the prior one (got 2335 and 0 files versus 2335) Terry Terry -Original Message- From: tschmid4 [mailto:tschm...@utk.edu] Sent: Wednesday, November 12, 2014 7:18 AM To: General list for user discussion, questions and support; Les Mikesell Subject: Re: [BackupPC-users] Unable to ping [Solved] /workaround/ I was able to get the server connected and backing up. In the 'ClientNameAlias' field, I entered the servers IP address. Although the other change I still need to make is to reapply Windows firewall and see if it's still good. Terry -Original Message- From: Holger Parplies [mailto:wb...@parplies.de] Sent: Tuesday, November 11, 2014 4:37 PM To: Les Mikesell Cc: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Unable to read 4 bytes Hi, Les Mikesell wrote on 2014-11-10 15:08:49 -0600 [Re: [BackupPC-users] Unable to read 4 bytes]: > On Mon, Nov 10, 2014 at 2:41 PM, Holger Parplies > mailto:wb...@parplies.de>> wrote: > > > > > actually, "host not found" is a failure to resolve the host name (by > > DNS and netbios). > > Which might - or might not - still have something to do with a > firewall blocking the netbios response. yes, sorry. I was thinking about DNS and missed the netbios case. I added that after checking the code to make sure the message actually means what it says and failed to realize the implication. Regards, Holger -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net<mailto:BackupPC-users@lists.sourceforge.net> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net<mailto:BackupPC-users@lists.sourceforge.net> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] PIPE error
Correct, It's a question, here's another: You are correct, the configuration was backing up a dir that was not there. However, after removing the entry, it returns the same error. What else would cause 'unable to read 4 bytes?' Terry -Original Message- From: Holger Parplies [mailto:wb...@parplies.de] Sent: Tuesday, November 18, 2014 1:27 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] PIPE error Hi, tschmid4 wrote on 2014-11-18 14:43:37 + [Re: [BackupPC-users] PIPE error]: > I've resolved all my backup issues but 1. > A backup will start on this server and then end prematurely with the > following: > Xfer log: is that a question? > [...] > full backup started for directory /systems; updating partial #11 [...] > Remote[1]: rsync: change_dir "/systems" failed: No such file or > directory (2) [...] You are trying to backup a directory which doesn't exist. Check your configuration ($Conf {RsyncShareName}). Regards, Holger -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net<mailto:BackupPC-users@lists.sourceforge.net> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] PIPE error
Well, It's gone back to Unable to read 4 bytes from the PIPE error. I'm fairly certain it's a SSH error but not familiar enough with SSH to resolve it. I've worn the GOoLgE keys off of my keyboard... Terry -Original Message- From: Holger Parplies [mailto:wb...@parplies.de] Sent: Thursday, November 20, 2014 3:28 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] PIPE error Hi, Les Mikesell wrote on 2014-11-20 12:26:39 -0600 [Re: [BackupPC-users] PIPE error]: > On Thu, Nov 20, 2014 at 12:08 PM, tschmid4 wrote: > > > > Correct, It's a question, here's another: > > You are correct, the configuration was backing up a dir that was not there. > > However, after removing the entry, it returns the same error. > > What else would cause 'unable to read 4 bytes?' An error in your configuration would. > Unable to read 4 bytes is not the same error as: > "Remote[1]: rsync: change_dir "/systems" failed: No such file or directory > (2)" In particular, "unable to read 4 bytes" is not the error we're talking about. "Unable to read 4 bytes" was *eventually* resolved despite your (the OPs) efforts. The "same error" is "Got fatal error during xfer (aborted by signal=PIPE)". So why are you interested in further causes of "unable to read 4 bytes"? Doing a survey? Hope that helps. Regards, Holger -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Random Daily Backups remain idle, can be started manually 4.11.16
Ubuntu 14.04.4 LTS Kernel 3.13.0-83-generic BackupPC 3.3.1 Linux and Windows systems Sporadic backups will run automatically. Others remain idle and will complete an incremental or full backup upon request. With this status, I don't think a server configuration is necessary. Available disk space on the NAS is over 1 TB. About 12 pages of Google don't pertain to my configuration enough to identify an issue. Thank you for looking. Hope you enjoy. Regards. -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Random Daily Backups remain idle, can be started manually 4.11.16
So sorry, Yes, posed as a question; What might be preventing all backups from running. Only 2 or 3 run every night, 10-12 remain idle. There is nothing in any error log that I can find relating to this. A separate instance of Apache for backup-pc can be stopped and started. -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Wednesday, April 13, 2016 12:02 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Random Daily Backups remain idle, can be started manually 4.11.16 On Mon, Apr 11, 2016 at 1:32 PM, tschmid4 wrote: > > Sporadic backups will run automatically. > Did you mean to ask a question?Does your log file show that scheduled backups are starting other times but failing? -- Les Mikesell lesmikes...@gmail.com -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Random Daily Backups remain idle, can be started manually 4.11.16
This appears to be the default configuration. Free disk space has been approximately 2TBfor the last year. Last night 2 servers I recently added ran, all others that have been running for Several years remained idle. I can start the correct backup type for all servers and 4 backups will start, all additional backups will start in order Maintaining 4 backups active until they all complete. Is there a specific log file that would have additional details? Main Configuration Editor Xfer Email CGI Hosts Backup Settings Schedule Server Full Backups FullPeriod<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_fullperiod_> FullKeepCnt<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_fullkeepcnt_> FullKeepCntMin<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_fullkeepcntmin_> FullAgeMax<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_fullagemax_> Incremental Backups IncrPeriod<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_incrperiod_> IncrKeepCnt<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_incrkeepcnt_> IncrKeepCntMin<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_incrkeepcntmin_> IncrAgeMax<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_incragemax_> IncrLevels<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_incrlevels_> IncrFill<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_incrfill_> Blackouts BackupsDisable<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_backupsdisable_> BlackoutBadPingLimit<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_blackoutbadpinglimit_> BlackoutGoodCnt<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_blackoutgoodcnt_> BlackoutPeriods<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_blackoutperiods_> hourBegin hourEnd weekDays Other PartialAgeMax<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_partialagemax_> RestoreInfoKeepCnt<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_restoreinfokeepcnt_> ArchiveInfoKeepCnt<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_archiveinfokeepcnt_> BackupZeroFilesIsFatal<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_backupzerofilesisfatal_> -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Wednesday, April 13, 2016 3:30 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Random Daily Backups remain idle, can be started manually 4.11.16 On Wed, Apr 13, 2016 at 12:40 PM, tschmid4 mailto:tschm...@utk.edu>> wrote: > So sorry, > Yes, posed as a question; > What might be preventing all backups from running. Only 2 or 3 run every > night, 10-12 remain idle. > There is nothing in any error log that I can find relating to this. > A separate instance of Apache for backup-pc can be stopped and started. If your system is configured to run at least an incremental every night and the backuppc service is running, the things that might keep a system from being backed up would be: Not enough disk space on the archive volume at the start time. Non-default (and incorrect) WakeupSchedule. $Conf{MaxBackups} jobs already running during the backup window (not in a blackout period). BackupDisable set to 1 or 2. I think any other reason would at least leave a log entry about starting and failing - like the ping command failing. -- Les Mikesell lesmikes...@gmail.com<mailto:lesmikes...@gmail.com> -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net<mailto:BackupPC-users@lists.sourceforge.net> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- Find and fix application performanc
Re: [BackupPC-users] Random Daily Backups remain idle, can be started manually 4.11.16
Just noticed the settings chopped off. The settings do appear default however. As suggested, a log file would probably yield some clue, but I'm not sure which log file to examine. From: tschmid4 [mailto:tschm...@utk.edu] Sent: Thursday, April 14, 2016 9:20 AM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Random Daily Backups remain idle, can be started manually 4.11.16 This appears to be the default configuration. Free disk space has been approximately 2TBfor the last year. Last night 2 servers I recently added ran, all others that have been running for Several years remained idle. I can start the correct backup type for all servers and 4 backups will start, all additional backups will start in order Maintaining 4 backups active until they all complete. Is there a specific log file that would have additional details? Main Configuration Editor Xfer Email CGI Hosts Backup Settings Schedule Server Full Backups FullPeriod<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_fullperiod_> FullKeepCnt<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_fullkeepcnt_> FullKeepCntMin<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_fullkeepcntmin_> FullAgeMax<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_fullagemax_> Incremental Backups IncrPeriod<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_incrperiod_> IncrKeepCnt<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_incrkeepcnt_> IncrKeepCntMin<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_incrkeepcntmin_> IncrAgeMax<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_incragemax_> IncrLevels<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_incrlevels_> IncrFill<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_incrfill_> Blackouts BackupsDisable<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_backupsdisable_> BlackoutBadPingLimit<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_blackoutbadpinglimit_> BlackoutGoodCnt<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_blackoutgoodcnt_> BlackoutPeriods<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_blackoutperiods_> hourBegin hourEnd weekDays Other PartialAgeMax<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_partialagemax_> RestoreInfoKeepCnt<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_restoreinfokeepcnt_> ArchiveInfoKeepCnt<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_archiveinfokeepcnt_> BackupZeroFilesIsFatal<https://backups-02.sworps.tennessee.edu/index.cgi?action=view&type=docs#_conf_backupzerofilesisfatal_> -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Wednesday, April 13, 2016 3:30 PM To: General list for user discussion, questions and support mailto:backuppc-users@lists.sourceforge.net>> Subject: Re: [BackupPC-users] Random Daily Backups remain idle, can be started manually 4.11.16 On Wed, Apr 13, 2016 at 12:40 PM, tschmid4 mailto:tschm...@utk.edu>> wrote: > So sorry, > Yes, posed as a question; > What might be preventing all backups from running. Only 2 or 3 run every > night, 10-12 remain idle. > There is nothing in any error log that I can find relating to this. > A separate instance of Apache for backup-pc can be stopped and started. If your system is configured to run at least an incremental every night and the backuppc service is running, the things that might keep a system from being backed up would be: Not enough disk space on the archive volume at the start time. Non-default (and incorrect) WakeupSchedule. $Conf{MaxBackups} jobs already running during the backup window (not in a blackout period). BackupDisable set to 1 or 2. I think any other reason would at least leave a log entry about starting and failing - like the ping command failing. -- Les Mikesell lesmikes...@gmail.com<mailto:lesmikes...@gmail.com> -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/3029821
Re: [BackupPC-users] Random Daily Backups remain idle, can be started manually 4.11.16
I looked in the Gui LOG file. (there are 15 servers scheduled to backup) 2016-04-13 23:00:00 Running 2 BackupPC_nightly jobs from 0..15 (out of 0..15) 2016-04-13 23:00:00 Running BackupPC_nightly -m 0 127 (pid=42153) 2016-04-13 23:00:00 Running BackupPC_nightly 128 255 (pid=42154) 2016-04-13 23:00:00 Next wakeup is 2016-04-14 23:00:00 (2 or 3 backups COMPLETE) Then, 2016-04-13 23:42:13 Finished adm (BackupPC_nightly 128 255) 2016-04-13 23:42:25 BackupPC_nightly now running BackupPC_sendEmail 2016-04-13 23:46:38 Finished admin (BackupPC_nightly -m 0 127) 2016-04-13 23:46:38 Pool nightly clean removed 0 files of size 0.00GB 2016-04-13 23:46:38 Pool is 0.00GB, 0 files (0 repeated, 0 max chain, 0 max links), 1 directories 2016-04-13 23:46:38 Cpool nightly clean removed 155 files of size 36.09GB 2016-04-13 23:46:38 Cpool is 2201.54GB, 1705438 files (2697 repeated, 184 max chain, 31999 max links), 4369 directories -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Thursday, April 14, 2016 11:55 AM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Random Daily Backups remain idle, can be started manually 4.11.16 On Thu, Apr 14, 2016 at 9:14 AM, tschmid4 wrote: > Just noticed the settings chopped off. The settings do appear default > however. > > As suggested, a log file would probably yield some clue, but I’m not > sure which log file to examine. There aren't that many log files for backuppc. The main one should show when backups start, and the xferlog for each backup run should show if they worked or not. If they aren't scheduled or are disabled, the log won't mention it at all, though. Are you sure that the archive is being stored in the partition that shows space available? If it is in some other partition that is 95% full you would see the symptoms you describe. -- Les Mikesell lesmikes...@gmail.com -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Random Daily Backups remain idle, can be started manually 4.11.16
The log file lines you sent only cover the BackupPC_nightly job. This is a housekeeping task that should run after the backups, so this information does not really help to find your problems. Please point your browser to your BackkupPC server, navigate to "Old LOGs" and select "LOG.0.z" (or LOG.1.Z" or whatever). Then post the _complete_ output in _text_ format on this mailing list. If you really want to find a solution, we need more information, though. Select one problematic host, browse to the "Host Summary" of your BackupPC server and copy the status line of your host into the email (No printscreens please). Then attach the /etc/bakuppc/config.pl and /etc/backuppc/.pl to the email. But first check these two files for user names and passwords and redact them if needed. If you want to be considerate about the amount of data you send out to all the participants of this mailing list, you put the files on a sharing service like pastebin and only post the links or at least run through '|grep -v ^#' prior to attaching. The output of "df -h" nay be helpful, too. Thank you for all of your help. -Copy the status line of your host: ? Selecting Host Summary from the WebGUI, I see a list of hosts. Providing User, #Full, Full Aga (days) Full Size(GB) etc... No exactly sure what you need here. Here is a link to the .PL files. http://pastebin.com/ZbQTMG7d DF -h (SDB1 backups is the backup volume) root@server-025:/# df -h FilesystemSize Used Avail Use% Mounted on udev 12G 12K 12G 1% /dev tmpfs 2.4G 2.1M 2.4G 1% /run /dev/mapper/server--025-root 281G 151G 116G 57% / none 4.0K 0 4.0K 0% /sys/fs/cgroup none 5.0M 0 5.0M 0% /run/lock none 12G 0 12G 0% /run/shm none 100M 0 100M 0% /run/user none 100M 572K 100M 1% /var/lib/postgresql/9.3/main/pg_stat_tmp /dev/sda1 228M 136M 81M 63% /boot /dev/sdb1 5.4T 3.6T 1.6T 69% /systems/backups ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/