- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Running script - Getting Error 'exec(2): could...
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
07-22-2015 06:07 PM
07-22-2015 06:07 PM
Running script - Getting Error 'exec(2): could not load a.out'
Hi all,
My machine is RX2600 with external storage (MSA30) attach to it Almost 2 months ago the MSA30 was failed and has to replace the drive cage and find out a memory problem, so has to replace its memory. The machine is running well again, but when I try to run some script, I am geeting error 'exec(2): could not load a.out'.
My machine is for SAP development server version R/3 4.6C with Oracle database and HPUX, the script I try to run is saposcol, brbackup, brtools, brrestore, etc.
Could somebody help me to solve this problem.
Thanks,
Yudi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2015 10:16 PM - edited 07-22-2015 10:17 PM
07-22-2015 10:16 PM - edited 07-22-2015 10:17 PM
Re: Running script - Getting Error 'exec(2): could not load a.out'
Any more message details with that error?
Is it related to this:
Permission problems with the components in these paths /usr/lib/hpux32/ and /usr/lib/hpux64/?
Does anything work at all, for any user?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2015 11:22 PM
07-22-2015 11:22 PM
Re: Running script - Getting Error 'exec(2): could not load a.out'
Hi,
I only get that error message,
intaqa:oradev 21> saposcol
exec(2): could not load a.out
intaqa:oradev 22> brtools
exec(2): could not load a.out
intaqa:oradev 23> brbackup
exec(2): could not load a.out
intaqa:oradev 24> brrestore
exec(2): could not load a.out
intaqa:oradev 25> brconnect
exec(2): could not load a.out
intaqa:oradev 26>
I did not change any permissions.
Thanks,
Yudi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2015 12:16 AM
07-23-2015 12:16 AM
Re: Running script - Getting Error 'exec(2): could not load a.out'
>I only get that error message,
Hm, that's not helpful at all.
What do these say:
echo $SHELL
whence saposcol
file path-to-prog/saposcol
ll path-to-prog/saposcol
>I did not change any permissions.
Your system as been dead for two months, how do you know what happened?
What commands do work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2015 12:53 AM
07-23-2015 12:53 AM
Re: Running script - Getting Error 'exec(2): could not load a.out'
Hi,
This is what I got :
/usr/sap/DEV/SYS/exe/run>echo $SHELL
/sbin/sh
/usr/sap/DEV/SYS/exe/run>whence saposcol
/usr/sap/DEV/SYS/exe/run>file saposcol
saposcol: ELF-64 executable object file - IA64
/usr/sap/DEV/SYS/exe/run>ll saposcol
-rwsr-xr-x 1 root sys 1183112 May 14 2012 saposcol
/usr/sap/DEV/SYS/exe/run>
When my disks got error then I restarted the machine twice as asked by the engineer, and then replaced the memory by engineer, after that waiting for drive cage, after the engineer replaced the drive cage all the disks are working again.
The OS is on the internal disk and that saposcol is on that disks with drive cage problem..
Thanks,
Yudi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2015 05:15 AM - edited 07-23-2015 05:17 AM
07-23-2015 05:15 AM - edited 07-23-2015 05:17 AM
Re: Running script - Getting Error 'exec(2): could not load a.out'
Do you get error messages when you type these commands?
# dmesg # vgdisplay # mount -a
What errors do you see in the syslog file (/var/adm/syslog/syslog.log) and the rc startup log (/etc/rc.log)?
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2015 06:08 PM
07-23-2015 06:08 PM
Re: Running script - Getting Error 'exec(2): could not load a.out'
Hi,
I did not see any error on thosse command or log, do you want me to attach the files?
Thanks,
Yudi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2015 06:36 PM
07-23-2015 06:36 PM
Re: Running script - Getting Error 'exec(2): could not load a.out'
Yes, attaching the logs and the output from the 3 commands will be useful.
You said that you replaced the bad disks. Did you restore the data from backups or were the disks mirrored?
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2015 07:05 PM
07-23-2015 07:05 PM
Re: Running script - Getting Error 'exec(2): could not load a.out'
Hi,
Please find the attached files for command and logs.
No I did not replace the disk, I replaced the drive cage, its a box than can fill up to 14 disks.
Thanks,
Yudi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2015 08:55 PM
07-23-2015 08:55 PM
Re: Running script - Getting Error 'exec(2): could not load a.out'
Hi all,
Thank you all.
I just need to replace all the program from other server, and all are working fine now.
Thanks,
Yudi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2015 02:06 AM
07-24-2015 02:06 AM
Re: Running script - Getting Error 'exec(2): could not load a.out'
>I just need to replace all the programs from other server
Do you still have the bad ones? So you can compare good vs bad?