Infofile update failed: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
m (up link)
(reformatted from previous troubleshooting page)
Line 1: Line 1:
--- This text was originally contributed to the AMANDA-FAQ-O-Matic by [email protected]. ---
{{Troubleshooting Category|Error Messages}}{{Troubleshooting Category|Amdump}}
{{Troubleshooting Problem}}
[[amdump]] gives the following error:
infofile update failed


Make sure all directories and files are readable and writable by the Amanda user, within the directory you specified as `infofile' in `amanda.conf'. From then on, only run amanda server commands (amadmin, amdump, amflush, amcleanup) as the Amanda user, not as root.
{{Troubleshooting 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 [[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 ([[amadmin]], [[amdump]], [[amflush]], [[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
   chown -R amanda:disk /usr/adm/amanda
   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.)
at the the time you create the infofile and its related directory. (Adjust user/group and path to your installation.)


----
=Credits=
See more [[amdump issues]].
This text was originally contributed to the AMANDA-FAQ-O-Matic by [email protected].

Revision as of 04:28, 7 April 2007

Template:Troubleshooting CategoryTemplate:Troubleshooting Category Template:Troubleshooting Problem amdump gives the following error:

infofile update failed

Template:Troubleshooting 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. Such files occasionally have the wrong ownership set when amanda commands are run as root. Be careful to only run amanda server commands (amadmin, amdump, amflush, amcleanup) 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].