- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- revertbastille script won't run
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
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
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
тАО03-06-2003 01:59 PM
тАО03-06-2003 01:59 PM
I ran the bastille script on my system, but it made some changes I'd rather live without.. I had assumed I could revert back by running the Revertbastille script located in /opt/sec_mgmt/bastille/bin/RevertBastille
when I try to run it I get the following errors:
interpreter "/usr/bin/perl" not found
if I edit the script to point to where perl is on my system, it still crashes..
any suggestions?
thanks so much!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2003 09:18 PM
тАО03-06-2003 09:18 PM
Re: revertbastille script won't run
It requires perl above versoin 5.6, which it appears you do not have installed.
https://payment.ecommerce.hp.com/cgi-bin/swdepot_parser.cgi/cgi/try.pl?productNumber=PERL&date=
download it,
install as follows:
swinstall -s /location_where_you_saved_it \*
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2003 04:21 AM
тАО03-07-2003 04:21 AM
Re: revertbastille script won't run
thanks.
John H
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2003 04:34 AM
тАО03-07-2003 04:34 AM
Re: revertbastille script won't run
I see another perl installed.. I'm going to remove that and see if it solves the problem..
I'll let you know thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2003 06:15 AM
тАО03-07-2003 06:15 AM
Re: revertbastille script won't run
thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2003 08:41 AM
тАО03-07-2003 08:41 AM
SolutionCommentary:
You don't need X. In fact, if worse comes to worse, you don't even need Bastille or Perl to revert (although it's safer and will do additional error checking if you do)
Bastille is for both Linux and HP-UX (same source code) but Perl is in different places. Thus, the '#!' line at the top of the perl script is useless. The 'bastille' script is a wrapper written in shell that finds the right version of Perl for the given OS, sets up the rest of your environment for you, and runs the appropriate Perl script.
Also, you might check out the /var/opt/sec_mgmt/bastille/revert/revert-actions shell script. It is a list of all the things that will be executed when you run 'bastille -r'. This may be a helpful resource to you in reverting only those changes which you regret, rather than everything.
Also, if there are some things we could have said in the question/explanation text that would have prevented you from getting into this situation in the first place, please do suggest!
-Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2003 08:46 AM
тАО03-07-2003 08:46 AM
Re: revertbastille script won't run
It wasn't that I was in a huge fix anyway.. just had a couple things I wanted to back out.. I think its an EXCELLENT product, btw Thanks for it!
John H.