MinQueueAge

2008-01-11 Thread Tyler Bird
Hi folks I know this is off topic and hopefully if anybody knows the sendmail mailing list address please reply. My problem is that emails are going out slower and our mail queue is pretty huge. Would it be good performance wise to lower the MinQueue Age time to 1 hour instead of 3

Converting from GMT To CST

2007-11-06 Thread Tyler Bird
HI List, Does anyone know the formula to convert from GMT to CST or any functions used by perl to get the time in CST? Tyler

mod_perl MVC framework.

2007-10-24 Thread Tyler Bird
Hi List, Hey I was wondering if there was any MVC framework that anybody on this list could point me to that work work well with mod_perl. We are having difficulty finding a good MVC framework for perl. I have looked at HTML::Mason and the template toolkit today. I am not quite sure mason

help me...

2007-10-15 Thread Tyler Bird
Hi, I am running a perl email sending engine ( which delivers 50K+ emails per hour ) Anyways this system is made up of various daemons connecting to each other. Well my problem is that we have a client connecting to a server to retrieve emails ( 50K every hour ). Well my problem is

removing temporary uploaded files

2007-10-10 Thread Tyler Bird
Hi List, Background: I don't not now for sure, but I think that apache stores files you upload with input type=file and form enctype=multi-part/form-data. in a directory on the server temporarily and then hands the input stream off to your script. Does anybody know a way I can cofigure

Re: monitoring server and which ports they are connected to.

2007-10-05 Thread Tyler Bird
Stephane Chazelas wrote: On Tue, Oct 02, 2007 at 01:01:52PM -0700, Manoj Bist wrote: Try 'sudo lsof -i:443'. [...] See also: ss -a 'src :https' (ss is part of iproute, the new suite of ip managment tools for Linux). Cheers, Stephane Hey this worked great for seeing servers

monitoring server and which ports they are connected to.

2007-10-02 Thread Tyler Bird
Hi list, I am frustrated trying to restart apache and it complaining it can't bind to port 443 when it seems no services are attached to it. Does anyone know any command line utility that can report which programs are attached to which tcp port? any one know they correct netstat options to

Starting / Stopping Sendmail

2007-10-01 Thread Tyler Bird
Hi List, I know this is off topic, but does anyone know if you restart the sendmail MTA daemon if all mail in the mail queues will still be delivered or any email will be lost as a result? Thanks so much and redirect me to a sendmail list thanks. Tyler

Re: Question...

2007-09-25 Thread Tyler Bird
Tobias Regneri wrote: Hi Tyler, I don't think that your script causes the issue. Is there a timeout value set in the httpd.conf? Hth, Tobias Well there is a Timeout Directive in httpd.conf which I have set to 3000 and the problem still occurs. If I print the file line by line

Re: Question...

2007-09-25 Thread Tyler Bird
Tobias Regneri wrote: Hi Tyler, I don't think that your script causes the issue. Is there a timeout value set in the httpd.conf? Hth, Tobias Sorry, remove the line require in; and also the line in::ct(); and replace the in::ct() line with print(Content-type: text/html\n\n); sorry

Re: Question...

