- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- apache problem
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
тАО04-20-2007 05:02 AM
тАО04-20-2007 05:02 AM
Does anyone know why we are getting this error?
cmhed003 # chatr +s enable /opt/hpws/apache/bin/apachectl
chatr(error): chatr cannot recognize file type of file /opt/hpws/apache/bin/apachectl
HPUX 11.23
Thanks
Solved! Go to Solution.
- Tags:
- Apache
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2007 05:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2007 06:17 AM
тАО04-20-2007 06:17 AM
Re: apache problem
Did you mean to operate on '/opt/hpws/apache/bin/httpd' instead?
$ file /opt/hpws/apache/bin/apachectl
/opt/hpws/apache/bin/apachectl: commands text
$ file /opt/hpws/apache/bin/httpd
/opt/hpws/apache/bin/httpd: PA-RISC1.1 shared executable dynamically linked -not stripped
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2007 05:43 PM
тАО04-22-2007 05:43 PM
Re: apache problem
chatr +s enable (executable)
It should be an exe and apachectl is a script which calls the exe /opt/hpws/apache/bin/httpd
See the envvars-std (default environment variables for apachectl) for SHLIB_PATH issues.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2007 03:11 AM
тАО04-23-2007 03:11 AM
Re: apache problem
Thanks for the response.
We made sure that SHLIB_PATH variable is set for the sahred libraries.
executed the following command:
chatr +s enable /opt/hpws/apache/bin/httpd
We get this error
chatr(error): cannot open file for writing: httpd
we are executing this coomand as non-root user.
The dir/files has full permission to the "user" and the "group"
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2007 04:34 AM
тАО04-23-2007 04:34 AM
Re: apache problem
Assuming you are correct in the fact the user other then root has the privilages to do so.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2007 05:11 PM
тАО04-23-2007 05:11 PM
Re: apache problem
>we are executing this coomand as non-root user.
If you are not root, either the executable is busy as Dave says, or you need to be the owner and do:
$ chmod u+w httpd
$ chatr +s enable httpd
$ chatr u-w httpd