Subject | RE: [firebird-support] Re: Firebird 1.5 install on red hat 9 |
---|---|
Author | Myles Wakeham |
Post date | 2004-08-25T15:39:20Z |
What happens if you change 'localhost' to '127.0.0.1'?
Myles
===========================
Myles Wakeham
Director of Engineering
Tech Solutions Inc.
Scottsdale, Arizona USA
Phone (480) 451-7440
Web: www.techsol.org
Myles
===========================
Myles Wakeham
Director of Engineering
Tech Solutions Inc.
Scottsdale, Arizona USA
Phone (480) 451-7440
Web: www.techsol.org
> -----Original Message-----
> From: iguana_xyz [mailto:iguana_xyz@...]
> Sent: Wednesday, August 25, 2004 8:35 AM
> To: firebird-support@yahoogroups.com
> Subject: [firebird-support] Re: Firebird 1.5 install on red hat 9
>
> Milan, thanks for your answer, I am really new to linux, I have done
> everything you say but I still get some errors:
> -----------------
> [root@localhost root]# fbsql
> Use CONNECT or CREATE DATABASE to specify a database
> SQL> connect 'localhost:/opt/firebird/examples/employee.fdb';
> Statement failed, SQLCODE = -902
>
> Unable to complete network request to host "localhost".
> -Failed to establish a connection.
> -Connection refused
> SQL>
> -----------------
> I edited the /etc/profile like this, I dont know if this is the way to
> do it:
>
> # /etc/profile
> # System wide environment and startup programs, for login setup
> # Functions and aliases go in /etc/bashrc
> pathmunge () {
> if ! echo $PATH | /bin/egrep -q "(^|:)$1($|:)" ; then
> if [ "$2" = "after" ] ; then
> PATH=$PATH:$1
> else
> PATH=$1:$PATH
> fi
> fi
> }
>
> # Path manipulation
> if [ `id -u` = 0 ]; then
> pathmunge /sbin
> pathmunge /usr/sbin
> pathmunge /usr/local/sbin
> fi
>
> pathmunge /usr/X11R6/bin after
> unset pathmunge
> # No core files by default
> ulimit -S -c 0 > /dev/null 2>&1
> USER="`id -un`"
> LOGNAME=$USER
> MAIL="/var/spool/mail/$USER"
> HOSTNAME=`/bin/hostname`
> HISTSIZE=1000
> if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
> INPUTRC=/etc/inputrc
> fi
> export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC
> export PATH=/opt/firebird/bin:$PATH
> for i in /etc/profile.d/*.sh ; do
> if [ -r "$i" ]; then
> . $i
> fi
> done
>
> unset i
>
> ***
>
> The old firebird 1 started automatically, do I have to start firebird
> 1.5, how do i start it automaticaly?
>
> Do I have to remove some how the old version, what am I doing wrong,
> please help!!
>
>
> Thanks in advance
>
> Alejandro Jourdan
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>