dbTalk Databases Forums  

Client can't see database on new server

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


Discuss Client can't see database on new server in the sybase.public.sqlanywhere.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Loya Kelso
 
Posts: n/a

Default Client can't see database on new server - 09-02-2009 , 06:38 PM






PB 9.0.2 ebf 3044

We attempted to move out database to a new server and can see that the
server engine is running on the server. We can connect to the database
while on the server. We can also open our application and view and edit
data in the database.

However On the Client Computer(s) when we change the odbc connection to
reflect the new server name, and the host ip address, it says database not
found.

We've shared the database directory on the new server with everyone. While
on the client we can see the server (successfully mapped a drive).

I'm sure we've missed something simple, but can't figure it out. Any advice
would be greatly appreciated.

Thanks,
Loya

Reply With Quote
  #2  
Old   
Kory Hodgson (Sybase iAnywhere)
 
Posts: n/a

Default Re: Client can't see database on new server - 09-02-2009 , 07:56 PM






Loya Kelso wrote:
Quote:
PB 9.0.2 ebf 3044

We attempted to move out database to a new server and can see that the
server engine is running on the server. We can connect to the database
while on the server. We can also open our application and view and edit
data in the database.

However On the Client Computer(s) when we change the odbc connection to
reflect the new server name, and the host ip address, it says database not
found.
Can you ping the ip address from the client machine?
How about dbping?
(http://dcx.sybase.com/index.php#http...utilities.html)

Quote:
We've shared the database directory on the new server with everyone. While
on the client we can see the server (successfully mapped a drive).
Does this mean you are trying to start the database engine when the
client connects? We don't recommend accessing the database across
network shares as they do not guarantee everything will be written as we
need it to be. (See this for details:
http://www.sybase.com/detail?id=1034790)

What you should do is have a database server (dbsrvXX) running with the
database already loaded, then you can connect with tcpip.

Quote:
I'm sure we've missed something simple, but can't figure it out. Any advice
would be greatly appreciated.

Thanks,
Loya


Reply With Quote
  #3  
Old   
Loya Kelso
 
Posts: n/a

Default Re: Client can't see database on new server - 09-04-2009 , 09:21 AM



We have tried the dbping and it is not successful, however a ping sees the
server. I think my error is in my batch file to set up the database server
name and start the engine running. The reason I say that is becasue even
though I can access my database while on the server, I don't have the option
to stop my database on the services tab while in Sybase Central. So to me
that makes it appear as though it's running as the client and the server,
like when I set it up on my labtop to be both, not a server. Hopefully that
makes sense.

Below is the batch file I ran from the sybase\....\win32 directory to set up
the database server name and start the engine running. After I run the code
below, I set up the odbc connection and am able to connect to the db while
on the server, but still not anywhere else.

REM
REM Creates server name for the database to CareTrak V4.0. and starts the
database server
REM Need to update the host to their host number
REM
REM creates server named lebanonisprit
REM
dbeng9 -n lebanonisprit c:\isprit_caretrak\Isprit_Lebanon_1.db -n
caretrak_serv2
REM

Thanks in advance for any advice.

Loya


"Kory Hodgson (Sybase iAnywhere)" <khodgson (AT) A_SPAM_FREE_sybase (DOT) com> wrote in
message news:4a9f1446 (AT) forums-1-dub (DOT) ..
Quote:
Loya Kelso wrote:
PB 9.0.2 ebf 3044

We attempted to move out database to a new server and can see that the
server engine is running on the server. We can connect to the database
while on the server. We can also open our application and view and edit
data in the database.

However On the Client Computer(s) when we change the odbc connection to
reflect the new server name, and the host ip address, it says database
not found.

Can you ping the ip address from the client machine?
How about dbping?
(http://dcx.sybase.com/index.php#http...utilities.html)


We've shared the database directory on the new server with everyone.
While on the client we can see the server (successfully mapped a drive).

Does this mean you are trying to start the database engine when the client
connects? We don't recommend accessing the database across network shares
as they do not guarantee everything will be written as we need it to be.
(See this for details: http://www.sybase.com/detail?id=1034790)

What you should do is have a database server (dbsrvXX) running with the
database already loaded, then you can connect with tcpip.


I'm sure we've missed something simple, but can't figure it out. Any
advice would be greatly appreciated.

Thanks,
Loya

Reply With Quote
  #4  
Old   
Kory Hodgson (Sybase iAnywhere)
 
Posts: n/a

Default Re: Client can't see database on new server - 09-04-2009 , 09:24 AM



You are using dbeng9 which is the personal server (no network
capabilities) you should use dbsrv9 this is the network server and
should allow you to connect.


Loya Kelso wrote:
Quote:
We have tried the dbping and it is not successful, however a ping sees the
server. I think my error is in my batch file to set up the database server
name and start the engine running. The reason I say that is becasue even
though I can access my database while on the server, I don't have the option
to stop my database on the services tab while in Sybase Central. So to me
that makes it appear as though it's running as the client and the server,
like when I set it up on my labtop to be both, not a server. Hopefully that
makes sense.

Below is the batch file I ran from the sybase\....\win32 directory to set up
the database server name and start the engine running. After I run the code
below, I set up the odbc connection and am able to connect to the db while
on the server, but still not anywhere else.

REM
REM Creates server name for the database to CareTrak V4.0. and starts the
database server
REM Need to update the host to their host number
REM
REM creates server named lebanonisprit
REM
dbeng9 -n lebanonisprit c:\isprit_caretrak\Isprit_Lebanon_1.db -n
caretrak_serv2
REM

Thanks in advance for any advice.

Loya


"Kory Hodgson (Sybase iAnywhere)" <khodgson (AT) A_SPAM_FREE_sybase (DOT) com> wrote in
message news:4a9f1446 (AT) forums-1-dub (DOT) ..
Loya Kelso wrote:
PB 9.0.2 ebf 3044

We attempted to move out database to a new server and can see that the
server engine is running on the server. We can connect to the database
while on the server. We can also open our application and view and edit
data in the database.

However On the Client Computer(s) when we change the odbc connection to
reflect the new server name, and the host ip address, it says database
not found.
Can you ping the ip address from the client machine?
How about dbping?
(http://dcx.sybase.com/index.php#http...utilities.html)

We've shared the database directory on the new server with everyone.
While on the client we can see the server (successfully mapped a drive).
Does this mean you are trying to start the database engine when the client
connects? We don't recommend accessing the database across network shares
as they do not guarantee everything will be written as we need it to be.
(See this for details: http://www.sybase.com/detail?id=1034790)

What you should do is have a database server (dbsrvXX) running with the
database already loaded, then you can connect with tcpip.

I'm sure we've missed something simple, but can't figure it out. Any
advice would be greatly appreciated.

Thanks,
Loya


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 - 2012, Jelsoft Enterprises Ltd.