Hi Rosa !
I'd sugest that you use a start/stop script like the following to start
or stop the web-service and the db-server:

#!/sbin/runscript
start() {
        LD_LIBRARY_PATH="/opt/sdb/programs/lib:${LD_LIBRARY_PATH}"
        export LD_LIBRARY_PATH
        PATH="${PATH}:/opt/sdb/programs/bin" export PATH
        cd /opt/sdb/programs/pgm
        ./wahttp&
        /opt/sdb/programs/bin/x_server -Y start
}

stop() {
        killall wahttp
        /opt/sdb/programs/bin/x_server stop
}

regards mundi

Am Dienstag, den 27.12.2005, 09:24 +0100 schrieb Rosa Lago:

> That makes more sense (excuse my poor English once more),
> 
> the next question is
> 
> How can I modify the environment of the web server process?. I searched the
> file WebAgent76.ini and there is no variable named LD_LIBRARY_PATH.
> 
> Thanks in advance
> 
> Rosa
> 
> On 12/26/05, Robert Klemme <[EMAIL PROTECTED]> wrote:
> >
> > You'll have to modify the environment of the web server process not
> > the environment of your shell.
> >
> > robert
> >
> > 2005/12/26, Rosa Lago <[EMAIL PROTECTED]>:
> > > I have tried to fix the LD_LIBRARY_PATH as Robert sugests but maybe I
> > > am doing something wrong or perhaps that is not the solution.
> > > In order to set the LD_LIBRARY_PATH I wrote the next two lines in the
> > > files .bash_profile of the users sdb and root
> > >
> > > LD_LIBRARY_PATH=/opt/sdb/programs/web/lib
> > > export LD_LIBRARY_PATH
> > >
> > > but the problem continues the same. The library libwapi.so cannot be
> > found.
> > >
> > > Do somebody knows what is wrong?
> > >
> > > Thanks in advance.
> > >
> > > Rosa
> > >
> > >
> > >
> > >
> > > > I have installed MAXDB on Linux Fedora Core 3. The installation
> > appears to
> > > > be OK, but when I try to start the WEB DBM using the command wahttp
> > located
> > > > in /opt/sdb/programs/web, I get the following error
> > > >
> > > >
> > > > ./wahttp: error <http://lists.mysql.com/maxdb/%20error> <
> > http://forums.mysql.com/%20error> while loading shared
> > > > libraries: libwapi.so: cannot open shared object file: No such file or
> > > > directory
> > >
> > > Rosa,
> > >
> > > you'll probably have to adjust LD_LIBRARY_PATH accordingly so the
> > > shard lib is found.
> > >
> > > Kind regards
> > >
> > > robert
> > >
> > >
> >

Reply via email to