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 mysqlanywhere as a service, SLES10-SP1

5 posts in General Discussion Last posting was on 2008-06-20 18:15:49.0Z
Rodney Posted on 2008-06-19 21:49:39.0Z
Sender: 7715.485ad30e.1804289383@sybase.com
From: Rodney
Newsgroups: ianywhere.public.general
Subject: Starting mysqlanywhere as a service, SLES10-SP1
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <485ad473.773c.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 19 Jun 2008 14:49:39 -0700
X-Trace: forums-1-dub 1213912179 10.22.241.41 (19 Jun 2008 14:49:39 -0700)
X-Original-Trace: 19 Jun 2008 14:49:39 -0700, 10.22.241.41
Lines: 12
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:6922
Article PK: 5148

I've installed mysqlanywhere and it works fine if I run it
from the gui. I need to be able to run it as a service when
the server starts. Otherwise I'll have to manually run it
each time.

I tried some syntax from a document that I found, but I'm
pretty sure it was windows specific documentation. Nothing
was working. I've been searching around the site for some
documentation, but I can't find anything. It's not
organized in a way that makes it easy to find.

Can anyone point me in the right direction?


Chris Keating (Sybase iAnywhere) Posted on 2008-06-19 23:24:31.0Z
From: "Chris Keating (Sybase iAnywhere)" <keating_spam_free@ianywhere.com>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
Newsgroups: ianywhere.public.general
Subject: Re: Starting mysqlanywhere as a service, SLES10-SP1
References: <485ad473.773c.1681692777@sybase.com>
In-Reply-To: <485ad473.773c.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: <485aeaaf$1@forums-1-dub>
Date: 19 Jun 2008 16:24:31 -0700
X-Trace: forums-1-dub 1213917871 10.22.241.152 (19 Jun 2008 16:24:31 -0700)
X-Original-Trace: 19 Jun 2008 16:24:31 -0700, vip152.sybase.com
Lines: 30
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:6923
Article PK: 5149

see http://www.sybase.com/detail?id=1009589
--
Chris Keating

****************************************
Please only post to the newsgroup

SQL Anywhere Developer Community
http://www.sybase.com/developer/library/sql-anywhere-techcorner
SQL Anywhere Blog Center
http://www.sybase.com/sqlanyblogs
Maintenance releases and EBFs
http://downloads.sybase.com/swx/sdmain.stm
Use Case Express to report bugs
http://case-express.sybase.com

Rodney wrote:
> I've installed mysqlanywhere and it works fine if I run it
> from the gui. I need to be able to run it as a service when
> the server starts. Otherwise I'll have to manually run it
> each time.
>
> I tried some syntax from a document that I found, but I'm
> pretty sure it was windows specific documentation. Nothing
> was working. I've been searching around the site for some
> documentation, but I can't find anything. It's not
> organized in a way that makes it easy to find.
>
> Can anyone point me in the right direction?


Rodney Posted on 2008-06-20 00:14:38.0Z
Sender: 7a18.485af3bb.1804289383@sybase.com
From: Rodney
Newsgroups: ianywhere.public.general
Subject: Re: Starting mysqlanywhere as a service, SLES10-SP1
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <485af66e.7a53.1681692777@sybase.com>
References: <485aeaaf$1@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 19 Jun 2008 17:14:38 -0700
X-Trace: forums-1-dub 1213920878 10.22.241.41 (19 Jun 2008 17:14:38 -0700)
X-Original-Trace: 19 Jun 2008 17:14:38 -0700, 10.22.241.41
Lines: 47
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:6924
Article PK: 5150

That wasn't very helpful. I found some Linux specific
documentation, and couldn't get it to work with that either.
I'm seeing windows commands all throughout Linux
documentation, which makes no sense at all.

When I try to use the command dbsvc with various options, it
does nothing. When I try to run dbsrv10, it tells me
libdblib10_r.so can't be found, or something like that.
Another command I run tells me libdvserv10_r can't be found.

This is for a licensed version of mysqlanywhere.

Am I posting in the right place? It says at the top I'm
posting to the newsgroup. Why the message below?

> see http://www.sybase.com/detail?id=1009589
> --
> Chris Keating
>
> ****************************************
> Please only post to the newsgroup
>
> SQL Anywhere Developer Community
>
>
http://www.sybase.com/developer/library/sql-anywhere-techcorner
> SQL Anywhere Blog Center
> http://www.sybase.com/sqlanyblogs
> Maintenance releases and EBFs
> http://downloads.sybase.com/swx/sdmain.stm
> Use Case Express to report bugs
> http://case-express.sybase.com
>
>
> Rodney wrote:
> > I've installed mysqlanywhere and it works fine if I run
> > it from the gui. I need to be able to run it as a
> > service when the server starts. Otherwise I'll have to
> > manually run it each time.
> >
> > I tried some syntax from a document that I found, but
> > I'm pretty sure it was windows specific documentation.
> > Nothing was working. I've been searching around the
> > site for some documentation, but I can't find anything.
> > It's not organized in a way that makes it easy to find.
> >
> > Can anyone point me in the right direction?


Chris Keating (Sybase iAnywhere) Posted on 2008-06-20 01:12:42.0Z
From: "Chris Keating (Sybase iAnywhere)" <keating_spam_free@ianywhere.com>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
Newsgroups: ianywhere.public.general
Subject: Re: Starting mysqlanywhere as a service, SLES10-SP1
References: <485aeaaf$1@forums-1-dub> <485af66e.7a53.1681692777@sybase.com>
In-Reply-To: <485af66e.7a53.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: <485b040a@forums-1-dub>
Date: 19 Jun 2008 18:12:42 -0700
X-Trace: forums-1-dub 1213924362 10.22.241.152 (19 Jun 2008 18:12:42 -0700)
X-Original-Trace: 19 Jun 2008 18:12:42 -0700, vip152.sybase.com
Lines: 75
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:6925
Article PK: 5151

