2017-08-24 68 views
0

我在Linux(RedHat)上安裝了AEM 6.3服務器。它被越來越從命令行啓動沒有任何問題與下面的命令 -AEM服務器未從啓動腳本入門AEM6.3

java -jar aem-author-4502.jar 

但我無法從啓動腳本啓動服務器,並獲得以下無差錯

# ./start.bat 
./start.bat: line 1: @echo: command not found 
./start.bat: line 2: ::: command not found 
./start.bat: line 3: $'::\r': command not found 
./start.bat: line 4: ::: command not found 
./start.bat: line 5: ::: command not found 
./start.bat: line 5: $'e.g.,\r': command not found 
./start.bat: line 6: $'::\r': command not found 
./start.bat: line 7: ::: command not found 
: No such file or directoryt.bat 
./start.bat: line 8: $'::\r': command not found 
./start.bat: line 9: $'setlocal\r': command not found 
./start.bat: line 10: $'\r': command not found 
./start.bat: line 11: ::*: command not found 
./start.bat: line 17: syntax error near unexpected token `(' 
'/start.bat: line 17: `::* runmode(s) 

另外,我無法將AEM設置爲服務(linux)..

這可能是什麼原因?我觀察到的是我沒有cq.pid文件在我的文件夾crx-quickstart/conf

一件事..

回答

0

start.batBatch file,一個你會在Windows操作系統上運行。

你需要運行的是一個類似的shell腳本,你應該在你試圖執行的腳本旁邊找到它。它應該出現在<cq_installation_directory>/bin目錄中。

根據the official documentation,只需運行./start就可以在Linux上實現。

+0

非常感謝!它解決了我的問題..但是,我仍然無法將AEM設置爲服務。@toniedzwiedz – Sara