HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Apache error logs
Operating System - HP-UX
1834149
Members
4012
Online
110064
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-17-2007 11:43 AM
04-17-2007 11:43 AM
Apache error logs
Hi All,
I have three *sl share library on HP-UX 11i like:
aaa.sl
bbb.sl
ccc.sl
The result of 'what' command for *sl are like
----------------------------
aaa.sl
xxx for Web [222] (04/10/01_01:11:01)
bbb.sl
xxx for Web [222] (04/10/01_01:11:01)
ccc.sl
xxx for Web [222] (04/10/01_01:11:01)
------------------
The error_log (Apache) is like:
-------------------------------
[Tue Apr 17 19:46:27 2007] [notice] Apache/2.0.52 (Unix) test/[001] configured -- resuming normal operations
-------------------------------
The err_log of Apache shows '001' not '222'
The 001 is actually for old library.
If someone knows the reason, let us know.
The Apache try to get the 'what' command internally and get the result.
Is this correct?
Thanks,
I have three *sl share library on HP-UX 11i like:
aaa.sl
bbb.sl
ccc.sl
The result of 'what' command for *sl are like
----------------------------
aaa.sl
xxx for Web [222] (04/10/01_01:11:01)
bbb.sl
xxx for Web [222] (04/10/01_01:11:01)
ccc.sl
xxx for Web [222] (04/10/01_01:11:01)
------------------
The error_log (Apache) is like:
-------------------------------
[Tue Apr 17 19:46:27 2007] [notice] Apache/2.0.52 (Unix) test/[001] configured -- resuming normal operations
-------------------------------
The err_log of Apache shows '001' not '222'
The 001 is actually for old library.
If someone knows the reason, let us know.
The Apache try to get the 'what' command internally and get the result.
Is this correct?
Thanks,
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2007 07:15 PM
04-17-2007 07:15 PM
Re: Apache error logs
No, Apache is definitely *not* running the "what" command or doing anything similar internally. It has a completely different mechanism for building up the message shown in the error_log.
"what" simply searches inside the binaries for strings beginning with "@(#)". This is what the revision control system uses as a sign for auto-embedded revision information in the source files (and the resulting binaries).
"Apache/2.0.52 (Unix) test/[001]" comes from the ServerTokens system in the Apache server. The first parts are created by the core server, but a module can add some information to ServerTokens using the Apache module API.
This happens when the module uses the ap_add_version_component() function.
I think you should check the source code of your module: you'll probably find that instead of using some form of the version number auto-embedding, the string "test/[001]" is hardcoded to the module and nobody has remembered to update it since the first test version.
Search the source code for "ap_add_version_component" to find the location that needs updating.
MK
"what" simply searches inside the binaries for strings beginning with "@(#)". This is what the revision control system uses as a sign for auto-embedded revision information in the source files (and the resulting binaries).
"Apache/2.0.52 (Unix) test/[001]" comes from the ServerTokens system in the Apache server. The first parts are created by the core server, but a module can add some information to ServerTokens using the Apache module API.
This happens when the module uses the ap_add_version_component() function.
I think you should check the source code of your module: you'll probably find that instead of using some form of the version number auto-embedding, the string "test/[001]" is hardcoded to the module and nobody has remembered to update it since the first test version.
Search the source code for "ap_add_version_component" to find the location that needs updating.
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2007 06:55 PM
05-29-2007 06:55 PM
Re: Apache error logs
Hi,
Did you try restarting Apache after you have got the new version of the Libraries in place?
Please try doing that.. this may help!
Did you try restarting Apache after you have got the new version of the Libraries in place?
Please try doing that.. this may help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2007 12:58 AM
05-30-2007 12:58 AM
Re: Apache error logs
Double check that the LoadModule directives in httpd.conf are loading the libraries from the path that you think they're in. Maybe httpd.conf is pointing to older versions from some other directory.
You might also try (on eaqch library):
strings aaa.sl | grep '001'
That will tell you of the 001 string is actually still embedded in the new libraries.
You might also try (on eaqch library):
strings aaa.sl | grep '001'
That will tell you of the 001 string is actually still embedded in the new libraries.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP