dbTalk Databases Forums  

Unable to open DB using console user.

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


Discuss Unable to open DB using console user. in the sybase.public.sqlanywhere.general forum.



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

Default Unable to open DB using console user. - 09-23-2009 , 10:41 AM






Hi,

I have a weird issue here.

In windows 2000, if I login as a console user and try to
open a sql anywhere 11 DB file in Sybase Central, it fails
("Unable to start/stop database..."). I'm not using ODBC,
instead I directly connect to the DB using the Database File
property on the Database Tab.

However, if I login as a remote user (RDP) with the same
credentials (login/password) as console user, I'm able to
open the DB without any issues.

We current have version Sql Anywhere 11.0.1578 installed on
the machine.

Any idea what's going on?

Niroshan
Apex Systems Integrators

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

Default Re: Unable to open DB using console user. - 09-23-2009 , 02:30 PM






It sounds like you are trying to start the database when it is already
running.

What is the connection string you are using and can you confirm if the
server is already running? You could use dblocate to find all running
servers.

If it is running remove the use the ENG=servername instead of
dbf=databasefile.


Niroshan wrote:
Quote:
Hi,

I have a weird issue here.

In windows 2000, if I login as a console user and try to
open a sql anywhere 11 DB file in Sybase Central, it fails
("Unable to start/stop database..."). I'm not using ODBC,
instead I directly connect to the DB using the Database File
property on the Database Tab.

However, if I login as a remote user (RDP) with the same
credentials (login/password) as console user, I'm able to
open the DB without any issues.

We current have version Sql Anywhere 11.0.1578 installed on
the machine.

Any idea what's going on?

Niroshan
Apex Systems Integrators

Reply With Quote
  #3  
Old   
Niroshan
 
Posts: n/a

Default Re: Unable to open DB using console user. - 09-24-2009 , 12:08 PM



The DB is not running. I've even tried rebooting the server
and than trying to start the DB. It all fails on the
console.

This issue actually cam up when I was trying to use the
following command to open the DB:

dbisql.exe -c "DBF=FS.db;uid=dba;pwd=sql" "update
DatabaseVersion_nosync set CurrentVersion='1.0.1'"

