Re: Problem with new instalation
Posted in 2000
Topics: Installation, Setup & Upgrades, Server Administration, Networking & sqlhosts Configuration, Platform-Specific Issues
From: Chris du Preez <chrisdp@armscor.co.za>
>
>I've installed informix dynamic server 7.3 and Informix-Connect 2.10.
>When i execute the script file dbaccessdemo7 i get the following error
>
>DBACCESS Demonstration Database Installation Script
>
>
>Creating stores7 database ....
>
>/opt/informix/bin/dbaccessdemo7: test: integer expression expected
>before -eq
>/opt/informix/bin/dbaccessdemo7: test: integer expression expected
>before -eq
>
>The specified service name or protocol is unknown.
>Error in line 1>Near character position 1
>
>
>The specified service name or protocol is unknown.
>
>
> I'm runnig on linux redhat with kernel 2.2.12 , is there something else
>i should install any help will be appreciated
Have you set up /etc/hosts, /etc/services, $INFORMIXDIR/etc/sqlhosts?
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
Obnoxio The Clown wrote:
> From: Chris du Preez <chrisdp@armscor.co.za>
> >
> >I've installed informix dynamic server 7.3 and Informix-Connect 2.10.
> >When i execute the script file dbaccessdemo7 i get the following error
> >
> >DBACCESS Demonstration Database Installation Script
> >
> >
> >Creating stores7 database ....
> >
> >/opt/informix/bin/dbaccessdemo7: test: integer expression expected
> >before -eq
> >/opt/informix/bin/dbaccessdemo7: test: integer expression expected
> >before -eq
> >
> >The specified service name or protocol is unknown.
> >Error in line 1> >Near character position 1
> >
> >
> >The specified service name or protocol is unknown.
> >
> >
> > I'm runnig on linux redhat with kernel 2.2.12 , is there something else
> >i should install any help will be appreciated
>
> Have you set up /etc/hosts, /etc/services, $INFORMIXDIR/etc/sqlhosts?
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
entry in /etc/hosts
"127.0.0.1 localhost.localdomain localhost chris"
I don't know if the port or the protocol is correct
entry in /etc/services
"sqlexec 3306/tcp "
entry in $INFORMIXDIR/etc/sqlhosts
"trainse setlitcp localhost sqlexec "
~/.bashrc has the following entries
INFORMIXSERVER=trainseexport INFORMIXSERVER
INFORMIXDIR=/opt/informixexport INFORMIXDIR
I still get the same error as mentioned above