You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by mtoro <mt...@chat.cl> on 2000/04/07 16:52:59 UTC
Embperl DBI - Sybase
hello,
I have working Embperl with apache in a redhat 6.1 with DSO.
I have many querys to Sybase DB and all work fine ...
But When I make a restart o httpd daemon alway the querys
whit EmbPerl exit whit signal 11.
and the only action for correct this problem is re-boot the machine ...
which is my problem ?
thanks in advance ....
Embperl and DBIx::Recordset
Posted by Kaare Rasmussen <ka...@webline.dk>.
I tried the Search example in the Database section of Intro (8) - the one with
a PrevNextForm.
The first 5 rows result only in a Next Record button. Fair enough, why have
more. But the next 5 rows gives the same, no Previous Records button. And now
it will not give me the next 5 rows, only the rows from 6-10 when pressing Next
Records.
Looking at the generated code, this is on the second page. I believe the
problem is that $start has a value of "0", but how can I affect it? Or is this
a bug?
<form method="POST"><input type="hidden" name="$start" value="0">
<input type="hidden" name="$max" value="5">
<input type="hidden" name="find" value="Find">
<input type="submit" name="$next" value="Next Records"> </form>
RE: Embperl DBI - Sybase
Posted by mtoro <mt...@chat.cl>.
At 04:19 PM 4/7/00 -0400, Ilia Lobsanov wrote:
> > -----Original Message-----
> > From: mtoro [mailto:mtoro@chat.cl]
> > Sent: Friday, April 07, 2000 10:53 AM
> > To: embperl@perl.apache.org
> > Subject: Embperl DBI - Sybase
> >
> >
> > hello,
> >
> > I have working Embperl with apache in a redhat 6.1 with DSO.
> >
> > I have many querys to Sybase DB and all work fine ...
> >
> > But When I make a restart o httpd daemon alway the querys
> > whit EmbPerl exit whit signal 11.
>
>could you clarify this sentence, please?
Ok ,
Step 1.- All work fine with sybase, DBI , EmbPerl, ModPerl and Apache
Step 2.- /etc/rc.d/init.d/httpd restart
Step 3.- => signal 11
Better ?
Bye
> >
> > and the only action for correct this problem is re-boot the
> > machine ...
> >
> > which is my problem ?
> >
> > thanks in advance ....
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> > For additional commands, e-mail: embperl-help@perl.apache.org
> >
> >
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
>For additional commands, e-mail: embperl-help@perl.apache.org
Re: AIX embperl/mod_perl/apache
Posted by Jens-Uwe Mager <ju...@helios.de>.
On Mon, Apr 10, 2000 at 04:02:26AM -0400, Mark Ng wrote:
> and run : apachectl start
>
> I get the error :
> /usr/local/www:pizza2> bin/apachectl start
> bin/apachectl[71]: 16760 Segmentation fault(coredump)
> bin/apachectl start: httpd could not be started
Please do a dbx bin/httpd and type run -X and post the stack backtrace
that you get, may be that this gives a clue. And also please include the
output of perl -V, I would like to verify the dynamic linking options.
--
Jens-Uwe Mager
HELIOS Software GmbH
Steinriede 3
30827 Garbsen
Germany
Phone: +49 5131 709320
FAX: +49 5131 709325
Internet: jum@helios.de
Re: AIX embperl/mod_perl/apache
Posted by Mark Ng <mn...@rnm.ca>.
I've compiled emperl (current CVS), mod_perl (current CVS) and apache 1.3.12
with
AIX patches to perl.
I've tried building mod_perl static/ embperl DSO and mod_perl static /
embperl static and
mod_perl DSO /embperl DSO.
All with the same results:
All seem to compile correctly, but when I configure and startup apache, I get
the error in the apache/logs/error_log, when I access an .epl file.
[Mon Apr 10 03:02:49 2000] [notice] child pid 12520 exit signal Segmentation
fau
lt (11)
[Mon Apr 10 03:02:49 2000] [notice] child pid 16674 exit signal Segmentation
fau
lt (11)
And when I try the directive:
Files *.epl>
PerlSetEnv EMBPERL_PATH "/usr/local/www/htdocs"
PerlSetEnv EMBPERL_LOG "/tmp/embperl8080.log"
SetHandler perl-script
PerlHandler HTML::Embperl
Options ExecCGI
</files>
AddType text/html .epl
and run : apachectl start
I get the error :
/usr/local/www:pizza2> bin/apachectl start
bin/apachectl[71]: 16760 Segmentation fault(coredump)
bin/apachectl start: httpd could not be started
------- previous message: ------------
> I'm having problem with in installing Embperl 1.2.1 and Current CVS with
> modperl 1.22 and apache 1.3.12 on AIX
>
> Has anyone out there installed the above combination successfully?
> If so, can you let me know what versions of software you are are using?
>
> ie: c compiler cc, AIX, perl, mod_perl, apache, and embperl.
>
> I'm personally using:
> cc :4.4.0.2
> AIX 4.3.3.0
> perl 5.005_03
> mod_perl 1.22
> embperl 1.2.1 and Current CVS snapshot
I have AIX 4.1.5, xlc 3.1.4.8, the same perl and mod_perl and embperl
from CVS running. I would recommend that you use mod_perl from CVS and
especially pay attention to the patch recommended in the INSTALL
document, you will need to rebuild your perl before installing mod_perl.
--
Jens-Uwe Mager
Re: AIX embperl/mod_perl/apache
Posted by Jens-Uwe Mager <ju...@helios.de>.
On Sun, Apr 09, 2000 at 06:23:30PM -0400, Mark Ng wrote:
> I'm having problem with in installing Embperl 1.2.1 and Current CVS with
> modperl 1.22 and apache 1.3.12 on AIX
>
> Has anyone out there installed the above combination successfully?
> If so, can you let me know what versions of software you are are using?
>
> ie: c compiler cc, AIX, perl, mod_perl, apache, and embperl.
>
> I'm personally using:
> cc :4.4.0.2
> AIX 4.3.3.0
> perl 5.005_03
> mod_perl 1.22
> embperl 1.2.1 and Current CVS snapshot
I have AIX 4.1.5, xlc 3.1.4.8, the same perl and mod_perl and embperl
from CVS running. I would recommend that you use mod_perl from CVS and
especially pay attention to the patch recommended in the INSTALL
document, you will need to rebuild your perl before installing mod_perl.
--
Jens-Uwe Mager
HELIOS Software GmbH
Steinriede 3
30827 Garbsen
Germany
Phone: +49 5131 709320
FAX: +49 5131 709325
Internet: jum@helios.de
AIX embperl/mod_perl/apache
Posted by Mark Ng <mn...@rnm.ca>.
Hello,
I'm having problem with in installing Embperl 1.2.1 and Current CVS with
modperl 1.22 and apache 1.3.12 on AIX
Has anyone out there installed the above combination successfully?
If so, can you let me know what versions of software you are are using?
ie: c compiler cc, AIX, perl, mod_perl, apache, and embperl.
I'm personally using:
cc :4.4.0.2
AIX 4.3.3.0
perl 5.005_03
mod_perl 1.22
embperl 1.2.1 and Current CVS snapshot
Thanks!
Mark
RE: Embperl DBI - Sybase
Posted by Gerald Richter <ri...@ecos.de>.
hi ,
>
> Now all work fine ... but I don't make the staticly version.
>
> I have re-installed again :
>
> Mod-Perl 1.22 (re-installed ,perl Makefile.PL
> USE_APXS=1 WITH_APXS=/usr/sbin/apxs EVERYTHING=1 USE_DSO=1)
> EmpPerl (re-installed)
> DBD-Sybase (re-installed)
>
> And I can restart httpd daemon without signal 11 .....
>
What I told you (see below), was to build without USE_DSO!!
USE_APACI=1 APACHE_SRC=/foo/bar EVERYTHING=1
Gerald
> thanks for help !
>
> bye
>
> At 01:01 PM 4/9/00 +0200, Gerald Richter wrote:
> > >
> > > Well, I change to version 1.22 but I had the same problem ...
> > >
> > > another way ?
> >
> >Then you should try to link mod_perl staticly into Apache (_not_ as DSO)
> >
> >Gerald
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> >For additional commands, e-mail: embperl-help@perl.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
>
>
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 925151
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
RE: Embperl DBI - Sybase
Posted by mtoro <mt...@chat.cl>.
hi ,
Now all work fine ... but I don't make the staticly version.
I have re-installed again :
Mod-Perl 1.22 (re-installed ,perl Makefile.PL
USE_APXS=1 WITH_APXS=/usr/sbin/apxs EVERYTHING=1 USE_DSO=1)
EmpPerl (re-installed)
DBD-Sybase (re-installed)
And I can restart httpd daemon without signal 11 .....
thanks for help !
bye
At 01:01 PM 4/9/00 +0200, Gerald Richter wrote:
> >
> > Well, I change to version 1.22 but I had the same problem ...
> >
> > another way ?
>
>Then you should try to link mod_perl staticly into Apache (_not_ as DSO)
>
>Gerald
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
>For additional commands, e-mail: embperl-help@perl.apache.org
RE: Embperl DBI - Sybase
Posted by Gerald Richter <ri...@ecos.de>.
>
> Well, I change to version 1.22 but I had the same problem ...
>
> another way ?
Then you should try to link mod_perl staticly into Apache (_not_ as DSO)
Gerald
RE: Embperl DBI - Sybase
Posted by mtoro <mt...@chat.cl>.
Hi Gerald,
Well, I change to version 1.22 but I had the same problem ...
another way ?
Bye
At 02:29 PM 4/8/00 +0200, Gerald Richter wrote:
>hello,
> >
> > I have working Embperl with apache in a redhat 6.1 with DSO.
> >
> > But When I make a restart o httpd daemon alway the querys
> > whit EmbPerl exit whit signal 11.
>
>With version of mod_perl? If you not already run mod_perl 1.22, upgrading to
>1.22 should solve the problem. (or linking mod_perl staticly into Apache,
>not as DSO)
>
>Gerald
>
>
>-------------------------------------------------------------
>Gerald Richter ecos electronic communication services gmbh
>Internetconnect * Webserver/-design/-datenbanken * Consulting
>
>Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
>E-Mail: richter@ecos.de Voice: +49 6133 925151
>WWW: http://www.ecos.de Fax: +49 6133 925152
>-------------------------------------------------------------
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
>For additional commands, e-mail: embperl-help@perl.apache.org
RE: Embperl DBI - Sybase
Posted by Ilia Lobsanov <il...@lobsanov.com>.
> -----Original Message-----
> From: mtoro [mailto:mtoro@chat.cl]
> Sent: Friday, April 07, 2000 10:53 AM
> To: embperl@perl.apache.org
> Subject: Embperl DBI - Sybase
>
>
> hello,
>
> I have working Embperl with apache in a redhat 6.1 with DSO.
>
> I have many querys to Sybase DB and all work fine ...
>
> But When I make a restart o httpd daemon alway the querys
> whit EmbPerl exit whit signal 11.
could you clarify this sentence, please?
>
> and the only action for correct this problem is re-boot the
> machine ...
>
> which is my problem ?
>
> thanks in advance ....
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
>
>
RE: Embperl DBI - Sybase
Posted by Gerald Richter <ri...@ecos.de>.
hello,
>
> I have working Embperl with apache in a redhat 6.1 with DSO.
>
> But When I make a restart o httpd daemon alway the querys
> whit EmbPerl exit whit signal 11.
With version of mod_perl? If you not already run mod_perl 1.22, upgrading to
1.22 should solve the problem. (or linking mod_perl staticly into Apache,
not as DSO)
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 925151
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------