WWW

[알림판목록 I] [알림판목록 II] [글목록][이 전][다 음]
[ WWW ] in KIDS
글 쓴 이(By): Xorn (Salud!)
날 짜 (Date): 1997년06월23일(월) 15시55분58초 KDT
제 목(Title): Re: [Q] perl cgi에서 system..


악!!! 실수..

Apache를 돌리는 유저가 bbs인데..
bbs로 들어가서 bbsaccess temp.txt xorn xorn이라고 실행해보면
(prompt에서) "Could not open temp file"라고 나오고 실행이 안되네요..
root로 하면 되었나보죠? 이런.. source를 보니

    tn = tmpnam(NULL);
    if(!(tfp = fopen(tn,"w"))) {
        fprintf(stderr,"Could not open temp file.\n");
        exit(1);

이라고 되어있는 부분같은데요.. (bbsaccess.c)
근데.. 잘되는 시스템을 보면

showrev -a할때
* Kernel Arch: "sun4m"
* Application Arch: "sun4"
* Kernel Revision:
  4.1.3-KLE1.1.3 (M9000) #20: Tue Oct 18 18:23:42 KST 1994
* Release: 4.1.3-KLE1.1.3

이라고 나오고
잘 안되는 시스템은

* Kernel Arch: "sun4"
* Application Arch: "sun4"
* Kernel Revision:
  4.1.3-KLE1.1.3 (GENERIC_KOR) #1: Tue Aug 11 11:02:04 PDT 1992
* Release: 4.1.3-KLE1.1.3

이라고 나오거든요..
그럼 kernel architecture가 달라서 안되는 건가요??
점점 어려워지고 있음... :(

도와주실분 안계세요??

[알림판목록 I] [알림판목록 II] [글 목록][이 전][다 음]
키 즈 는 열 린 사 람 들 의 모 임 입 니 다.