[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] ODBC to Win98 MS Access .MDB on RAQ2 for PHP4
- Subject: Re: [cobalt-developers] ODBC to Win98 MS Access .MDB on RAQ2 for PHP4
- From: "Sigurd Magnusson" <phobo@xxxxxxxxxxxxxxx>
- Date: Thu Oct 26 16:27:37 2000
- List-id: Mailing list for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
but do you think you -only- need the two .taz files ? and do you not need to
(at all) make an 'openlink' user ?
----- Original Message -----
From: "Wim Aarts" <w.aarts@xxxxxxxxxxx>
To: "Sigurd Magnusson" <phobo@xxxxxxxxxxxxxxx>
Sent: Thursday, October 26, 2000 8:36 PM
Subject: Re: [cobalt-developers] ODBC to Win98 MS Access .MDB on RAQ2 for
PHP4
> > Ok, this is what i did:
> >
> > mkdir /usr/local/openlink,
> > put in the two Openlink .taz files (forgot names - one was the Cobalt
SDK,
> > the other the Linux MIPS sourcecode file which had oplcfg and odbctest
etc
> > in it).
> >
> > I ran "sh install.sh"; it worked fine; (i did all the defaults) - and
> > brought up the oplcfg menu.
> >
> > When I tried to browse to the AdminAssistant website (to port 8000 etc)
> > nothing happended. I restarted the broker (from oplcfg) and now the
> > AdminAssistant site worked but I couldn't enter a new DSN because
> "odbc.ini"
> > was not found. I then realised I needed to set up that and a few other
ENV
> > variables -- and manually "export"ed them. How do I make it
automatically
> do
> > this when the server is started? there is no file I could see called
> > .profile on the raq.
> you should make a "start stop" script in /etc/rc.d/init.d/openlink
> check some other scripts in there to see how it works. After that you
link
> it to /etc/rc.d/rc3.d/S81openlink
> see the directory an check other scripts.
> the number in rc3.d corresponds to the run level, i.e. if you run on run
> level 3 the script you made is run with a start option.
> Other directories contain Kill scripts, these are also links but they
start
> with a K and run the openlink script with the stop option.
>
> >
> > I thought all was fine, I set up a DSN but when I did a odbctest it
> > complained:
> > "RPC Program Not Available".
> My best guess is that the win 98 client didn't start the request broker
yet.
> >
> > ---
> > Question: where does iODBC fit in to all of this ?! I saw something
about
> > needing to make a new user for openlink, put the homepage to your iODBC
> libs
> > etc - I was not sure how to do this.
> I haven't used iODBC I'm not sure either were it fits in.
> > ---
> >
> > Then I decompressed apache/php4 and configured, make'd etc them
> > (php was : --with-openlink=/usr/local/openlink ) etc etc, which all
> > appeared to work fine (ie, odbc calls could be made from PHP, they just
> > didn't work).
> >
> > --
> > Question: If i make an access DSN on the Win98, can't i make the
Openlink
> > program look at that, instead of installing Openlink on the Win98 pc ??
> I've tried this but I couldn't get it to work, you'll need to install
> openlink on the pc as far as I know. If you manage to get it working I'm
> very interested!
> >
> >
> > One last thing - what causes "rm -d <dirname>" to produce "operation not
> > permitted" ? I have all these blank dirs sitting around coz I can't del
> them
> try
> rm -r <dirname>
>
> > !
> >
> >
> > Siggy
> >
> Hope this will get you any futher. Cheers Wim
>
>