Hi all!
I just notice that the hobbit logs from my debug hobbbit server are being rotated every week (I think) but I don't remember if I've done something for it. And yet the hobbit logs from my new hobbit server are not rotating. Is the rotation of the hobbit logs is automatic? or do I need to initialize it?
Thanks and regards,
Ryan
I'm in the process of migrating to a new hobbit server and have run into one of those 'interesting' problems.
This system also runs cricket (http://cricket.sourceforge.net <http://cricket.sourceforge.net/> ) for network switch monitoring, so I started to move it yesterday.
The entire cricket menu is generated by a perl cgi script called 'grapher.cgi'. I've got ported; running it by hand generates a valid html file.
Under IE 7.0 I get the cricket menu.
Firefox downloads the script. On the old server, firefox runs the script just fine.
The hobbit cgi scripts are working correctly on the new system (both firefox and IE).
Suggestions?
The web server is Apache2 on SuSE Enterprise Linux 10.
TIA
Tom Kauffman
NIBCO, Inc
CONFIDENTIALITY NOTICE: This email and any attachments are for the
exclusive and confidential use of the intended recipient. If you are not
the intended recipient, please do not read, distribute or take action in
reliance upon this message. If you have received this in error, please
notify us immediately by return email and promptly delete this message
and its attachments from your computer system. We do not waive
attorney-client or work product privilege by the transmission of this
message.
I come across this many times with users installing PHP on their Apache server. This is most definitely a problem between Apache and Firefox.
If IE7's request is executing it then Firefox's request should be no different - though you can do advanced options based on different client types.
Try comparing the two Apache configuration files and see if there are differences in your Directory statements.
On 10/5/07, Kauffman, Tom <KauffmanT at nibco.com> wrote:
I'm in the process of migrating to a new hobbit server and have run into one of those 'interesting' problems.
This system also runs cricket (http://cricket.sourceforge.net) for network switch monitoring, so I started to move it yesterday.
The entire cricket menu is generated by a perl cgi script called 'grapher.cgi'. I've got ported; running it by hand generates a valid html file.
Under IE 7.0 I get the cricket menu.
Firefox downloads the script. On the old server, firefox runs the script just fine.
The hobbit cgi scripts are working correctly on the new system (both firefox and IE).
Suggestions?
The web server is Apache2 on SuSE Enterprise Linux 10.
TIA
Tom Kauffman
NIBCO, Inc
CONFIDENTIALITY NOTICE: This email and any attachments are for the exclusive and confidential use of the intended recipient. If you are not the intended recipient, please do not read, distribute or take action in reliance upon this message. If you have received this in error, please notify us immediately by return email and promptly delete this message and its attachments from your computer system. We do not waive attorney-client or work product privilege by the transmission of this message.
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
Thanks, gotit.
Among other things, the browser caches were causing issues . . .
Tom Kauffman
NIBCO, Inc
From: Josh Luthman [mailto:josh at imaginenetworksllc.com] Sent: Friday, October 05, 2007 12:04 PM To: hobbit at hswn.dk Subject: Re: [hobbit] OT question on a strange CGI issue
I come across this many times with users installing PHP on their Apache server. This is most definitely a problem between Apache and Firefox.
If IE7's request is executing it then Firefox's request should be no different - though you can do advanced options based on different client types.
Try comparing the two Apache configuration files and see if there are differences in your Directory statements.
On 10/5/07, Kauffman, Tom < KauffmanT at nibco.com <mailto:KauffmanT at nibco.com> > wrote:
I'm in the process of migrating to a new hobbit server and have run into one of those 'interesting' problems.
This system also runs cricket ( <http://cricket.sourceforge.net/> http://cricket.sourceforge.net <http://cricket.sourceforge.net/> ) for network switch monitoring, so I started to move it yesterday.
The entire cricket menu is generated by a perl cgi script called 'grapher.cgi'. I've got ported; running it by hand generates a valid html file.
Under IE 7.0 I get the cricket menu.
Firefox downloads the script. On the old server, firefox runs the script just fine.
The hobbit cgi scripts are working correctly on the new system (both firefox and IE).
Suggestions?
The web server is Apache2 on SuSE Enterprise Linux 10.
TIA
Tom Kauffman
NIBCO, Inc
CONFIDENTIALITY NOTICE: This email and any attachments are for the
exclusive and confidential use of the intended recipient. If you are not
the intended recipient, please do not read, distribute or take action in
reliance upon this message. If you have received this in error, please
notify us immediately by return email and promptly delete this message
and its attachments from your computer system. We do not waive
attorney-client or work product privilege by the transmission of this
message.
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
CONFIDENTIALITY NOTICE: This email and any attachments are for the
exclusive and confidential use of the intended recipient. If you are not
the intended recipient, please do not read, distribute or take action in
reliance upon this message. If you have received this in error, please
notify us immediately by return email and promptly delete this message
and its attachments from your computer system. We do not waive
attorney-client or work product privilege by the transmission of this
message.
AFIK hobbit logs are not automatically rotated unless you tel the OS to do it.
Which OS?
Steve.
On 10/5/07, Ryan Jay B. Lapuz <rlapuz at fcpp.fujitsu.com> wrote:
Hi all!
I just notice that the hobbit logs from my debug hobbbit server are being rotated every week (I think) but I don't remember if I've done something for it. And yet the hobbit logs from my new hobbit server are not rotating. Is the rotation of the hobbit logs is automatic? or do I need to initialize it?
Thanks and regards,
Ryan
On 10/8/07, Steve Holmes <sholmes42 at mac.com> wrote:
AFIK hobbit logs are not automatically rotated unless you tel the OS to do it.
Which OS?
Steve.
Correct, the hobbit logs are not rotated automatically. For linux, I have attached the logrotate.d file we use; modify the rotation intervals that suit you.
On 10/5/07, Ryan Jay B. Lapuz < rlapuz at fcpp.fujitsu.com> wrote:
Hi all!
I just notice that the hobbit logs from my debug hobbbit server are being rotated every week (I think) but I don't remember if I've done something for it. And yet the hobbit logs from my new hobbit server are not rotating. Is the rotation of the hobbit logs is automatic? or do I need to initialize it?
Thanks and regards,
Ryan
I'm running Hobbit 4.2.0 w/ all-in-one patch to Fedora Core 6. Thanks for your help Gary and Steve.
Regards, Ryan ----- Original Message ----- From: Gary Baluha To: hobbit at hswn.dk Sent: Tuesday, October 09, 2007 4:33 AM Subject: Re: [hobbit] Hobbit logs
On 10/8/07, Steve Holmes <sholmes42 at mac.com> wrote: AFIK hobbit logs are not automatically rotated unless you tel the OS to do it.
Which OS?
Steve.
Correct, the hobbit logs are not rotated automatically. For linux, I have attached the logrotate.d file we use; modify the rotation intervals that suit you.
On 10/5/07, Ryan Jay B. Lapuz < rlapuz at fcpp.fujitsu.com> wrote:
Hi all!
I just notice that the hobbit logs from my debug hobbbit server are being rotated every week (I think) but I don't remember if I've done something for it.
And yet the hobbit logs from my new hobbit server are not rotating.
Is the rotation of the hobbit logs is automatic?
or do I need to initialize it?
Thanks and regards,
Ryan
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Mon, October 8, 2007 19:47, Ryan Jay B. Lapuz wrote:
I'm running Hobbit 4.2.0 w/ all-in-one patch to Fedora Core 6. Thanks for your help Gary and Steve.
So, to sum up, you need /etc/cron.daily/logrotate /etc/logrotate.conf /etc/logrotate.d/hobbit all set up to have your hobbit logs rotated. Anything you're not sure of, look at those on the server where the logs are getting rotated now.
So, All i need is to put the script in the /etc/logrotate.d/, is this right? I really don't understand. I checked my old hobbit server and the /etc/logrotate.d/hobbit is already existing. And, I'm sure I didn't configure that before, because I don't know how.
Thanks
----- Original Message ----- From: "Hobbit User" <hobbit at epperson.homelinux.net> To: <hobbit at hswn.dk> Sent: Tuesday, October 09, 2007 7:59 AM Subject: Re: [hobbit] Hobbit logs
On Mon, October 8, 2007 19:47, Ryan Jay B. Lapuz wrote:
I'm running Hobbit 4.2.0 w/ all-in-one patch to Fedora Core 6. Thanks for your help Gary and Steve.
So, to sum up, you need /etc/cron.daily/logrotate /etc/logrotate.conf /etc/logrotate.d/hobbit all set up to have your hobbit logs rotated. Anything you're not sure of, look at those on the server where the logs are getting rotated now.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
This is the script...
more /etc/logrotate.d/hobbit
Logrotate fragment for Hobbit.
/var/log/hobbit/*.log { weekly compress delaycompress rotate 5 missingok nocreate sharedscripts postrotate /etc/init.d/hobbit rotate endscript }
----- Original Message ----- From: "Ryan Jay B. Lapuz" <rlapuz at fcpp.fujitsu.com> To: <hobbit at hswn.dk> Sent: Tuesday, October 09, 2007 8:13 AM Subject: Re: [hobbit] Hobbit logs
So, All i need is to put the script in the /etc/logrotate.d/, is this right? I really don't understand. I checked my old hobbit server and the /etc/logrotate.d/hobbit is already existing. And, I'm sure I didn't configure that before, because I don't know how.
Thanks
----- Original Message ----- From: "Hobbit User" <hobbit at epperson.homelinux.net> To: <hobbit at hswn.dk> Sent: Tuesday, October 09, 2007 7:59 AM Subject: Re: [hobbit] Hobbit logs
On Mon, October 8, 2007 19:47, Ryan Jay B. Lapuz wrote:
I'm running Hobbit 4.2.0 w/ all-in-one patch to Fedora Core 6. Thanks for your help Gary and Steve.
So, to sum up, you need /etc/cron.daily/logrotate /etc/logrotate.conf /etc/logrotate.d/hobbit all set up to have your hobbit logs rotated. Anything you're not sure of, look at those on the server where the logs are getting rotated now.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Mon, October 8, 2007 20:13, Ryan Jay B. Lapuz wrote:
So, All i need is to put the script in the /etc/logrotate.d/, is this right? I really don't understand. I checked my old hobbit server and the /etc/logrotate.d/hobbit is already existing. And, I'm sure I didn't configure that before, because I don't know how.
You said you used a different package to install the old server. It probably dropped in the logrotate.d/hobbit config file for you, and the one you used this time didn't.
My point was that you need a cron job (/etc/cron.daily/logrotate), and a logrotate config file (/etc/logrotate.conf) for logrotate to be running and "see" the logrotate.d/hobbit config. I think FC6 does set that up by default (see if you have /var/log/messages.1, etc, if so logrotate is running). Drop the logrotate.d/hobbit file in, and see if it starts rotating. If not, look at the other two files.
----- Original Message ----- From: "Hobbit User" <hobbit at epperson.homelinux.net> To: <hobbit at hswn.dk> Sent: Tuesday, October 09, 2007 7:59 AM Subject: Re: [hobbit] Hobbit logs
On Mon, October 8, 2007 19:47, Ryan Jay B. Lapuz wrote:
I'm running Hobbit 4.2.0 w/ all-in-one patch to Fedora Core 6. Thanks for your help Gary and Steve.
So, to sum up, you need /etc/cron.daily/logrotate /etc/logrotate.conf /etc/logrotate.d/hobbit all set up to have your hobbit logs rotated. Anything you're not sure of, look at those on the server where the logs are getting rotated now.
Yes, FC6 has a default setup for log rotation. Other logs inside the /var/log/ directory are rotating. So, I think it will work now for the Hobbit logs. Maybe your right that the package I used before had set that up for me, and the package that I used for my new Hobbit server did not. Thanks for your help!
Regards, Ryan
----- Original Message ----- From: "Hobbit User" <hobbit at epperson.homelinux.net> To: <hobbit at hswn.dk> Sent: Tuesday, October 09, 2007 8:48 AM Subject: Re: [hobbit] Hobbit logs
On Mon, October 8, 2007 20:13, Ryan Jay B. Lapuz wrote:
So, All i need is to put the script in the /etc/logrotate.d/, is this right? I really don't understand. I checked my old hobbit server and the /etc/logrotate.d/hobbit is already existing. And, I'm sure I didn't configure that before, because I don't know how.
You said you used a different package to install the old server. It probably dropped in the logrotate.d/hobbit config file for you, and the one you used this time didn't.
My point was that you need a cron job (/etc/cron.daily/logrotate), and a logrotate config file (/etc/logrotate.conf) for logrotate to be running and "see" the logrotate.d/hobbit config. I think FC6 does set that up by default (see if you have /var/log/messages.1, etc, if so logrotate is running). Drop the logrotate.d/hobbit file in, and see if it starts rotating. If not, look at the other two files.
----- Original Message ----- From: "Hobbit User" <hobbit at epperson.homelinux.net> To: <hobbit at hswn.dk> Sent: Tuesday, October 09, 2007 7:59 AM Subject: Re: [hobbit] Hobbit logs
On Mon, October 8, 2007 19:47, Ryan Jay B. Lapuz wrote:
I'm running Hobbit 4.2.0 w/ all-in-one patch to Fedora Core 6. Thanks for your help Gary and Steve.
So, to sum up, you need /etc/cron.daily/logrotate /etc/logrotate.conf /etc/logrotate.d/hobbit all set up to have your hobbit logs rotated. Anything you're not sure of, look at those on the server where the logs are getting rotated now.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (6)
-
gumby3203@gmail.com
-
hobbit@epperson.homelinux.net
-
josh@imaginenetworksllc.com
-
KauffmanT@nibco.com
-
rlapuz@fcpp.fujitsu.com
-
sholmes42@mac.com