wvp 간단한 리눅스 운영 및 유지 보수 매뉴얼

mysql 시작

systemctl start mysql

레디스 시작

systemctl start redis

ZLMediaKit 시작

구성 파일 경로:
/home/dtc/bins/ZLMediaKit/config.ini

여기에서 실행하려면 루트를 사용해야 합니다. 그렇지 않으면 일부 포트에 사용 권한이 없습니다.
전경이 시작되는 방식으로 이 일반 디버깅은 다음을 사용합니다.

/home/dtc/bins/ZLMediaKit/MediaServer -d

백그라운드 시작:

nohup /home/dtc/bins/ZLMediaKit/MediaServer -d  > /home/dtc/bins/ZLMediaKit/log.txt 2>&1 &

로그 보기:

tail -f /home/dtc/bins/ZLMediaKit/log.txt 

wvp 시작

루트 사용자가 시작할 필요가 없으며 일반 사용자 권한도 사용할 수 있습니다.
구성 파일
/home/dtc/bins/wvp/application.yml

백그라운드 시작 명령:

nohup java -jar  /home/dtc/bins/wvp/wvp*.jar  > /home/dtc/bins/wvp/wvplog.txt 2>&1 &

로그 보기:

tail -f /home/dtc/bins/wvp/wvplog.txt 

오류 로그에 연결할 수 없는 redis 연결이 있습니다.

예를 들어:

2023-06-20 15:20:47.055 ERROR --- eAsyncUncaughtExceptionHandler : Unexpected exception occurred invoking async method: public void com.genersoft.iot.vmp.gb28181.transmit.SIPProcessorObserver.processRequest(javax.sip.RequestEvent)

java.lang.IllegalStateException: LettuceConnectionFactory was destroyed and cannot be used anymore
	at org.springframework.util.Assert.state(Assert.java:76)
	at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory.assertInitialized(LettuceConnectionFactory.java:1263)
	at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory.getConnection(LettuceConnectionFactory.java:414)
	at org.springframework.data.redis.core.RedisConnectionUtils.fetchConnection(RedisConnectionUtils.java:193)
	at org.springframework.data.redis.core.RedisConnectionUtils.doGetConnection(RedisConnectionUtils.java:144)
	at org.springframework.data.redis.core.RedisConnectionUtils.getConnection(RedisConnectionUtils.java:105)

해결책

임시로 사용하는 이유가 이해가 안되네요 간단하고 조잡한 방법으로 레이드를 제거하고 다시 설치하는 방법이 있습니다.

내 구성 공유

내 구성 공유
https://download.csdn.net/download/lxyoucan/87933896

Supongo que te gusta

Origin blog.csdn.net/lxyoucan/article/details/131307587
Recomendado
Clasificación