Hi,

 
could you send a example of a file that give an EOF?

 
For the Oracle error I guess it's because Apache run as different user, so you 
will have different access rights

 
Gerald

 
 
From: Hugh Thomas [mailto:hugh_l_tho...@yahoo.com] 
Sent: Thursday, February 16, 2012 3:12 PM
To: Gerald Richter - ECOS
Subject: Embperl problems --please help 

 
I am running Apache/2.2.19 (Unix) Embperl/2.4.0 mod_perl/2.0.4 Perl/v5.10.1 on 
Redhat 5 and I am having some issues with Embperl. I am hoping you can point me 
in the right direction.

 
This is the how my http.conf is configured for Embperl:

 
PerlModule Embperl

SetEnv EMBPERL_DEBUG 2285

SetEnv EMBPERL_SESSION_HANDLER_CLASS no

 
Alias /embperl/ /home/vav4229/modperl/

 
<Location /embperl/>

SetHandler perl-script

PerlHandler HTML:Embperl

Options ExecCGI

#Order allow,deny

#Allow from all 

</Location>

 
<Location /embperl>

Embperl_AppName unique-name

Embperl_Object_Base base.htm

Embperl_UriMatch "\.htm.?|\.epl$"

SetHandler perl-script

PerlHandler Embperl::Object

Options ExecCGI

</Location>

 
I've been receiving serveral unexplained errors such as " [25618]ERR: 24: Error 
in Perl code: syntax error at /home/vav4229/modperl/test2.epl line 10, at EOF" 
for simple files and also "[25618]ERR: 24: Error in Perl code: Can't connect to 
Oracle database:ORA-12154: TNS:could not resolve the connect identifier 
specified (DBD ERROR: OCIServerAttach)". I have sucessfully connected to the 
database using just perl and the simple files are returning the EOF error. Your 
assistance would be appriciated, thank you.

 
Regards,

Hugh Thomas




 
"



 
"Great minds discuss ideas,Average minds discuss events,And small minds discuss 
other people."

Reply via email to