AEM服务器未从启动脚本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: $'setlocalr': 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.bat是一个批处理文件,您可以在Windows操作系统上运行。

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

根据官方文档,只需运行./start就可以在 Linux 上解决问题。

最新更新