Apache ssl logs file size causing pblm
In our environment ssl logs(ssl request & ssl engine logs) has grown to more than 2 GB in size bringing HTTP server to DOWN state and we were not able to bring up the HTTP Server withour removing the ssl logs. Is there any mechanism to truncate this log size file growth when it reaches above the limit and what is the threshold limit of this log file
Regards,
Vinilkumar
Modify the SSL virtual host via the em website to use something like:
|/opt/oracle/product/10gas_r2/Apache/Apache/bin/rotatelogs /opt/oracle/product/10gas_r2/Apache/Apache/logs/ssl_request_log 86400
This will rotate every 24 hours.
Message was edited by:
blincks
Similar Messages
-
Archive log file size is varying in RAC 10g database.
---- Environment oracle 10g rac 9 node cluster database, with 3 log groups for each node with 500 mb size for each redo log file.
Question is why would be the archive log file size is varying, i know when ever there is log file switch the redo log will be archived, So as our redo log file size is of 500 MB
isn't the archive log file size should be the same as 500 MB?
Instead we are seeing the archive log file is varying from 20 MB to 500 MB this means the redo log file is not using the entire 500 MB space? What would be causing this to happen? how can we resolve this?
Some init parameter values.(just for information)
fast_start_mttr_target ----- 400
log_checkpoint_timeout ----- 0
log_checkpoint_interval ----- 0
fast_start_io_target ----- 0There was a similar discussion a few days back,
log file switch before it filled up
The guy later claimed it's because their log_buffer size. It's remain a mystery to me still. -
How to set up PopProxy* log file size ?
Dear All,
Does anybody know how to set up MMP PopProxy* log file size and rollovertime ?
./imsimta version
Sun Java(tm) System Messaging Server 7.0-3.01 64bit (built Dec 9 2008)
libimta.so 7.0-3.01 64bit (built 09:24:13, Dec 9 2008)
SteveSteveHibox wrote:
Does anybody know how to set up MMP PopProxy* log file size and rollovertime ?Details on these settings are available here:
http://wikis.sun.com/display/CommSuite6U1/Communications+Suite+6+Update+1+What%27s+New#CommunicationsSuite6Update1What%27sNew-MMPLogging
Regards,
Shane. -
how to get SQL server Total DB size , Total DB free space , Total Data & Log File Sizes and Total Data & Log File free Sizes from a list of server
Hi Shivanq,
To get a list of databases, their sizes and the space available in each on the local SQL instance.
dir SQLSERVER:\SQL\localhost\default\databases | Select Name, Size, SpaceAvailable | ft -auto
This article is also helpful for you to get DB and Log File size information:
Checking Database Space With PowerShell
I hope this helps. -
I got following erro message in Apache error log file
Why mod_plsql is not started while trying to use Oracle Apex
I got connection error as below into modplsql log file
<106296140 ms>[ReqStartTime: 11/Sep/2007:14:48:50]
<106296140 ms>Request ID ReqID:5160_1189536530
<106296140 ms>Connecting to database with connect string : "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=https)(PORT=//escis-000567.eschq.esc.state.)))(CONNECT_DATA=(SID=80)))"
<106296140 ms>ORA-12545 LogOn ORA-12545: Connect failed because target host or object does not exist
<106296140 ms>Stale Connection due to Oracle error 12545
<106296140 ms>Logoff: Closing connection due to stale connection
<106296140 ms>[ReqEndtime: 11/Sep/2007:14:48:50]
<106296140 ms>[ReqExecTime: 0 ms]
I got following from Oracle Apache error log file
[Tue Sep 11 15:31:46 2007] [notice] FastCGI: process manager initialized
[Tue Sep 11 15:32:03 2007] [error] [client 10.18.144.215] [ecid: 1189539123:10.18.144.215:2612:1148:1,0] mod_plsql: DAD '/pls/apex' is disabled because of misconfiguration. Please refer to the log entries during server startup up for more information.
[Tue Sep 11 15:32:15 2007] [error] [client 10.18.144.215] [ecid: 1189539135:10.18.144.215:2612:2232:1,0] mod_plsql: DAD '/pls/apex' is disabled because of misconfiguration. Please refer to the log entries during server startup up for more information.
[Tue Sep 11 15:32:21 2007] [error] [client 10.18.144.215] [ecid: 1189539141:10.18.144.215:2612:4896:1,0] File does not exist: c:/gridhomes/http/apache/apache/htdocs/apex
[Tue Sep 11 15:32:29 2007] [error] [client 10.18.144.215] [ecid: 1189539149:10.18.144.215:2612:4896:2,0] mod_plsql: DAD '/pls/apex' is disabled because of misconfiguration. Please refer to the log entries during server startup up for more information.
What could be problem
also in first error log I found
Connecting to database with connect string : "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=https)(PORT=//escis-000567.eschq.esc.state.)))(CONNECT_DATA=(SID=80)))"
why it picks up https as HOST name. I think that's problem. How to resolve it ?
Thanks
~KeyurPlease post the details of the application release, database version and OS.
I am getting several of these messages in the Apache error logfile.
File does not exist: $JAVA_TOP (this is actually my physical patch for $JAVA_TOP)Is this the complete error message?
Is it normal to see this messages or some configuration is wrong?If your application is functioning properly with no issues, then you can ignore those errors.
Thanks,
Hussein -
Hi DBA's
SQL Log file size occupies more disk space on the server, the overall database size is 8GB
How to decrease the SQL LDF file size on the server, please explain the suitable steps to perform
Thanks
DBAuse master
go
dump transaction <YourDBName>
with no_log
go
use <YourDBName>
go
DBCC SHRINKFILE (<YourDBNameLogFileName>,
100) -- where 100 is the size you may want to shrink it to in MB, change it to your needs
go
-- then you can call to check that all went fine
dbcc checkdb(<YourDBName>)
Andy ,
what point in asking user to use No_log and you did not even motioned about what this eveil command will do. Actually its
seriously not required reason being initial size of log file set to 8 G.
Plus what is point in running checkdb ?
I don't agree to any part you pointed
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP -
We have a DNS Server running on solaris 9, it's generating huge logs hence /var/adm/messages file size is vey big. Is there any way to create seperate log file for everyday or can I restrict the log file size for a single file.
Thank youHmmm,
For what type environment is this DNS server used for? How many domains/delegated domains are configured on the host?
I think by default BIND allows 1000 recursive lookup connections. (That is already plenty and if you have that amount of legitimate traffic you will have to add more DNS servers and configure the nodes accordingly)
Is the server listed as a Name Server for your domain and used externally for name resolution for your domain host entries, maybe the SOA?
nslookup (enter)
set type=ns (enter)
you_domain_mane (i.e. your_domain.com) (enter)Or
dig �q NS your_domain.com
If the affected server returns in the list it is NEVER EVER a good idea to allow recursive lookups.
My guess is that you are subject to denial of service, unless you host a fairly large environment with 1000s of hosts.
Change the recursive-cient connection back (you system cannot handle 5000 recursive lookups and your system utilization shows this.)
Then configure
�category queries { your_query_file; };� In your namd.conf
restart BIND
Use �rndc� to change the trace level to 1
Let it run for 2 -5 min and stop BIND entirely
Then run something like:
�cat your_query_file | cut -d'/' -f2 | sort | uniq �c | more� (depends on the log file format, better yet use nwak)
take a quick look to see if there is one IP that is hammering your system. -
SQL log file size is extending rapidly
Hello All,
We are using ECC 6.0, our database is SQL 2005 & operating system is Windows NT 4x AMD64 L.
Our database log file size is increasing rapidly, now its size is more than the all 4 data files (near about 300gb).
Last week I tried to shrink log file but it didn't worked.
Now less space is remained on disk, please help me.
Now the system is started giving dump at the time of log in, & the dump is like "START_CALL_SICK ".
I am attaching dump error text file.
Please help why is this happening.
Thanks in advance
MahendraHi,
I have backed up log file & shrink the file but it didn't worked for me
What is the result? It shrinks the log and release all the space (for all committed transactions).
How can i add another log file?
Can i delete old log file after adding new log file.
You can add another log file by following below steps. but in your case, this is not the right solution because you have good amount of log file configuration for your database (now its size is more than the all 4 data files (near about 300gb)).
Open SQL server management studio > Expand database > Right click on database > Select Files > Click on Add > Give the input parameters (Logical file name, path, initial size etc.) click on OK
If system is not allowing you to shrink the log file, it means you have active transactions in system which are continuously using your log file.
Regards,
Nick Loy -
I am using Oracle database 9.2.0.1.0, My OS is Linux AS4 Update version.
My database is in archive log mode, the archive file size generated on disk is 100 MB. I want to monitor the reason that why the size of redo generated is too big.
Kindly suggest.
RegardsArchived log file size will always be the same size as redo log or less than the redo log size (but never bigger than redo log size)
ARCHIVE_LAG_TARGET is the reason (apart from manual archiving ALTER SYSTEM ARCHIVE LOG CURRENT/ALL) why you see archived logs with lesser size than redo log
why archive log file size constanly change? -
Log file size in Sun Directory Server
Does anyone have an idea about the how the Sun Directory Server's log file size will increase in size with respective to the actions performed?
Can someone give a data regarding this? If someone has a better scenario and the supportive data w.r.t log file size it will be helpful.
Thanks,AFAIK No its based on time "At a certain time, or after a specified interval, the server rotates your access logs. "
More info in Archiving Log Files in [http://docs.sun.com/app/docs/doc/820-7985/gczxv?l=en&a=vie]
It should be easy to write such a script to be run as a daemon in logs directory. Here is the pseudo code :
while [1]
do
get size of the access/error log file
If size of file > max_size
<ws-install-dir>/https-<instance>/bin/rotate
sleep for sometime
done -
Log file size in Sun Access Manager
Does anyone have an idea about the how the Sun Access Manager's log file size will increase in size with respective to the actions performed?
Can someone give a data regarding this? If someone has a better scenario and the supportive data w.r.t log file size it will be helpful.
Thanks,I would like to take the log files backup daily (for future reference).
I need to know the following:
1) What log files need to be backup? Do I need to take all am*.* files (It will be around 3.5 GB in size)?
2) Ideally, I believe that only few MB of data goes into these am*.* files but, I cannot store every day 3.5 + GB of logs
3) I observed that these files (am*.* have every days activity added to them), So I would like to enable the Log rotation
Please let me know how can I proceed.
Thanks -
Retrive User & Cookie Information Using Apache Access Log Files
Hi All
The following information are not showing under Apache access log files that is used with Oracle Appserver (10g 10.1.2) given below.
1)User Informations
2)Cookie Informations
We are using below Commands in the httpd.conf File that have specified in the documents link given below
http://download-west.oracle.com/docs/cd/B31017_01/web.1013/q20201/logs.html#accesslog
LogFormat "%h %l %u %t \"%r\" %>s %b %v \"%{Referer}i\" \"%{User-Agent}i\" \"%{cookie}n\"" combined
Please anyone can tell what are the necessary informations that we have to specified in the httpd.conf file to retrive Cookie and user Informations.
Thanks to all
SonaThanks for your reply
Can u please check the below link for the cookie flag information
http://download-west.oracle.com/docs/cd/B31017_01/web.1013/q20201/mod/mod_usertrack.html
For your information i have logged in already.
Our Sample O/p is given below
151.146.191.186 - - [28/Dec/2006:10:13:05 +0530] "GET /Tab_files/lowerbox.gif HT
TP/1.1" 200 150 - "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows)"
We are using the below command format
LogFormat "%h %l %u %t \"%r\" %>s %b %{cookie}n \"%{Referer}i\" \"%{User-Agent}i\"" combined
But User and Cookie informations is not displaying.
what steps should i follow.
Looking for the favourable reply
Thanks -
Retrive Cookie Information in the Apache Access Log Files
Hi All,
Can anyone give me the solution or any link to follow the steps for retriving cookie information and user information in the Apache Access log files using httpd.conf file.
we are using Oracle Appserver 10.1.2 Version and we have specfied below commands in httpd.conf file.
LogFormat "%h %l %u %t \"%r\" %>s %b %v \"%{Referer}i\" \"%{User-Agent}i\" \"%{cookie}n\"" combined
But it failed to retrive cookie and user informations
Looking forward any one help.....
Thanks
Regards
SonaThanks for your reply
Can u please check the below link for the cookie flag information
http://download-west.oracle.com/docs/cd/B31017_01/web.1013/q20201/mod/mod_usertrack.html
For your information i have logged in already.
Our Sample O/p is given below
151.146.191.186 - - [28/Dec/2006:10:13:05 +0530] "GET /Tab_files/lowerbox.gif HT
TP/1.1" 200 150 - "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows)"
We are using the below command format
LogFormat "%h %l %u %t \"%r\" %>s %b %{cookie}n \"%{Referer}i\" \"%{User-Agent}i\"" combined
But User and Cookie informations is not displaying.
what steps should i follow.
Looking for the favourable reply
Thanks -
On-line redu log file size reduce
Dear Experts,
Recently i have done HADR set-up, my DR server is on remote location,
and my network line is not very fast , my query is , can we reduce on log file size, which is currently 63.9921874995806 MB(by default) . because if we will reduce the size it may help to ship the log fast,
Kindly suggest the best,
Thanks
SadiqHello,
if you are referring to the build-in DB2 HADR functionality, reducing the size of log files will not help.
HADR does not transfer complete log files but will replicate logging information of each single transaction constantly to the standby site.
Your network has to have enough bandwidth to support the average log generation rate. This is not related to the size of individual log files, but to how much logging information is generated per amount of time.
Kindly check the corresponding DB2 online documentation for HADR performance aspects
[High availability disaster recovery (HADR) performance|http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/index.jsp?topic=%2Fcom.ibm.db2.luw.admin.ha.doc%2Fdoc%2Fc0021056.html]
But, to answer your initial question: The size of log files can be changed by modifying the LOGFILSIZ database configuration parameter. Probably it will not help in your case.
Edited by: Hans-Juergen Zeltwanger on Feb 20, 2012 2:49 PM
Edited by: Hans-Juergen Zeltwanger on Feb 20, 2012 2:50 PM -
Log file size on ACS 5.3
Hi,
how do i set limit on the log file size in ACS 5.3. I had the same issue with Nexus 1000v but there is a command that enables you to set log file nane and size. it is getting bulky. any advice?
thanks
KerimHi,
Here is the explanation of this function:
http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_system/5.3/user/guide/admin_config.html#wpxref88023
Here is some information about the file system that this is deleted from:
http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_system/5.3/user/guide/logging.html#wp1052656
So if the file that you are looking at is active (probably is if you see logs from yesterday and today, it will not be deleted).
Hope this helps,
Tarik Admani
*Please rate helpful posts*
Maybe you are looking for
-
Issue with "unknown user type 6" on Coherence 3.5.2
Having an issue with a cluster which is running using an internally developed cluster starter tool. This tool, and the associated cluster, all use POF, and upon attempting to connect a non-storing member to the cluster from java, the following except
-
I can't get notifications or messaging to work.
Installed Mountain Lion 8/1. Both of the above do not function.
-
Segmentation fault with apache plug-in
The debug flag is on with apache.Getting the following message and core dump.wl 6.0, jdk 1.3, Solaris 2.6 105181-21, apache 1.3.12, gcc 2.8(FSF), make(3.7.6)os patch 10559-09 installed.[Fri Dec 29 14:57:11 2000] [notice] child pid 27661 exit signal S
-
I just loanched a site through godaddy after desigining it in Muse and testing it thourgh Business Catalyst. The background of the home page disappeared after I loaded it. All the other pages have the background. Any suggestions as to how to fix this
-
Unable to update payment details. Having "PMT_000008" error.
I got mail about they could not charge from my credit card today. I'll add/update credit card but I am unable to edit the payment info for hours. I've tried with different browsers, different devices (mac,windows,linux also..) but i have received sa