Comments (5)
Which Linux distribution are you running?
from serverstatus.
centos.
if i run directly the ./sergate
starts ok.
from serverstatus.
@BotoX
I also encountered this problem, because before the file a lot of commands only apply to Debian, not applicable to the CentOS6, so there will be the following error.
service sergate start
/etc/init.d/sergate: line 29: log_daemon_msg: command not found
/etc/init.d/sergate: line 30: start-stop-daemon: command not found
/etc/init.d/sergate: line 32: log_end_msg: command not
I tried using CentOS to compile these commands and failed.
[root@Nicky ~]# wget http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_1.18.10.tar.xz
[root@Nicky ~]# tar -xf dpkg_1.18.10.tar.xz
[root@Nicky ~]# cd dpkg-1.18.10/
[root@Nicky dpkg-1.18.10]# ./configure >/dev/null
[root@Nicky dpkg-1.18.10]# make >/dev/null
[root@Nicky dpkg-1.18.10]# cd utils
[root@Nicky utils]# make
[root@Nicky utils]# sudo cp start-stop-daemon /usr/local/bin/start-stop-daemon
[root@Nicky utils]# cd /usr/local/share/
[root@Nicky share]# cp ServerStatus/other/sergate.initd /etc/init.d/sergate
[root@Nicky share]# service sergate start
/etc/init.d/sergate: line 29: log_daemon_msg: command not found
/etc/init.d/sergate: line 30: start-stop-daemon: command not found
/etc/init.d/sergate: line 32: log_end_msg: command not found
Can not like this site and then design a script for CentOS, thank you!
from serverstatus.
I'm using this on CentOS 6
https://ngadmin.com/tutorials/20160213-botox-centos
from serverstatus.
@vdar This is just for the client, but the client only need to modify the ./clients/ client.py
,
then add su -l $USERNAME -c "/path/to/client.py &> /dev/null &"
in /etc/rc.local
can be monitored. The most important is the server service“sergate.initd
” can not be used for CentOS
from serverstatus.
Related Issues (20)
- 问一下是否可以根据分区的显示,现在是所有的盘的总量 HOT 1
- 请问一下客户端linux的client-linux.py执行只支持python2.7以上的版本么,请问可否支持2.7以下版本
- 希望能否显示IO的每秒的读写速度
- 希望能否简单显示服务器cpu多核
- localhost's client can not display HOT 1
- Cant start the daemon through service command HOT 2
- I put on this hosting why
- Update Error HOT 2
- SERVER UP AND DOWN ALWAYS
- Stuck at install HOT 2
- Give the number of cores in the JSON
- Feature Request: IPv6 as Disabled insead of Down
- html HOT 1
- Pre compiled exe? HOT 2
- [FYI] I created an open source new skin for this project
- it's better to use Memory instead of DISK to write json.
- IPv6 detection fails to function on newer Ubuntu versions (probably because of the netplan shenanigans)
- Will the software be updated? 有无继续开发计划 HOT 2
- Javascript problem with Chrome v88
- How can i send the stats.json to the web? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serverstatus.