Re: grapher.cgi

Hurgh <[email protected]>
Newsgroups gmane.network.cricket.user
Message-ID <[email protected]>
Just an update,

I have been stuffing round with this problem on and off all morning, and
still going no where.

Here is a list of what i have done:

Changed user apache runs as to cricket (the same user that cricket functions
run as) <-- no change
Re-compiled apache2 and used cricket as the user, still no change.

The grapher.cgi sctipt still works fine if i am logged in as root or
cricket.

Anyone got any more suggestions of where to go next?

Thanks

-Hurgh-



On 4/26/06, Hurgh <[email protected]> wrote:
>
> Sorry, forgot to try as the user apache runs as,
>
> I did so, and i got a different result:
>
>
>  ldd /usr/perl5/5.8.4/lib/i86pc-solaris-64int/auto/DB_File/DB_File.so
>         libdb-4.4.so =>  (file not found)
>
>         libc.so.1 =>     /lib/libc.so.1
>         libm.so.2 =>     /lib/libm.so.2
>
> which shows that the file is not found.
>
> Where abouts should i set the path's to fix this? Is it in the $PATH
> vriable or something specific to perl
>
> Thanks
>
> -Hurgh-
>
>
> On 4/26/06, Hurgh <[email protected]> wrote:
> >
> > Hi Rick,
> >
> > Thanks for your reply,
> >
> > I ran the command as both root and the cricket user, and both returned
> > the same. The file libdb-4.4.so is found..
> >
> > [cricket@smgnet03 95 0 ~]$ ldd
> > /usr/perl5/5.8.4/lib/i86pc-solaris-64int/auto/DB_File/DB_File.so
> >         libdb-4.4.so =>  /usr/local/BerkeleyDB.4.4/lib/libdb- 4.4.so
> >         libc.so.1 =>     /lib/libc.so.1
> >         librt.so.1 =>    /lib/librt.so.1
> >         libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
> >         libaio.so.1 =>   /lib/libaio.so.1
> >         libmd5.so.1 =>   /lib/libmd5.so.1
> >         libm.so.2 =>     /lib/libm.so.2
> >
> > [root@smgnet03 505 0 ~]$ ldd
> > /usr/perl5/5.8.4/lib/i86pc-solaris-64int/auto/DB_File/DB_File.so
> >         libdb-4.4.so =>  /usr/local/BerkeleyDB.4.4/lib/libdb- 4.4.so
> >         libc.so.1 =>     /lib/libc.so.1
> >         librt.so.1 =>    /lib/librt.so.1
> >         libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
> >         libaio.so.1 =>   /lib/libaio.so.1
> >         libmd5.so.1 =>   /lib/libmd5.so.1
> >         libm.so.2 =>     /lib/libm.so.2
> >
> > Any more thoughts?
> >
> > Thanks
> >
> > -Hurgh-
> >
> >
> >
> > On 4/25/06, Rick Frey < [email protected]> wrote:
> > >
> > > Appears that libdb-4.4.so is not in library path or don't have
> > > permission to read it as Apache user (or as yourself).
> > > Does running `ldd
> > > /usr/perl5/5.8.4/lib/i86pc-solaris-64int/auto/DB_File/DB_File.so` as
> > > either user show that libdb-4.4.so is not found?
> > >
> > >
> > >
> > > Hurgh wrote:
> > > > Hi Kevin,
> > > >
> > > > Thanks for your quick reply.
> > > >
> > > > I tried what you suggested, once as root, once as cricket and once
> > > > logged in as myself.
> > > >
> > > > Both root and cricket worked fine (got HTML Returned), but when i
> > > > tried logged in as myself i got the same error:
> > > >
> > > >
> > > > Can't load
> > > > '/usr/perl5/5.8.4/lib/i86pc-solaris-64int/auto/DB_File/DB_File.so'
> > > for
> > > > module DB_File: ld.so.1: /usr/perl5/5.8.4/bin/perl: fatal:
> > > > libdb-4.4.so < http://libdb-4.4.so>: open failed: No such file or
> > > > directory at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/XSLoader.pm
> > > line
> > > > 68.
> > > >  at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/DB_File.pm line 251
> > > > Compilation failed in require at
> > > > /export/home/cricket/cricket/lib/ConfigTree/Cache.pm line 21.
> > > > BEGIN failed--compilation aborted at
> > > > /export/home/cricket/cricket/lib/ConfigTree/Cache.pm line 21.
> > > > Compilation failed in require at
> > > > /export/home/cricket/public_html/grapher.cgi line 50.
> > > > BEGIN failed--compilation aborted at
> > > > /export/home/cricket/public_html/grapher.cgi line 50.
> > > >
> > > > So it seems like it is Perl search path problem
> > > >
> > > > Is there anyone on the list that could help me with this, if not
> > > > anyone got any suggestions as to where i could find one :) (i will
> > > try
> > > > the perl list if all else fails :))
> > > >
> > > > Thanks again for your help Kevin, and also for your quick reply.
> > > >
> > > > -hurgh-
> > > >
> > > >
> > > >
> > >
> > >
> > > -------------------------------------------------------
> > > Using Tomcat but need to do more? Need to support web services,
> > > security?
> > > Get stuff done quickly with pre-integrated technology to make your job
> > > easier
> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> > > Geronimo
> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > >
> > > _______________________________________________
> > > cricket-users mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/cricket-users
> > >
> >
> >
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.