CentOS 5 Server :: Set A Service To Start Up Automatically?
Ok, so I have installed apache 22, mysql5.0 and proftpd1.3. When I reboot my server, the above applications do not start up automatically, and I have been trying to figure out how with out much success. know that I need to make some changes inside the init.d directory on my CentOS Server.I am running CentOS 5.4 x86_64 build.I really am not sure how to accomplish the task or where to start.
View 4 Replies (Posted: 2010/4/24 14:59)
Related Forum Messages For Linux category:
Server :: How To Start SSL Service In Centos 5.5
I am in the task of migrating old linux to new linux which centos 5.5. while moving out all apps ,data etc.I need to configure SSL in apache.I have installed mod_ssl with apache 2.2. i went though some docs to configure with certificate that I have . Not sure how to start the service in 2.2. The apache/SSL was configured in my old server which apachectl. SO after importing certificatr , I do ./apachectl startssl to take in effect. In my new server , the http service is /etc/init.d/httpd, not sure how to start SSL service in centos 5.5.
Posted: 02-07-2011, 12:56 PM
View 2 Replies!
CentOS 5 Server :: How To Tell Qmail To Start Up Automatically
I am still pretty green when it comes to centos and linux in general. I have installed rpm and source packages before with little trouble by following the guides available on the support site and wiki for centos.I am running centos 5.4 on a virtual server.I followed the guide for installing vpopmail at URL...mailSince this is a VPS server I cannot install gnome and is why I opted for vpopmail + qmail.
The first issue I have is: I don't know how to tell qmail to start up automatically because after the install of qmail from source as the guide told me to, it did not place a startup files in the /etc/init.d, and I can't find any useful documentation on how to trouble shoot that.I try to use "chkconfig qmail on" and "chkconfig --level 345 qmail on" but both give me the error "error reading information on service qmail: No such file or directory"The version of qmail I am using is the latest 1.0.3, and the version of vpopmail is 5.5.
Vpopmail seems to be working just fine, as is the mysqlauth mod. I check the vpopmail database in mysql, and all the values I used for the domain and user show up there.The settings also show in the qmail configuration directory files for the domain.My first clue as to something being wrong was that when I send an email to the address I setup, I get nothing delivered on the server, but I also do not get any bounce backs or errors to tell me the details of what went wrong.At first I figured it was my firewall, so I disabled iptables.That did not fix it.I also tried disabling SElinux. That also made no difference.
Posted: 2010/8/15 20:48
View 10 Replies!
Ubuntu / Apple :: Service Start Automatically On Login?
I followed the directions in the MacBook7-1 setup thread for lucid to install pommed: [URL]... This works well, I can control brightness, volume and keyboard backlights using the function keys.
However, pommed doesn't start automatically on login. I have to maually start the service. Is their a way to have this service start automatically on login?
Posted: September 27th, 2010
View 3 Replies!
CentOS 5 :: Restarting A Service Automatically When It Fails?
So far I have came across three options.
1. Watchdog script
2. Daemontools - using "supervise"
3. Monit - open source monitoring tool
From what I can gather, daemontools is probably the best option. Unfortunately, the documentation on the developers site is very vague and I'm having a hard time getting this to work. I think I have it installed correctly, just don't know how to apply it to the service I want monitored.
how to get daemontools to work. All I want to do it monitor a server on my linux box. When it fails, I want it to be restarted automatically.
Posted: 2010/6/25 15:14
View 3 Replies!
CentOS 5 Hardware :: Service Network Stop Automatically - Restart In Cron Tab
I am using
# uname -rmi
2.6.18-194.26.1.el5PAE i686 i386
# cat /etc/*release*
cat: /etc/lsb-release.d: Is a directory
Red Hat Enterprise Linux Server release 5 (Tikanga)
CentOS release 5.5 (Final)
I have noticed that after few days of ideal system it will stop its network interface. To resolve this I have to login to the machine it self and then issue
# service network start
Is this a feature. If this is not a feature then what is this. As an workaround I am thinking of adding service network restart in cron tab for everyday in night when I am not using it.
Posted: 2011/1/23 23:35
View 6 Replies!
Server :: DHCPD Will Start In Debug But Will Not Start As A Normal Service
I have setup a CentOS 5.5 server as a DHCP server. That will be it's only task in a Cisco callmanger VoIP environment The DHCP server that comes with CentOS 5.5 is from ISC V3.0.5 -redhat.
The server (HP DL360) has two physical NIC's of which only NIC1 is used (ETH0)
The interface has a fixed IP setup.
My dhcp.conf file looks like this:
When I start (try to) dhcpd via the service interface or via the prompt as
Code: service dhcpd start
I get an [FAILED] message and the following is in /var/log/messages
But when I start the DHCPD on the comamnd prompt in debug mode it looks as follows:
and /var/log/messages shows:
Why does the system ask a declaration for eth0 0.0.0.0?
Posted: 06-07-2010, 03:32 AM
View 3 Replies!
Software :: Service Bla Start Not Working On CentOS?
I've just compiled and installed some software (coova-chilli). I usually control this as a service so immediately after install I tried service chilli start I got the following error:
Starting chilli: which: no start-stop-daemon in (/sbin:/usr/sbin:/bin:/usr/bin)
If i run which chilli I get: /sbin/chilli I've tried 'updatedb' and a reboot but no luck. I remember a few months ago I was playing with chilli before and I this was happening. I had to run a simple command to update something or other and it fixed the issue. Of course, I can't remember what that command was.
Posted: 08-03-2010, 03:27 AM
View 1 Replies!
CentOS 5 Networking :: IPTables Service Failed To Start
I have CentOS 5.2 just installed and massively updated with yum -update command. Than I tried to configure firewall. After changes via system_config_securitylevel_tui (open ssh, http, ftp, and 3306:TCP ports) iptables service can't start with message
> /sbin/service iptables start
Flushing firewall rules: [OK]
Setting chains to policy ACCEPT: mangle filter nat [OK]
Unloading iptables modules: [OK]
Applying iptables firewall rules: iptables-restore v1.3.5: Couldn't load match `TCP':/lib64/iptables/libipt_TCP.so: cannot open shared object file: No such file or directory
Error occurred at line: 18
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
I erased the iptables service and installed it again with yum. How can I make this service work?
Posted: 2009/5/9 14:32
View 7 Replies!
Server :: Clamd Service Didn't Start?
I try to start clamd service since I found "PROCS CRITICAL: 0 processes with command name 'clamd'" from nagios. so I check at its log file at "tail /home/clamav/logs/clamd.log" it said that log file exceeding maximum limit so I try to rotate log by
Posted: 04-15-2010, 10:39 PM
View 2 Replies!
Server :: NFS Service Start Fail - No Such Device
rhev-h starting NFS service why occur under issue message?
[root@RHEV ~]# /etc/init.d/nfs start
Starting NFS services: exportfs: can't open /var/lib/nfs/rmtab for reading [OK]
Starting NFS daemon: [FAILED]
[root@RHEV ~]# tail /var/log/messages
2010-12-23T09:32:20.507146+00:00 RHEV exportfs: can't open /var/lib/nfs/rmtab for reading
2010-12-23T09:32:20.562458+00:00 RHEV modprobe: WARNING: Could not open '/lib/modules/2.6.18-194.3.1.el5/kernel/fs/exportfs/exportfs.ko': No such file or directory
2010-12-23T09:32:20.562508+00:00 RHEV modprobe: FATAL: Error inserting nfsd (/lib/modules/2.6.18-194.3.1.el5/kernel/fs/nfsd/nfsd.ko): Unknown symbol in module, or unknown parameter (see dmesg)
2010-12-23T09:32:20.563344+00:00 RHEV nfsd: nfssvc: No such device
Posted: 12-23-2010, 10:38 AM
View 5 Replies!
Server :: HTTP Service Failed To Start
i am using RHEL5 at VirtualBox,at the time of installation i did create two partition one for / and another for swap.Now my /var directory is taking too much space and i decided to create a new partition with required size and mount that partition to /var.Now http service wont start and i did not reboot yet.
Posted: 03-31-2010, 05:29 PM
View 8 Replies!