Infofile update failed: Difference between revisions
Jump to navigation
Jump to search
(reformatted from previous troubleshooting page) |
(man links) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Troubleshooting | {{Troubleshooting Header}} | ||
=Problem= | |||
[[amdump]] gives the following error: | [[amdump]] gives the following error: | ||
infofile update failed | infofile update failed | ||
=Solution= | |||
Make sure all directories and files are readable and writable by the Amanda user, within the directory you specified as <tt>infofile</tt> in | Make sure all directories and files are readable and writable by the Amanda user, within the directory you specified as <tt>infofile</tt> in {{man|5|amanda.conf}}. Such files occasionally have the wrong ownership set when amanda commands are run as root. Be careful to only run amanda server commands ({{man|8|amadmin}}, {{man|8|amdump}}, {{man|8|amflush}}, {{man|8|amcleanup}}) as the Amanda user, not as root. | ||
In general it is a good idea to do something like | In general it is a good idea to do something like |
Latest revision as of 23:14, 30 June 2008
This article is a part of the Troubleshooting collection.
Problem
amdump gives the following error:
infofile update failed
Solution
Make sure all directories and files are readable and writable by the Amanda user, within the directory you specified as infofile in amanda.conf(5). Such files occasionally have the wrong ownership set when amanda commands are run as root. Be careful to only run amanda server commands (amadmin(8), amdump(8), amflush(8), amcleanup(8)) as the Amanda user, not as root.
In general it is a good idea to do something like
chown -R amanda:disk /usr/adm/amanda
at the the time you create the infofile and its related directory. (Adjust user/group and path to your installation.)
Credits
This text was originally contributed to the AMANDA-FAQ-O-Matic by [email protected].