recently started tomcat, the aliyun server, which has been unable to start. I studied it carefully in my spare time.
It is found that the debug port of the current application is in conflict with the debug port of other applications.
netstat -na|grep 8888
Sure enough there is a record trying to find the PID and kill it, plus the parameter showing the pid.
netstat -nap|grep 8888
The results show that.
tcp 0 0 0.0.0.0:8888 0.0.0.0:* LISTEN -
1. Check the process information according to the process name, take the tomcat process name as an example, and check the corresponding process id of 1095(or use ps-aux | grep to check the memory occupation and other information of tomcat)
ps -ef | grep tomcat
2. View the process occupied port according to the process ID and view the corresponding port as 8080 (if you do not have the netstat command, install it using Yum-y Install net-tools).
netstat -nap | grep 1095
3. Check the corresponding process according to the port, and check the process ID occupying port 8080, which is 1095
netstat -tunlp | grep 8080
4. Check the process information according to the process ID, and check the process information with the process ID 1095
ps -ef | grep 1095
5. Kill the process according to the process ID. Kill the process with the process ID of 1095
kill -9 1095
Read More:
- ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
- Modify the tomcat configuration in docker, causing javaagent to report agent library failed to init instrument
- Docker run failed with the following error in logs, standard_ init_ linux.go:211 : exec user process caused “exec format error“
- Failed to execute goal org.apache.tomcat . maven:tomcat7-maven-plugin : 2.2: run solution
- [Tomcat] an error is reported when Tomcat starts ERROR:transport error 202:bind failed:Address already
- Docker Startup Error: standard_init_linux.go:211: exec user process caused “no such file or directory”
- Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run (default-cli) on project
- standard_init_linux.go:178: exec user process caused “no such file or directory”
- Tomcat start error ERROR:transport error 202:bind failed:Address already
- RuntimeError: Default process group has not been initialized, please make sure to call init_process_
- appear pygame.error : font not initialized problem, remember to check whether the program calls pygame.init ()
- WordPress download template, update error No working transports found solution
- Tomcat start error touch under Linux
- Linux Tomcat accessing files on the server
- Under Linux, git cannot be used, prompt sign_and_send_pubkey: signing failed: agent refused operation
- Prompt “entering emergency mode. Exit the shell to continue” if the Linux operating system does not start normally
- Failed to create agent because there is no valid NavMesh
- Solution: attributeerror: type object ‘ioloop’ has no attribute ‘initialized’
- command ‘x86_64-linux-gnu-gcc’ failed with exit status 1
- unity Failed to create agent because there is no valid NavMesh