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

Non installed fleetspeak #1048

Open
AWonderfulUser opened this issue Dec 28, 2023 · 0 comments
Open

Non installed fleetspeak #1048

AWonderfulUser opened this issue Dec 28, 2023 · 0 comments

Comments

@AWonderfulUser
Copy link

Environment

  • How did you install GRR? [e.g. from release DEB, HEAD DEB, PIP package, source] Docker
  • What GRR version are you running?: [e.g. 3.1.2.3] latest, 3.4.7.1
  • What operating system does the GRR server run on? [e.g. Ubuntu 18.04] Debian 12
  • What operating system does the affected GRR client run on, if applicable? [e.g. Windows 10] DEbian 12

Describe the issue
After downloading a grr binary on the admin dashboard, sending it to the host machine and running dpkg -i grr-client.deb, an errors pops out:

Selecting previously unselected package grr.
(Reading database ... 81183 files and directories currently installed.)
Preparing to unpack grr_3.4.7.1_amd64.deb ...
Unpacking grr (3471-1) ...
Setting up grr (3471-1) ...
Failed to get unit file state for FleetspeakService.service: No such file or directory
FleetspeakService.service is a disabled or a static unit not running, not starting it.

I think that the issue comes from the fact that no fleetspeak is installed. If I'm right, can somebody tell me if it is possible to install fleetspeak without compiling it using go?

Error logs
After a try to execute the grrd binary manually, it gives me this error

# ./grrd --config grrd.yaml 
I1228 16:54:15.588111 140376273522752 client_logging.py:113] Writing log file to /var/log/grr.log
Traceback (most recent call last):
  File "grr_response_client/client.py", line 36, in <module>
  File "absl/app.py", line 308, in run
  File "absl/app.py", line 254, in _run_main
  File "grr_response_client/client_main.py", line 87, in main
  File "grr_response_client/fleetspeak_client.py", line 85, in __init__
  File "fleetspeak/client_connector/connector.py", line 108, in __init__
  File "fleetspeak/client_connector/connector.py", line 63, in _EnvOpen
ValueError: FLEETSPEAK_COMMS_CHANNEL_INFD is not set
[101100] Failed to execute script 'client' due to unhandled exception!

Additional context
I installed grr-server using Docker after facing a few issues while trying to install it with the deb installation, using a host MySQL server.
On the grr-server container, fleetspeak isn't running.
On the MySQL server, no modifications were made to the fleetspeak database, but everything seems to be good with the grr-server database.
After a dpkg -i on the host server, grrd files are successfully installed, but I don't see anything related to fleetspeak on my host machine.

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