- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swlist error
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
Forums
Discussions
Discussions
Discussions
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
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
02-01-2007 05:19 PM
02-01-2007 05:19 PM
Swlist gives me the below error any one can help me in it.
swlist
(SW_NOTE: SW_SESSION_BEGINS) on ipkhp020: Fri Feb 2 11:47:38 IST 2007
ERROR: /opt/corp/local/slap-1.1/work/swlist.reply.ipkhp020.7954 No such file or
directory
- call stack -
Sw_utility::fatal_error() called from /opt/corp/local/slap-1.1/lib/Sw_utility.pm
[2021]
Sw_utility::parse_output_file() called from /opt/corp/local/slap-1.1/lib/Sw_util
ity.pm[1673]
Sw_utility::check_software_on_targets() called from /opt/corp/local/slap-1.1/lib
/Swlist.pm[280]
Swlist::check_software() called from /opt/corp/local/slap-1.1/lib/Sw_utility.pm[
650]
Sw_utility::selection() called from /opt/corp/local/slap-1.1/lib/Sw_utility.pm[5
86]
Sw_utility::invoke() called from /opt/corp/local/bin/swlist[64]
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2007 09:06 PM
02-01-2007 09:06 PM
Solutionvery strange message, never seen that message on swlist.
What is that slap under /opt??
Have you /var filesystem normally mounted? Check by bdf.
Just a try: stop/start again the swagentd daemon:
/sbin/init.d/swagentd stop
/sbin/init.d/swagentd start
Does it solve the problem?
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2007 09:20 PM
02-01-2007 09:20 PM
Re: swlist error
can you check that you are running HPUX version:
what `which swlist`
should point into /usr/sbin/swlist.
If not try the command:
/usr/sbin/swlist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2007 09:22 PM
02-01-2007 09:22 PM
Re: swlist error
Could you check your "echo $PATH" env? Does it begin with /opt/corp/local?
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2007 03:38 PM
02-06-2007 03:38 PM
Re: swlist error
/usr/sbin/swlist works fine
normal swlist doesn't work.
Could you check your "echo $PATH" env? Does it begin with /opt/corp/local?
out put for this
"echo $PATH" env?
ksh: echo /usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/pd/bin:/
opt/upgrade/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/perf/bin:/opt/corp/local/
bin:/opt/corp/tools/bin:/usr/sbin:/opt/hpnp//bin:/opt/hparray/bin:/opt/CC/bin:/o
pt/langtools/bin: not found
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2007 03:55 PM
02-06-2007 03:55 PM
Re: swlist error
>normal swlist doesn't work.
That's your problem, you should be using absolute paths for SD tools or you need to hunt down and remove the bogus swlist. You can find it by "whence swlist". Or fix your PATH.
>output for this: "echo $PATH" env?
(The correct command is: echo $PATH)
Your bogus swlist is in one of those locations, probably /opt/corp/local/bin/, which is before /usr/sbin/.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2007 09:48 PM
02-06-2007 09:48 PM
Re: swlist error
as I suggest in my first post, you are running a 'wrong' version of swlist.
Either use the full path (/usr/sbin/swlist) and/or change the PATH for the root user to search /usr/sbin towards the beginning.
On most of our machines PATH for root is set to "/usr/bin:/usr/sbin" via
export PATH="/usr/bin:/usr/sbin"
To track your PATH assignment, check /etc/profile and ~/.profile for root user.
This should fix your problem. After you have tested my solution, could you please update this thread by awarding points to helpful answers and summarising the solution for you, before you close the thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2007 05:43 PM
03-26-2007 05:43 PM