AEM 服务器未从启动脚本 AEM6.3 启动

AEM server not getting started from start script AEM6.3

我在 Linux(RedHat) 上有一个 AEM 6.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)..

这可能是什么原因?

我观察到的一件事是我的 crx-quickstart/conf 文件夹中没有 cq.pid 文件..

start.batBatch file,你会 运行 在 Windows OS.

您需要 运行 的是一个类似的 shell 脚本,您应该可以在您要执行的脚本旁边找到它。它应该存在于 <cq_installation_directory>/bin 目录中。

根据 the official documentation,只需 运行ning ./start 就可以在 Linux.

上解决问题