1832368 Members
2757 Online
110041 Solutions
New Discussion

install depot

 
O'lnes
Regular Advisor

install depot

swinstall ./lsof-4.61-sd-10.20.depot

======= 06/24/02 10:05:32 EAT BEGIN swinstall SESSION
(non-interactive)

* Session started for user "myhost".

* Beginning Selection
* Target connection succeeded for "myhost:/".
ERROR: There is currently no depot software on host "myhost" at
location "/var/spool/sw".
* Source connection failed for "myhost:/var/spool/sw".
WARNING: More information may be found in the daemon logfile on this
target (default location is hksis:/var/adm/sw/swagentd.log).
* Selection had errors.

======= 06/24/02 10:05:34 EAT END swinstall SESSION (non-interactive)
Andy
18 REPLIES 18
Stefan Farrelly
Honored Contributor

Re: install depot

Change your command to;

swinstall -s ./lsof-4.61-sd-10.20.depot \*

Then it will work.
Im from Palmerston North, New Zealand, but somehow ended up in London...
O'lnes
Regular Advisor

Re: install depot

hi Stefan Farrelly ,

The same result after run your command.

Andy.
Andy
Michael Tully
Honored Contributor

Re: install depot

Hi,

Try using the full path name of where you have the depot file. If this doesn't work, you can try and using the interactive part of 'swinstall'. The full path should work though.

# swinstall -s /tmp/lsof-4.61-sd-10.20.depot
Anyone for a Mutiny ?
O'lnes
Regular Advisor

Re: install depot

the depot has been install, but it is not work when run the command "lsof" and "man lsof" , what is the problem?

Andy.
Andy
Stefan Farrelly
Honored Contributor

Re: install depot

Youve got to add the path to the lsof bin directory to your /etc/PATH file and your /etc/MANPATH files.

eg. if lsof is installed into;
/opt/lsof/bin

Then add to /etc/PATH
:/opt/lsof/bin

and to /etc/MANPATH
:/opt/lsof/man

Then logout and in again, now its always in your path.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Michael Tully
Honored Contributor

Re: install depot

Try running the program with the full path. You will find that /opt/lsof is not in your default path.

If the program has not installed properly Check the output of the /var/adm/swinstall.log files, and the other logs swagent etc
Anyone for a Mutiny ?
O'lnes
Regular Advisor

Re: install depot

All setting is OK, sorry for my stupid question.
Andy
O'lnes
Regular Advisor

Re: install depot

There is still a problem, cos the /var is full, so when running lsof , it pop up the message "failed Disk Space Analysis " , but i can't remove any file from /var, do you hv any suggestion?
Andy
Stefan Farrelly
Honored Contributor

Re: install depot


Try removing some temporary files from /var/tmp - simply rm -rf /var/tmp/*

This should free up some space. If you need to free up some more space how big is the directory /var/adm/sw/save ? (du -sk /var/adm/sw/save)
Im from Palmerston North, New Zealand, but somehow ended up in London...
O'lnes
Regular Advisor

Re: install depot

about 250M in /var/adm/sw/save.
Andy
O'lnes
Regular Advisor

Re: install depot

Can all files in /var/tmp be remove?

Andy.
Andy
Stefan Farrelly
Honored Contributor

Re: install depot


You should be able to remove all in /var/tmp.

Youve got a lot of space in /var/adm/sw/save, you can free it up by commiting superceeded patches with this command;

swmodify -x patch_commit=true \*

(Ignore any errors when it runs)
Im from Palmerston North, New Zealand, but somehow ended up in London...
O'lnes
Regular Advisor

Re: install depot

after run your command "swmodify -x patch_commit=true \* " , these is a error.

the error is :

# # swmodify -x patch_commit=true \*
# ERROR: Cannot lock "/" because another command holds a conflicting
sh: ERROR:: not found.
#
# lock. The process id of that command is 22544.
sh: lock.: not found.
# ERROR: Cannot read the target "/".
sh: ERROR:: not found.

how to solve?
-----
Andy.
Andy
Stefan Farrelly
Honored Contributor

Re: install depot


Sounds like another process is doing an SD command, the pid number is listed. What process is it ? (ps -lfp )

You can try killing it then rerun the swmodify command.
Im from Palmerston North, New Zealand, but somehow ended up in London...
O'lnes
Regular Advisor

Re: install depot

I hv already install the depot, but it pop up :
"lsof: FATAL: lsof was built for a 32 bit kernel, but this is a 64 bit kernel. ",
what i download was for ver 11, but still not work ,where can i get the 64 bit version?

Andy.
Andy
Stefan Farrelly
Honored Contributor

Re: install depot


Attached is a gzip copy of a static lsof 64 bit. Just unzip, put in /opt/lsof/bin, rename to lsof (remove old lsof).
Im from Palmerston North, New Zealand, but somehow ended up in London...
Stefan Farrelly
Honored Contributor

Re: install depot


Andy - im not sure the attachment is downloadable - I get an error. Email me at;
stefan_farrelly@ipcmedia.com

And i will email you back lsof precompiled for 64bit.

Im from Palmerston North, New Zealand, but somehow ended up in London...
Stefan Farrelly
Honored Contributor

Re: install depot

Andy,

I cant mail back to you, your mailbox is full! Free up some space and let me know so I can retry sending you lsof.64bit
Im from Palmerston North, New Zealand, but somehow ended up in London...