기술지원 문의

Resin이 start가 안됩니다.
신현진 / 2003-10-01 00:00

Resin버전은  2.1.10  입니다.
아래와 같이 start를 하였는데    
 Cant write /usr/local/resin-2.1.10/httpd.pid at ./wrapper.pl line 632  라 고 Error가 뜹니다.


----------------------------------------------------------------- 
[hds1@e-Rabbit bin]$ ./httpd.sh start
[hds1@e-Rabbit bin]$ Cant write /usr/local/resin-2.1.10/httpd.pid at ./wrapper.pl line 632.


- wrapper.pl 의 632 번째 line은 아래와 같습니다.
---------------------------------------------------------------
# start restarts the process, unless it exits with the special code
    606 # 66.  The wrapper uses the Java processs stdin as a keepalive.  When
    607 # the wrapper dies, stdin will close and the Java process will close
    608 # gracefully
    609 #     
      .................
    631   if ($pid_file) {
** 632       open(OUT, \">$pid_file\") || die(\"Cant write $pid_file\");
    633       print(OUT \"$$\\");
    634       close(OUT);
    635   }       
    636       
---------------------------------------------------------------------


해결방법을 알고 싶습니다.
그럼 수고하십시요~

Re:Resin이 start가 안됩니다.
관리자 / 2003-10-01 00:00

Resin을 유닉스에서 실행하면
아파치웹서버처럼 프로세스ID를 파일에 적어놓고
나중에 서비스 정지시 이를 이용합니다.

\"메세지로는 pid파일을 write할 수 없다\"는
내용으로 해당 디렉토리의 적절한 권한이
없는 것 같습니다.
 점검해보시지요.

--신현진 님의 글 [2003-10-01 10:26:45]
>Resin버전은  2.1.10  입니다.
아래와 같이 start를 하였는데    
 Cant write /usr/local/resin-2.1.10/httpd.pid at ./wrapper.pl line 632  라 고 Error가 뜹니다.


----------------------------------------------------------------- 
[hds1@e-Rabbit bin]$ ./httpd.sh start
[hds1@e-Rabbit bin]$ Cant write /usr/local/resin-2.1.10/httpd.pid at ./wrapper.pl line 632.


- wrapper.pl 의 632 번째 line은 아래와 같습니다.
---------------------------------------------------------------
# start restarts the process, unless it exits with the special code
    606 # 66.  The wrapper uses the Java processs stdin as a keepalive.  When
    607 # the wrapper dies, stdin will close and the Java process will close
    608 # gracefully
    609 #     
      .................
    631   if ($pid_file) {
** 632       open(OUT, \">$pid_file\") || die(\"Cant write $pid_file\");
    633       print(OUT \"$$\\");
    634       close(OUT);
    635   }       
    636       
---------------------------------------------------------------------


해결방법을 알고 싶습니다.
그럼 수고하십시요~