0
votes
1answer
162 views

httpd service will not start on boot under CentOS 6

I am having trouble configuring a CentOS 6 Vagrant setup to start the Apache service on boot. I have tried using chkconfig and the OS seems to just ignore it. When I run sudo chkconfig --list httpd, ...
0
votes
0answers
63 views

Need help getting two commands to run on startup (Seafile)

Trying to get the Dropbox alternative Seafile to run automatically on startup on my VPS running on CentOS 6.4. I want to get these two commands on startup. Noob here, any help will be really ...
-4
votes
1answer
194 views

how to start the tomcat server in linux? [closed]

i tried to install 1.yum install -zxvf apache-tomcat-6.0.47.tar.gz then 2. export TOMCAT_HOME=/home/mpatil/softwares/apache-tomcat-6.0.37 3. [root@localhost mpatil]# echo $TOMCAT_HOME ...
0
votes
0answers
142 views

Can't get Dante proxy server to run on startup on centos

I'm having a little problem trying to get Dante proxy server to run on start-up i have made a script to run it on start-up that i added to the rc.local file. The script runs fine and logs that its ...
0
votes
2answers
427 views

Running mono-based application on Centos Start

I am very new to Linux and I am currently switching my server from Windows to Centos 6.3. I have written a small UDP server. UDP server was written in C# and now I adopted it to work with Linux using ...
0
votes
2answers
633 views

Startup services are not getting started in CENTOS

I deployed my project on a Shared Hosting that has Root access the Server in picture is CENTOS now although I have defined the service to start on boot it not getting started chkconfig --level 35 ...
-4
votes
1answer
279 views

start of dhcp failed on centos [closed]

i try to config DHCP on centos. when i start service by #service dhcpd restart it failed. the result of #tail -f /var/log/messages : Dec 31 19:26:31 localhost dhcpd: exiting. Dec 31 19:27:04 ...
2
votes
1answer
1k views

Run Python script at startup using upstart

I'm trying to create an upstart script to run a python script on startup. In theory it looks simple enough but I just can't seem to get it to work. I'm using a skeleton script I found here and ...
1
vote
3answers
3k views

When are scripts inside etc/profile.d executed?

I added some scripts from root inside etc/profile.d to execute at startup time. But when will these scripts be executed if I login into system as a non root user? I want to start LDAP-server at ...
1
vote
3answers
934 views

Starting a daemon automatically from init.d

I installed vnstats to see bandwidth statistics, I copied an init.d file tempalte, I placed it in init.d directory, it works ok to access this file and do start/restart/status, but this file should ...
0
votes
1answer
2k views

How to start java service automatically when Centos server starts up

I have a server running CentOS, which I am configuring and I would like to have a java service startup automatically when the server is restarted how can I go about doing this? The command to run the ...
0
votes
1answer
2k views

Replacing TTY with a script in CentOS 6

How would I go about replacing a TTY with a custom script in CentOS 6. CentOS 6 uses upstart instead of the standard SysV init scripts, so I'm having difficulty figuring out how it all works. ...
7
votes
2answers
7k views

Getting shell script to run as a daemon on CentOS?

EDIT: For some reason half of my post got truncated, not sure what happened. I will update soon and will post that it is updated here at the top. EDIT: I have updated the post again, sorry for the ...
1
vote
2answers
874 views

Centos start script for 'screen'?

I have a program that runs in the foreground so I run it via a 'screen'. Is there a good start/stop/restart template for 'screen'? I need it to pass the commands to the screen and create it if it ...