Pardon the off topic thread,
I am trying to make IPC::Shareable work with my script, however I get
this error:
IPC::Shareable::SharedMem: shmget: Permission denied
at /usr/local/lib/perl5/site_perl/5.005/IPC/Shareable.pm line 456
[Tue Oct 16 14:44:15 2001] [error] Could not create shared memory
s
Perrin Harkins wrote:
>
> > I am trying to make IPC::Shareable work with my script, however I get
> > this error:
> > IPC::Shareable::SharedMem: shmget: Permission denied
> > at /usr/local/lib/perl5/site_perl/5.005/IPC/Shareable.pm line 456
> > [Tue Oct 16 14:44:15 2001] [error] Could not create
Folks,
I get this message when running Makefile.pm:
Your Perl is configured to link against libgdbm,
but libgdbm.so was not found.
You might need to install Perl from source
I have checked the /usr/lib directory for libgdbm.so and it is not
there.
Here is the result of perl -V | grep libs:
Folks,
After installing mod_perl-1.25 & apache_1.3.22 I get this error message!
I know this is a really serious error, but I was wondering if any one
could tell me why I would get this since the installation of both
mod_perl and apache went through without a problem?!
-r
___cliff rayman___ wrote:
>
> first off, that looks like a spanking brand new version
> of apache but an older version of mod_perl. you will
> probaby be happier with mod_perl-1.26
>
> what happens when you try the following from the command line?
> perl -MApache -e 1
After running make test (for the first time) here is waht I get:
*** Error code 2 (bu21)
mod_perl make test gives me this:
(cd ../apache_1.3.22 && PERL5LIB=/home/rasoul/mod_perl-1.26/lib make)
===> src
===> src/regex
<=== src/regex
===> src/os/unix
<=== src/os/unix
===> src/ap
<=== src/ap
===> s
Folks,
The apache::Request docs indicate that param can be used to set the
query string. However,
it fails when I do something like this:
my $r = Apache::Request->new(shift);
...
my $host= $r->hostname;
my $uri
Robert Landrum wrote:
>
> >Folks,
> >The apache::Request docs indicate that param can be used to set the
> >query string. However,
> >it fails when I do something like this:
> >
> > my $r = Apache::Request->new(shift);
>
> I'm guessing that the original reference isn't be
Geoffrey Young wrote:
>
> Rasoul Hajikhani wrote:
>
> > Folks,
> > The apache::Request docs indicate that param can be used to set the
> > query string. However,
> > it fails when I do something like this:
> >
> >
Folks,
I have created a data structure and used IPC::ShareLite to save it in
the main memeory. Can someone tell me how to look at it and destroy it.
Thanks
-r
Hello folks,
I have just writen an online ordering system for our company using
mod_perl. The user must also be able to print the form, preserving the
format. Since we use netscape (4.5) for Irix 6.5, I can't use the print
button of the browser, the format is not preserved. Any one know of any
mod
Hello People,
Need your advise on how to cache a template under mod_perl... Any ideas?
Thanks in advance
-r
Robert Landrum wrote:
>
> At 12:28 PM -0800 3/6/02, Rasoul Hajikhani wrote:
> >Hello People,
> >Need your advise on how to cache a template under mod_perl... Any ideas?
> >Thanks in advance
> >-r
>
> #startup.pl
>
> open(FILE," $MY::TEMPLATE .=
Hello folks,
I am writing a web interface for the GPGP module that would allow users
to create a new public and private key and adds them to the corporate
key ring. I will be useing IPC::Open3 and IO::Select to "control" stdin
and stdout of GPGP. Are there any issues that I should be aware w/ thes
Hello folks,
I am writing a web based interface to gpg and am using IPC::Open3 and
IO::Select to manage STDIN, STDOUT and STDERR handles. But, I can not
get stdin to work properly. Here is my code:
$gpgCommand = "gpg --homedir $home --no-default-keyring
--secret-keyring rasoul.asc --decrypt $
Hello folks,
I am writing a web based interface to gpg and am using IPC::Open3 and
IO::Select to manage STDIN, STDOUT and STDERR handles. But, I can not
get stdin to work properly. Here is my code:
$gpgCommand = "gpg --homedir $home --no-default-keyring
--secret-keyring rasoul.asc --decrypt $
Elizabeth Mattijsen wrote:
>
> At 01:44 PM 4/3/02 -0800, Rasoul Hajikhani wrote:
> >Hello folks,
> >I am writing a web based interface to gpg and am using IPC::Open3 and
> >IO::Select to manage STDIN, STDOUT and STDERR handles. But, I can not
> >get stdin to work p
Folks,
I have asked this question before, and received answers that have helped
me in quest. However, my problem persists. So I would like to direct
this question to those who have used gpg, and open3. I am having trouble
writing to stdin when an apache thread calls open3. However, the same
code w
Hello folks,
Has anyone purchased the mod_perl cook book from this list? If so, what
do you think of it? Is it a good buy? Appreciate feed back.
Thanks in advance
-r
Folks,
please excuse this off topic thread, but I thought since a lot of you
work in creating a informative user experience, some of you may be able
to help me. I am trying to create a status page, the kind that shows a
horizental status bar that looks to work in real time and changes as
events h
Folks,
The Apache::File man pages indicate that
($name,$fh) = Apache::File->tmpfile;
returns a fh ready to write to. So far so good.
In case of wanting to read from it, here is what I do:
# Is this necessary?
$fh->close() or die "Could not close $name: $!\n";
$opfh->open("<$name");
local $/
Folks,
The Apache::File man pages indicate that
($name,$fh) = Apache::File->tmpfile;
returns a fh ready to write to. So far so good.
In case of wanting to read from it, here is what I do:
# Is this necessary?
$fh->close() or die "Could not close $name: $!\n";
$fh->open("<$name");
local $/
Robert Landrum wrote:
>
> At 1:44 PM -0700 4/10/02, Rasoul Hajikhani wrote:
> >Folks,
> >The Apache::File man pages indicate that
> >
> >($name,$fh) = Apache::File->tmpfile;
> >
> >returns a fh ready to write to. So far so good.
> >
>
Folks,
I got my mp cb last night and it looks like a good read. Thanks to all
of you who responded and recommended the book.
-r
Folks,
I don't seem to be able to make pnotes, notes or subprocess_env work. I
am trying to pass a value from a handler to another, and from what I
have read in the Eagle, and cook book, the request ought to be the main
one in order for the pnotes, ... to work. So Here is the snippet of my
code:
I really enjoyed this topic... I hope you guys are planning on actually
documenting your ideas. I would love to read and learn more about this
topic.
-r
Hello folks,
I am trying to implement a simple PerlTransHandler to change:
http://myserver/
to
http://myserver.rhythm.com/
And here is my code:
package MIS::GENERAL::FixURL;
use Apache::Constants qw(DECLINED);
use strict;
sub handler
{
my $r = shift;
my $uri = $r->uri;
I am realy trying to make sure that all requests for
http://myserver/
are treated as
http://myserver.rhythm.com/
so that my other applications that depend on reading cookies down the
request chain could actually do so...
-r
"Randal L. Schwartz" wrote:
>
> >>>>&g
A funny thing is happening with my PerlTransHandler...
It is not being called at all... :(
I have added warn messages but they never appear in the error log.
I am at a loss and hoping that some one may have an answer...
-r
Lyle Brooks wrote:
>
> Quoting Rasoul Hajikhani ([EMAIL PRO
Hello folks,
Yesterday I posted a question about PerlTransHandler and received a lot
of responses. Thanks to all of you who replied. However, my problem
persists. I try to be more precise in explaining the problem today.
My login module sets a few cookies that expire 24 hrs after they are
set. Upo
Is there a way to read the actual URL typed in the location box of the
browser?
Thanks in advance.
-r
Folks,
I get the strangest object when I tried to print my object to log file:
"Died". Has anyone seen this before. This is ofcourse my container
object that I use in mod_perl to save the request's response.
Thanks in advance.
-r
Folks,
My PerlAccessHandler is being executed twice per each request. Is this a
normal behavior for an access handler?
Here is my .conf entry
SetHandler perl-script
# run is a wrapper for my handler
# all common methods which many of my handlers
# use are st
Folks,
is there any benefit in using Apache::DBI when all db calls ought to go
through db proxies?
Thanks in advance
-r
Hi there,
I am having trouble making open3 work with perl, v5.6.1 built for
i386-linux.
I am running Apache/1.3.27 Ben-SSL/1.48 (Unix) PHP/4.2.3 mod_perl/1.27.
My problem is that I can't write to STDIN. Does any one know of any
solution to this problem? Has any one encountered the same issue?
A
Hello there,
We have just upgraded to :
Apache/1.3.27 Ben-SSL/1.48 (Unix) PHP/4.2.3 mod_perl/1.27 configured
Running perl 5.6.1.
I am getting 302 error message on my redirects. This comes as a complete
surprise since the same piece of code works just fine on:
Apache/1.3.14 Ben-SSL/1.42 (Unix)
Hello there,
My apologies if you already have received this email, but I keep getting
a message that the mail was not sent.
We have just upgraded to :
Apache/1.3.27 Ben-SSL/1.48 (Unix) PHP/4.2.3 mod_perl/1.27 configured
Running perl 5.6.1.
I am getting 302 error message on my redirects. This
Hello there,
I am wondering how to stop Expect writting to stdout its error message?
Does any one have any ideas?
I appreciate all your comments.
-r
Hello there,
I am wondering how to stop Expect writting to stdout its error message?
Does any one have any ideas?
I appreciate all your comments.
-r
Hello there,
I have a problem and I am not sure how to explain it... So please
forgive me if I sound like a rookie, since I am that.
I have a packge called: my::foo in which I have declared the following:
package my::foo;
@my::foo::ISA = qw( my::bar );
.
.
.
sub handler
{
my $r = shi
Hello,
Is there a bug in Apache::Cookie? I am trying to set a cookie using:
$webuname = Apache::Cookie->new( $r,
-name => 'randh_webuname',
-value
=>$user,
Can some one tell me why I can not set a cookie...
I have a module that is supposed to set a cookie called Cookie_Check:
package MIS_APPS::RHS::Control::Cookie_Check;
use Apache::Constants qw(:common);
use Apache::Request;
use Apache::Cookie ();
use strict;
sub handler
{
my $r
Can some one tell me why I can not set a cookie...
I have a module that is supposed to set a cookie called Cookie_Check:
package MIS_APPS::RHS::Control::Cookie_Check;
use Apache::Constants qw(:common);
use Apache::Request;
use Apache::Cookie ();
use strict;
sub handler
{
my $r
Perrin Harkins wrote:
>
> > Can some one tell me why I can not set a cookie...
> > I have a module that is supposed to set a cookie called Cookie_Check:
>
>
>
> > And after my second handler should kick in and do some other magic. In
> > my httpd.conf I have:
> >
> >
> > SetHandler pe
Why is setting cookies so complex in mod_perl...
Can any one tell me how I can set a few cookies in one handler and hand
over the operation to another handler to do some more stuff...
I have tried everything that I know (that's not much) but I still can
not set the cookies...
here is the snippet
I must first thank all of you that helped and apologize to you... I now
know why I was not able to read and write my cookies. The "Domain". my
module is now happy to accommodate my request after changing from
"http://localhost/..."; to the appropriate
"http://mymachine.mydomain.com/...";. Thanks t
Jim Smith wrote:
>
> On Tue, Aug 14, 2001 at 10:48:48AM -0400, Aleksandr Vladimirskiy wrote:
> >
> > Hi all,
> >
> > I am running a perl 5.6.0, mod_perl 1.26, apache 1.3.19 on Solaris 2.6. I
> > get the following error in my logs:
> >
> > [Tue Aug 14 10:45:10 2001] [notice] child pid 2630 exit si
Are there any traps that I should be aware of when using s//g? I was
reading the online mod_perl docs and could not find anything to that
effect. But I do recall working with Perrin (correct me if I am wrong
Perrin) that there were some issues with using global tag in
substitutions.
-r
I get the following error on
my $i = Apache::Request->instance($r);
Can't locate object method "instance" via package "Apache::Request"
Why is that? Is the method not available? Are the docs outdated?
Any comments welcomed... :)
I am running mod_perl/1.22...
-r
I am reading the online docs...
-r
Robin Berjon wrote:
>
> On Wednesday 15 August 2001 22:11, Rasoul Hajikhani wrote:
> > I get the following error on
> > my $i = Apache::Request->instance($r);
> >
> > Can't locate object method "instance" via p
I am getting "out of memory" error message in my error log. Can any one
suggest a way in finding this memory leak?
Thanks in advance...
-r
PS: it is a simple update of a record but I get:
Out of memory during "large" request for 536875008 bytes...
God help me :(
[EMAIL PROTECTED] wrote:
>
> Rasoul Hajikhani writes:
>
> > Yes. It has three gig of ram. Is Template Toolkit memory intensive? I
> > was told that the swap was turned off on that machine.
>
> Swap was completly turned off? That isn't good... should have a
&g
My apache server does not start up when I add
PerlModule B::TerseSize
to the httpsd.conf file. Or any "PerlModule" flag. Any one can tell me
why? I am trying to determine a leakage in my script...
thanks
-r
I am a bit confused! Can Apache::DBI handle db calls through proxies?
-r
I know this question will sound primitive to most of you, however, I
have this nagging error which won't go away.
In my httpsd.conf, I have declared "PerlModule
MY::Perl::Control::WebAccess" which I know is where it is supposed to
be. My @INC does not include the path to that directory, however,
___cliff rayman___ wrote:
>
> and what do the error logs say?
>
> Rasoul Hajikhani wrote:
>
> > I know this question will sound primitive to most of you, however, I
> > have this nagging error which won't go away.
> > In my httpsd.conf, I have decl
Benjamin Trott wrote:
>
> > PH> Don't open a connection during startup. If you do, it will be shared when
> > PH> Apache forks, and sharing a database handle is bad for the same reasons
> > PH> sharig a file handle is. Open a connection in the child process instead.
>
> I will second this. I'v
Ken Williams wrote:
>
> [EMAIL PROTECTED] (Rasoul Hajikhani) wrote:
> >> > "use lib qw(...);". I have tried declaring:
> >> > "use MY::Perl::Control::WebAccess;" in my startup.pl, with the same
> >
> >Here it is:
> >
&
Stas Bekman wrote:
>
> On Thu, 23 Aug 2001, Rasoul Hajikhani wrote:
>
> > ___cliff rayman___ wrote:
> > >
> > > and what do the error logs say?
> > >
> > > Rasoul Hajikhani wrote:
> > >
> > > > I know this question will so
Hi
Is there any way that I could use $r->push_handlers(PerlHandler =>
myHandler); and send/include a query string with that? I need to push
another handler with some specific form data.
thanks
-r
___cliff rayman___ wrote:
>
> looks like you got your module working?
>
> checkout $r->pnotes();
>
> Rasoul Hajikhani wrote:
>
> > Hi
> > Is there any way that I could use $r->push_handlers(PerlHandler =>
> > myHandler); and send/include a qu
Hello again,
The problem with push_handlers, I just realized, is that the
"PerlHandler" argument assumes that its argument is a method, sub,
within the same package/handler. However, I need some other handler to
take over and finish the job. Chaining won't do since I don't know
before hand which h
You guys/gals are the most helpful bunch of people I have had the
pleasure of interacting with. You ROCK, all of YOU.
Thanks
Hello,
I already have asked this question and got an answer for it, so please
accept my forwarded apologies. However, I was trying something else and
got stuck. I know in order to pass around query string, or form data,
pnotes may be used. However, I am trying something else and it does not
seem
Hello,
I already have asked this question and got an answer for it, so please
accept my forwarded apologies. However, I was trying something else and
got stuck. I know in order to pass around query string, or form data,
pnotes may be used. However, I am trying something else and it does not
seem
Robert Landrum wrote:
>
> At 9:36 AM -0700 8/29/01, Rasoul Hajikhani wrote:
> >Hello,
> >I already have asked this question and got an answer for it, so please
> >accept my forwarded apologies. However, I was trying something else and
> >got stuck. I know in order t
Robert Landrum wrote:
>
> > > Which should solve your problems (I think).
> >
> >I am affraid it did not work. I have no problem reading the data in the
> >current handler, but right after redirect, which is also required to
> >read the data, I loose all the POSTED data.
>
> Performing a redirec
Robert Landrum wrote:
>
> At 11:19 AM -0700 8/29/01, Rasoul Hajikhani wrote:
> >Robert Landrum wrote:
> >>
> >> > > Which should solve your problems (I think).
> >> >
> >> >I am affraid it did not work. I have no problem reading the
Hello,
I am wondering whether there is a way of knowing how mod_perl was built?
I have inhereted a box with mod_perl configured.
Thanks
-r
I need some advice on implementing an "accessing" system. I have already
implemented a few systems that now require some sort of advance
accessing mechanism. I say advance because some parts of the systems
that I have written are accessible by all, and some other parts should
be accessible by mana
Hi all,
I am trying to use MLDBM::Sync to create persistent %hash. Has any one
used this module? I was reading the archive mail between Joshua and
Perrin and
>or do you tie/untie on every request?
>yes
??
Also, I would appreciate it if someone could direct me to a code snipet
for this module.
Hello,
I am using template toolkit to generate dynamic content and I was
wondering if there is any way to set a cookie after returning OK. Here
is what I mean.
1-There are two scripts that check for access privileges of a user. One
sets two cookies and the other (mine) sets three cookies.
2- My
Folks, if this looks like an off topic, my apologies in advance...
I have written an accessing scheme that checks for the existence of
couple of cookies and if not present, the user is rerouted to a login
page. So far simple stuff. The problem is that my boss is saying that it
should work with a C
Hello folks,
I am using $request_object->no_cache(1) with no success. Isn't it
supported any more? Can some one shed some light on this for me...
#set the content type
$big_r->content_type('text/html');
$big_r->no_cache(1);
# some more code
return OK;
t
Ask Bjoern Hansen wrote:
>
> On Thu, 15 Nov 2001, Rasoul Hajikhani wrote:
>
> > I am using $request_object->no_cache(1) with no success. Isn't it
> > supported any more? Can some one shed some light on this for me...
>
> What do you mean with "
Rob Bloodgood wrote:
>
> >#set the content type
> > $big_r->content_type('text/html');
> > $big_r->no_cache(1);
> >
> > # some more code
> >
> > return OK;
>
> You *are* remembering to do
>
> $r->send_http_header();
>
> somewhere in (some more code), arent y
Hello folks,
I am trying to find out where (which machine) a request has come from.
We have several web servers running on different machines serving
different documents, so it is possible to jump servers back and forth.
This means that I would have to know what prev->uri was/is and what
r->uri wa
George Sanderson wrote:
>
> Apache::OpenIndex (OpenIndex-1.00.tar.gz) was uploaded to CPAN on 14Sep2001
> and is currently released. This was my first module. I enjoyed journey.
>
> OpenIndex provides a file manager for an Apache modperl web site using a
> web browser.
> It is a extensive rewr
78 matches
Mail list logo