Web Hosting Talk







View Full Version : Truncating oversized request field


-Edward-
04-20-2001, 07:36 PM
Hi,

I've been having this problem for a while now. I recently well today got some help from Steve Lam who pointed me in the direction of -

http://list.cobalt.com/pipermail/cobalt-users/2001-January/029525.html

Which helped me to the extent of knowing i need to fix something in webalizer.

These are the errors i get -
Date: Fri, 20 Apr 2001 04:13:53 -0400
From: Cron Daemon <root@www.kchat.org>
To: root@www.kchat.org
Subject: Cron <root@www> run-parts /etc/cron.daily

NOTICE: Index pg_attribute_attrelid_index: NUMBER OF INDEX' TUPLES (574) IS
NOT THE SAME AS HEAP' (561)
NOTICE: Index pg_attribute_relid_attnum_index: NUMBER OF INDEX' TUPLES (574)
IS NOT THE SAME AS HEAP' (561)
NOTICE: Index pg_attribute_relid_attnam_index: NUMBER OF INDEX' TUPLES (574)
IS NOT THE SAME AS HEAP' (561)
META vacuum - FAIL: ERROR: cannot find attribute 1 of relation quota

Warning: Truncating oversized request field
Warning: Truncating oversized request field
Warning: Truncating oversized request field
Warning: Truncating oversized request field
Warning: Truncating oversized request field
Warning: Truncating oversized request field


Could someone tell me how i would fix this using telnet im guessing? .... Instructions on how to edit would be good since im hopeless without them.

Thank You.

Cael
04-21-2001, 06:13 AM
Warning: Truncating oversized request field
Warning: Truncating oversized request field
Warning: Truncating oversized request field


I am getting this error everyday as well.

dutchie
04-21-2001, 06:34 AM
On the website of webalizer, you'll find the answer.

Its because of a to long logfile line (or something in that direction)
Nothing to worry about.

-Edward-
04-21-2001, 07:09 AM
I know what is causing it. But its making it so my logs dont rotate i want to know how to fix it thats all :)

dutchie
04-21-2001, 08:01 AM
this was posted by someone on this forum, and solved all my problems.

move: /etc/cron.daily/webalizer.pl to .usr.sbin
edit: /etc/logrotate.d/apache
after:
postrotate
/bin/kill -USR1 `cat /var/run/httpd.pid`

-Edward-
04-21-2001, 08:29 AM
okay i just type those stuff right? no file editing? wont to be 100% sure before i attempt anything.

dutchie
04-21-2001, 09:52 AM
They told me it is safe :)



You have to move the file tru telnet, and edit apache with pico or a other unix editor.

Its so simple even i did it and came away with it :cartman:

-Edward-
04-21-2001, 10:06 AM
Edit what to look like what lol??

dutchie
04-22-2001, 08:52 AM
yikes i forgot a line.

so edit apache
add: /usr/sbin/webalizer.pl
after:postrotate
/bin/kill -USR1 'cat /var/run/httpd.pid'

thats it.

Pingu
04-22-2001, 07:28 PM
There are several of those lines:
postrotate
/bin/kill -USR1 'cat /var/run/httpd.pid'

Do I need to put the webalizer line after each one of them?

Cael
04-23-2001, 07:17 AM
Yeah... Every line or just the first one ?

-Edward-
04-23-2001, 08:05 AM
Dutchie cheers that fixed the trauncting but ive still got these errors.


NOTICE: Index pg_attribute_attrelid_index: NUMBER OF INDEX' TUPLES (574) IS
NOT THE SAME AS HEAP' (561)
NOTICE: Index pg_attribute_relid_attnum_index: NUMBER OF INDEX' TUPLES (574)
IS NOT THE SAME AS HEAP' (561)
NOTICE: Index pg_attribute_relid_attnam_index: NUMBER OF INDEX' TUPLES (574)
IS NOT THE SAME AS HEAP' (561)
META vacuum - FAIL: ERROR: cannot find attribute 1 of relation quota

Cael
04-23-2001, 04:34 PM
Technics, do you mind to tell me where do you add the lines at ?

After every line of
postrotate
/bin/kill -USR1 `cat /var/run/httpd.pid`

???

Cael
04-23-2001, 04:46 PM
Ok, I added it to every line. And wonder how can I check if the problem is fixed ?

-Edward-
04-23-2001, 05:12 PM
u'll find out when the logs rotate next.

Cael
04-24-2001, 10:54 AM
Thanks :) The machine didn't send the error to me anymore :)

Pingu
04-25-2001, 05:17 PM
Same here...
Small as it may have been, those messages were really annoying :)