When that didn't work, I tried opening the DB in sybase
central.
Which failed with the same error ("Unable to start/stop
database...").

However, if I login with the RDP user(same login),
everything works. I'm not sure why it doesn't work on the
console user.

It's a very strange error.

Quote:
It sounds like you are trying to start the database when
it is already running.

What is the connection string you are using and can you
confirm if the server is already running? You could use
dblocate to find all running servers.

If it is running remove the use the ENG=servername instead
of dbf=databasefile.


Niroshan wrote:
Hi,

I have a weird issue here.

In windows 2000, if I login as a console user and try to
open a sql anywhere 11 DB file in Sybase Central, it
fails ("Unable to start/stop database..."). I'm not
using ODBC, instead I directly connect to the DB using
the Database File property on the Database Tab.

However, if I login as a remote user (RDP) with the same
credentials (login/password) as console user, I'm able
to open the DB without any issues.

We current have version Sql Anywhere 11.0.1578 installed
on the machine.

Any idea what's going on?

Niroshan
Apex Systems Integrators

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

Default Re: Unable to open DB using console user. - 09-24-2009 , 01:49 PM



What is the connection string for the RDP user?

Are you running dbisql from the folder containing FS.db? Can you provide
a full path?


Niroshan wrote:
Quote:
The DB is not running. I've even tried rebooting the server
and than trying to start the DB. It all fails on the
console.

This issue actually cam up when I was trying to use the
following command to open the DB:

dbisql.exe -c "DBF=FS.db;uid=dba;pwd=sql" "update
DatabaseVersion_nosync set CurrentVersion='1.0.1'"

When that didn't work, I tried opening the DB in sybase
central.
Which failed with the same error ("Unable to start/stop
database...").

However, if I login with the RDP user(same login),
everything works. I'm not sure why it doesn't work on the
console user.

It's a very strange error.

It sounds like you are trying to start the database when
it is already running.

What is the connection string you are using and can you
confirm if the server is already running? You could use
dblocate to find all running servers.

If it is running remove the use the ENG=servername instead
of dbf=databasefile.


Niroshan wrote:
Hi,

I have a weird issue here.

In windows 2000, if I login as a console user and try to
open a sql anywhere 11 DB file in Sybase Central, it
fails ("Unable to start/stop database..."). I'm not
using ODBC, instead I directly connect to the DB using
the Database File property on the Database Tab.

However, if I login as a remote user (RDP) with the same
credentials (login/password) as console user, I'm able
to open the DB without any issues.

We current have version Sql Anywhere 11.0.1578 installed
on the machine.

Any idea what's going on?

Niroshan
Apex Systems Integrators

Reply With Quote
  #5  
Old   
Niroshan
 
Posts: n/a

Default Re: Unable to open DB using console user. - 09-28-2009 , 07:52 AM



I'm executing the following in the db folder:

C:\Program Files\SQL Anywhere 11\Bin32\dbisql.exe -c
"DBF=c:\dev\Applications\FieldService\V3.1\FieldSe rviceMobileSolution\\FieldServiceMobileInstall\FS. db;
uid=dba;pwd=sql" "update DatabaseVersion_nosync set
CurrentVersion='1.0.1'"

I'm using the same command via rdp as console, so I'm dont
think it's a command issue.


Quote:
What is the connection string for the RDP user?

Are you running dbisql from the folder containing FS.db?
Can you provide a full path?


Niroshan wrote:
The DB is not running. I've even tried rebooting the
server and than trying to start the DB. It all fails on
the console.

This issue actually cam up when I was trying to use the
following command to open the DB:

dbisql.exe -c "DBF=FS.db;uid=dba;pwd=sql" "update
DatabaseVersion_nosync set CurrentVersion='1.0.1'"

When that didn't work, I tried opening the DB in sybase
central.
Which failed with the same error ("Unable to start/stop
database...").

However, if I login with the RDP user(same login),
everything works. I'm not sure why it doesn't work on
the console user.

It's a very strange error.

It sounds like you are trying to start the database
when >> it is already running.

What is the connection string you are using and can you
confirm if the server is already running? You could
use >> dblocate to find all running servers.

If it is running remove the use the ENG=servername
instead >> of dbf=databasefile.


Niroshan wrote:
Hi,

I have a weird issue here.

In windows 2000, if I login as a console user and try
to >>> open a sql anywhere 11 DB file in Sybase Central,
it >>> fails ("Unable to start/stop database..."). I'm not
using ODBC, instead I directly connect to the DB using
the Database File property on the Database Tab.

However, if I login as a remote user (RDP) with the
same >>> credentials (login/password) as console user, I'm
able >>> to open the DB without any issues.

We current have version Sql Anywhere 11.0.1578
installed >>> on the machine.

Any idea what's going on?

Niroshan
Apex Systems Integrators

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

Default Re: Unable to open DB using console user. - 09-28-2009 , 08:34 AM



What about if you try to start the database by doing:

dbsrv11
c:\dev\Applications\FieldService\V3.1\FieldService MobileSolution\\FieldServiceMobileInstall\FS.db

Then connect with:

C:\Program Files\SQL Anywhere 11\Bin32\dbisql.exe -c
"ENG=FS.db;uid=dba;pwd=sql" "update DatabaseVersion_nosync set
CurrentVersion='1.0.1'"



Niroshan wrote:
Quote:
I'm executing the following in the db folder:

C:\Program Files\SQL Anywhere 11\Bin32\dbisql.exe -c
"DBF=c:\dev\Applications\FieldService\V3.1\FieldSe rviceMobileSolution\\FieldServiceMobileInstall\FS. db;
uid=dba;pwd=sql" "update DatabaseVersion_nosync set
CurrentVersion='1.0.1'"

I'm using the same command via rdp as console, so I'm dont
think it's a command issue.


What is the connection string for the RDP user?

Are you running dbisql from the folder containing FS.db?
Can you provide a full path?


Niroshan wrote:
The DB is not running. I've even tried rebooting the
server and than trying to start the DB. It all fails on
the console.

This issue actually cam up when I was trying to use the
following command to open the DB:

dbisql.exe -c "DBF=FS.db;uid=dba;pwd=sql" "update
DatabaseVersion_nosync set CurrentVersion='1.0.1'"

When that didn't work, I tried opening the DB in sybase
central.
Which failed with the same error ("Unable to start/stop
database...").

However, if I login with the RDP user(same login),
everything works. I'm not sure why it doesn't work on
the console user.

It's a very strange error.

It sounds like you are trying to start the database
when >> it is already running.
What is the connection string you are using and can you
confirm if the server is already running? You could
use >> dblocate to find all running servers.
If it is running remove the use the ENG=servername
instead >> of dbf=databasefile.

Niroshan wrote:
Hi,

I have a weird issue here.

In windows 2000, if I login as a console user and try
to >>> open a sql anywhere 11 DB file in Sybase Central,
it >>> fails ("Unable to start/stop database..."). I'm not
using ODBC, instead I directly connect to the DB using
the Database File property on the Database Tab.

However, if I login as a remote user (RDP) with the
same >>> credentials (login/password) as console user, I'm
able >>> to open the DB without any issues.
We current have version Sql Anywhere 11.0.1578
installed >>> on the machine.
Any idea what's going on?

Niroshan
Apex Systems Integrators

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.