Conflict between APM-Express and thunder

Source: Internet
Author: User
Tags apm

In the morning, open the APM-express service period and prepare to continue learning moviemasher. However, the error code: Code 2: unable to log on to its file. in addition, only the mysql-NT service is enabled, but the apache service is not enabled. The error message is always prompted when you try again and again. because Apache cannot be started, it is suspected that the file is lost. First, the APM-Express is reinstalled, and the problem persists. Then, an Apache is downloaded separately. After installation, the service cannot be started, but the log file cannot be opened in the event viewer of the management tool, so you have to unmount it again. in the past, no matter what software is installed, kis always had to be disturbed. However, when Apache was installed today, there was no movement. Open kis, open the port listening in the firewall under the guardrail and find that thunder uses port 80. You must know that it is the default port of the HTTP service, that is, the port to be used by Apache, immediately turn off thunder, restart APM-Express, and start the apache service. However, the error message is still displayed. The difference is that the Service The page on the tool can be displayed, yeath! However, I still want to kill the error prompt and search on the network. In the configuration options of AMP-Express, the configuration file for Apache startup is/etc/httpd. conf. Find the following pidfile D:/APM-Express/var/logs/httpd. PID. It seems that the path is faulty. Check/var/logs/httpd. the PID file does exist, but the slash in the path in WindowsXP seems to be a problem, so I changed it to pidfile D:/APM-Express/var/logs/httpd. PID. Restart APM-Express. The operation is successful! I also thought that the conflict between Thunder and APM-Express, I opened thunder again and found that it no longer uses port 80, but uses port 8000. Program It seems that you need to use the two software at the same time. Remember to enable APM-Express and then enable thunder. when I tried the order of opening the two software, the error message appeared again, Dizzy !!, Open the httpd. conf file and find that the changed sentence is restored to its original state. It seems that this file will be regenerated every time it is started. So what is the basis for its production? At this time, httpd is found in the same directory. conf. template file, which should be its template file. open the file and find pidfile % apmxe %/AR/ogs/ttpd. PID, changed to pidfile % apmxe %/var/logs/httpd. PID, and then restarted several times, everything is normal, OK !! I finally solved a problem. I met it for the first time, completely unfamiliar, and blindly searched for the problem. I felt good, but it was a waste of time .......

 

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.