Server :: Start A Service At The Start Of PC
Dec 6, 2009I use FC8 and i want some services like HTTPD and NAMED to start at the start of the system , how to create a script to do that .
View 9 RepliesI use FC8 and i want some services like HTTPD and NAMED to start at the start of the system , how to create a script to do that .
View 9 RepliesI 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)
ifconfig shows:
Code:
The interface has a fixed IP setup.
My dhcp.conf file looks like this:
Code:
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
Code:
But when I start the DHCPD on the comamnd prompt in debug mode it looks as follows:
Code:
and /var/log/messages shows:
Code:
Why does the system ask a declaration for eth0 0.0.0.0?
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.
[Code]...
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[7834]: 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[7838]: nfssvc: No such device
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
pico /root/123/etc/logrotate.d/clamd
/home/clamav/logs/clamd.log {
rotate 12
[code]...
When ever I reboot my server I always turn on the squid service. Is there any way that without giving command
Code:
#service squid start
my squid service should automatically 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.
View 8 Replies View RelatedI have a problem with my mail server on zimbra. postfix service does not start and displays the following error:
[root@ns ~]# /opt/zimbra/bin/postfix start
postsuper: fatal: scan_dir_push: open directory defer: Permission denied
postfix/postfix-script: fatal: Postfix integrity check failed!
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 View Relatedi meet problem on named service, i want to configure my DNS with bind...after i /etc/init.d/named statusThis shows :"rndc: connect failed: 127.0.0.1#953: connection refusednamed is stopped"
View 2 Replies View RelatedI found a way to capture emails sent from my Drupal installation, and Fakemail seems simple enough.
I can follow the tutorial. Since the application Fakemail needs to be running to capture the outgoing emails, it seems like a good candidate for xinetd, yes?
I've found a simple config tutorial describing starting the service and what the parameters are for the service-specific configuration files. This got me this far,
Code:
# default: on
# description: This is a script to start the Sandbox app "fakemail"
service fakemail
{
[Code]....
But the service is not starting up.
Or, recommend another application which uses a similar configuration like Sendmail so I can copy this
The Fakemail application/service is started from command line like so,
# fakemail.py --host=localhost --port=10025 --path=[path_to_email_textfile]
I googled it and found this information: To enable the telnet service, login to the server as the root user account and run the following commands:
Code:
# chkconfig telnet on
# service xinetd reload
but the very first command did not work.
So, how do we...
[1] start and stop telnet service on UNIX / Linux?
[2] specify configurations / settings for the telnet service to accept or deny connections
I meet this problem after i reformat the CentOS 5...I havent do any configuration, the named service start failed ? why ....
View 2 Replies View RelatedThe difference between: service httpd start & /etc/init.d/httpd start.
View 3 Replies View RelatedI need to start a service before network service How to?
View 1 Replies View RelatedIm trying to run synergy on startup. This works fine on the client, but it wont start automatically on the server. I put this line in an entry in startup applications:
[code]...
but still no dice.
I'm configuring a new Centos 5.5 server in replacement of an old W2K server.The topology of our network is simple : one file/dhcp/dns relay server and workstations (PC's and some MAC's) plus network printers and scanners.All the workstations have dynamic IP addresses (easier because a lot of 'dynamic' changes : new persons with their own laptop, ...) and the server and printers/scanners have fixed IP addresses.I edited the dhcpd.conf (see here underneath), I have the file dhcpd.leases but it doesn't start !
DHCPD.CONF
ddns-update-style interim;
ignore client-updates;
[code].....
The desktop search has stopped working in Gnome.I get a message that says 'Search Service not running' with a button that says 'Start Search Service'.When I click the button nothing happens
View 1 Replies View Relatedhow can I log the start up service. to figure out why cups always starts up.
View 4 Replies View RelatedIt is the first time have I used VPN. I installed OpenVPN in my Fedora 11 computer. I did it following:URL...And I stopped at step 16: service openvpn start . The service can not start up. Even if I disabled Selinux . Does anyone know how to treat this trouble.
View 1 Replies View RelatedMy Ubuntu 9.10 Server does not automatically get an ip address at start up and I have to run
Code:
sudo dhclient
every time so I it connects to the network, gets an ip etc. This is fine so long as I am physically present. If I am accessing it remotely using SSH and reboot the system there's no way I can connect back again untill someone runs a sudo dhclient on the machine.
No I am trying to add dhclient to startup automatically. I was hoping to put it in
/etc/rc2.d but to be able to run the script must be present in /etc/init.d. The dhclient command is located in /sbin
Creating a sym link in etc/init.d to point to /sbin/dhclient hasn't worked for me so far. I can't copy the command to /etc/init.d before running
Code:
update-rc.d dhclient default?? How else do I have it run at system start?
I have been working to try and get lirc to work with my Winfast 2000/XP. I keep getting an error that the kernel module isn't loaded. This is on Ubuntu 10.04 x64. When I try to start the service, I get the following:
[Code]...
I install openswan on rhel6 and when i execute the command "service ipsec start "
it say:
/usr/libexec/ipsec/addconn Non-fips mode set in /proc/sys/crypto/fips_enabled
/usr/libexec/ipsec/addconn Non-fips mode set in /proc/sys/crypto/fips_enabled
ipsec_setup: Openswan IPsec apparently already active, start aborted
[Code].....
I installed MySQL and I want the service to (always) start. When I google I always find the same answer; Goto System > Administration > Services. But I don have it. Administration for me goes from 'Printing' to 'Software Sources', so there's no 'Services'...
Also should I be able to start it from a shell, but I also can find that. (I have no /etc/rc.d/-directory and my /etc/init.d/-directory han no 'mysql'). I just started using Linux a few days ago (I only used MaxOsX and Windows before).
I have a service/daemon that won't start from boot. I have used the chkconfig --add <script name> command that went ok I also used the chkconfig <script name> on and that seems to be fine and I have made the script executable Chmod 777 <filename>. By all account it looks like the script is running at boot the the services has not started. When I do a ps -ef | grep ndb_mgmd this process is no there. the script can be run from the console and sems to run fine!
#!/bin/bash
# chkconfig: 345 70 30
# description: MySQL Cluster management server start/stop script
echo hello Paul >> /tmp/hello.txt
configdir=/var/lib/mysql-cluster/
[Code]....
I used samba on FedoraCore2 before...and now i cannot config the same on FC10. I cannot start the service smb ( /etc/init.d/smb restart or service smb restart ) those commands dont work. How can i do to config samba service.
View 11 Replies View RelatedI have a couple of problems - and am new to Fedora which, up until about three days ago, was flawless.Am using KDE on F13. (Gnome & LXDE are also installed.)First problem is easy to solve, I think. How do I prevent "inactive" windows from fading out? It's an incredibly inconvenient feature and utterly defeats the whole purpose of the "Always on Top" option! I can't seem to find the option anywhere?On to KPackageKit. It has been trying to update KDE for the last three days but always gets hung up with the message: "Waiting for Service to Start."I notice that this problem might be listed as a Bug? - but not entirely sure.Is there a straightforward solution to this or is it, in fact, a bug?It also wants me to repeatedly restart because a new Kernel 2.6.33.5-124.fc13 has supposedly been installed.
View 7 Replies View RelatedHow can I start the vncserver serivce before any uesr log in? because I only have one screen now what I already did is when I log in the vncserver service going to be startup, but I want it can start before I log in. I try the "chkconfig --level 345 vncserver on" but after I reboot, I still cannot access the system before I have a log in action.
View 4 Replies View Relatedevery time I reboot the box, I have to run:sudo /etc/init.d/vmware startin order to start the vmware support processes.
There are entries in /etc/init.d/rc5.d
lrwxrwxrwx 1 root root 18 2010-06-08 18:08 K08vmware -> /etc/init.d/vmware
lrwxrwxrwx 1 root root 18 2010-06-08 18:08 S19vmware -> /etc/init.d/vmware
I wonder how could I start my ruby on rails mongrel_cluster at the start of my openSUSE 11.0 Server and I don't have a GUI. So the shell solution would be good.
View 1 Replies View Related