Can not start the "Search-Server"

Certified Associate Developer

Hi,

We have stopped Appian server and trying to restart it by following the Appian Documentaion. (https://docs.appian.com/suite/help/22.1/Linux_Installation_Guide.html#part-3-startup-and-setup)

When tryed to start the "Search-Server", error showed and could not make the "Search-Server" start.

Error Message was like -> "ERROR: Unable to start Appian Search Server."

and "For complete error details, refer to the log at /app/appian/logs/search-server/appian-search-cluster.log" -> but could not find such log (appian-search-cluster.log).

P.S. Could the warning message "warning: usage of JAVA_HOME is deprecated, use ES_JAVA_HOME" have relation with such error?

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

    I had this issue also. The problem is when you installed Appian, the folders were created as root user. However, elastic search does not allow root user to start the service so you get this message. But then if you try to switch to a different user, you will likely get permission denied errors.

    You have to change the ownership of the folder to whichever non-root user you have created and plan to use. So the command would be

    chown -R <non_root_username> /<Appian_home>/appian/search-server

Reply
  • 0
    Certified Senior Developer

    I had this issue also. The problem is when you installed Appian, the folders were created as root user. However, elastic search does not allow root user to start the service so you get this message. But then if you try to switch to a different user, you will likely get permission denied errors.

    You have to change the ownership of the folder to whichever non-root user you have created and plan to use. So the command would be

    chown -R <non_root_username> /<Appian_home>/appian/search-server

Children
No Data