We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
kardianos service is failing to start the daemon in Ubuntu (Debian) platform and throwing the below error.
The details are given below,
2019/08/20 13:55:23 inside daemon.go Control() xxxxxxx Agent 2019/08/20 13:56:53 inside daemon.go Control() err Failed to start xxxxxxx Agent: "systemctl" failed: exit status 1 Failed to start xxxxxxx Agent: "systemctl" failed: exit status 1
import ( "github.com/kardianos/service" ) . . . log.Printf("inside daemon.go Control() %+v", svc)
err := service.Control(svc, 'start') log.Printf("inside daemon.go Control() err %+v", err) if err != nil { return err }
. .
root@blrv071a046:/usr/local/xxxxxxx-agent/bin# hostnamectl Static hostname: Icon name: computer-vm Chassis: vm Machine ID: d25ddf1c2f747ecc4eb541455d25759d Boot ID: 12c34fc2661b457d8cad1e411e47f892 Virtualization: vmware Operating System: Ubuntu 16.04 LTS Kernel: Linux 4.4.0-21-generic Architecture: x86-64
The text was updated successfully, but these errors were encountered:
No branches or pull requests
kardianos service is failing to start the daemon in Ubuntu (Debian) platform and throwing the below error.
The details are given below,
2019/08/20 13:55:23 inside daemon.go Control() xxxxxxx Agent
2019/08/20 13:56:53 inside daemon.go Control() err Failed to start xxxxxxx Agent: "systemctl" failed: exit status 1
Failed to start xxxxxxx Agent: "systemctl" failed: exit status 1
import (
"github.com/kardianos/service"
)
.
.
.
log.Printf("inside daemon.go Control() %+v", svc)
.
.
root@blrv071a046:/usr/local/xxxxxxx-agent/bin# hostnamectl
Static hostname:
Icon name: computer-vm
Chassis: vm
Machine ID: d25ddf1c2f747ecc4eb541455d25759d
Boot ID: 12c34fc2661b457d8cad1e411e47f892
Virtualization: vmware
Operating System: Ubuntu 16.04 LTS
Kernel: Linux 4.4.0-21-generic
Architecture: x86-64
The text was updated successfully, but these errors were encountered: