- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- annoying output from make_config
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
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
тАО11-14-2007 03:39 AM
тАО11-14-2007 03:39 AM
I'm trying to script something which includes a make_config along the way, and I have used "2>&1 >> $logfile" at the end of my commands to hide all that stuff away.
Problem is whenever th script hits the make_config it spews the following message on screen despite me redirecting standard and error output?
"NOTE: make_config can sometimes take a long time to complete. Please be patient!"
Does anyone know how I can get rid of this message. The man page doesn't seem to suggest any "supress msgs" option. :-(
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2007 03:49 AM
тАО11-14-2007 03:49 AM
Re: annoying output from make_config
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2007 11:51 PM
тАО11-14-2007 11:51 PM
Re: annoying output from make_config
...
blackhole=`/opt/ignite/bin/make_config -s $source -c $newconfig 2>&1 >> $logfile`
...
It probably is writing to another file descriptor but at least the above works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2007 04:21 AM
тАО11-15-2007 04:21 AM
SolutionThe problem is this:
"2>&1 >> $logfile"
restate it as
>> $logfile 2>&1
and you should be fixed.
By the way, backticks are considered archaic so that
XX=`command`
is better stated
XX=$(command)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2007 11:59 PM
тАО11-15-2007 11:59 PM
Re: annoying output from make_config
You are, of course, spot on Clay.
This was just a silly output redirection mistake, although I did learn a few things fixing it!
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2007 12:01 AM
тАО11-16-2007 12:01 AM
Re: annoying output from make_config
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2008 07:31 AM
тАО01-29-2008 07:31 AM