All Questions
19
questions
0
votes
1
answer
263
views
How to correctly enable a service on a CentOs 7 machine using systemctl enable command?
I am not a sysadministrator (I am a software developer) but this time I have to install some agents on some CentOS machines that have to be monitored by Wazuh (a SIEM software) and I have the ...
1
vote
1
answer
2k
views
service: command not found when trying to start vsftpd in centos
I am trying to use FTP on CentOS. I use this way to install:
sudo yum -y install vsftpd
when I use whereis to check the location of vsftpd, I can find it:
But when I try
service vsftpd start
...
0
votes
1
answer
225
views
Jenkins service user to restart mongodb service
Centos 7.
Usually when I would like to run a sudo command as a non root user, I open up the visudo, and add this line to the right place:
%<userGroup> ALL= NOPASSWD: <command>
when I ...
1
vote
1
answer
92
views
How to list options of a service
On CentOS, there is a service which we normally run service acme_donkey start registry I would like to find out if there are any options to this service, such debug, etc. Is there a way of doing this?...
0
votes
1
answer
40
views
What's the point of adding service to firewall rules in centos?
My purpose is to make firewall allow connections to my newly installed service/server/daemon on Centos.
I create /etc/firewalld/services/myservice.xml file, then reload firewall, then do:
firewall-...
5
votes
2
answers
47k
views
How can I create a service in CentOS 6?
I need to create ratchet service on my dedicated server (CentOS 6). I have successfully created this service on local CentOS 7. The problem is that the server has got old version of CentOS and I need ...
0
votes
1
answer
164
views
Run go app by service
In centos 6.8 I have a golang app , that run in command go run main.go and I need to create a system service to run it in boot like service httpd.
I know that I have to create file like /etc/rc.d/init....
1
vote
2
answers
29k
views
"Failed to start SYSV" when starting self-made service
I'm trying to set up a service, on root, that will automatically start monetdb database after system startup because monetdb doesn't provide such mechanism. I've created /etc/init.d/monetdb script ...
2
votes
2
answers
4k
views
Why does systemd process stop as soon as it starts for foreman server process?
I am trying to export a simple Ruby app using foreman. Based on its usage for systemd, I appear to be doing things correctly.
However, when I start the target/service, I get status messages along the ...
0
votes
2
answers
2k
views
Cent OS 6 - Do I need to restart a service after updating .ssh/known_hosts
After updating my .ssh/known_hosts file do I need to restart a service? I tried service ssh restart but it gives ssh: unrecognized service.
2
votes
2
answers
3k
views
LFD wont start in Centos
Error messages:
service lfd status Status of lfd:lfd is stopped
tail /var/log/lfd.log Nov 24 15:36:05 lfd[3833]: Error Invalid configuration line, at line 64 Nov 24 15:36:05 lfd[3833]: daemon stopped
...
1
vote
1
answer
3k
views
Install Minecraft server on Centos
For the past 3 weeks, my 10 year old daughter begged me to build her a a minecraft/bukkit server, and I am attempting to do so on my on VPS running Centos6.4. I am following https://forums.bukkit.org/...
0
votes
0
answers
4k
views
Squid Proxy process not running
Hey community,
some days ago my squid crashed. I'm running squid 2.6 STABLE21 on CentOS.
The output of the "show squid status" command is just
squid dead but pid file exists
starting the ...
0
votes
1
answer
373
views
service started from sh script stops when sh script
I have service named "router" that is able to receive http requests.
I decided to write sh script that will periodically check health of router service.
if something is wrong then it will restart it.
...
1
vote
2
answers
5k
views
How create a service correctly?
Here it's what I do:
1) create an user some_deployer
2) then create a folder to script like /company/script/<service name>
3) in this folder I create the start.sh and stop.sh scripts and ...