2016-04-18 5 views
0

Master.Iは、Linuxに設定するには、URLを参照していますように私は、LinuxのRedHatマシンでSymmtricDSを設定する必要があります。 http://www.symmetricds.org/doc/2.2/html/advanced-topics.html#running-service-unix行23:/etc/init.d/setenv:Linuxのredhatの中にそのようなファイルやディレクトリはありません

まずステップは、私は、このコマンド

[[email protected] sbin]# service sym_service start 

を実行したときに、私は次のエラーを取得する次の

cp bin/sym_service.initd /etc/init.d/sym_service 

を完了しています。

#!/bin/sh 
# 
# Licensed to JumpMind Inc under one or more contributor 
# license agreements. See the NOTICE file distributed 
# with this work for additional information regarding 
# copyright ownership. JumpMind Inc licenses this file 
# to you under the GNU General Public License, version 3.0 (GPLv3) 
# (the "License"); you may not use this file except in compliance 
# with the License. 
# 
# You should have received a copy of the GNU General Public License, 
# version 3.0 (GPLv3) along with this library; if not, see 
# <http://www.gnu.org/licenses/>. 
# 
# Unless required by applicable law or agreed to in writing, 
# software distributed under the License is distributed on an 
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 
# KIND, either express or implied. See the License for the 
# specific language governing permissions and limitations 
# under the License. 
# 

. "`dirname "$0"`/setenv" 
exec "$SYM_JAVA" -cp "$CLASSPATH" -Djava.io.tmpdir=tmp org.jumpmind.symmetric.wrapper.Wrapper "$1" "$SYM_HOME/opt/SymmtricDS/symmetric-server-3.7.28/symmetric-server-3.7.28/conf/sym_service.conf" 

が、sym_service.confファイルはconfに場所にあるはずです。

/etc/init.d/sym_service: line 23: /etc/init.d/setenv: No such file or directory 

sym_serviceファイルです。

答えて

-1

Linux Daemonをインストールする方法を説明してユーザガイドの最新バージョンを使用してください。あなたの答えにリンクされているドキュメンテーションは、バージョン2.2と関連しています。symサービスからは、最新バージョンのライブラリを使用しているようです。

+0

親愛なるボリス・パブロビッチ、返事してくれてありがとう、あなたは私のLinux 7.1でSymmetricDSはを設定するための詳細な情報を記入してくださいすることができますが、どのようなinitスクリプトの正確な意味があると、システムの/etc/init.dディレクトリに書き込まれます。実行レベル2,3、および5で起動し、実行レベル0,1,6で停止するためのシンボリックリンクが作成されます。スクリプトをインストールするには、ルートとして次のコマンドを実行してください: –

+0

'sudo sh bin/sym_serviceインストール '?私は疑問を持っているinstalled.if –

+0

あなたは平均でビンの場所は/ usr/binにまたは/opt/SymmtricDS/symmetric-server-3.7.28/symmetric-server-3.7.28/bin –

関連する問題