- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Apache v2.0 log flush or new commands
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
тАО08-01-2005 10:01 AM
тАО08-01-2005 10:01 AM
Can anyone clue me in? Or is this now a totally manual process (shutdown the service, rename the file, restart the service)?
Stuck with a 48MB log I want to recycle,
Aaron
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2005 08:34 PM
тАО08-01-2005 08:34 PM
Re: Apache v2.0 log flush or new commands
@sys$startup:apache$startup GRACEFUL [configfile] (configgile defaults to httpd.conf) will
"Sends a restart signal to the server, but existing client connections are not interrupted. Idle child processes are immediately deleted and replaced. Busy child processes are replaced when the connection is terminated ".
That might do it...
To my way of thinking, that should also flush the log files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2005 12:04 AM
тАО08-02-2005 12:04 AM
Re: Apache v2.0 log flush or new commands
Sorry, that only restarts the server and flushes the log; it won't create a new one. What would be nice from a consitency standpoint would be if there were an option on that command to create a new logfile, too.
Aaron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2005 06:59 PM
тАО08-02-2005 06:59 PM
Solutionissue a
$@sys$manager:apache$symbols
and
$ httpd -k flush (flushed to logfiles(s) )
$ httpd -k new (creates new logfile(s) )
regards,
Rob Boor,
EMEA OpenVMS Competency Center
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2005 09:09 PM
тАО08-02-2005 09:09 PM
Re: Apache v2.0 log flush or new commands
(leuk weer eens wat van je te horen!)
Any idea when that comes out?
ANd will the documentation be such that we can know before installing what to expect?
2.0 had soooo many unpleasant surprises! (btw, that is why we reverted to 1.3)
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2005 09:18 PM
тАО08-02-2005 09:18 PM
Re: Apache v2.0 log flush or new commands
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2005 12:03 AM
тАО08-03-2005 12:03 AM
Re: Apache v2.0 log flush or new commands
Thanks a bunch,
Aaron
P.S. Nice to read about the upcoming release of 2.1. Thanks for that tidbit, too!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2005 02:09 AM
тАО08-03-2005 02:09 AM
Re: Apache v2.0 log flush or new commands
httpd -k new
does nothing other than chew up a few cycles. My log file is still in the same spot, same version, same 50+ MB...
Might I be overlooking something?
Aaron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2005 06:42 PM
тАО08-03-2005 06:42 PM
Re: Apache v2.0 log flush or new commands
On our systems it's working withour problems:
$dir apache$root:[logs]*err*.;/siz
Directory APACHE$SPECIFIC:[LOGS]
error_log.;1 0
$httpd -k new
$dir apache$root:[logs]*err*.;*/siz
Directory APACHE$SPECIFIC:[LOGS]
error_log.;2 0
error_log.;1 1
And the same for the access logfile.
If this doesn't work for you, it's time to log a support call with your local HP office
Rob.