Informix permission !!!!
Posted in 2006
Topics: General Discussion
hello all, can anyone help me with this errors, - error -409 : Sqlexec was not found or was not executable by the current user. -error : The type of your terminal is unknown to the system what i must I do, i think that the problem is how to use usermod/chmod any help thanks
DO NOT set the permissions to 777 you need to install the software properly the installation script sets the correct permissions
hi, the software is al installed years ago and there is information on
it, but with some reason some permision are changed
i want to know the permission for
fglgo, dbaccess, and what about user account,
cause when i tried to run dbaccess I get this error:
The type of your Terminal is unknown to the system.
any suggestion
thanks a lot
In message <1136463700.877756.149890@o13g2000cwo.googlegroups.com>, maca <macanede@hotmail.com> writes >hello all, >can anyone help me with this errors, >- error -409 : Sqlexec was not found or was not executable by the >current user. > >-error : The type of your terminal is unknown to the system > >what i must I do, >i think that the problem is how to use usermod/chmod >any help >thanks > You have two separate errors. Best advise is to read the manual - you can download them from IBM (and also oninit.com I believe) and the Informix 4GL reference contains details for the termcap/terminfo stuff. However... 1) it looks like whoever installed Informix was not logged in as 'root' so the permissions on some of the files in $INFORMIXDIR are not set correctly. Reinstallation, paying attention to the installation instructions, is called for. It's fine to install on top - just take a copy of $INFORMIXDIR/etc/sqlhosts first as I suspect it will need re-editing afterwards. 2) It would have been very useful if we knew which version of Informix you are using, but let's assume some variant of V7 - sqlexec tells us it's standard engine. Let's also assuming it's some kind of UNIX platform. Anyway, Informix can use either termcap or terminfo. If you don't know what those are you will struggle with the rest of this - you need to find someone who does. The following is taken from the manual, so there may be some typos. Read the source is the best advice. Anyway, start by finding the values of $INFORMIXTERM, $TERM, $TERMCAP and $TERMINFO - they may not all be set but $TERM should be. $INFORMIXTERM tells Informix if it's to use $TERMCAP or $TERMINFO and will have the values termcap or terminfo. If it's set to termcap then $TERMCAP must be set, and if it's set to terminfo then $TERMINFO must be set. If it's not set, termcap will be assumed. If you are using termcap, then $TERMCAP must point to a file that contains a valid terminal description for you terminal (such as /etc/termcap). If you are using terminfo, then $TERMINFO must point to a directory holding the correct sub directories for your terminal - for example if $TERM=doc18, then $TERMINFO should contain a directory 'd' and that should contain an entry 'doc18'. If $TERM = wyse60, then it's 'w' and 'wyse60'. -- Surfer! Email to: ramwater at uk2 dot net
look in $INFORMIXDIR/etc there is a file that will match *file* for
your install. the permissions are in there.
There is/used an option of NOBRAND when you run the install script and
will not request the key/serial.
Also there is script that will fix the perms for you at
www.oninit.com/scripts, look for Perm Fix, it should work on most Unix's
maca wrote:
> hi, the software is al installed years ago and there is information on
> it, but with some reason some permision are changed
> i want to know the permission for
> fglgo, dbaccess, and what about user account,
> cause when i tried to run dbaccess I get this error:
> The type of your Terminal is unknown to the system.
> any suggestion
> thanks a lot
>