리눅스 분류
겨우 irc 서버 설치를 했는데요.
작성자 정보
- 리눅스왕초보 작성
- 작성일
컨텐츠 정보
- 2,722 조회
- 2 댓글
- 0 추천
- 목록
본문
ircd를 실행하니깐 에러가 발생하네요.
[root@localhost sbin]# ./ircd
binding stream socket VB[0.0.0.0@192.168.56.101.6668]:Address already in use
binding stream socket VB[0.0.0.0@/tmp/.ircd.6666]:Address already in use
Fatal Error: No working P-line in ircd.conf
밑에는 ircd.conf 일부 내용인데요. P라인..
# P: [MANDATORY]. This field allows the server to listen on various ports
# for connections. Any internet domain port that is below 1024 means the
# ircd has to be run as root, or from inetd. The server can listen to ports
# in the UNIX domain or the internet domain. If you wish to create a port
# in the UNIX domain you must compile with UNIXPORT defined in config.h.
#
# P:<YOUR Internet IP#>:<*>::<Port>:<Flags>
# P:<Directory>:<*>:<*>:<Port>:<Flags>
#
# Note that it's a good idea to open some more ports than 6667 for
# server-server connections and local clients in case some running wild
# client blocks the default 6667.
#
# The default, an internet domain socket on port 6667 listening on all
# ip addresses of the machine running ircd
P:::6667::
#
# an internet domain socket listening on port 6668 on address 206.252.192.20
# (again useful if you're running virtual interfaces)
P:192.168.56.101:::6668::
#
# This line is an example of a UNIX domain socket in /tmp
P:/tmp/.ircd:*::6666::
#
#
참고로 도메인은 없고 IP만 가지고 있습니다.
현재 IRC 봇 테스트 한다고요.(나쁜 목적은 없구요. 보안쪽에 있다보니 테스트용으로)
바꾼거라고는 아이피 추가밖에 없어요.
관련자료
-
이전
-
다음
댓글 2
지유파파님의 댓글
- 지유파파
- 작성일
Address already in use 라고 나오네요.
혹시 중복 기동을 하였거나, 기동된 상태에서 비정상 종료되어 프로세스가 해당 IP와 Port를 계속 물고 있는건 아닌지 확인 바랍니다.
irc를 구동하지 않은 상태에서
netstat -atn | grep 6668
위 명령어로 일단 사용중인 Port가 있는지 확인 해보시면 됩니다.
혹시 중복 기동을 하였거나, 기동된 상태에서 비정상 종료되어 프로세스가 해당 IP와 Port를 계속 물고 있는건 아닌지 확인 바랍니다.
irc를 구동하지 않은 상태에서
netstat -atn | grep 6668
위 명령어로 일단 사용중인 Port가 있는지 확인 해보시면 됩니다.
리눅스왕초보님의 댓글의 댓글
- 리눅스왕초보
- 작성일
아무것도 안나오네요. ㅠ 6667로도 검색해도요. ㅠ
[root@localhost /]# netstat -atn | grep 6668
[root@localhost /]# netstat -atn | grep 6667
[root@localhost /]# netstat -atn | grep 6668
[root@localhost /]# netstat -atn | grep 6667