Chkconfig Error Reading Information
Contents |
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Server chkconfig error : squid User Name Remember Me? Password Linux - Server This forum is for the discussion of Linux Software used in a server related error reading information on service no such file or directory context. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ
Chkconfig No Such File Or Directory
as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads
Error Reading Information On Service Named: No Such File Or Directory
and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following
Error Reading Information On Service Ntpd: No Such File Or Directory
links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, error reading information on service tomcat: no such file or directory with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 09-20-2008, 01:25 PM #1 nkd Member Registered: Oct 2006 Location: india Distribution: fedora 8, ubuntu 10.10 Posts: 315 Rep: chkconfig error : squid hi all, I have compiled squid and it is runing alright. But the problem is , I can't configure it to start with chkconfig. When I do chkconfig squid on , I get the following error :- error reading information on service squid: No such file or directory any clues on that ? thanks in advance nishith nkd View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by nkd 09-20-2008, 02:08 PM #2 predatorz Member Registered: Mar 2007 Posts: 58 Rep: There is no squid init.d file in /etc/init.d predatorz View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by predatorz 09-20-2008, 03:04 PM #3 latinmus
Ingestion & Streaming Data Processing Design & Architecture Governance & Lifecycle Hadoop Core Sandbox & Learning Security Solutions error reading information on service iptables: no such file or directory All Tags All Questions All Ideas All Repos All Articles All error reading information on service httpd: no such file or directory Users All Badges Leaderboard Login Home / Design & Architecture / 1 Question by Amit Nandi · /sbin/chkconfig Feb 20 at 02:42 PM · ec2 Amazon AWS EC2 Ambari Install sudo chkconfig ntpd on error reading information on service ntpd: No such file or directory Trying http://www.linuxquestions.org/questions/linux-server-73/chkconfig-error-squid-671259/ to set up a cluster in EC2 with Ambari - can not set up the base AMI with ntpd and iptables. Please help [ec2-user@ip-172-31-25-111 ~]$ pwd /home/ec2-user [ec2-user@ip-172-31-25-111 ~]$ sudo chkconfig ntpd on error reading information on service ntpd: No such file or directory [ec2-user@ip-172-31-25-111 ~]$ sudo chkconfig iptables off error reading information on service https://community.hortonworks.com/questions/18428/amazon-aws-ec2-ambari-install-sudo-chkconfig-ntpd.html iptables: No such file or directory [ec2-user@ip-172-31-25-111 ~]$ sudo /etc/init.d/iptables stop sudo: /etc/init.d/iptables: command not found Comment Add comment · Show 1 10 |6000 characters needed characters left characters exceeded ▼ Viewable by all users Viewable by moderators Viewable by moderators and the original poster Advanced visibility Viewable by all users Rahul Pathak · Feb 20 at 04:08 PM 1 Share Please share OS details. 3 Replies · Add your reply Sort: Votes Created Oldest 1 Answer by Neeraj Sabharwal · Feb 20 at 02:44 PM @Amit Nandi I am guessing its centos 7 Install the iptables-services package: yum install iptables-services systemctl start iptables systemctl [stop|start|restart] iptables Saving your firewall rules can be done as follows: service iptables save NTPD yum -y install ntp systemctl start ntpd systemctl enable ntpd ntpq -p Comment Add comment · Show 1 · Share 10 |6000 characters needed characters left characters exceeded ▼ Viewable by all users Viewable by moderators Viewable by moderators and the original poster Advanced visib
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or http://unix.stackexchange.com/questions/150517/how-can-i-make-iptables-service-start-automatically-after-reboot-on-cenos-rhel7 posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes https://support.nagios.com/forum/viewtopic.php?t=3838&p=16471 a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top How can I make iptables service start automatically after reboot on CenOS/RHEL7? up vote 3 error reading down vote favorite I am having a few issues with a newly installed home server I am preparing. I have installed CentOS7 on it and I found that port 80 and 443 are off by default. I therefore added them to the iptables with the following commands: iptables -I INPUT 5 -i eth0 -p tcp --dport 80 -m state --state NEW,ESTABLISHED -j ACCEPT iptables -I INPUT 5 -i eth0 -p tcp --dport 443 -m state --state NEW,ESTABLISHED -j ACCEPT service iptables save I error reading information also installed the iptable service which was not present. The problem is that every time I reboot the machine the new configurations are wiped. I tried to add the the iptable service to chkconfig but I get the following error: [root@CentOS-7]# chkconfig --add iptables error reading information on service iptables: No such file or directory I presume that the reason I get this error is because there is no iptable script in /etc/init.d/ however has anyone any ideas if I am actually doing the right thing and/or if there is an easier more solid way to do this? If not how can I solve this problem? In the end I just need to use my home server as a web/mail server... I have also tried to use the 'systemctl enable iptables' command as flemingovirus kindly suggested but with no success. After I entered the command I got the following output: ln -s '/usr/lib/systemd/system/iptables.service' '/etc/systemd/system/basic.target.wants`/iptables.service'` UPDATE: I have looked at the iptables and the command "service iptables save" has worked properly. The problem seem to be due to the service not starting at reboot. I have managed to get the service running at reboot after adding the following line to /etc/rc.local systemctl start iptables.service however I wonder why the 'systemctl enable iptables' command is not working in this case. Am I missing something? Thanks centos rhel iptables firewall share|improve this question edited Aug 16 '14 at 21:52 asked Aug 16 '14 at 9:45 Dave 16114 add a comme
On Service) An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list. Topic locked 9 posts • Page 1 of 1 Chkconfig --add nagios(Error reading Information On Service) by mohsin2011 » Mon Oct 17, 2011 6:55 am Hi,i am getting error while installing nagios core i am using this document for installing it ,http://www.thegeekstuff.com/2008/05/nag ... iguration/when i reach to step 7 successfully but when i try to run "Chkconfig --add nagios" i get error ,"Error reading Information On Service nagios: no such file or directory "i am installing it on root the surprising talk is that i have runned it successfully before some time but when application ran it was not logging for the given id pwd thats why i install it again !Please help me i am also not getting any nagios folder under etc/init.d ??Hopes for your suggestions ...Thanks in Advance, mohsin2011 Posts: 63Joined: Fri Sep 09, 2011 1:14 am Top Re: Chkconfig --add nagios(Error reading Information On Serv by jsmurphy » Mon Oct 17, 2011 5:07 pm It sounds like it isn't installing properly, run the install again (Step 4.) and watch carefully for any errors. jsmurphy Posts: 989Joined: Wed Aug 18, 2010 9:46 pm Top Re: Chkconfig --add nagios(Error reading Information On Serv by mohsin2011 » Mon Oct 17, 2011 11:08 pm thanks for your reply i am again installing from initial and then let you know about the errors if occur and the link i provided is not making me clear i do all installation from root like this [root@localhost~] is it fine or it should be [root@localhost/] ?? or should i have to use some other folders for installation lime tmp,usr home ... Hopes for youe suggestions..Thanks in Advance! mohsin2011 Posts: 63Joined: Fri Sep 09, 2011 1:14 am Top Re: Chkconf