First, redirectting to/bin/systemctl restart Nginx.service
Occurrence scene
After installing the software using the Yum Install command (yum install nginx) under root user privileges, run the service Nginx restart to start the Nginx services
Cause of error
/bin/systemctl:no such file or directory. There is no such file or directory. Specifically, the service command is not found. The current system is using CenOs7.1, it seems that there is a great change in the version, in bash, we hit the service command, we can find no auto-completion.
Error resolution
After changing the system to CenOs6.5, it is no problem to start nginx. Full service can be automatically mended.
Second, serious file transfer error
Occurrence scene
Drag test.html from the local site to the remote site s/usr/share/nginx/html directly in the FileZilla
Cause of error
Insufficient permissions
Error resolution
Add permissions or do not drag directly under/usr/share/nginx/html, but place them under the user folder under FTP settings, and then use the CP or MV command to move the files to the target folder
Third, attempt to connect failed Econnrefused-connection refused by server
Occurrence scene
Using FileZilla to transfer files to a remote server
Cause of error
The server did not start the FTP service
Error resolution
Start the FTP service on the remote server. It's best to let it start, execute the command chkconfig vsftpd on
Iv./usr/local/tomcat8/bin/catalina.sh:line 453:/usr/lib/jvm/java-1.8.0xxx/bin/java:no such file or directory.
Occurrence scene
After you install Tomcat, execute the command bin/shutdown.sh stop the Tomcat service.
Cause of error
According to the error view directory, found that the file.
When you finally view catalina.sh, you find that you have not modified the/usr/local/tomcat8/bin/catalina.sh, and you have not configured the Java-home variable in the file. So that Tomcat could not find the JDK.
Error resolution
Modify/usr/local/tomcat8/bin/catalina.sh, add java-home variable in line 46
'). addclass (' pre-numbering '). Hide (); $ (this). addclass (' has-numbering '). Parent (). append ($numbering); for (i = 1; i <= lines; i++) {$numbering. Append ($ ('
'). Text (i)); }; $numbering. FadeIn (1700); }); });
The above describes the Java note---the Use of cloud services error, including aspects of the content, I hope that the PHP tutorial interested in a friend helpful.