hard disk running out of space due tho httpd error log

All installation and configuration problems and questions

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

hard disk running out of space due tho httpd error log

Postby raloheni » Thu May 05, 2016 5:39 am

hi
vicidial VERSION: 2.4-364a | BUILD: 120409-1136 | asterisk 1.4 | scrathc install (raysolomon) | centos 6.7 64bit|

My Harddisk running out space due to the logs in http/error_log
as i noticed below errror keep on comming (non-stop)

192.168.1.251/agc/vicidial.php
[Thu May 05 12:31:29 2016] [error] [client 192.168.1.139] PHP Deprecated: Function ereg() is deprecated in /var/www/html/agc/dbconnect.php on line 27, referer: http://192.168.1.251/agc/vicidial.php
[Thu May 05 12:31:29 2016] [error] [client 192.168.1.139] PHP Deprecated: Function ereg() is deprecated in /var/www/html/agc/dbconnect.php on line 15, referer: http://192.168.1.251/agc/vicidial.php
[Thu May 05 12:31:29 2016] [error] [client 192.168.1.139] PHP Deprecated: Function ereg() is deprecated in /var/www/html/agc/dbconnect.php on line 29, referer: http://192.168.1.251/agc/vicidial.php
[Thu May 05 12:31:29 2016] [error] [client 192.168.1.139] PHP Deprecated: Function ereg() is deprecated in /var/www/html/agc/dbconnect.php on line 17, referer: http://192.168.1.251/agc/vicidial.php
[Thu May 05 12:31:29 2016] [error] [client 192.168.1.139] PHP Deprecated: Function ereg() is deprecated in /var/www/html/agc/dbconnect.php on line 19, referer: http://192.168.1.251/agc/vicidial.php


I have given below seetings in php.ini
error_reporting = E_ALL & ~E_NOTICE
memory_limit = 48M
short_open_tag = On
max_execution_time = 330
max_input_time = 360
post_max_size = 48M
upload_max_filesize = 42M
default_socket_timeout = 360
raloheni
 
Posts: 138
Joined: Sun Apr 25, 2010 4:23 pm

Re: hard disk running out of space due tho httpd error log

Postby mflorell » Thu May 05, 2016 5:48 am

Upgrade, and turn off PHP warnings and notices in php.ini.

The version of Vicidial you are running is over 4 years old at this point. We have fixed A LOT of bugs and added A LOT of new features as well.
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: hard disk running out of space due tho httpd error log

Postby raloheni » Fri May 06, 2016 12:57 am

i am not able to use the latest vicidial version as mentioned int he below post
viewtopic.php?f=4&t=35609

how can i turnoff php warnings?
raloheni
 
Posts: 138
Joined: Sun Apr 25, 2010 4:23 pm

Re: hard disk running out of space due tho httpd error log

Postby boybawang » Mon May 09, 2016 6:01 am

you can edit your /etc/httpd/httpd.conf and set the ErrorLog to ErrorLog /dev/null and CustomLog /dev/null combined
Vicidial Installation + Configuration + Support + Custom Development
Download my ebook on installing vicidial for free http://download.vicidial.com/ubuntu/VIC ... 100331.pdf
skype: deodax.cordova@gmail.com
m: +639172063730
boybawang
 
Posts: 989
Joined: Sat Nov 14, 2009 1:18 pm
Location: Dumaguete City, Negros Oriental, Philippines

Re: hard disk running out of space due tho httpd error log

Postby williamconley » Wed Jun 01, 2016 10:31 am

raloheni wrote:i am not able to use the latest vicidial version as mentioned int he below post
viewtopic.php?f=4&t=35609

how can i turnoff php warnings?

To find any file on your HD: "locate".
Code: Select all
locate php.ini


There are two of them, you want the one with the word apache in the path, not the CLI version.

If your results are missing or blank, use "updatedb" to rebuild the index on the HD. This command can take a few seconds to a few minutes to run depending the on the number of files on the drive.

I don't recommend turning off apache logs. Better to turn off JUST deprecation warnings in php.ini since that's your complaint.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: No registered users and 113 guests