Home > Archive > SQL Anywhere for Linux > May 2005 > Re: ASA 9.0.2.2552 AND Linux 2.4.20-4GB no Running On LInux 's









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: ASA 9.0.2.2552 AND Linux 2.4.20-4GB no Running On LInux 's
Greg Fenton

2005-05-27, 3:23 am

Laura wrote:
>
> /opt/sybase/SYBSsa9/bin/dbsrv9 -ti 1000 -tl 600 -ud -ct- -o
> /usr/infor/bin/sybase -p 9112 -n infor /usr/infor/sybasedb/infor.db
> /usr/infor/sybasedb/consarp.db /usr/infor/sybasedb/infhelp.db
> /usr/infor/sybaseinf/infor_inf.db
>


You have your console log (-o) going to a file in the "bin" directory.
This isn't an error, but "bin" is usually meant for programs,
executables or _bin_aries. Typically I put my log files in a "log"
directory.


> the enclosed file is linked in /etc/init.d/rc5.d
> I have error in /etc/init.d/rc5.d/start.inf Line 64 1573 Aborted..
>
> If I run the enclosed file on Linux session open it run as a daemon...
>


From the "start.inf" file:

> # comment the following lines to remove Sybase Central from your path.
> PATH="/opt/sybase/shared/sybcentral43:$PATH"
> export PATH
>
> # comment the following lines to remove the ODBC Drivers and Driver Manager from your library path.
> # (unixODBC users will need to do this to use their driver manager).
> LD_LIBRARY_PATH="/opt/sybase/SYBSsa9/drivers/ lib:$LD_LIBRARY_PATH
"
> export LD_LIBRARY_PATH


Both the LD_LIBRARY_PATH and PATH variables are being set using the
*existing* values. In your startup environment (when the init.d scripts
are running), those paths may not yet have values or may be different
initial values than your session.

Personally, I explicitly set the *exact* value of PATH and
LD_LIBRARY_PATH in my init scripts (i.e. I never add "$PATH" to the
right-hand value). For SQLAnywhere, in my init script I explicitly
source the file <SQLANYWHERE>/bin/asa_config.sh, this way being sure
that the PATH and LD_LIBRARY_PATH are set according to the values that
the installer set up.

Hope this helps,
greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com