0
votes
0answers
32 views

Allow a user to restart all services

I would like to enable a specific user to restart all services (listed using chkconfig --list). I found a way to allow it for a single service, but I need the user to be able to restart any service ...
0
votes
1answer
153 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 ...
1
vote
1answer
1k 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 ...
0
votes
0answers
1k 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
1answer
119 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
2answers
2k 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 ...
0
votes
0answers
780 views

“service mysqld start” is not working

I got this error message when I start mysql. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) I just installed installed apache2 and mysql. ...
1
vote
1answer
3k 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 ...
0
votes
1answer
2k views

How do I give a group 'service httpd graceful' permission in sudoers without passwd prompt?

I'm currently trying to lock down my users a bit. I've created some users: www.foo www.bar and a group: apacheadmins Both www.foo, and www.bar are members of the apacheadmins group. They do ...
0
votes
1answer
766 views

how to create a service for node.js in centOS

I am trying to turn my node.js server into a service. I have tried a few different ways, but have not had any success yet. Is there anyone who is able to help me out with this? Thanks!
2
votes
2answers
14k 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 ...