Author Topic: Arsmaint not deleting old records  (Read 5199 times)

alddiver

  • Newbie
  • *
  • Posts: 3
    • View Profile
Arsmaint not deleting old records
« on: January 31, 2014, 08:12:22 AM »
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


Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1200
    • View Profile
Re: Arsmaint not deleting old records
« Reply #1 on: January 31, 2014, 03:00:35 PM »
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
#zOS #ODF

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2230
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Arsmaint not deleting old records
« Reply #2 on: February 03, 2014, 09:19:45 AM »
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.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

alddiver

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Arsmaint not deleting old records
« Reply #3 on: July 01, 2014, 07:32:35 AM »
Thanks Guys

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2230
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Arsmaint not deleting old records
« Reply #4 on: July 01, 2014, 08:33:49 AM »
Thanks Guys

Can you tell us what your solution was?  Thanks.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR