Giter VIP home page Giter VIP logo

Comments (5)

BotoX avatar BotoX commented on June 2, 2024

Which Linux distribution are you running?

from serverstatus.

chandro avatar chandro commented on June 2, 2024

centos.

if i run directly the ./sergate

starts ok.

from serverstatus.

nicky1605 avatar nicky1605 commented on June 2, 2024

@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.

vdar avatar vdar commented on June 2, 2024

I'm using this on CentOS 6
https://ngadmin.com/tutorials/20160213-botox-centos

from serverstatus.

nicky1605 avatar nicky1605 commented on June 2, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.