I am having a vlogger issue that outputs the following in my error.log.... Argument ""http://www.site.com/?page_id=1317"" isn't numeric in numeric gt (>) at /usr/sbin/vlogger line 456, <STDIN> line 296. Argument ""http://www.site.com/?page_id=1317"" isn't numeric in numeric gt (>) at /usr/sbin/vlogger line 456, <STDIN> line 297. Argument ""http://www.site.com/?page_id=1317"" isn't numeric in numeric gt (>) at /usr/sbin/vlogger line 456, <STDIN> line 298. Argument ""http://www.site.com/?page_id=1317"" isn't numeric in numeric gt (>) at /usr/sbin/vlogger line 456, <STDIN> line 299. Argument ""http://www.site.com/?page_id=1317"" isn't numeric in numeric gt (>) at /usr/sbin/vlogger line 456, <STDIN> line 300. Argument ""http://www.site.com/?page_id=1317"" isn't numeric in numeric gt (>) at /usr/sbin/vlogger line 456, <STDIN> line 301. I also noticed that in /var/log/ispconfig/httpd there are 1900 files and growing as traffic comes in. The files are all named like: www.site.com||||36142||||66.249.71.66 www.site.com||||17570||||65.214.44.28 www.site.com||||36142||||66.249.71.73 www.site.com||||17570||||71.62.164.85 Anyone have any ideas? I am guessing I configured something incorrectly along the way.
Thats ok. I guess there is a problem with the orrder of commandline arguments for vlogger. But as far as I can see, the arguments in ISPConfig 3 in the ispconfig.vhost file are identical to the examples on the vlogger website.
Hello again. I do have DATE::FORMAT installed. I wonder if I somehoe messed up that logging statement? Could you post what it should be so I can verify? Thanks!
The default in ISPConfig 3 is: Code: LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig CustomLog "| /usr/sbin/vlogger -s access.log /var/log/ispconfig/httpd" combined_ispconfig
Thank you! I have no idea but I did have some |||'s in there after two of the options.... Anyhow I removed them and things are rocking! Thanks so much for the response. I am smacking myself for not seeing that earlier... haha... I have been troubleshooting that forever and was getting way to technical for what I needed to be looking for! Thanks again.
May you please post what the lines looked like in your setup? I would like to debug that as the lines most liekely had been messed up by the ISPConfig 3 installer. Or did you had ispconfig 2 installed on the same server before?
Sure thing.. This was a fresh install... LogFormat "%v||||%h||||%l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig CustomLog "| /usr/sbin/vlogger -s access.log /var/log/ispconfig/httpd" combined_ispconfig Let me know if you need anything else.
OK so there is still a problem with this somewhere. The cron that runs every night at 12:30 I believe this one: "30 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php &> /dev/null" is dumping the split logs files in a really weird format into /var/www. It takes the strong and makes folders out of each section. So the directory structure might be www.site.com/Mozilla 5/4:00 PM/etc/etc. Anyhow I ended up with thousands of directories like that under /var/www. At this point I am lost and don't know what is happened exactly. Since this is dumping to the wrong directory no sites have actual stats either. Any thoughts on how I can troubleshoot this?
Ok, that explains the problems. You can not install ISPConfig 2.2.25 on a system that had 3.0.0.x installed before. Both versions have completely different system requirements and use a completely different configuration for all services involved. I recommend that you format the server and reinstall from scratch.
I never actually got through the 3 install. I will reformat but if my only issue is the log splitting into the proper directories it would save me a bundle of trouble to have to backup the 3 sites I have configured, pay the server place to format the server again, and completely reinstall. Again though if you think it is best I will definitely do it. Just want to get something up and rocking.
The problem is that you will have to uninstall everything that you installed forr ispconfig 3. For example vlogger is not used by ispconfig 2, it is a requirement for ispconfig 3 and now causing you problems because it is still installed and configured. ISPConfig 2 uses cronolog and not vlogger. What you might do is that you add the | again in the custom log directive statement as tehy are needed by ispconfig 2. Then delete everything in the apache2 sites-enabled directory as this must be empty for ispconfig 2 and restart apache. But you will most likely get other problems later with other services as the configuration of your system is currently not fully compatible with ispconfig 2.
I gotcha. I will definitely just reinstall then. Going to wait until this weekend so I can point my site somewhere else temporarily and hopefully stop email bounces to clients. Anyhow I really appreciate all the help. I thought I had gotten rid of anything 3.x that may have affected installing 2.x but obviously I am wrong. I will reply to the thread once I am up and rocking. Again I cannot say how much I appreciate all of the replies and good advice. Thanks.~
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: Code: LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig to this Code: 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/mod_log_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)
The right .conf file to change BTW. Does somebody knows for sure (Till, Falco?), which file is right to make a such change. Or, let me rephrase: Does master files overwrite others, and when? Again: Which one is the right file to change: Code: /etc/httpd/conf/sites-available/ispconfig.conf or Code: /usr/local/ispconfig/server/conf/apache_ispconfig.conf.master Because I am not sure for what is the second one.