Hi,
I have a script that runs the command below to delete old data but when we run it with a v switch as below it comes back with the return code of 6.
/usr/lpp/ars/bin/arsmaint -v
ERROR : arsmaint failed verifcation process, return code is 6
So we now have data piling up that we want to remove.
I don't want to take off the switch until i know that arsmaint will not delete everything.
Any ideas please
Regarsd Tommy
Tommy - I'm not following you.
The "-v" option is not a switch, or at least that's not how I'd describe it.
-v is for VALIDATE.
Validates cache storage. When you specify this option, the ARSMAINT program inspects all cache storage file systems to make sure that they are correctly linked with the proper file permissions.
And FYI, if you got a non-zero return code from VALIDATE somewhere you should have some messages of this ilk:
ARS0198E ARSMAINT INVALID OWNERSHIP AND/OR PERMISSIONS ON CACHE FILE
/DIRECTORY >/ARS1< SRVR->SVLSPIL2.SVL.FOO.COM 2.30.127.136<-
ARS0107E ARSMAINT UNKNOWN FILE OR DIRECTORY IN CACHE >/ARS1/LS.TXT<
SRVR->SVLSPIL2.SVL.FOO.COM 2.30.127.136<-
Ed
You may also be running arsmaint from a user id that doesn't have permissions to change the cache. You should be running this command from the same ID that arssockd runs under.
Thanks Guys
Quote from: alddiver on July 01, 2014, 02:32:35 PM
Thanks Guys
Can you tell us what your solution was? Thanks.