How and when do you source the SQL Anywhere environment script?
Can you post the script that you use for the service? Where is the
script file located?

See
http://www.linuxforums.org/forum/linux-newbie/97097-how-create-linux-service-daemon.html

BTW
The product is name is SQL Anywhere not mysqlanywhere.

--

Chris Keating

****************************************
Please only post to the newsgroup

SQL Anywhere Developer Community
http://www.sybase.com/developer/library/sql-anywhere-techcorner
SQL Anywhere Blog Center
http://www.sybase.com/sqlanyblogs
Maintenance releases and EBFs
http://downloads.sybase.com/swx/sdmain.stm
Use Case Express to report bugs
http://case-express.sybase.com

Rodney wrote:
> That wasn't very helpful. I found some Linux specific
> documentation, and couldn't get it to work with that either.
> I'm seeing windows commands all throughout Linux
> documentation, which makes no sense at all.
>
> When I try to use the command dbsvc with various options, it
> does nothing. When I try to run dbsrv10, it tells me
> libdblib10_r.so can't be found, or something like that.
> Another command I run tells me libdvserv10_r can't be found.
>
> This is for a licensed version of mysqlanywhere.
>
> Am I posting in the right place? It says at the top I'm
> posting to the newsgroup. Why the message below?
>
>> see http://www.sybase.com/detail?id=1009589
>> --
>> Chris Keating
>>
>> ****************************************
>> Please only post to the newsgroup
>>
>> SQL Anywhere Developer Community
>>
>>
> http://www.sybase.com/developer/library/sql-anywhere-techcorner
>> SQL Anywhere Blog Center
>> http://www.sybase.com/sqlanyblogs
>> Maintenance releases and EBFs
>> http://downloads.sybase.com/swx/sdmain.stm
>> Use Case Express to report bugs
>> http://case-express.sybase.com
>>
>>
>> Rodney wrote:
>>> I've installed mysqlanywhere and it works fine if I run
>>> it from the gui. I need to be able to run it as a
>>> service when the server starts. Otherwise I'll have to
>>> manually run it each time.
>>>
>>> I tried some syntax from a document that I found, but
>>> I'm pretty sure it was windows specific documentation.
>>> Nothing was working. I've been searching around the
>>> site for some documentation, but I can't find anything.
>>> It's not organized in a way that makes it easy to find.
>>>
>>> Can anyone point me in the right direction?


Mark Culp Posted on 2008-06-20 18:15:49.0Z
Message-ID: <485BF3D4.BD145C46@iAnywhere.com>
From: Mark Culp <reply_to_newsgroups_only_please_nospam_mark.culp@iAnywhere.com>
X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: ianywhere.public.general
Subject: Re: Starting mysqlanywhere as a service, SLES10-SP1
References: <485aeaaf$1@forums-1-dub> <485af66e.7a53.1681692777@sybase.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 20 Jun 2008 11:15:49 -0700
X-Trace: forums-1-dub 1213985749 10.22.241.152 (20 Jun 2008 11:15:49 -0700)
X-Original-Trace: 20 Jun 2008 11:15:49 -0700, vip152.sybase.com
Lines: 68
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:6927
Article PK: 5153

Hi Rodney:

The script that Chris pointed you to was designed to run with
ASA (aka SQL Anywhere) 7.0.x ... but with some minor modications
it should also work with SA 10.

But in SA 10 there is a dbsvc script installed in your bin32
(and/or bin64) directory that works very similar to the way
the dbsvc.exe works on Windows.
--
Mark Culp
SQLAnywhere Research and Development
iAnywhere Solutions Engineering
-------------------------------------------------------------------------
-- SQL Anywhere Blog Center - http://www.sybase.com/sqlanyblogs
-- SQL Anywhere Developer Community:
-- http://www.sybase.com/developer/library/sql-anywhere-techcorner
-------------------------------------------------------------------------

Rodney wrote:
>
> That wasn't very helpful. I found some Linux specific
> documentation, and couldn't get it to work with that either.
> I'm seeing windows commands all throughout Linux
> documentation, which makes no sense at all.
>
> When I try to use the command dbsvc with various options, it
> does nothing. When I try to run dbsrv10, it tells me
> libdblib10_r.so can't be found, or something like that.
> Another command I run tells me libdvserv10_r can't be found.
>
> This is for a licensed version of mysqlanywhere.
>
> Am I posting in the right place? It says at the top I'm
> posting to the newsgroup. Why the message below?
>
> > see http://www.sybase.com/detail?id=1009589
> > --
> > Chris Keating
> >
> > ****************************************
> > Please only post to the newsgroup
> >
> > SQL Anywhere Developer Community
> >
> >
> http://www.sybase.com/developer/library/sql-anywhere-techcorner
> > SQL Anywhere Blog Center
> > http://www.sybase.com/sqlanyblogs
> > Maintenance releases and EBFs
> > http://downloads.sybase.com/swx/sdmain.stm
> > Use Case Express to report bugs
> > http://case-express.sybase.com
> >
> >
> > Rodney wrote:
> > > I've installed mysqlanywhere and it works fine if I run
> > > it from the gui. I need to be able to run it as a
> > > service when the server starts. Otherwise I'll have to
> > > manually run it each time.
> > >
> > > I tried some syntax from a document that I found, but
> > > I'm pretty sure it was windows specific documentation.
> > > Nothing was working. I've been searching around the
> > > site for some documentation, but I can't find anything.
> > > It's not organized in a way that makes it easy to find.
> > >
> > > Can anyone point me in the right direction?