dbTalk Databases Forums  

ASE auto start

sybase.public.ase.linux sybase.public.ase.linux


Discuss ASE auto start in the sybase.public.ase.linux forum.



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

Default ASE auto start - 03-27-2005 , 11:24 PM






Does anyone tell me how can I configure to auto start ASE
server during the linux OS boot.

Reply With Quote
  #2  
Old   
Jan Pernica
 
Posts: n/a

Default Re: ASE auto start - 03-29-2005 , 03:06 AM






sang wrote:
Quote:
Does anyone tell me how can I configure to auto start ASE
server during the linux OS boot.
look at /etc/rc.d/init.local


Reply With Quote
  #3  
Old   
Emmanuel Cerisier
 
Posts: n/a

Default Re: ASE auto start - 03-29-2005 , 08:45 AM



Jan Pernica wrote:
Quote:
sang wrote:

Does anyone tell me how can I configure to auto start ASE
server during the linux OS boot.

look at /etc/rc.d/init.local
Or alternatively, as root:

cd $SYBASE/install/
cp rc.sybase /etc/init.d/
chkconfig --add rc.sybase


To check your service : chkconfig --list rc.sybase


But be sure to check the rc.sybase script first to adapt it to your envt
($SYBASE, path, etc.)


bye,
Emmanuel.


Reply With Quote
  #4  
Old   
DS
 
Posts: n/a

Default Re: ASE auto start - 04-13-2005 , 01:56 AM



I tried it's work if only one server is started. I tried to add more than
one ASE servers to run, it always execute first line, that means only the
first one server is started. Why? How can I auto start many servers???


"Emmanuel Cerisier" <com.nexgenfs@ecerisier>
???????:42495bf0 (AT) forums-1-dub (DOT) ..
Quote:
Jan Pernica wrote:
sang wrote:

Does anyone tell me how can I configure to auto start ASE
server during the linux OS boot.

look at /etc/rc.d/init.local

Or alternatively, as root:

cd $SYBASE/install/
cp rc.sybase /etc/init.d/
chkconfig --add rc.sybase


To check your service : chkconfig --list rc.sybase


But be sure to check the rc.sybase script first to adapt it to your envt
($SYBASE, path, etc.)


bye,
Emmanuel.



Reply With Quote
  #5  
Old   
Mark K
 
Posts: n/a

Default Re: ASE auto start - 04-13-2005 , 05:50 AM



I'm not sure what the rc.sybase file is since I don't have one by default,
but if you copied the RUN_<server> file then you need to look at the
contents. The script will start ASE, but not in the background. You should
modify the last '\' to '&' as below:

Original:
#!/bin/sh
#
# Adaptive Server name: ase1252
# ASE page size (KB): 2k
# Master device path: /software/ase1252/data/master.dat
# Error log path: /software/ase1252/ASE-12_5/install/ase1252.log
# Configuration file path: /software/ase1252/ASE-12_5/ase1252.cfg
# Directory for shared memory files: /software/ase1252/ASE-12_5
#
/software/ase1252/ASE-12_5/bin/dataserver \
-sase1252 \
-d/software/ase1252/data/master.dat \
-e/software/ase1252/ASE-12_5/install/ase1252.log \
-c/software/ase1252/ASE-12_5/ase1252.cfg \
-M/software/ase1252/ASE-12_5 -T1622 \

Modify the last line to:
-M/software/ase1252/ASE-12_5 -T1622 &

Then you can add your next server after this and it will start. Otherwise,
the script processing is stopped after the first ASE - until that ASE stops.

Mark Kusma
http://www.sybase.com/support/abouts.../otherservices


"DS" <danielso (AT) sinaman (DOT) com> wrote

Quote:
I tried it's work if only one server is started. I tried to add more than
one ASE servers to run, it always execute first line, that means only the
first one server is started. Why? How can I auto start many servers???


"Emmanuel Cerisier" <com.nexgenfs@ecerisier
???????:42495bf0 (AT) forums-1-dub (DOT) ..
Jan Pernica wrote:
sang wrote:

Does anyone tell me how can I configure to auto start ASE
server during the linux OS boot.

look at /etc/rc.d/init.local

Or alternatively, as root:

cd $SYBASE/install/
cp rc.sybase /etc/init.d/
chkconfig --add rc.sybase


To check your service : chkconfig --list rc.sybase


But be sure to check the rc.sybase script first to adapt it to your envt
($SYBASE, path, etc.)


bye,
Emmanuel.





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