- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: CSWS 2.1, logfiles with virtualhost
Operating System - OpenVMS
1756441
Members
3866
Online
108847
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
Discussions
Discussions
Forums
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
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
тАО11-27-2005 08:25 PM
тАО11-27-2005 08:25 PM
CSWS 2.1, logfiles with virtualhost
After migration from csws 1.3 to 2.1, the server does not accept different logfile locations in virtualhost directives.
This is my CSWS 1.3 config:
---------------------------
NameVirtualHost 10.0.1.89
#
#------------------------------------------------------------------------------
# first
#------------------------------------------------------------------------------
#
ServerAdmin me@testserver
DocumentRoot /disk$web/first
ServerName first.testserver
ErrorLog /disk$web/first/statistics/error.log
CustomLog /disk$web/first/statistics/access.log combined
#
#------------------------------------------------------------------------------
# Second
#------------------------------------------------------------------------------
#
ServerAdmin me@testserver
DocumentRoot /disk$web/rossbachit
ServerName second.testserver
ErrorLog /disk$web/second/statistics/error.log
CustomLog /disk$web/second/statistics/access.log combined
#
#------------------------------------------------------------------------------
# Second
#------------------------------------------------------------------------------
#
ServerAdmin me@testserver
DocumentRoot /disk$web/rossbachit
ServerName third.testserver
ErrorLog /disk$web/third/statistics/error.log
CustomLog /disk$web/third/statistics/access.log combined
----------------
With this setup, csws 2.1 stops without an error message or an entry in any of the logfiles, CSWS works fine if I use one common logfile for all the virtual hosts.
I am not very happy woth this.
Is ist a bug, a new feature or did I miss some now setup parameters with csws 2.1?
Regards
Dieter
This is my CSWS 1.3 config:
---------------------------
NameVirtualHost 10.0.1.89
#
#------------------------------------------------------------------------------
# first
#------------------------------------------------------------------------------
#
ServerAdmin me@testserver
DocumentRoot /disk$web/first
ServerName first.testserver
ErrorLog /disk$web/first/statistics/error.log
CustomLog /disk$web/first/statistics/access.log combined
#
#------------------------------------------------------------------------------
# Second
#------------------------------------------------------------------------------
#
ServerAdmin me@testserver
DocumentRoot /disk$web/rossbachit
ServerName second.testserver
ErrorLog /disk$web/second/statistics/error.log
CustomLog /disk$web/second/statistics/access.log combined
#
#------------------------------------------------------------------------------
# Second
#------------------------------------------------------------------------------
#
ServerAdmin me@testserver
DocumentRoot /disk$web/rossbachit
ServerName third.testserver
ErrorLog /disk$web/third/statistics/error.log
CustomLog /disk$web/third/statistics/access.log combined
----------------
With this setup, csws 2.1 stops without an error message or an entry in any of the logfiles, CSWS works fine if I use one common logfile for all the virtual hosts.
I am not very happy woth this.
Is ist a bug, a new feature or did I miss some now setup parameters with csws 2.1?
Regards
Dieter
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2005 08:14 AM
тАО11-28-2005 08:14 AM
Re: CSWS 2.1, logfiles with virtualhost
Dieter,
This should work. Can you check that APACHE$WWW (or whatever username you run the server under) has READ/WRITE access to the target directory, and READ access to all ancestor directories up to the top of DISK$WEB.
Try enabling file access failure alarms
$ SET AUDIT/ALARM/ENABLE=FILE=FAIL=ALL
and restarting your servers while watching a security operator terminal
$ REPLY/ENABLE=SECURITY
This should reveal any file access issues.
(please check this even if you're using .conf files "that have been working for years", it's entirely possible that previous versions were incorrectly allowing access to places they shouldn't, and that bug has been fixed).
This should work. Can you check that APACHE$WWW (or whatever username you run the server under) has READ/WRITE access to the target directory, and READ access to all ancestor directories up to the top of DISK$WEB.
Try enabling file access failure alarms
$ SET AUDIT/ALARM/ENABLE=FILE=FAIL=ALL
and restarting your servers while watching a security operator terminal
$ REPLY/ENABLE=SECURITY
This should reveal any file access issues.
(please check this even if you're using .conf files "that have been working for years", it's entirely possible that previous versions were incorrectly allowing access to places they shouldn't, and that bug has been fixed).
A crucible of informative mistakes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2005 07:54 AM
тАО12-02-2005 07:54 AM
Re: CSWS 2.1, logfiles with virtualhost
>This should work. Can you check that >APACHE$WWW (or whatever username you run the server under) has READ/WRITE access to the target directory, and READ access to all ancestor directories up to the top of DISK$WEB.
-------
I gave the ownership of all the files an Dirs to APACHE$WWW, with no success.
-------
Try enabling file access failure alarms
$ SET AUDIT/ALARM/ENABLE=FILE=FAIL=ALL
and restarting your servers while watching a security operator terminal
$ REPLY/ENABLE=SECURITY
This should reveal any file access issues.
-------
No messages ...
-------
(please check this even if you're using .conf files "that have been working for years", it's entirely possible that previous versions were incorrectly allowing access to places they shouldn't, and that bug has been fixed).
--------
I used the new CSWS 2 templates to create a new config file.
---------
The situation is kind of stange. As soon as I change one of the log files the apache$sws process dies without a message.
If I change all the definitions to that new file, everything works fine.
-------
I gave the ownership of all the files an Dirs to APACHE$WWW, with no success.
-------
Try enabling file access failure alarms
$ SET AUDIT/ALARM/ENABLE=FILE=FAIL=ALL
and restarting your servers while watching a security operator terminal
$ REPLY/ENABLE=SECURITY
This should reveal any file access issues.
-------
No messages ...
-------
(please check this even if you're using .conf files "that have been working for years", it's entirely possible that previous versions were incorrectly allowing access to places they shouldn't, and that bug has been fixed).
--------
I used the new CSWS 2 templates to create a new config file.
---------
The situation is kind of stange. As soon as I change one of the log files the apache$sws process dies without a message.
If I change all the definitions to that new file, everything works fine.
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP