On Thu, 11 Jan 2001, Takayuki Murai wrote:
> I was trying to do "amcheck" and "amdump", however, the error came up:
> Could you tell me what is going on???
> =============================================================
> [root@backup test1]# /usr/local/sbin/amcheck test1
> Amanda Tape Server Host Check
> -----------------------------
> ERROR: running as user "root" instead of "amanda"
As it says. You should run it all as 'amanda'
> WARNING: program /usr/local/libexec/planner: not setuid-root
> WARNING: program /usr/local/libexec/dumper: not setuid-root
> WARNING: program /usr/local/sbin/amcheck: not setuid-root
It tells you the problem there.
I'd say this is #1 to be fixed.
> Holding disk /dumps/amanda: 842236 KB disk space available, that's plenty
> ERROR: /dev/nst0: reading label: Input/output error
> (expecting tape test11 or a new tape)
No tape?
> NOTE: skipping tape-writable test
> NOTE: info dir /usr/adm/amanda/test1/curinfo: does not exist
> NOTE: it will be created on the next run
.. so it's not a problem.
> Server check took 4.575 seconds
>
> Amanda Backup Client Hosts Check
> --------------------------------
> ERROR: running as user "root" instead of "amanda"
Again.
> WARNING: localhost: selfcheck request timed out. Host down?
> Client check: 1 host checked in 29.999 seconds, 1 problem found
netstat -lu
Is amandad listening? Have you set up (x)inetd?
> (brought to you by Amanda 2.4.2)
> ====================================================================