I am unable to install AWS Greengrass on my Ubuntu Touch OS phone.

0

I want to install AWS Greengrass on my Ubuntu Touch OS phone. It is a Google Pixel 3a phone that has ubuntu touch OS as the operating system. We are able to access the terminal from the phone. I am getting the error, "Unable to set up Nucleus as a system service". I also tried to install greengrass as a docker container. Even that is not happening. Please provide me any suggestions on how to continue further.

1개 답변
0

Hi, Touch OS phone uses upstart and not systemd. Like systemd, you can use upstart to start Greengrass, and respawn it in case of failure.

I would advice to first test to start Greengrass manually. Assuming the installation went Ok up to the point where you got the Unable to set up Nucleus as a system service error, you can try starting Greengrass via the following command:

MIN_HEAP_SIZE="100m"
MAX_HEAP_SIZE="100m"
LOG_STORE="FILE"
NUCLEUS_PATH="/greengrass/v2/alts/current/distro/lib"
java -Xms$MIN_HEAP_SIZE -Xmx$MAX_HEAP_SIZE -Droot=$GGC_ROOT_PATH -Dlog.store=$LOG_STORE -jar $NUCLEUS_PATH/Greengrass.jar

Note: HEAP_SIZE values are only suggestions - you might need to change them based on your system

AWS
전문가
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