Re: Fatal: Lock Found

Miek Gieben <[email protected]>
Newsgroups gmane.comp.sysutils.backup.hdup.general
Message-ID <[email protected]>
ha! finally an email which isn't spam :)

[On 24 Aug, @18:55, Jon wrote in "[hdup-user] Fatal: Lock Found ..."]
> I got hdup latest version, and i got it working so it backups a specified dir
> on local on a remote computer but i played around a bit with the gentoo
> keychain utility to be able to backup without pass, but then when i was on my
> way for a test it gave me the following error: 

doing the backup as user 'root' is not a good idea. It's better to
create a new user that does the backups for you. This should only 
be able to put archives on the remote machine, nothing more.

> [root@localhost root]# cd /etc/hdup
> [root@localhost hdup]# hdup -c hdup.conf monthly webserver @[email protected]
> hdup: webserver: STARTING BACKUP.
> hdup: FATAL: webserver: LOCK found (created: Sun Aug 24 16:07:04 2003).
> 
> [root@localhost hdup]#
> 
> what does it mean and how do i solve it? I run red hat 9.0.

it means that on webserver a lock was found in the backup directory
hdup uses. The only way it can be created is by running hdup and
aborting the run (control-c). [ I should really catch that and remove
the lockfile from inside hdup...]. So you have probably done a
backup on this sunday at 16:07 and pressed control-c.

To solve, delete the LOCK file and try again,

grtz  Miek

--
In theory, there is no difference between theory and practice.
In practice, there is.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.