Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Cannot start the server as the "Service"

3 posts in General Discussion Last posting was on 2009-03-27 14:53:20.0Z
Aron Posted on 2009-03-27 14:17:45.0Z
Sender: 2ab.49ccdf38.1804289383@sybase.com
From: Aron
Newsgroups: ianywhere.public.general
Subject: Cannot start the server as the "Service"
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <49cce009.2b8.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 27 Mar 2009 06:17:45 -0800
X-Trace: forums-1-dub 1238163465 10.22.241.41 (27 Mar 2009 06:17:45 -0800)
X-Original-Trace: 27 Mar 2009 06:17:45 -0800, 10.22.241.41
Lines: 13
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:7440
Article PK: 5855

Hi, I'm having problem starting the server "service".
Here is what I'm doing.
First is use the command in CMD.
dbsrv10.exe -c 50m c:\mtrandb\suburb8.db
This starts our server, and i am able to connect in the
client PC.
The next command i use is...
dbsvc -as -w suburb8 dbsrv10 -c 50m c:\mtrandb\suburb8.db
It gives me the message that the service started
succesfully, but if i log out of the server PC, i cannot
connect on the client PC. Am i doing something wrong?

Thanks Alot.


<Ingmar> Posted on 2009-03-27 14:49:50.0Z
From: <Ingmar>
Newsgroups: ianywhere.public.general
References: <49cce009.2b8.1681692777@sybase.com>
Subject: Re: Cannot start the server as the "Service"
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <49cce78e$1@forums-1-dub>
Date: 27 Mar 2009 06:49:50 -0800
X-Trace: forums-1-dub 1238165390 10.22.241.152 (27 Mar 2009 06:49:50 -0800)
X-Original-Trace: 27 Mar 2009 06:49:50 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:7442
Article PK: 5857

Hello Aron,

dbsvc installs a service that starts the db-server.
In your case, you install it with start-type "manually".
So... did you really install and start the service or only install it?

Ingmar

<Aron> schrieb im Newsbeitrag news:49cce009.2b8.1681692777@sybase.com...

> Hi, I'm having problem starting the server "service".
> Here is what I'm doing.
> First is use the command in CMD.
> dbsrv10.exe -c 50m c:\mtrandb\suburb8.db
> This starts our server, and i am able to connect in the
> client PC.
> The next command i use is...
> dbsvc -as -w suburb8 dbsrv10 -c 50m c:\mtrandb\suburb8.db
> It gives me the message that the service started
> succesfully, but if i log out of the server PC, i cannot
> connect on the client PC. Am i doing something wrong?
>
> Thanks Alot.
>


"Chris Keating [Sybase iAnywhere]" <keating_no Posted on 2009-03-27 14:53:20.0Z
From: "Chris Keating [Sybase iAnywhere]" <keating_no@spam_sybase.com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
Newsgroups: ianywhere.public.general
Subject: Re: Cannot start the server as the "Service"
References: <49cce009.2b8.1681692777@sybase.com>
In-Reply-To: <49cce009.2b8.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <49cce860$1@forums-1-dub>
Date: 27 Mar 2009 06:53:20 -0800
X-Trace: forums-1-dub 1238165600 10.22.241.152 (27 Mar 2009 06:53:20 -0800)
X-Original-Trace: 27 Mar 2009 06:53:20 -0800, vip152.sybase.com
Lines: 33
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:7443
Article PK: 5858

The dbsrv command line you specified creates a service that starts
manually. You may want to configure this to be automatic with -s auto.

Also, the command you defined simply creates the service - it does not
start it. To start the service, use the -u option.

Here is a complete example:

1) Create a service that autostarts and is marked as a "Network Database
Server" type

dbsvc -as -s auto -t network -w suburb8 dbsrv10 -c 50m
c:\mtrandb\suburb8.db

2)Start the service

dbsvc -u suburb8

Aron wrote:
> Hi, I'm having problem starting the server "service".
> Here is what I'm doing.
> First is use the command in CMD.
> dbsrv10.exe -c 50m c:\mtrandb\suburb8.db
> This starts our server, and i am able to connect in the
> client PC.
> The next command i use is...
> dbsvc -as -w suburb8 dbsrv10 -c 50m c:\mtrandb\suburb8.db
> It gives me the message that the service started
> succesfully, but if i log out of the server PC, i cannot
> connect on the client PC. Am i doing something wrong?
>
> Thanks Alot.