- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swlist giving error while listing depot on rem...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 09:24 PM
тАО01-27-2005 09:24 PM
I have mounted a CD with depot software on server A. Now from Server B i am trying to execute swlist command but it is giving me following error.
============================================
Checking package1 package ................................ not installed
* "serverA:/CDMount/depot": Cannot open the logfile on this
target or source. Possibly the media is read-only or there is
a permission problem. Check the daemon logfile and
"/var/tmp/swagent.log" on this host for more information.
==============================================
CD is mounted on /CDMount and i have registered /CDMount/depot directory which is done quite normally without any error.
If i do on serverA:
# swlist -s /CDMount/depot
It works but from serverB if i execute the same command i get the above mentioned error.
Can anybody tell me what exactly is happening and what could be the resolution for the same.
Thanks in advance.
Awaiting your replies.
Regards,
Girish.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 09:30 PM
тАО01-27-2005 09:30 PM
Re: swlist giving error while listing depot on remote Server
And /etc/exports is set up?
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 09:37 PM
тАО01-27-2005 09:37 PM
Re: swlist giving error while listing depot on remote Server
try using pfs_mount
#nohup /usr/sbin/pfs_mountd &
#nohup /usr/sbin/pfsd &
ps -aef |grep pfs should show four entrirs.
/usr/sbin/pfs_mountd
pfs_mountd.rpc
/usr/sbin/pfsd
pfsd.rpc
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 09:38 PM
тАО01-27-2005 09:38 PM
Re: swlist giving error while listing depot on remote Server
you may just want to add the
-x logfile=/tmp/logfile option to swlist, just in case there is a problem writing the log file.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 10:13 PM
тАО01-27-2005 10:13 PM
Re: swlist giving error while listing depot on remote Server
None of them works...
Harry ... i tried putting the mount point in /etc/export and did "exportfs -a" but while exporting itself it said exporting filesystem with read only option. swlist reported the same error again.
Bhavin i tried pfs_mount but it doesn't work.. i was able to mount the file system but error remains.
Peter i tried that -x option with logfile=/tmp/xxx but it say unknown option...
Please let me know where exactly it is going wrong.
Thanks for your replies.
Awaiting still for your suggestions.
Regards,
Girish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 10:31 PM
тАО01-27-2005 10:31 PM
Re: swlist giving error while listing depot on remote Server
can you actually cd to the drive and ls down the directories on the CD?
All I can find about this error message is when swinstall is used. Is it possible to mount the CD drive onto server B?
Is there anything in the suggested logfiles?
Does swlist just stop after showing the error?
Sorry to ask all these questions, but it may give us a few more clues.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 10:36 PM
тАО01-27-2005 10:36 PM
Re: swlist giving error while listing depot on remote Server
try the following things.first restart the swagentd daemon on servers
/sbin/init.d/swagentd stop
/sbin/init.d/swagentd start
and if the depot is a licenced software add the codewords on server B also.
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 10:55 PM
тАО01-27-2005 10:55 PM
Re: swlist giving error while listing depot on remote Server
1. can you actually cd to the drive and ls down the directories on the CD?
Yes on server A i am able to scroll down into directories and files.
2.Is it possible to mount the CD drive onto server B?
No .. It says permission denied but does that matter. I am directly reading the remote mount point!!
3. Is there anything in the suggested logfiles?
I don't know which log file it is talking about. I have checked swagentd.log on server A but no error are reported. Also there is no "/var/tmp/swagent.log" file on server B as swlist reports me to check.
4. Does swlist just stop after showing the error?
No .. it goes further listing the package desired but the error comes which i want to get rid off (this is required).
Awaiting further to your responses.
Bhavin i checked the swagentd daemon it is working fine and only one instance of the daemon is in picture.
Thanks
Girish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 11:08 PM
тАО01-27-2005 11:08 PM
Re: swlist giving error while listing depot on remote Server
daemon may be working on servers.but sometimes it will give the error at the time of installation even it is showing ok.
i gave the command to stop and start the daemon.sometimes if the related daemons restarts it will solve the problem.
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 11:19 PM
тАО01-27-2005 11:19 PM
Re: swlist giving error while listing depot on remote Server
Regards,
girish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 11:23 PM
тАО01-27-2005 11:23 PM
Re: swlist giving error while listing depot on remote Server
bdf -il /var
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 11:23 PM
тАО01-27-2005 11:23 PM
Re: swlist giving error while listing depot on remote Server
# mount -F nfs -o ro serverA:/cdrom /cdrom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 11:35 PM
тАО01-27-2005 11:35 PM
Re: swlist giving error while listing depot on remote Server
Does /var have incorrect permissions on one of the servers? I've checked a couple of mine and it's set to r-xr-xr-x.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 11:36 PM
тАО01-27-2005 11:36 PM
Re: swlist giving error while listing depot on remote Server
Thanks for your replies mark and robert.
Mark var is not full... it has 2GB free space.
Robert i am trying to list the depot software which is on the remote server. I don't want to mount the Server A cdrom on Server B.
I have CD in Server A CD drive and mounted on /CDMount directory of ServerA.
I am listing the depot software of serverA's depot /CDMount/depot from ServerB using swlist command.
The command works fine but the error is displayed which should not happen.
Regards,
Girish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 11:38 PM
тАО01-27-2005 11:38 PM
Re: swlist giving error while listing depot on remote Server
Regards,
Girish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2005 04:51 AM
тАО01-28-2005 04:51 AM
Re: swlist giving error while listing depot on remote Server
What is the output from:
# swlist -l depot -s serverA
Also, assuming that you see "/CDMount/depot" in the output of the above, what is the output of:
# swlist -l bundle -s serverA:/CDMount/depot
Thanks...
Steve Hamilton
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2005 05:37 AM
тАО01-28-2005 05:37 AM
Re: swlist giving error while listing depot on remote Server
Is there any error reported in /var/adm/sw/swagent.log ???
and also, check the permission of /var/adm/sw/swagent.log
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2005 08:25 AM
тАО01-28-2005 08:25 AM
Re: swlist giving error while listing depot on remote Server
swagentd, by default, has this option set:
source_depot_audit=true
This means that logging for a depot is attempted in the depot directory itself. Since your directory is read only, this is not possible. It 'should' be using '/var/tmp/swagent.log' quietly, but is throwing a (false alarm?) error.
Workarounds:
- try the swinstall awyway, should go
- copy the CD-ROM depot to disk, then swinstall from disk
- are the 2 machines on different HPUX releases? 10.20 vs 11.0? Try installing the latest swinstall patches, this may be fixed
- play with the 'source_depot_audit=false' option on the depot machine, turning this off should quiet the error. (see man 1m swagent for details)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2005 07:25 PM
тАО01-28-2005 07:25 PM
Re: swlist giving error while listing depot on remote Server
Thanks again for those replies.
Steve:
# swlist -l depot -s serverA
This command works fine for me without any errors and list all the available depots alongwith the one in the mounted CDROM which is /CDMount/depot.
# swlist -l bundle -s serverA:/CDMount/depot
This doesn't work since i don't have Bundle software in that depot but
# swlist -l product -s serverA:/CDMount/depot
This works and list the products in the depot but again the same error message repeats.
* "serverA:/CDMount/depot": Cannot open the logfile on this
target or source. Possibly the media is read-only or there is
a permission problem. Check the daemon logfile and
"/var/tmp/swagent.log" on this host for more information.
James: There is no error message in /var/adm/sw/swagent.log file (in both A & B )
I tried changing the permission of swagent.log file on both servers as 666 (restarted the daemon after this) but still the message remains.
Scot i think you may be close to the solution and i am also thinking in that way but not able to supress that error still. I edited /var/adm/sw/defaults to add source_depot_audit=false (restarted daemon) but error still remains.
And yes as you said the swinstall works fine and installs required product from A to B without any errors.
Also copying depot to the disk resolves the issue but i am not suppose to work that way.
Both the machines are running 11.23v2 (Sep2004 Bundle) so i think they are uptodate with patches (atleast for swagentd).
Still looking out for resoultion?? :(
And i have to atleast suppress the error if i not able to resolve it!!!
Wating still for more suggestions and thanks all for your help and concern.
Regards,
Girish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2005 05:28 PM
тАО01-30-2005 05:28 PM
Re: swlist giving error while listing depot on remote Server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2005 08:56 PM
тАО01-30-2005 08:56 PM
Re: swlist giving error while listing depot on remote Server
try with following
swlist -l product -d @ serverB:/CDMount
and what is the permission,ownership of /CDMount directory before mounting cdrom
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2005 09:02 PM
тАО01-30-2005 09:02 PM
Re: swlist giving error while listing depot on remote Server
and provide the permission and ownership of /var/tmp/swagent.log,/var/adm/sw/swagentd.log
and /var/tmp directory of both servers.
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2005 03:27 AM
тАО01-31-2005 03:27 AM
Re: swlist giving error while listing depot on remote Server
One more workaround to try. In your /var/adm/sw/defaults file, use
swagent.source_depot_audit = true
instead, then restart swgagentd with "swagentd -r" to reset.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2005 10:40 PM
тАО01-31-2005 10:40 PM
Re: swlist giving error while listing depot on remote Server
Scot tried updating /var/adm/sw/defaults file with swagent.source_depot_audit = true and then restart swgagentd with "swagentd -r" but problem still remains.
Can you tell me how can i proceed further to communicate with HP in case it's a genuine BUG!!
Bhavin i have already tried those things and conveyed here in my previous replies.
Regards,
Girish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2005 04:56 AM
тАО02-01-2005 04:56 AM
Re: swlist giving error while listing depot on remote Server
Bugs:
- If you have a support contract, it is easy.
- If not, call 800-474-6836