error_log-20120614.bz2 (apache2 error logs)

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

error_log-20120614.bz2 (apache2 error logs)

Postby richardroi » Thu Jun 14, 2012 2:33 pm

Hello support,

Kindly give some information about this error log on apache2. How can i open it so i can see whats wrong. I already checked my timezone. I can see these errors starting the day i put the server on production, and I'm afraid it is consuming lots of space on my hard drive. And when this bz2 ran it consumes 95% of cpu.

How can I correct this?

Thank you.
ViciBox v.5.0.2-130807 | BUILD: 130809-1410 | SVN Version: 2019 | Asterisk: 1.8.23-vici
64bit Single Server/ ISO Preload Install
Inbound/Blended
richardroi
 
Posts: 373
Joined: Mon Mar 21, 2011 7:20 pm

Re: error_log-20120614.bz2 (apache2 error logs)

Postby DomeDan » Fri Jun 15, 2012 4:46 am

you can do that with:
bzcat error_log-20120614.bz2 | less
pipe to less to be able to use page up and down and so on
and the one that is not compressed:
cat error_log | less
I guess it will use a lot of cpu-power when it runs, but it will probably not run for very long
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden

Re: error_log-20120614.bz2 (apache2 error logs)

Postby richardroi » Fri Jun 15, 2012 11:51 am

Thanks Domedan.

Can I erase this errors.bz2? How?
I edited my timezone, maybe it will not show up again.
Still monitoring.
ViciBox v.5.0.2-130807 | BUILD: 130809-1410 | SVN Version: 2019 | Asterisk: 1.8.23-vici
64bit Single Server/ ISO Preload Install
Inbound/Blended
richardroi
 
Posts: 373
Joined: Mon Mar 21, 2011 7:20 pm

Re: error_log-20120614.bz2 (apache2 error logs)

Postby DomeDan » Mon Jun 18, 2012 3:44 am

Sure, just do:
rm error_log-20120614.bz2

logrotate will remove them automatically depending your settings
I got "maxage 365" in: /etc/logrotate.d/apache2
so they will be removed when 365 days old
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden

Re: error_log-20120614.bz2 (apache2 error logs)

Postby richardroi » Mon Jun 18, 2012 4:05 am

thank you so much DomeDan!
How about access log that are also in .bz2 can i delete it also?
ViciBox v.5.0.2-130807 | BUILD: 130809-1410 | SVN Version: 2019 | Asterisk: 1.8.23-vici
64bit Single Server/ ISO Preload Install
Inbound/Blended
richardroi
 
Posts: 373
Joined: Mon Mar 21, 2011 7:20 pm

Re: error_log-20120614.bz2 (apache2 error logs)

Postby DomeDan » Mon Jun 18, 2012 4:51 am

Yeah, I just answered your work-mate that asked the same question: http://vicidial.org/VICIDIALforum/viewt ... =4&t=25354
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden

Re: error_log-20120614.bz2 (apache2 error logs)

Postby richardroi » Mon Jun 18, 2012 6:17 am

Thank you so much!!!
ViciBox v.5.0.2-130807 | BUILD: 130809-1410 | SVN Version: 2019 | Asterisk: 1.8.23-vici
64bit Single Server/ ISO Preload Install
Inbound/Blended
richardroi
 
Posts: 373
Joined: Mon Mar 21, 2011 7:20 pm


Return to Support

Who is online

Users browsing this forum: mdvitel and 72 guests