HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swinstall fails on postinstall script
Operating System - HP-UX
1834935
Members
2352
Online
110071
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
10-16-2003 02:34 AM
10-16-2003 02:34 AM
swinstall fails on postinstall script
Hi,
I prepared a psf for creating a depot, which is done by,
swpackage -s psffile @ /path/depotname
This step is ok, but the following step failed at execution phase,
swinstall -s /path/depotname prodname
with the message in the /var/adm/sw/swagent.log file,
+++++message start
config.status: PAM_config.h is unchanged
Running '0 -I/opt/perl/lib/5.6.1 /opt/perl/lib/5.6.1/ExtUtils/xsubpp -v 2>&1' ex
its with status 16777215 at (eval 35) line 17.
Running '0 /opt/perl/lib/5.6.1/ExtUtils/xsubpp temp000 2>&1' exits with status 1
6777215 at (eval 35) line 43.
Unable to find a perl 5 (by these names: perl miniperl perl perl5 perl5.6.1, in
these dirs: /usr/bin /usr/local/bin /opt/perl/bin /opt/perl/bin)
Writing Makefile for Authen::PAM
sh: 0: not found.
*** Error exit code 127
+++++message cut here
If I run the postinstall script manually, it will succeed, so perl is there. I need to know why the '0' came up instead of some command, and what swinstall does differently in invoking the script than the manual way.
Jun
I prepared a psf for creating a depot, which is done by,
swpackage -s psffile @ /path/depotname
This step is ok, but the following step failed at execution phase,
swinstall -s /path/depotname prodname
with the message in the /var/adm/sw/swagent.log file,
+++++message start
config.status: PAM_config.h is unchanged
Running '0 -I/opt/perl/lib/5.6.1 /opt/perl/lib/5.6.1/ExtUtils/xsubpp -v 2>&1' ex
its with status 16777215 at (eval 35) line 17.
Running '0 /opt/perl/lib/5.6.1/ExtUtils/xsubpp temp000 2>&1' exits with status 1
6777215 at (eval 35) line 43.
Unable to find a perl 5 (by these names: perl miniperl perl perl5 perl5.6.1, in
these dirs: /usr/bin /usr/local/bin /opt/perl/bin /opt/perl/bin)
Writing Makefile for Authen::PAM
sh: 0: not found.
*** Error exit code 127
+++++message cut here
If I run the postinstall script manually, it will succeed, so perl is there. I need to know why the '0' came up instead of some command, and what swinstall does differently in invoking the script than the manual way.
Jun
Food lover
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 09:27 PM
11-24-2003 09:27 PM
Re: swinstall fails on postinstall script
The install-scripts (pre/post) run in a "limited" environment. The PATH variable is set before the scripts are run. You have to extend the PATH-variable in your postinstall to access perl and other tools.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP