Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing via RPM fails. #514

Open
j-horner-c4x opened this issue Feb 16, 2022 · 0 comments
Open

Installing via RPM fails. #514

j-horner-c4x opened this issue Feb 16, 2022 · 0 comments

Comments

@j-horner-c4x
Copy link

Installing on Amazon Linux 2 via the supplied RPM fails.

Installing shiny-server...
2022-02-16 16:47:34 (119 MB/s) - ‘/tmp/shiny-server-1.5.17.973-x86_64.rpm’ saved [51038424/51038424]

+++ echo 'Installing shiny-server...'
+++ yum localinstall --nogpgcheck -y /tmp/shiny-server-1.5.17.973-x86_64.rpm
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
Examining /tmp/shiny-server-1.5.17.973-x86_64.rpm: shiny-server-1.5.17.973-1.x86_64
Marking /tmp/shiny-server-1.5.17.973-x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package shiny-server.x86_64 0:1.5.17.973-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package        Arch     Version        Repository                         Size
================================================================================
Installing:
 shiny-server   x86_64   1.5.17.973-1   /shiny-server-1.5.17.973-x86_64   251 M

Transaction Summary
================================================================================
Install  1 Package

Total size: 251 M
Installed size: 251 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : shiny-server-1.5.17.973-1.x86_64                             1/1
Creating group shiny
Creating user shiny
/var/tmp/rpm-tmp.QIBtkZ: line 14: initctl: command not found
/var/tmp/rpm-tmp.QIBtkZ: line 17: initctl: command not found
  Verifying  : shiny-server-1.5.17.973-1.x86_64                             1/1

Installed:
  shiny-server.x86_64 0:1.5.17.973-1

Complete!

While it it says it completed, the service cannot be found with systemctl.

[root@ip-172-31-41-57 tmp]# systemctl status shiny-server.service
Unit shiny-server.service could not be found.

It looks like this check for systemd may be incorrectly deducing it needs to use initctl:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant