dbTalk Databases Forums  

dbputr_9

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss dbputr_9 in the sybase.public.sqlanywhere.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Filip Vanderstappen
 
Posts: n/a

Default dbputr_9 - 12-24-2004 , 01:15 AM






Hi,

I'm running RedHat 9 and I've installed SQL Anywhere Studio 9. When I start
Sybase Central I get this error:
"The library dbput9_r could not be loaded. This may be because the provider
is being re-loaded (in which case you need to restart the viewer) or
because
the library could not be found in the Adaptive Server Anywhere
installation.
Service management will not be available."

After that Sybase Central will continue to open and load, but I con't make
any service.

What do I have to do to make this working.


Greetings,

Filip

Reply With Quote
  #2  
Old   
Nick Elson
 
Posts: n/a

Default Re: dbputr_9 - 12-24-2004 , 11:00 AM






If you check out the supported platforms matrix (OS's)

http://www.ianywhere.com/products/su...ml#OS-versions

you will find we have tested these Red Hat versions

Red Hat 6.1, 6.2, 7.0, 7.1, 7.2, 7.3, or Advanced Server 2.1.

but this problem sounds more like an issue with the JVM and it's ability to
load
the JNI 'native' library. Which comes down to

- the libpath or LD_LIBRARY_PATH of the scjview's environment,
- the physical existence of the shared library,
and
- binary compatibility with the JVM and the loader used (ld
probably)
and the shared library (for example we only ship a 32bit version
of
that library, so if you happen to have a 64bit LINUX and JVM then
that just will not work)

To check out the scjview environment you should run

scjview -batch

and see if the library can be found with the working environment shown
in the generated file (at least on Windows that is called scjview.bat ). The
same option and steps also apply to dbisql ...

HTH


"Filip Vanderstappen" <filip (AT) syneton (DOT) be> wrote

Quote:
Hi,

I'm running RedHat 9 and I've installed SQL Anywhere Studio 9. When I
start
Sybase Central I get this error:
"The library dbput9_r could not be loaded. This may be because the
provider
is being re-loaded (in which case you need to restart the viewer) or
because
the library could not be found in the Adaptive Server Anywhere
installation.
Service management will not be available."

After that Sybase Central will continue to open and load, but I con't make
any service.

What do I have to do to make this working.


Greetings,

Filip



Reply With Quote
  #3  
Old   
Greg Fenton
 
Posts: n/a

Default Re: dbputr_9 - 12-28-2004 , 11:02 AM



Nick Elson wrote:
Quote:
you will find we have tested these Red Hat versions

Red Hat 6.1, 6.2, 7.0, 7.1, 7.2, 7.3, or Advanced Server 2.1.

Note that starting with ASA 9.0.1, our GNU/Linux support now targets
kernel/glibc versions rather than particular distro versions. Even with
older versions (9.0.0 and 8.0.x) support is based on kernel/glibc
versions. The page Nick highlights states that those distros happen to
match the requirements.

Please always post the version and build number of ASA that you are
using (e.g. use the command "dbeng9 -v").

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


Reply With Quote
  #4  
Old   
Greg Fenton
 
Posts: n/a

Default Re: dbputr_9 - 12-28-2004 , 12:00 PM



Filip Vanderstappen wrote:
Quote:
After that Sybase Central will continue to open and load, but I con't make
any service.

What do you mean by "can't make any service" ?

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


Reply With Quote
  #5  
Old   
Filip Vanderstappen
 
Posts: n/a

Default Re: dbputr_9 - 01-11-2005 , 04:47 PM



Hi,

I've solved my problem by placing asa_config.sh in the
directory /etc/profile.d

Now I have another problem. Every time I restart my pc or
even a user log out on the computer, I have to make a new
databser-server-service.

What do I have to do to make that working? Command I use to
start a databaseserver is: dbsrv9 -n dbserver
/var/Admin-IS/Data/Adminis.db -ti 0
and this works fine (except it doesn't start automatically
when I boot my pc).

I've placed this line in a new proces, but then I get the
error:
"/etc/init.d/rc5.d/S99Admin-IS: line 14: dbsrv9 : command
not found"

Can you help me again?


Thanks in advance

Quote:
Filip Vanderstappen wrote:

After that Sybase Central will continue to open and load
, but I con't make any service.


What do you mean by "can't make any service" ?

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

Reply With Quote
  #6  
Old   
Greg Fenton
 
Posts: n/a

Default Re: dbputr_9 - 01-11-2005 , 06:28 PM



Filip Vanderstappen wrote:
Quote:
I've solved my problem by placing asa_config.sh in the
directory /etc/profile.d

This will work to ensure that ASA configuration exists in any *login*
shell. But if a process isn't started from a login shell (e.g. an init
process) then that process won't get the as_config.sh configuration
automatically.

Quote:
I've placed this line in a new proces, but then I get the
error:
"/etc/init.d/rc5.d/S99Admin-IS: line 14: dbsrv9 : command
not found"

At the start of SS99Admin-IS, add the command:

source /etc/profile.d/asa_config.sh

(or whatever is appropriate for the shell language you wrote the above
script to run in).

Also, consider taking a look at the startup script I've posted here a
few times. Use Google Groups to search the ASA Linux newsgroup for
"init.d fenton asa_config.sh"

For example, I found:

From: Greg Fenton <greg.fenton_NOSPAM_ (AT) ianywhere (DOT) com>
Newsgroups: sybase.public.sqlanywhere.linux
Subject: Re: Automatic startup of ASA8
Date: 9 Mar 2004 07:33:05 -0800

Also, note that ASA on Unix/Linux/Mac OSX questions are going to find a
more appropriate audience in sybase.public.sqlanywhere.linux

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/


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.