Chkconfig Error Reading Information On Service
Contents |
Start 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 chkconfig error reading information on service no such file or directory Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges centos chkconfig error reading information on service Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a
Error Reading Information On Service Named
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 chkconfig on for arbitrary path program up vote 2 down vote favorite
Error Reading Information On Service Httpd
Noramlly to add a start up program one have something like chkconfig httpd on however how can I do this for a program that I need to start like /usr/local/program/sbin/program ? I tried chkconfig /usr/local/program/sbin/program on but it said error reading information on service /usr/local/program/sbin/program: No such file or directory Unfortunately all the example I found online is chkconfig [service name] on. linux centos boot chkconfig share|improve this question asked Sep 20 '13 at 13:31 user2643506 error reading info for service 11612 add a comment| 3 Answers 3 active oldest votes up vote 3 down vote Read the chkconfig man page, specifically the --add section and the RUNLEVEL FILES section. share|improve this answer answered Sep 20 '13 at 13:39 Safado 3,18821942 add a comment| up vote 3 down vote Add to your script these example lines: #chkconfig: 345 80 20 #description: example script Explanation: 345 - levels 80 - start priority 20 - stop priority Of course, these are example values, you can change it. Add your script with command: chkconfig --add share|improve this answer answered Sep 20 '13 at 21:06 maayke 45648 add a comment| up vote 1 down vote chkconfig manage the links under /etc/rcX.d/ for the scripts in the directory /etc/init.d share|improve this answer answered Sep 20 '13 at 20:14 c4f4t0r 2,79211123 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged linux centos boot chkconfig or ask your own question. asked 3 years ago viewed 3826 times active 3 years ago Related 1Subtle difference in chkconfig entry4chkconfig not sta
Ingestion & Streaming Data Processing Design & Architecture Governance & Lifecycle Hadoop Core Sandbox & Learning Security Solutions All Tags All Questions All Ideas All
Chkconfig Add No Such File Or Directory
Repos All Articles All Users All Badges Leaderboard Login Home / Design service does not support chkconfig & Architecture / 1 Question by Amit Nandi · Feb 20 at 02:42 PM · ec2 Amazon AWS error reading information on service ntpd no such file or directory EC2 Ambari Install sudo chkconfig ntpd on error reading information on service ntpd: No such file or directory Trying to set up a cluster in EC2 with Ambari - can not http://serverfault.com/questions/540482/chkconfig-on-for-arbitrary-path-program 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 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 https://community.hortonworks.com/questions/18428/amazon-aws-ec2-ambari-install-sudo-chkconfig-ntpd.html · 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 visibility Viewable by all users Neeraj Sabharwal ♦ · Feb 20 at 02:45 PM 0 Share @Amit Nandi ntpd , you have to install it link 0 Answer by Artem Ervits · Feb 20 at 03:06 PM https://github.com/dbist/script
Common F23 Bugs Common F24 Bugs Communicate with Fedora The Documents Bug Reports Fedora Update System (Bodhi) Fedora Build System (Koji) Official Spins FedoraForum.org > Fedora 23/24 > Using http://forums.fedoraforum.org/showthread.php?t=251423 Fedora [SOLVED] chkconfig problem:cannot add conky FedoraForum Search User Name Remember Me? Password Forgot Password? Join Us! Register All Albums FAQ Today's Posts Search Using Fedora General support for current versions. Ask http://stackoverflow.com/questions/21941251/getting-an-error-when-executing-chkconfig-add-tomcat-using-chef questions about Fedora that do not belong in any other forum. Google™ Search FedoraForum Search Red Hat Bugzilla Search Search Forums Show Threads Show Posts Tag Search Advanced Search Go to error reading Page... Thread Tools Search this Thread Display Modes #1 12th September 2010, 02:26 PM rudra-b Offline Registered User Join Date: Jun 2008 Posts: 176 chkconfig problem:cannot add conky chkconfig problem:cannot add conky I want to start my conky while system boots. what i am getting is: Code: # uname -smrpi Linux 2.6.34.6-54.fc13.i686.PAE i686 i686 i386 #which conky /usr/bin/conky # /sbin/chkconfig --level 5 error reading info conky on error reading information on service conky: No such file or directory # /sbin/chkconfig --level 5 /usr/bin/conky on error reading information on service /usr/bin/conky: No such file or directory # /sbin/chkconfig --add conky error reading information on service conky: No such file or directory where I am going wrong? also, the gui (system-config-services) neither help me to add/remove services rudra-b View Public Profile Find all posts by rudra-b #2 12th September 2010, 03:01 PM scott32746 Offline Registered User Join Date: Jun 2007 Location: Lake Mary, Florida Age: 52 Posts: 1,088 Re: chkconfig problem:cannot add conky Hello, This is not an auto startup on the away you tried but may help. http://forums.fedoraforum.org/showthread.php?t=187902 scott32746 View Public Profile Find all posts by scott32746 #3 12th September 2010, 03:03 PM Evil_Bert Offline Retired Again - Administrator Join Date: Nov 2007 Location: 'straya Posts: 3,378 Re: chkconfig problem:cannot add conky Conky is not a service and cannot be controlled with chkconfig. For that to work, you would have to write an init script and put it in /etc/rc.d/init.d and symlinks in the /etc/rc.d/rc[0-6].d folders. Conky is a user-space program and can be started by addin
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 posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Getting an error when executing “chkconfig --add tomcat” using chef? up vote 1 down vote favorite I am using chef to configure a centos machine and everything is installing fine except for execute "chkconfig add tomcat" do command "chkconfig --add tomcat" end execute "chkconfig tomcat level" do command "chkconfig --level 234 tomcat on" end Which brings this error.. Mixlib::ShellOut::ShellCommandFailed ------------------------------------ Expected process to exit with [0], but received '1' ---- Begin output of chkconfig --add tomcat ---- STDOUT: STDERR: error reading information on service tomcat: No such file or directory ---- End output of sudo chkconfig --add tomcat ---- Ran chkconfig --add tomcat returned 1 tomcat centos chef share|improve this question edited Feb 21 '14 at 19:31 StephenKing 9,82842255 asked Feb 21 '14 at 17:33 jquerynoob 1111110 tomcat isn't in your $PATH... –sethvargo Feb 22 '14 at 0:13 add a comment| 2 Answers 2 active oldest votes up vote 1 down vote Are you married to using chkconfig? There's a service resource that should take care of this for you. Chef::Provider::Service::Init::Redhat service The provider that is used with the Red Hat and CentOS platforms. share|improve this answer answered Feb 23 '14 at 23:56 JJ Asghar 33529 add a comment| up vote 1 down vote service "tomcat" do supports :status => true, :restart => true, :reload => true action [ :enable, :start ] end share|improve this answer answered Nov 21 '14 at 7:21 user60679 164212 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged tomcat