1833379 Members
3489 Online
110052 Solutions
New Discussion

/var/spool/sw file?

 
SOLVED
Go to solution
Juan Manuel López
Valued Contributor

/var/spool/sw file?

Hy all.
I`ve got a sw file instead a directory on /var/spool/sw...Anybody can explain me why ?

Can I delete it ?

Than in advance.
Juanma.
I would like to be lie on a beautiful beach spending my life doing nothing, so someboby has to make this job.
11 REPLIES 11
Armin Feller
Honored Contributor

Re: /var/spool/sw file?

Before you delete the default source file, please change it in /var/adm/sw/defaults to somewhere other, e.g. to


#vi /var/adm/sw/defaults
...
source_directory=/cdrom
...

regards, Armin
Robert-Jan Goossens
Honored Contributor

Re: /var/spool/sw file?

Hi,

What kind of file ?
# file /var/spool/sw
# ls -la /var/spool/sw

Robert-Jan.
Juan Manuel López
Valued Contributor

Re: /var/spool/sw file?

-rw------- 1 root sys 57118720 Jun 13 2001 sw
It is a tar file.
I would like to be lie on a beautiful beach spending my life doing nothing, so someboby has to make this job.
Robert-Jan Goossens
Honored Contributor

Re: /var/spool/sw file?

Hi,

Take a look inside the tar file maybe it is the sw directory.

# tar tvf /var/spool/sw

Hope it helps,

Robert-Jan.
Armin Feller
Honored Contributor

Re: /var/spool/sw file?

Move the /var/spool/sw file to /tmp, create a Var/spool/sw directory and install e.g. a patch to new_create all necessary file in /var/spool/sw

In my mind that should work.
Juan Manuel López
Valued Contributor

Re: /var/spool/sw file?

The beginning is like this:
rw-r--r-- 0/3 91618 Jun 12 20:39 2001 catalog/INDEX
rw-r--r-- 0/3 494 Jun 12 20:39 2001 catalog/dfiles/INDEX
rw-r--r-- 0/3 136 Jun 12 20:39 2001 catalog/dfiles/INFO
r--r--r-- 0/3 1310 Jun 22 19:05 1999 catalog/PHKL_18543/pfiles/INDEX
r--r--r-- 0/3 796 Jun 22 19:05 1999 catalog/PHKL_18543/pfiles/INFO
r--r--r-- 0/3 317284 Jun 22 19:00 1999 catalog/PHKL_18543/pfiles/README
r-xr--r-- 0/3 6167 Jun 22 18:44 1999 catalog/PHKL_18543/pfiles/checkinstall
r-xr--r-- 0/3 4867 Jun 22 18:44 1999 catalog/PHKL_18543/pfiles/checkremove
r-xr--r-- 0/3 2948 Jun 22 18:39 1999 catalog/PHKL_18543/pfiles/configure
r-xr--r-- 0/3 9557 Jun 22 18:39 1999 catalog/PHKL_18543/pfiles/postinstall
r-xr--r-- 0/3 3328 Jun 22 18:39 1999 catalog/PHKL_18543/pfiles/postremove
r--r--r-- 0/3 1808 Jun 22 19:05 1999 catalog/PHKL_18543/C-INC/INDEX
r--r--r-- 0/3 5173 Jun 22 19:05 1999 catalog/PHKL_18543/C-INC/INFO
r--r--r-- 0/3 1937 Jun 22 19:05 1999 catalog/PHKL_18543/CORE-KRN/INDEX
r--r--r-- 0/3 5514 Jun 22 19:05 1999 catalog/PHKL_18543/CORE-KRN/INFO
r--r--r-- 0/3 4321 Jun 22 19:05 1999 catalog/PHKL_18543/CORE2-KRN/INDEX
r--r--r-- 0/3 35685 Jun 22 19:05 1999 catalog/PHKL_18543/CORE2-KRN/INFO
r--r--r-- 0/3 4398 Jun 22 19:05 1999 catalog/PHKL_18543/CORE2-KRN.2/INDEX
r--r--r-- 0/3 38069 Jun 22 19:05 1999 catalog/PHKL_18543/CORE2-KRN.2/INFO
r--r--r-- 0/3 1766 Jun 22 19:05 1999 catalog/PHKL_18543/KERN2-RUN/INDEX
r--r--r-- 0/3 1469 Jun 22 19:05 1999 catalog/PHKL_18543/KERN2-RUN/INFO
r--r--r-- 0/3 1805 Jun 22 19:05 1999 catalog/PHKL_18543/KERN2-RUN.2/INDEX
I would like to be lie on a beautiful beach spending my life doing nothing, so someboby has to make this job.
Armin Feller
Honored Contributor
Solution

Re: /var/spool/sw file?

# mv /var/spool/sw /tmp/sw
# mkdir /var/spool/sw
# swinstall -s ...
Juan Manuel López
Valued Contributor

Re: /var/spool/sw file?

Thanks for your help.
I just have a doub, Can I delete /tmp/sw file ? I hope so, because my /tmp is not very large.
Good weekend.
bye.
Juanma
I would like to be lie on a beautiful beach spending my life doing nothing, so someboby has to make this job.
Armin Feller
Honored Contributor

Re: /var/spool/sw file?

I would first install something, e.g. a patch to see if that works. If you can delete the sw tar-file in /tmp

Regards,
Armin
Pete Randall
Outstanding Contributor

Re: /var/spool/sw file?

Juanma,

I don't see any point in saving the /tmp/sw file - delete it.


Pete

Pete
Pete Randall
Outstanding Contributor

Re: /var/spool/sw file?

Juanma,

Or you might want to tar it off to tape first.


Pete

Pete