- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Silly problem with simple script
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
04-16-2002 06:17 AM
04-16-2002 06:17 AM
Silly problem with simple script
./mail.check.recov[18]: 7012 Memory fault(coredump)
Now, the job still runs and I get my mail as does everyone else in the list, but what is with the message, since the systems is keeping mum (syslog, dmesg, etc.). I have 8Gb memory on the system. Thanks in advance for your replies,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2002 06:22 AM
04-16-2002 06:22 AM
Re: Silly problem with simple script
I assume that the mail.check.recov is your script name. Can you post the exact line (no-18) which gives you error ?
Is that refers to a modem ?
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2002 06:24 AM
04-16-2002 06:24 AM
Re: Silly problem with simple script
This refers to line no. 18 of the script , if you can post the script may be it will help.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2002 06:24 AM
04-16-2002 06:24 AM
Re: Silly problem with simple script
have you used the "strings" command to look at the core file for any clues?
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2002 06:25 AM
04-16-2002 06:25 AM
Re: Silly problem with simple script
What is mail.check.recov doing? What does your swapinfo return, and what are your kernel parameters set to?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2002 06:25 AM
04-16-2002 06:25 AM
Re: Silly problem with simple script
The [18] refers to line 18 in your script (but this can be misleading if you use shell functions).
If the above fail, then it's time to start introducing some logging in your script to indicate which bit is failing.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2002 06:26 AM
04-16-2002 06:26 AM
Re: Silly problem with simple script
/opt/ignite/bin/check_recovery >> /usr/local/bin/chk_rec_results 2>&1
Thanks for the quick reply
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2002 06:28 AM
04-16-2002 06:28 AM
Re: Silly problem with simple script
Cheers,
james
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2002 06:32 AM
04-16-2002 06:32 AM
Re: Silly problem with simple script
dmc29:/rootdir# file core
core: core file from 'check_recovery' - received SIGSEGV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2002 06:55 AM
04-16-2002 06:55 AM
Re: Silly problem with simple script
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2002 07:05 AM
04-16-2002 07:05 AM
Re: Silly problem with simple script
Some points:
1) Update your patch level to the latest.
2) Update the ignite software if you are using any old version.
3) Check the file existence - /var/opt/ignite/recovery/makrec.last
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2002 07:11 AM
04-16-2002 07:11 AM
Re: Silly problem with simple script
SIGSEGV errors are usually related to the maxssiz, maxdsiz or maxtsiz kernel parameters & don't forget the 64-bit entries if you're running 64-bit.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2002 08:37 AM
04-16-2002 08:37 AM
Re: Silly problem with simple script
I have Installed the latest patches I am willing to install; meaning I used CPM and chose only critical, HP recommended patches and then others which had warnings with an HP recommended replacement.
As for the version of ignite, here are three servers:
dmc29:/var/adm/sw# swlist -l product |grep -i ignite
Ignite-UX B.2.6.358 HP-UX System Installation Services
dmc31:/var/adm/syslog# swlist -l product |grep -i ignite
Ignite-UX B.2.6.358 HP-UX System Installation Services
dmc39:/rootdir# swlist -l product |grep -i ignite
Ignite-UX B.2.4.307 HP-UX System Installation Services
Note: The first server is the one I am having problems with and the second two have not had any problems. Is the versions displayed dangerous versions and are in need of updating? I know that ignite is free and doesn't require a reboot, but I would like to see what the exact problem is and why it chose to act up now, rather than just chuck it and take the Microsoft approach.
I will take a look at the kernel parameters as well, Jeff, but like I said, this has just happened and I haven't made any changes except patch upgrades.
Is there anything else you can think of?
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2002 08:53 AM
04-16-2002 08:53 AM
Re: Silly problem with simple script
PHNE_22244 (superseded by PHNE_25907) as it addresses:
"4. System panics due to instruction page fault.
5. 'netfmt' on 100BT traces causes SIGSEGV while running
HP_APA LAN_MONITOR"
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2002 09:01 AM
04-16-2002 09:01 AM
Re: Silly problem with simple script
What happens if you run this command manually ? Are you getting some error in the standard output ?
# check_recovery
Updating the version can be a good solution. One of my system with latest patches and ignite version - B.3.6.82
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2002 09:38 AM
04-16-2002 09:38 AM
Re: Silly problem with simple script
Jeff -- Have the patch installed, but again, have the same patch on various systems as part of my latest patch sweeps.
Gremlins???
Anyway, I will look into the ignite upgrade as well as patches, but I'm still irked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2002 10:19 AM
04-16-2002 10:19 AM
Re: Silly problem with simple script
Again, noticed another thing: Are you making the tapes with make_recovery OR make_tape_recovery ? I think the check_recovery will be useful only if you use the make_recovery ( with -C ). The files used by these two commands are littlebit different. The make_tape_recovery writes log files under /var/opt/ignite/recovery/$date_time.
If you are using make_recovery, then I would suggest you to install latest ignite and use make_tape_recovery.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2002 11:55 AM
04-16-2002 11:55 AM
Re: Silly problem with simple script
Get it from HP-UX site and download it.
This will definately solve your problem.
-pap