All Questions
11
questions
0
votes
1
answer
265
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
226
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
96
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?...
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 ...
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
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 ...
2
votes
1
answer
10k
views
starting up apache tomcat on boot in Linux
I want to know whether is there any way to make our Apache tomcat to run automatically in the boot time?I want to simplify our works as we do not want to execute the start up script(provided in the ...
5
votes
3
answers
40k
views
How do I create a service using chkconfig in CentOS?
I want to be able to create a service so that the bash script will run every time the server boots up.
I am running CentOS 5.
I have been reading about chkconfig and creating a file in /etc/init.d ...