Troubleshooting Process of Web Server Apache in Turbo Linux

zhaozj2021-02-16  53

Zhang Guanyun Yunnan Youwei Victim Information Industry Co., Ltd.

I installed TurboLinux to the PC. When I open the local web server with Netscape: 127.0.0.1 When I use Netscape error: "The web server refuses to access or busy ...".

I run NTSysv to view the launched server, discover the inet has run, but HTTP is not selected, select it, restart. The web server is still not running.

View Turbo Linux Chinese documentation, you can provide web services, prompt to access the site.

Http://www.apache.org Configuring Web Services.

Access site

http://www.apache.org <

Http://www.apache.org/>, check FAQ. The answer is Check ERRORLOG, in / usr / local / apache / logs / error_log.

Find the assessment, I found that this file is not existed at all the machine, even this directory does not exist.

So I look for the Apache file in this machine, and the results of 26 names are similar (related), where there is an apachecfg file.

Running Apachecfg in XWindow Apache's configuration window, click on the logs to twisting, you know the errorlog file is / var / log / httpd / error_log.

View this assessment and find many of the same or similar error records:

No Such File or Directory: Parent Cannot Open Lock File: / VAR / logs / httpd. Lock. 314

No Such File or Directory: Parent Cannot Open Lock File: / VAR / LOGS / HTTPD. LOCK.315

No Such File or Directory: Parent Cannot Open Lock File: / VAR / logs / httpd. Lock.298

Find these three files, found that there is no / var / logs directory, there is no three files, so I created the / var / logs / directory and create httpd.lock.314, httpd.lock.315, httpd.lock. 298 three empty files.

Restart Turbo Linux, troubleshooting, Apache is running normally!

转载请注明原文地址:https://www.9cbs.com/read-26921.html

New Post(0)