2007-09-25 Thread Tyler Bird
Michael Peters wrote: Tyler Bird wrote: Attached is my script if you want to try it and have apache 1.x require in; my $time = 120; for(my $i = 0; $i $time; $i++) { warn(iteration... . $i); sleep(1); Here in your interation, try printing out a null byte

open and write a file with 777 permissions.

2007-09-25 Thread Tyler Bird
I was wondering if anyone knows offhand how I can open and write to a file with 777 permissons. And possibly also set the owner to a specified owner string. I am reading through IO::File, but having some issues. Thanks

Question...

2007-09-24 Thread Tyler Bird
Hi List, I have a script that exports records templates from our system to .csv files. The thing is that if it run for over 80 seconds then the webserver seems to never send it to the browser. My algorithm builds all of the data into an internal string variable then sends all records at once

Downloading SpreadSheet Data with Apache

2007-09-21 Thread Tyler Bird
Hi, I have written a script to wait 800 seconds and then send a html content type header and a line of text. The server I am using is apache 1.3 with mod_perl 1.x I run this script and the log files show the incrementing numbers in the for loop, but whats weird is that the browser seems to

Re: Downloading SpreadSheet Data with Apache

2007-09-21 Thread Tyler Bird
Michael Peters wrote: Tyler Bird wrote: I run this script and the log files show the incrementing numbers in the for loop, but whats weird is that the browser seems to still be downloading you know that little icon seems to be spinning and I see no output not and html header of any line

VirtualDocumentRoot with ReWrite Rule

2007-07-23 Thread Tyler Bird
Hi, I am using the apache module mod_rewrite and the virtual document root module that provides the virtual document root apache directive. Problem is that if i use virtual document root for my virtual domains then I canot use the url rewrite mechanism. I just tried it out in various

Re: header issues etc...

2007-07-03 Thread Tyler Bird
Hi, I jumped into the middle of this thread and it seems I am encountering a segfault in the header just like you have described. Could you give me an overview of your solution since I do not have your first emails to this list. Thanks Tyler pubert na wrote: I fixed it... apparently it

apache mailing list

2007-05-31 Thread Tyler Bird
Hey List, I was wondering where I could find a good apache mailing list for the following question. I was also going to task the question to the list. I am trying to enable the apache module mod_speling on apache 1.3.27 I enable it find but it doesn't seem to support the CheckCaseOnly

Re: backtrace for segfault....

2007-05-25 Thread Tyler Bird
. - It either has to go out of scope, or be manually disconnected (and if you're using Apache::DBI, your disconnect is overridden). hth clint On Thu, 2007-05-24 at 17:34 -0600, Tyler Bird wrote: hey guys I read a little more and was able to generate a backtrace for my apache children segfaulting

Re: backtrace for segfault....

2007-05-25 Thread Tyler Bird
Clinton Gormley wrote: Clint, I changed the header I sent from text/html to text/plain and the segfaulting no longer occuring. It's more likely to be the headers your server is receiving (eg cookie?) than the headers it is sending. Clint, I removed sending any cookies the

Re: segmentation fault.

2007-05-24 Thread Tyler Bird
Tyler Bird wrote: Clinton Gormley wrote: On Wed, 2007-05-23 at 17:04 -0400, Dondi M. Stroma wrote: I've also gotten segfaults from reading a bad cookie. Another segfault problem I experienced was caused by using a lexical variable in a sub in a Registry script that was declared outside

Re: segmentation fault.

2007-05-24 Thread Tyler Bird
Philippe M. Chiasson wrote: Tyler Bird wrote: Ok, I have a system I converted from cgi to mod_perl. We recently upgraded to mod_perl 2.0 and apache 2.2 on RHL5 I am having a problem. When I refresh a certain page 5 times or about ( it's completely random ) The page renders fine

backtrace for segfault....

2007-05-24 Thread Tyler Bird
hey guys I read a little more and was able to generate a backtrace for my apache children segfaulting here it is below. Program terminated with signal 11, Segmentation fault. #0 0x0051389a in apr_palloc () from /usr/lib/libapr-1.so.0 (gdb) bt #0 0x0051389a in apr_palloc () from

segmentation fault.

2007-05-23 Thread Tyler Bird
Ok, I have a system I converted from cgi to mod_perl. We recently upgraded to mod_perl 2.0 and apache 2.2 on RHL5 I am having a problem. When I refresh a certain page 5 times or about ( it's completely random ) The page renders fine, but in my logs I see that an apache child died because

changing apaches environment from a mod_perl script

2007-05-22 Thread Tyler Bird
Hi, Hey I was wondering how I could do essentially the reverse of PerlSetEnv instead of setting an environment variable for a virtual host inside a virtual host definition VirtualHost PerlSetEnv /VirtualHost I want to set it inside of index.i -- clip --- my $request = shift;

Re: catching a segmentation fault

2007-05-17 Thread Tyler Bird
Torsten Foertsch wrote: On Thursday 17 May 2007 00:13, Tyler Bird wrote: I am setting up a new server with mod_perl + apache 2.0 + some legacy code and am sporadically rececing a segmentation fault to my apache logs like so. Maybe this helps: http://perl.apache.org/docs/2.0/devel

httpd.conf problem

2007-05-02 Thread Tyler Bird
Hi I am trying to deny .httaccess to overide directives in a top level directory / VirtualHost *:80 .. Directory / AllowOverride None /Directory but I am also trying to allow .htaccess in sub directories Directory /b AllowOverride All /Directory /VirtualHost This isn't working

Errors going to the main apache servers log and not my virtual host

2007-04-26 Thread Tyler Bird
Errors going to the main apache servers log and not my virtual host. Has anyone encountered this problem above before? I am setting up my virtual hosts within a Perl section. Please?? Tyler

Logging With Mod Perl 2.0

2007-04-26 Thread Tyler Bird
But I was wondering isn't there anything I can do to mod_perl that will allow a plain warn to send it to my virtualhosts log and not my servers log. without using the $r-warn() syntax warn(hey) really goes t the virtual hosts log and I don't have to put $r-warn() Tyler

.htaccess problems

2007-04-26 Thread Tyler Bird
Hi, I have mod_perl 2.0 with apache on redhat enterprise 2.1 I have a AllowOverride All directive pointing to a directory where a .htaccess file resides I also have mod_perl 2.0 with apache on redhat enterprise 5 and the same AllowOverride directive as before. When I move the .htaccess

.htaccess explained better

2007-04-26 Thread Tyler Bird
Directory / Options -Indexes AllowOverride All DirectoryIndex index.i /Directory /VirtualHost .htaccess contents DirectoryIndex test.txt I do the following comment out directoryindex #DirectoryIndex test.txt then I request the virtual host and it gives me and

Detecting Unused Variables

2007-02-28 Thread Tyler Bird
I was wondering if there was some way I could run a script and have it detect all unused variables for me? Anyone got an answer hopefully with out using and add on module? I was also running how I could run time check all my modules. Tyler

Making warnings trigger errors.

2007-01-23 Thread Tyler Bird
Does anybody know if there is a module or some kind of directive in either perl or mod_perl to make warnings produce the same affects as errors. Thanks Tyler

Apache-httpd_conf

2007-01-03 Thread Tyler Bird
In Mod perl 2.0 what is the equivalent of Apache-httpd_conf( qw{ VirtualHost ... /Virtualhost } ); inside of a Perl Section in httpd.conf? Tyler