Installing server from release deb acting strangely.
- Dominant language
- Python
- Stars
- 5.1k
- Forks
- 796
- PR merge metrics
- No merged PRs in 30d
Description
**Environment**
- How did you install GRR? release deb
- What GRR version are you running?: 3.4.5-1
- What operating system does the GRR server run on? Ubuntu 18.04
- What operating system does the affected GRR client run on, if applicable? N/A
**Describe the issue**
I followed the instructions as described here (https://grr-doc.readthedocs.io/en/v3.4.5.1/installing-grr-server/from-release-deb.html). Installation seemed to be successful, but grr wasn't installed into init.d and wasn't a service. I could manually start it using the grr_server command, however.
**Error logs**
```
GRR Initialization complete! You can edit the new configuration in /etc/grr//server.local.yaml.
Restart service for the new configuration to take effect? [Yn]: [Y]:
Restarting service: grr-server.
grr-server: unrecognized service
Failed to restart: grr-server.
Command '['service', 'grr-server', 'restart']' returned non-zero exit status 1.
Restarting service: fleetspeak-server.
fleetspeak-server: unrecognized service
Failed to restart: fleetspeak-server.
Command '['service', 'fleetspeak-server', 'restart']' returned non-zero exit status 1.
```
```
grr_server --component admin_ui &
grr_server --component frontend &
grr_server --component worker &
grr_server --component grrafana &
root 2420 1.7 4.9 808152 100952 pts/0 Sl 21:10 0:01 /usr/share/grr-server/bin/python /usr/share/grr-server/bin/grr_server --context Global Install Context --component frontend
root 2433 0.0 0.1 18388 3108 pts/0 S 21:10 0:00 /bin/bash /usr/bin/grr_server --component admin_ui
root 2435 1.9 4.9 733904 100092 pts/0 Sl 21:10 0:01 /usr/share/grr-server/bin/python /usr/share/grr-server/bin/grr_server --context Global Install Context --component admin_ui
root 2447 0.0 0.1 18388 3120 pts/0 S 21:10 0:00 /bin/bash /usr/bin/grr_server --component worker
root 2449 2.4 4.9 1398072 100276 pts/0 Sl 21:10 0:01 /usr/share/grr-server/bin/python /usr/share/grr-server/bin/grr_server --context Global Install Context --component worker
root 2470 0.0 0.1 18388 3084 pts/0 S 21:11 0:00 /bin/bash /usr/bin/grr_server --component grrafana
root 2472 2.8 4.9 733892 100180 pts/0 Sl 21:11 0:01 /usr/share/grr-server/bin/python /usr/share/grr-server/bin/grr_server --context Global Install Context --component grrafana
```
**Additional context**
is this normal? Will GRR still function properly if I run it like this or do I need to resolve this?
Contributor guide
Assessment
This issue has not been assessed yet.