richter at ecos
Mar 5, 2012, 3:57 AM
RE: Embperl problems --please help
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
From: Hugh Thomas [mailto:hugh_l_thomas [at] yahoo]
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:
SetEnv EMBPERL_DEBUG 2285
SetEnv EMBPERL_SESSION_HANDLER_CLASS no
Alias /embperl/ /home/vav4229/modperl/
#Allow from all
I've been receiving serveral unexplained errors such as " ERR: 24: Error in Perl code: syntax error at /home/vav4229/modperl/test2.epl line 10, at EOF" for simple files and also "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.
"Great minds discuss ideas,Average minds discuss events,And small minds discuss other people."