- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problems with execl system call
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
тАО09-08-2004 09:09 AM - last edited on тАО03-28-2013 08:25 PM by Cathy_xu
тАО09-08-2004 09:09 AM - last edited on тАО03-28-2013 08:25 PM by Cathy_xu
Problems with execl system call
Hi,
I am using execl() system call to launch another binary executable on a HP-UX OS platform. But the execl returns a error code -1 and the description of the error is "Bad Address"
The program was compiled using the aCC compiler version 03.10. Any idea what could be the problem. Should any patch be applied to the aCC inorder to get this working.
Thanks,
Srikanth
Moved from HP-UX Technical Documentation to HP-UX > languages
- Tags:
- execl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 11:30 AM
тАО09-08-2004 11:30 AM
Re: Problems with execl system call
Stab in the dark....
error code 1 is EPERM - Not super user. The programme you are calling isn't owned by root is it ? you not trying to do something you don't have permission to ?
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 06:11 PM
тАО09-08-2004 06:11 PM
Re: Problems with execl system call
he got the error code -1 not the error 1.
Bad Address is notified as "EFAULT"
execl man page for EFAULT says as,
[EFAULT] path, argv, or envp point to an illegal address. The reliable detection of this error is implementation dependent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 07:48 PM
тАО09-08-2004 07:48 PM
Re: Problems with execl system call
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 08:07 PM
тАО09-08-2004 08:07 PM
Re: Problems with execl system call
you can check differences in the patch versions of the different workstations with 'swlist -l product|grep aCC'
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2004 12:00 AM
тАО09-09-2004 12:00 AM
Re: Problems with execl system call
what `which aCC`
May be aCC problem / architecture change cause