Originally posted by: esv
going at the ODM is a little bit tricky but once you get used to the ODM command set, you should be just fine, working directly with the ODM is a bit tricky and it is advisable to have a full system backup in case of disaster.
first do:
create a backup of the ODM files: tar -cvf /tmp/odm.tar /etc/objrepos
retrieve the ODM stanza for syslogd: odmget -q "subsysname = syslogd" SRCsubsys > /tmp/file
edit /tmp/file to add a "-r" in the cmdargs line, your line should read like this:
cmdargs = "-r"
save the file.
next, delete the syslogd stanza from the ODM: odmdelete -q "subsysname = syslogd" -o SRCsubsys
now, add the saved stanza for syslogd in /tmp/file: odmadd /tmp/file
start syslogd from the command line: startsrc -s syslogd
if you need to restore the ODM files, restore the files from the tar file created above, the ODM is a single database composed of several files & it is best to restore them all at the time of backup.
P.S. use at your own risk....
best regards & good luck,
esv.
#AIX-Forum