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.

Starting Sybase, but not as a service

3 posts in Windows NT Last posting was on 2001-05-07 13:26:51.0Z
Jorge Posted on 2001-05-04 22:34:21.0Z
From: "Jorge" <iamjas99@hotmail.com>
Subject: Starting Sybase, but not as a service
Date: Fri, 4 May 2001 18:34:21 -0400
Lines: 12
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Message-ID: <FGmnt0O1AHA.160@forums.sybase.com>
Newsgroups: sybase.public.sqlserver.nt
NNTP-Posting-Host: hboc.com 139.177.224.128
Path: forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.sqlserver.nt:800
Article PK: 1087407

Hi. I am running Sybase ASE 11.9.2 on NT 4.0 srv pk 5a. For some reason, the
folks before me set up Sybase to start through a batch file when the server
gets rebooted. The batch file does not use a NET START command, only the
executable gets called and runs but not as a service. I would like to change
this but I need to know first is there an advantage of running Sybase like
this over running it as a service?

Thanks in advance.

Jorge Ascunce


David Kerber Posted on 2001-05-07 13:26:51.0Z
Message-ID: <3AF6A29B.60EA4B6@ids.net>
Date: Mon, 07 May 2001 09:26:51 -0400
From: David Kerber <ns_dkerber@ids.net>
X-Mailer: Mozilla 4.75 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: Starting Sybase, but not as a service
References: <FGmnt0O1AHA.160@forums.sybase.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.sqlserver.nt
Lines: 29
NNTP-Posting-Host: host253.111.41.216.conversent.net 216.41.111.253
Path: forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.sqlserver.nt:794
Article PK: 1087401


Jorge wrote:
>
> Hi. I am running Sybase ASE 11.9.2 on NT 4.0 srv pk 5a. For some reason, the
> folks before me set up Sybase to start through a batch file when the server
> gets rebooted. The batch file does not use a NET START command, only the
> executable gets called and runs but not as a service. I would like to change
> this but I need to know first is there an advantage of running Sybase like
> this over running it as a service?

In addition to your other answers, you have to be logged on to run the
.bat file, so security is compromised slightly. Does the server auto
logon? If not, then you need to worry about what happens if you lose
and regain power when nobody is around to log on.


--

Dave Kerber
Edit the return address by removing the ns_ before e-mailing

REAL programmers write self-modifying code, leading to:
Why there is ALWAYS one more bug (courtesy of O.D. Williams):
1. Debuging code is always much harder than writing it.
2. Therefore, if your code is as clever as you are capable of making
it, you are, by definition, inadequate to debug it.


Rob Verschoor Posted on 2001-05-05 17:03:16.0Z
Reply-To: "Rob Verschoor" <rob@sypron.nl>
From: "Rob Verschoor" <rob@sypron.nl>
References: <FGmnt0O1AHA.160@forums.sybase.com>
Subject: Re: Starting Sybase, but not as a service
Date: Sat, 5 May 2001 19:03:16 +0200
Lines: 45
Organization: Sypron B.V.
MIME-Version: 1.0
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Message-ID: <nvaRsgY1AHA.178@forums.sybase.com>
Newsgroups: sybase.public.sqlserver.nt
NNTP-Posting-Host: p0462.spl.euronet.nl 194.134.112.206
Path: forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.sqlserver.nt:798
Article PK: 1087404

The only reason why I sometimes run it via the batch file is when I
need o add a commandline parameter such -m or a traceflag; that
quicker doen by editing the batch file than changing the registry
parameters. Otherwise I see only disadvantages from running it as a
batch file: there is an extra window on your screen, which you better
shouldn't close accidentally , or yoour server would die...


HTH,

Rob
----------------------------------------------------------------------
Rob Verschoor

Certified Sybase Professional DBA for ASE 12.0/11.5/11.0

Author of "The Complete Sybase ASE Quick Reference Guide"
Online orders accepted at http://www.sypron.nl/qr

email mailto:rob@sypron.nl.*No*Spam*Please*
WWW http://www.sypron.nl
snail Sypron B.V., P.O.Box 10695, 2501HR Den Haag, The Netherlands
----------------------------------------------------------------------

"Jorge" <iamjas99@hotmail.com> wrote in message
news:FGmnt0O1AHA.160@forums.sybase.com...
> Hi. I am running Sybase ASE 11.9.2 on NT 4.0 srv pk 5a. For some
reason, the
> folks before me set up Sybase to start through a batch file when the
server
> gets rebooted. The batch file does not use a NET START command, only
the
> executable gets called and runs but not as a service. I would like
to change
> this but I need to know first is there an advantage of running
Sybase like
> this over running it as a service?
>
> Thanks in advance.
>
> Jorge Ascunce
>
>