질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

RPM 으로 설치한 아파치 SSL 시작은 어떻게 하죠?

작성자 정보

  • 원준 작성
  • 작성일

컨텐츠 정보

본문

제가 서버를 다시밀고 버전업 했는데.
다른 건 다 잘 돌아 가는데
아파치 에서 ssl 을 실행할려고 하니깐
에러가 납니다.
전에는 ./apachectl startssl 이렇게 하면
개인 인증 비번을 묻는데
지금은 그런게 안나오고 작동을 안하네요.

무론 httpd.conf ssl.conf 등 설정은 다했는데
ssl 스타트가 안됩니다.
어떻게 하면 되는건지 참 난감 합니다.
아시는분 꼭좀 알려 주세요..

service httpd startssl   작동안됨
./apachectl startssl    작동안됨


 [root@jul ~]# service httpd startssl
사용법: httpd {start|stop|restart|condrestart|reload|status|fullstatus|graceful|help|configtest}

[root@jul ~]# cd /usr/sbin
[root@jul sbin]# ./apachectl startssl
Usage: /usr/sbin/httpd [-D name] [-d directory] [-f file]
                       [-C "directive"] [-c "directive"]
                       [-k start|restart|graceful|graceful-stop|stop]
                       [-v] [-V] [-h] [-l] [-L] [-t] [-S]
Options:
  -D name            : define a name for use in <IfDefine name> directives
  -d directory       : specify an alternate initial ServerRoot
  -f file            : specify an alternate ServerConfigFile
  -C "directive"     : process directive before reading config files
  -c "directive"     : process directive after reading config files
  -e level           : show startup errors of level (see LogLevel)
  -E file            : log startup errors to file
  -v                 : show version number
  -V                 : show compile settings
  -h                 : list available command line options (this page)
  -l                 : list compiled in modules
  -L                 : list available configuration directives
  -t -D DUMP_VHOSTS  : show parsed settings (currently only vhost settings)
  -S                 : a synonym for -t -D DUMP_VHOSTS
  -t -D DUMP_MODULES : show all loaded modules
  -M                 : a synonym for -t -D DUMP_MODULES
  -t                 : run syntax check for config files


관련자료

댓글 1

디지문님의 댓글

  • 디지문
  • 작성일
혹시 아파치 버전이 2.0.x가 아닌 2.2.x 아닌가요? rpm으로 설치된 거라고 하시니 2.2.x가 맞겠네요.
2.2.x의 경우는 startssl이 아닌 start만으로 구동됩니다.

사용법: httpd {start|stop|restart|condrestart|reload|status|fullstatus|graceful|help|configtest}
위 부분만 봐도 2.2.x인 걸로 보이는군요.
init script의 case 구문을 확인해 보시면 startssl은 더 이상 지원하지 않는 스타트 옵션으로 확인될 겁니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,139 명
  • 현재 강좌수 :  36,211 개
  • 현재 접속자 :  236 명