Command: NGINX-TTo view the reason for failure:Nginx: [Emerg] "fastcgi_pass" directive is duplicate in/etc/nginx/sites-enabled/default:61Nginx:configuration file/etc/nginx/nginx.conf Test FailedAnd then find a way to solve the reasonCd/etc/nginx/site-enabaled/defaultWith php5-cgi alone or with PHP5-FPMYou can do it with both of them.So I stared out of Fastcgi_pass's line.The service nginx restart is OK. Thi
1. How to restart MYSQL5 under Windows:When you install MySQL, the system adds services, and you can stop and start MySQL by 2, you can also use the command line mode, in the run input:Stop: net stop MySQL(where MySQL is the name of the MySQL service you installed)Startup: net start MySQL3, if you do not install system services, you can also locate in the command line mode in the bin directory under MySQL,
This person's MySQL can't run up, before still good, ask me how to recover, I did not in her problem of machine, on her own machine to try, finally solved, is now recorded here. 1, first of all her MySQL installation folder, data structure files, files all copied over (in short, according to the original MySQL directory configuration are all taken over the right, if not configured so complex, it is all in a directory that directly copied this directory line), Put it in the corresponding director
[Source] After Centos modifies DNS to restart or restarts the network service, the problem is lost. centosdns
This article is copyrighted by mephisto and the blog Park. You are welcome to repost it, but you must keep this statement and provide the original article link. Thank you for your cooperation.
Written by mephisto, SourceLinkReading directory
Introduction
Cause
Processing
GitHub
This article is
Sometimes we accidentally use a dead loop in a Web program such as ASP, or when testing a DLL component, hang up. This is when IIS stops responding and we need to restart the IIS service to continue our work.
And when you want to end Inetinfo.exe or Dllhost. EXE process, we get a rejection of the information, of course, you are administrator rights or get this hint. You may also use net stop, but it takes
Linux Web Service restart-Linux Enterprise Application-Linux server application information. For details, refer to the following section. Yesterday, we found that 155 servers had crashed. On-site inspection: There are already two fault warning lights on the six hard disks. Fortunately, it is a logical fault that has been ruled out today.
After the server is restarted, the webpage
In the company's FTP server, SERVU services are often automatically offline, each time need to manually go to a bit of trouble.Then write a script to set the scheduled task to check the status of the FTP service and restart the service.Ideas:Set a scheduled task: Use the FTP command to connect to the FTP upload file, and then detect if the file is uploaded successfully, if the upload successfully logs succe
Jenkinsautomate deployment and service restart-PrimaryI. DescriptionDeploying Jenkins is primarily used for Web -Interface code uploads, production service restarts. the code package in SVN is not yet covered , and it will be done together with development colleagues later. The main purpose of using Jenkins instead of scripting is to facilitate versioning and re
How to restart the IIS service
In WINDOWS, When IIS provides WEB Services, the website cannot be opened due to excessive access. Restarting IIS is the best option.1. Interface operations
Choose Control Panel> Administrative Tools> services ". Right-click "IIS Admin Service" and choose "restart" to bring up the "Stop
be seen in resolv.conf, which is why columns, because resolve.conf is just a link file.
And then we look at the effect.
Ping www.baidu.com
And then we restart the Network service.
Service Network restart
And then we'll ping the
Found that there was no problem
And then we'll reboot the system.
Reboot
T
To mitigate the maintenance effort of the Domino server
Decide to restart the Domino service on a daily basis with batch scripts
The following batch work:
1. Send quit exit instructions to Domino console first
After 2, 30 seconds, check to see if Domin has not exited successfully. If it is successfully launched, proceed to the next step. Otherwise, forcibly shut down the domino process.
After 3, 30 sec
@echo offREM defines the cycle interval time and monitoring services:Set secs=60Set srvname= "ServerName" echo.Echo ========================================echo = Query the status of the computer service, = =echo = = One query per interval of%secs% seconds, = =echo = starts immediately if it is found to be stopped. ==Echo ========================================Echo.Echo This script monitors the service as:
1. Create a new text file and change the file extension to. bat or. CMD (for example, reseth3server. BAT) to any directory on the hard disk.
The write content is as follows:
Net stop h3server
Description: stop the service named "h3server.
Net start h3server
Explanation: enable the service named "h3server.
2. Click "Start Menu"> "Control Panel"> "Task Plan" to add a task plan.
1. click Next.
2. Click
In the mysql5.5/5.6 version, set up synchronous replication filtering, such as setting the T2 table that ignores the test library, you need to add in the my.cnf config file:Replicate-ignore-table=test.t2The MySQL service process must be restarted to take effect.In MySQL5.7, a new command is available to support online dynamic modification without restarting the MySQL process.Example:Change REPLICATION FILTER replicate_do_db= (DB1,DB2); Change REPLICAT
A group of netizens sent a message saying that an error was reported when running the service network restart. The error message is as follows:Huttingdownloopbackinterface: [OK]Bringinguploopbackinterface: [OK]Fgrep: ifcfg-ifcfg-eth0: NosuchfileordirectoryFgrep: ifcfg-ifcfg-eth0: NosuchfileordirectoryFgrep: ifcfg-ifcfg-eth0: NosuchfileordirectoryEgrep: ifcfg-ifcfg-eth0: NosuchfileordirectoryBringingupinterf
Linux server ACPID service restart every day-Linux general technology-Linux technology and application information, the following is a detailed description. # Cat/var/log/boot. log
Shown as follows:
May 18 04:02:09 Host1 acpid: acpid startup succeeded
May 18 04:02:09 Host1 acpid: acpid shutdown succeeded
May 17 04:02:09 Host1 acpid: acpid startup succeeded
May 17 04:02:09 Host1 acpid: acpid shutdown
The first step is to create the following two log tablesPress CTRL + C to copy the codePress CTRL + C to copy the code CREATE TABLE ' General_log ' ( ' event_time ' timestamp not NULL DEFAULT current_timestamp on UPDATE Current_ TIMESTAMP, ' user_host ' mediumtext not NULL, ' thread_id ' bigint (+) unsigned not null, ' server_id ' int (10) unsigned not NULL, ' command_type ' varchar ($) NOT null, ' argument ' mediumtext not null ) Engine=csv DEFAULT Charset
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.