Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: tfmail_application error_bad logfile name

by Anonymous Monk
on Dec 09, 2016 at 07:51 UTC ( [id://1177523]=note: print w/replies, xml ) Need Help??


in reply to Re: tfmail_application error_bad logfile name
in thread tfmail_application error_bad logfile name

Hi

In the process of installing and configurring the tfmail, i have come accross this error that i dont know how to correct:

An error has occurred in the program bad logfile name [ ] at /home/actercoa/safefoodkenya.com/cgi-bin/TFmai +l.pl line 1048. My TFmail.pl line 1048- 1053 looks like this: my $file = $treq->config('logfile', ''); $file = $treq->process_template("\%$file",'email', undef); return unless $file; $file =~ m#^([\/\-\w]{1,100})$# or die "bad logfile name [$file]"; $file = $1; open LOG, ">>@{[ LOGFILE_ROOT ]}/$file@{[ LOGFILE_EXT ]}" or die "o +pen [$file]: $!"; flock LOG, LOCK_EX or die "flock [$file]: $!"; seek LOG, 0, 2 or die "seek to end of [$file]: $!";

Kindly assist me to resolve this.

Kindest regards

Jared Otieno

Replies are listed 'Best First'.
Re^3: tfmail_application error_bad logfile name
by Corion (Patriarch) on Dec 09, 2016 at 07:59 UTC

    The error message is bad logfile name, so most likely you configured the logfile name in a way that is incompatible with the permissions on your machine.

    Which is the same error that was already discussed in the three preceeding posts in this thread.

    What steps have you taken to ensure that your situation is different from the situation posted previously? Where did you encounter problems?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1177523]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2024-04-23 09:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found