Learn about service oracle not support chkconfig, we have the largest and most updated service oracle not support chkconfig information on alibabacloud.com
Chkconfig Add service error, prompt XXX service does not supportFault Original:[Email protected] ~]# chkconfig--add memcachedService memcached does not support ChkconfigFault Description:Unable to add hint the error was not added to the
Background: Shell scripting is an essential tool for Linux OPS, and it is important to install shell scripts as a service and join the system to start and then manage them using services.When we run the command to install the service, assume that the service name is MyService#chkconfig--add MyServiceWill often appearSe
Today, when you install a MySQL multiple instance, this problem, let MySQL support boot from boot, but the following error prompts:
Root@localhost ~]# Chkconfig–add mysql3306
Service mysql3306 does not support Chkconfig
After a look at the data, make it clear, in the star
A description of the problemAfter you deploy the zookeeper, you need to set up a startup script and set up auto-start.Cp/opt/app/zookeeper/bin/zkserver.sh/etc/init.d/zookeeperTo change the parameters of a scriptZoobin=/opt/app/zookeeper/bin Zoobindir=/opt/app/zookeeper/bin Zoo_log_dir=/opt/logs/zookeeperThis three parameters are at your own discretion.Perform service zookeeper start OK, but chkconfig--level
The solution is as follows:
You must put the following two lines of comments in the front of the/etc/init. d/redis file:
# Chkconfig: 2345 90 10 # Description: redis is a persistent key-value Database
The above comment indicates that the redis service must be started or shut down under runtime Level 2, 3, 4, 5. The priority of startup is 90, and the priority of shutdown is 10
The solution is as follows:
You must put the following two lines of comments in the front of the/etc/init. d/redis file:
# Chkconfig: 2345 90 10# Description: redis is a persistent key-value Database
The above comment indicates that the redis service must be started or shut down under runtime Level 2, 3, 4, 5. The priority of startup is 90, and the priority of shutdown is
Wrote a script that wanted to load the chkconfig with a command. Prompt "* * Service does not support Chkconfig", the original is the script written by yourself, forget to write two lines. This is usually the beginning.
#!/bin/bash#chkconfig: 345 61 61//This line of 345 par
Original address: http://www.cnblogs.com/niocai/archive/2012/07/12/2587780.htmlSometimes we like to install it as a service in Linux, and then we can use the service to manage it for ease of management.But when we run the command to install the service, assume that the service name is MyService#
Pache running a service program as a Linux bootcp/usr/local/apache2/bin/apachectl/etc/rc.d/init.d/httpdbut in execution:chkconfig--add httpdchkconfig httpd onerror occurred:service httpd does not support chkconfigWorkaround:Open vi/etc/rc.d/init.d/httpd Add (#!/bin/sh below)
#chkconfig: 2345 10 90#description: activates/deactivates Apache Web Server
Apache cannot start automatically,1, copy the Apachectl file to the/ETC/RC.D/INIT.D, and then add the link under/etc/rc.d/rc5.d/.The order is as follows:CP/USR/LOCAL/APACHE/BIN/APACHECTL/ETC/RC.D/INIT.D/HTTPD//If there are other versions of Apache, it can also be directly overwrittenLn-s/ETC/RC.D/INIT.D/HTTPD/ETC/RC.D/RC5.D/S85HTTPD//links (85 of the meaning described later)At this point, Apache can be started automatically.2, run Chkconfig--list, fou
In order to PHP-FPM management convenience, copy the boot script from the PHP installation directory, change the corresponding path, and then perform the Add startup service, the following error occurs.Service PHP-FPM does not support ChkconfigAfter multiple lookups, the following two lines are missing from the startup script:# chkconfig:2345 15 95# DESCRIPTION:P
Service OverviewUnder the Linux operating system, it is often necessary to create services that are made into shell scripts that need to be started automatically when the system is started and shut down automatically when it is shut down.You will need to automatically start the script in the/ETC/RC.D/INIT.D directory and then use the command chkconfig--add filename to automatically register the boot and shu
compiling Apache will be in the installation directory of the bin generated apachectl file, this is a startup script, We just need to add this command to Rc.local (SuSE has no rc.local.) SuSE can define its own scripts so that if you want to run your own scripts before and after switching the run level, you can create them separately:/etc/init.d/before.local/etc/init.d/after.local) echo/usr/ Local/apache/bin/apachectl>>/etc/rc.d/rc.local, the way to set up the
INIT.D directory. The first character is S, when the system starts, run the script auto_run, it will add a start parameter, tell the script, is now the startup mode. At the same time in the RC0.D and RC6.D directory, create the name of K90auto_run file connection, the first character is K, a system in the shutdown system, will run Auto_run, add a stop, tell the script, is now off mode. Note that the above three lines are in, the ground two, the third row is necessary, otherwise when running
specified run level. For example, to stop the NFS service at the 3,4,5 run level, the command is as follows: Chkconfig --level 345 NFS off Run-level files: Each service managed by Chkconfig needs to add two or more lines of comments to the script under the corresponding init.d . The first line tells
Chkconfigchkconfig is frequently used in command line operations. It allows you to conveniently set and query system services at different running levels. You can easily manage your startup services. Note: Remember that chkconfig does not automatically disable or activate a service immediately, but simply changes the symbolic connection. C
Chkconfig
There are two ways to add Apache as a startup:
1, in the/etc/rc.d/rc.local to join the start command/usr/local/apache2/bin/apachectl start
2. Add HTTP as a system service
Cp/usr/local/apache2/bin/apachectl/etc/rc.d/init.d/httpd
chmod +x/etc/rc.d/init.d/httpd
[Root@localhost ~]# chkconfig--add httpd[Root@localhost ~]# chkconfig--list|grep httpdhttpd 0: Off 1: Off
are like this.In the second line, there are three parameters 2345, 80, and 90 following chkconfig to tell the chkconfig program that the parameters must be in rc2.d ~ Under the rc5.d directory, create a file connection named S80auto_run and connect to the auto_run script under the/etc/rc. d/init. d directory. The first character is S. When the system starts the script auto_run, a start parameter is added t
Label:Transfer from http://www.51testing.com/html/99/478599-842622.html Today, after the installation of Oracle , start monitoring, error is as follows:Start Tnslsnr: Please wait ... Tnslsnr for 32-bitWindows: Version 10.2.0.1.0-production writes to E:\oracle\product\10.2.0\db_2\network\log\listener.logLogInformation monitoring: (Description= (Address= (protocol=tcp) (host=win2003-64template) (port=1521)))C
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.