Production outage due to apache logs
On our production server we are observing that the apache tomcat is creating logs and it fills the disk space every 3 days. Once the disk is full it creates outage in production. Already we observed 2 outages because of this last week.We have to manually delete the logs files and restart tomcat services to make it work again. Is there anyway we can limit creating logs or automatically delete the logs created.
Shri Nath wrote:
On our production server we are observing that the apache tomcat is creating logs and it fills the disk space every 3 days. Once the disk is full it creates outage in production. Already we observed 2 outages because of this last week.We have to manually delete the logs files and restart tomcat services to make it work again. Is there anyway we can limit creating logs or automatically delete the logs created.If this is related to Oracle Policy Automation, then you should probably set the log4j.xml for the particular OPA runtime to something like "error". If question is not related to OPA, then you are probably posting it in the wrong forum.
Similar Messages
-
Apache log analysis for portal page visits etc
We are about to go into production with Oracle Portal (9iAS rel 9.0.2.0.1).
I have been looking into how to gather statistics on web site usage and have concluded that I cannot get the information from within portal logs since many pages are served from the cache and there is no interaction with the database at all.
I think I need to, therefore, analyse the apache log files. Can anyone recommend a good 3rd party product for log analysis? I am also concerned that the portal specific urls might severely limit the usefullness of the data I can extract.
Has anyone used a log analysis tool in conjunction with Portal or knows of a product with a specific add-on for Oracle Portal (I have seen these for other portals and CMS products).
Any pointers appreciated, I am completely new to this area.
Peter.Peter,
You might want to look at the "ClickStream Collector" that is included in a 9iAS installation.
I'm not sure if it will do what you want with Portal, but it's starting point.
Good luck!
Bill G... -
Budget billing plan is inconsistent due to incorrect log. line numbering
Hello All,
We are facing an issue with Budget Billing Plan Change(EA62)/Display(EA63).
Issue details are as follows.
- Initially BBP had 2 products and I partially billed both products and Then I moved out one product and Then I invoiced that one and Then I partially billed the remaining product.
- Now if i am trying to open the Budget Billing Plan using EA62/63,i am getting the following error.
Budget billing plan is inconsistent due to incorrect log. line numbering,Message No: TU397.
We have applied note no : 0001969117.
Still we are facing the same issue, Kindly help me on this.Hello All,
We are facing an issue with Budget Billing Plan Change(EA62)/Display(EA63).
Issue details are as follows.
- Initially BBP had 2 products and I partially billed both products and Then I moved out one product and Then I invoiced that one and Then I partially billed the remaining product.
- Now if i am trying to open the Budget Billing Plan using EA62/63,i am getting the following error.
Budget billing plan is inconsistent due to incorrect log. line numbering,Message No: TU397.
We have applied note no : 0001969117.
Still we are facing the same issue, Kindly help me on this. -
Import theme not working - apache log shows ORA-00942
Hi,
I'm doing some development using htmldb v2 (of which I am greatly impressed). Everything is going well, but none of the import facilities seem to work (e.g. import theme, workspace etc). I get Page not found when pressing the Import button with the following in the Apache log:
mod_plsql: /pls/htmldb/wwv_flow.accept HTTP-404 ORA-00942: table or view does not exist
The Workspace I'm using is a new one called SBASEW which sits on a schema called SBASEW. I want to transfer a customised theme between two different applications under this Workspace - hence why I want to us the import. I read one thread which suggested it's privileges on wwv_flow_file_object$, but my sbasew schema user can see this table OK. I've checked my DAD against the recommended settings and can't see anything wrong. It is as follows:
Alias /i/ "c:\OAS10gFRS\Apache\Apache\images/"
<Location /pls/htmldb>
SetHandler pls_handler
Order deny,allow
Allow from All
AllowOverride None
PlsqlDatabaseUsername HTMLDB_PUBLIC_USER
PlsqlDatabasePassword @BRa0aC4YJbC3UwGhi1Xlfwo=
PlsqlDatabaseConnectString ziggy NetServiceNameFormat
PlsqlDefaultPage htmldb
PlsqlDocumentTablename wwv_flow_file_object$
PlsqlDocumentPath docs
PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
PlsqlAuthenticationMode Basic
PlsqlNLSLanguage AMERICAN_AMERICA.WE8MSWIN1252
</Location>
Can you help ?
P.S. As a related question, can you run the theme .sql file in sql*plus by just changing the line which specifies the application ID, i.e.:
wwv_flow.g_flow_id := 105;
to
wwv_flow.g_flow_id := 106;Ian,
Try changing this line:
PlsqlDocumentTablename wwv_flow_file_object$
to this:
PlsqlDocumentTablename wwv_flow_file_objects$
Thanks,
- Scott - -
.default files and Apache logs in 10g AS(10.1.2.3)
Hi Friends,
I am using Oracle 10g AS (10.1.2.3) and i have some .default files in my Middle Tier and Infra home like
httpd.conf.default , access.conf.default.....
Is it safe to remove these files?
Will these files cause any Vulnerability issue on my server?
Also will Apache Log files cause Vulnerability issue on my server?
Please clarify
Regards,
DBDefault files are there as a backup for those files. If you happen to modify your files without saving a copy then this would take you back to how a typical httpd.conf (for instance, or plsql.conf or sso.properties, etc) would look like.
I do not think they are any greater source of vulnerability than any other backup files you have on your server. I do not delete them either and wouldn't from any of the servers that I administer.
thanks,
AMN -
Hi,
I need to set my Apache logs to combined for AWStats to work. In 10.6 server admin there seems to be no place to change the log format. Can any one tell me how I do this? I have multiple sites hosted so will I need to do it for each site?
Thanks
PaulYou'll need to change it directly in the config file for each site. They're in /etc/apache2/sites, with names starting with a site ID number and ending in .conf. You need to change the CustomLog directive to something like
CustomLog "/var/apache2/access_log" combined
...and then restart Apache ("sudo apachectl graceful" will do the trick). -
Where are the apache logs?
I need to view the apache logs. How and where do I access them in XE?
Whoever designed Apache to be hidden inside the database and accessable only through db packages needs to be spanked. If there is a good argument for hiding it all away in the db I'd love to hear it! Why make life harder? It's so easy in Standard and Enterpise DB to configure apache and modplsql.
PaulOK David here goes,
I'm using ApEx 2.1 on Oracle Express DB.
I export an application, that works fine. I now want to import it again into the same instance as a copy with a new Application Id. I start the import wizard, click on load and then I get
"Page can not be found" error.
I've followed the threads
import application - wwv_flow_accept page not found and ora-904
Page not found after import of application
but I have no idea of how to access the Web server Logs in Oracle Express which is mentioned in the above threads.
I've just had a look at the import repository and each time I tried to import the file it loaded with 2,065,528 bytes.(i.e. 3 times)
The actual file size is 4,334 Kb so it seems the import falls over half way each time.
Any ideas on where to start trouble shooting?
thanks for your response
Paul P -
OPMN is getting restarted automatically and causing production outage
Dear All
Greetings!
OPMN is getting re-started automatically and causing production outage. During this re-start period, all the requests (Orders) that we are receiving from external
systems(CRM) are getting failed. We are using Oracle AS 10.1.3.3 version. I have checked the glance report and observed that java processes are toucing 99% or 100% CPU utilization during restart period.
We have increased the number of JVMs from 2 to 3 to solve this issue. But still issue is not fixed.
Please post your suggestions to resolve this issue. Thanks in advance!
Sridhar NimmagaddaDear All
Greetings!
OPMN is getting re-started automatically and causing production outage. During this re-start period, all the requests (Orders) that we are receiving from external
systems(CRM) are getting failed. We are using Oracle AS 10.1.3.3 version. I have checked the glance report and observed that java processes are toucing 99% or 100% CPU utilization during restart period.
We have increased the number of JVMs from 2 to 3 to solve this issue. But still issue is not fixed.
Please post your suggestions to resolve this issue. Thanks in advance!
Sridhar Nimmagadda -
My Apache log files are getting filled and causes Apache to crash.
How can I increase the size of the Apache logs?
Thanks.Update: apparently the version of Java matters. I down-rev'ed to java 6 and the app works straightaway.
So, this version of Java works:
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode, sharing)
This version of Java does *not* work:
java version "1.7.0_01"
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Java HotSpot(TM) Client VM (build 21.1-b02, mixed mode, sharing) -
The analysis of a Apache log file
What will you recommend for the analysis of a Apache log file?
Your favorite text-editor?
Are you looking for some specific analysis? There surely are tools available for that.
Can you be more specific in your question, please.
cu
Andreas -
We are currently having an issue where our iPrint Apache logs
/var/log/apache2/access_log
and
/var/log/apache2/ssl_request_log
both grow at an enormous rate (by the end of a 24 hour period they are about 3.5GB each).
I have attached excerpts from those logs to give you an idea of what they look like.
in addition to this, our printing is VERY hit or miss. We are having issues installing printers from the iprint web interface (see attached jpgs), when people try to print, sometimes it prints, sometimes it fails.
It appears that spoolsv.exe on our computers is constantly talking back to our iprint server, which doesn't seem right. I have attached a packet capture from wireshark to show what sort of traffic is going between the iprint server and a workstation.
Here is the weird thing, this all started last week wednesday (2013-09-18). We found it was happening because our log files grew so large that we ran out of disk space on the server. iPrint was running fine up until then (since it was installed late last school year).
One of our engineers thinks that something changed on all the workstations. We can rule out windows updates because they aren't currently being pushed out.
I'm wondering if it is possible that something changed or was dorked up server side.
I'm a little out of my depth here, and would appreciate greatly any help you can provide :)
Thanks in advance,
Taylor Hammerling
MASDIn article <[email protected]>, Taylormasd
wrote:
> /var/log/apache2/access_log
> and
> /var/log/apache2/ssl_request_log
>
> both grow at an enormous rate (by the end of a 24 hour period they are
> about 3.5GB each).
> I have attached excerpts from those logs to give you an idea of what
> they look like.
>
Well the contents of those files looks normal. From just the 10 second
clip I can tell you have lots of workstations, likely past 1000. So
what we might be dealing with is just note enough space for normal log
growth, and as soon as that started gumming things up, the workstations
try to get to the printers more often making the logs grow faster.
- How far back do your logs go, and have they been about the same size
all the way back or are there any jumps in size along the way?
- Are all those logs getting compressed (*.bz2) after midnight?
- How much space does the whole /var/log/apache2 dir take "du -h" (for
reference, an under 100 user client of mine is running at about 47MB)
- What OS version are you running iPrint on?
- Is is all one volume? What are your volume sizes?
- How long has this server been running?
I've had iPrint do strange things and be just plain troublesome when it
gets low on space, so lets make sure we get that issue out of the way
before digging further.
Andy Konecny
Knowledge Partner (voluntary SysOp)
KonecnyConsulting.ca in Toronto
http://forums.novell.com/member.php?userid=75037
If you find a post helpful, please show your appreciation by clicking on
the star below. -
Where is org.apache.log.format.Formatter
I am writing some code that somewhere is referencing the following:
org/apache/log/format/Formatter
I can't change it since I do not have access to the class that is referencing this, yet I can't find where the Formatter class is. Does anybody know where I can downloaded it? I tried apache.org and I can only find Log4J stuff? HELP!I found these links from Google:
http://www.google.com/search?hl=en&q=org%2Fapache%2Flog%2Fformat%2FFormatter&btnG=Google+Search
From the looks of things, this is an interface that is implemented by a bunch of Apache classes. -
Hi All,
I can successfully log into the E-business suite site. But when i try to access the form, it won't come. I looked into the Apache Log. There i got an error
"server reached MaxClients setting, consider raising the MaxClients setting" and below that "request Failed--- error reading headers". May i want to increase the MaxClients in httpd.conf. If i do that, how to recompile that. I dont know which is the right way to resolve this. Please let me know a solution.
Thanks,
Manikandan.Pl post your full EBS and OS versions. Has this ever worked before ? If so,w hat changes have been made recently ? If SSL has been configured, pl see MOS Doc 268578.1 (Http 403 While Login To 11i After Configuring SSL For Apache - Error log shows) can help.
If not, pl enable JInitiator console to see if further error messages are logged - see MOS Doc 310961.1 (How To Enable The Java Console Jinitiator 1.1.8 and 1.3)
HTH
Srini -
Hello,
I have leopard server, and want to know where is the apache log rotation is configured. I did not configure anything in the per-site log rotation in server admin, but the server is rotating the log anyway.
ThanksWell, I just saw that there is an /etc/newsyslog.conf setting, but have not worked with it myself. man newsyslog.conf provides more info.
-
From the documentation here: http://help.adobe.com/en_US/adobemediaserver/configadmin/WS5b3ccc516d4fbf351e63e3d119f2926 0bd-7ffa.2.3.html is is stated that " Adobe Media Server handles log rotation for the Apache logs." However, it appears not to be the case.
My logs in /opt/adobe/ams/Apache/logs are not rotating.
Can you help with this? Does AMS handle this or will I need to manually logrotate?
Regards,
ASo this isn't working?:
1. "One option is to rotate log files, moving or deleting the oldest files."
I usually rename the old log files whenever/before the server needs to be restarted and that forces the server to generate new log files.
2. "Use the rotation element in the Logger.xml file to specify a rotation schedule for log files. Two types of rotation schedules can be established. The first option is to set a daily rotation at a certain time. For example, setting daily at 00:00 rotates files every 24 hours at midnight. Alternatively, set a rotation that occurs when the log exceeds a specified length. Name, maximum file size in kilobytes, and maximum number of log files to keep can also be customized using the
rotation element. For an example, see the Logger.xml file installed in the /conf directory."
Did you modify the Logger.xml file to change the log rotation time? Save a copy of the original file before you modify it.
3. You can also try to use a third party module (this might/might not work for you depending on your system specs): http://www.sitebuddy.com/mod_log_rotate
mod_log_rotate.so seems pretty simple to set-up and implement.
Maybe you are looking for
-
Change Desktop background from another account ?
Hi Guys, Just wondering if it's possible to change a desktop background from another account on the same machine. I'm running 10.6.8, and there's no particular reason for doing this at present, but we do have a couple of work machines where the user
-
Hi all, I have few queries regarding spool in slap. I will be glad if some one can help me. 1. In SP01 what is the difference between print directly & print with changed parameters. 2. If a spool request is in waiting status for a long time, what doe
-
Help! my headphone jack is messed up
Everytime I put my headphones in my Ipod, it sounds terrible. Static, rumbles, on and off of the music, and volume changes. Most of the time the static, rumbles, etc. come out of only one headphone, the left one. I've tried about three different head
-
What would be my max for RAM? iMac 24 inch Intel
Hi, Thinking about upgrading my RAM, but for some reason think I maxed it out when I bought it (2007/8) with 4GB. Am I right in think that this can only be at 4GB or can I add more to it? it says it is an iMac7,1 intel core 2 duo. Also, is there a pl
-
I have imported html pages, and everything went well, except that homepage is blank. How do I add one? (see figure 1). Moreover, the links at the top are repeated (see figure 2).