HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Argument "-" isn't numeric in numeric gt (>) at /usr/sbin/vlogger line 456 (http://www.howtoforge.com/forums/showthread.php?t=33297)

ronee 5th April 2009 12:21

Argument "-" isn't numeric in numeric gt (>) at /usr/sbin/vlogger line 456
 
Fresh install of Ispconfig 3.0.1.1 on CentOS 5, things appear to be working however the ispconfig web interface periodically becomes unusable, only blank pages show up, cannot log in due to javascript errors and so forth.

Restarting apache temporarily resolves.

Also, the following repeatedly appears in /var/log/httpd/error_log:

Argument "-" isn't numeric in numeric gt (>) at /usr/sbin/vlogger line 456, <STDIN> line 18

I tried this:

http://www.how2forge.org/forums/showthread.php?t=27188

but no real difference, same error shows up in the error_log

perl-TimeDate is installed

which vlogger outputs: /usr/sbin/vlogger

the above two items I have seen mentioned in other threads where the problem appeared similar.

falko 6th April 2009 13:52

I've added this to our bugtracker.

cvladan 27th April 2009 01:45

Solution
 
I had the same problem. For me, the right solution for this problem is to change only one letter %b from lowercase to uppercase in file /etc/httpd/conf/sites-available/ispconfig.conf,
in LogFormat line. Change:

LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig
to this
LogFormat "%v %h %l %u %t \"%r\" %>s %B \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig

Lowercase b to uppercase B. It looks that vlogger does not understand dash - when it's zero it must be zero.
As it is written here already: http://httpd.apache.org/docs/1.3/mod...og_config.html

%B (Bytes sent, excluding HTTP headers),
%b (Bytes sent, in CLF format i.e. a '-' rather than a 0 when no bytes are sent)


All times are GMT +2. The time now is 16:21.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.