- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: error starting concurrent managers
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
тАО10-11-2001 08:19 AM
тАО10-11-2001 08:19 AM
batchmgr[160]: /var/tmp/sh9809.2 cannot find or open the file.
Line 160 of batchmgr is:
nohup $shell << \end_logging >> $log 2>&1 &
The managers do not come up. If I run startmgr again, there is no error and all is fine. I'm afraid I don't fully understand what is line 160 doing. I know that the last part of the line is sending output to $log, redirecting errors to /dev/null, but what is the first part of the line doing? Does anyone know why this is failing the first time? Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2001 08:47 AM
тАО10-11-2001 08:47 AM
Re: error starting concurrent managers
Shouldn't it be a forward slash, and not a backward slash?
nohup $shell << /end_logging >> $log 2>&1 &
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2001 03:57 PM
тАО10-12-2001 03:57 PM
Solutionit should NOT be slash at all, perhaps it could be a dash...
The reason is the a statement like this:
sh <
echo this
echo that
ENDMARK
redirects the lines between the "<
in this example). If it does have "-" after the "<<"
the white space at the begining of those lines is ignored.
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2001 04:12 PM
тАО10-12-2001 04:12 PM
Re: error starting concurrent managers
Now, shell is somewhere defined in the script as a command and it is being executed as no hup taking arguments till the mark "end_logging". Take out "\" and see if it
works.
You should be having something like this
nohup $shell << end_logging >> $log 2>&1
....
some commands
....
end_logging
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2001 02:49 PM
тАО10-13-2001 02:49 PM
Re: error starting concurrent managers
I am not quite certain on this, but if the "here document"
(that how the "<<" feature is called) uses a single-quote
quoted endmark, then not substitution happens on the
input lines, so that might be intended in your script...
If this is true, then change the endmark from
\mark
to
'mark'
and see wether it works now.
Just my ?0.02 (after a very long day),
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2001 01:19 AM
тАО10-15-2001 01:19 AM
Re: error starting concurrent managers
Have you checked your directory /var/tmp for the correct rights or owner ?
Does this directory exist or is it a link to something else ?
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2001 07:28 AM
тАО10-23-2001 07:28 AM