Operating System - HP-UX
1834254 Members
4602 Online
110066 Solutions
New Discussion

( /.jpi_cache) Hidden directory under ROOT

 
RSalyRosas
Occasional Contributor

( /.jpi_cache) Hidden directory under ROOT

Hi,

I am working on the upgrade of NNM 7.05 to 7.5 on a RX2600 with HPUX 11.23.

I found a hidden directory under root. The name of the directory is: .jpi_cache , it is about 42Mb and has two directories:
/.jpi_cache/jar/1.0
/.jpi_cache/file/1.0

Does anybody know what it is used for? and if i can moved it or erased it? The root fs is on 88%
Regards,
Reynaldo Sal y Rosas
2 REPLIES 2
Pete Randall
Outstanding Contributor

Re: ( /.jpi_cache) Hidden directory under ROOT

Sounds like some remnant of a java process. I would try to examine the contents to see if any of the dates are current and maybe get some hint of what produced it, then I would rename it and see if anything stops working.


Pete

Pete
Bill Hassell
Honored Contributor

Re: ( /.jpi_cache) Hidden directory under ROOT

The name "jar" is a giveaway -- these are Java files. I would move them to /var/tmp under a JavaJunk directory and then see if they either come back in root's home (very nasty--needs fixing) or some process gets an error expecting them to be in root's $HOME. I am ASSUMING that root's $HOME directory is *NOT* /. Most senior sysadmins move root's HOME as one of the very first steps in 'fixing' dumb settings. If the .jpi_cache directory is really /.jpi_cache (ie, in the / directory) then something has been badly misconfigured in some of your Java code. Something named "cache" belongs in /var/tmp, never /.


Bill Hassell, sysadmin