2006. 8. 1. 14:05

Openwebmail수동설치후

오픈웹메일 수동으로 업그레이드시
메인페이지 출력시 HTTP 500 내부서버 오류 발생시

답변
Hi. I can fix the problem.

I have to change suidperl to perl at the begining of the openwebmail-main.pl. Now it works fine.


->

INSTALL OPENWEBMAIL

The latest released or current version is available at
http://openwebmail.com/openwebmail/

If you are using FreeBSD and install apache with pkg_add,
then just

1. chmod 4555 /usr/bin/suidperl

ps: If you are using FreeBSD and your perl is compiled from port,          then please note that the SUID support is disabled by default          since the port for perl 5.8.1          You need to do 'make -DENABLE_SUIDPERL' in making port


Q: I got "Software error: Can't locate MIME/Base64.pm in @INC"?A: Please install the  MIME-Base64-2.12.tar.gz.Q: I got "Software error: Can't locate Text/Iconv.pm in @INC"?A: Please install the Text-Iconv-1.2.tar.gz, this is required since    openwebmail-1.80
2. cd /usr/local/www
tar -zxvBpf openwebmail-X.XX.tgz

3. modify /usr/local/www/cgi-bin/openwebmail/etc/openwebmail.conf for your need.

4. execute /usr/local/www/cgi-bin/openwebmail/openwebmail-tool.pl --init



2. 업그레이드 후 로그인 후 아래와 같은 메세지가 나올경우
열수 없습니다. /usr/local/www/cgi-bin/openwebmail/etc/sessions/master*-session-0.505131747573614! (Permission denied)

I just found this information from FAQ:
http://openwebmail.org/openwebmail/doc/faq.txt

Q: I got "Couldn't open XXX-session-0.370606494136155!" error after login?

A: You openwebmail-1.xx.tar.gz was uncompressed with improper parameter.
It should be "tar -zxvBpf openwebmail-1.xx.tar.gz"
Or you can refer to the file permission list in the end of readme.txt

ps: you may check the permission cgi-bin/openwebmail/etc/sessions first,
it should be owner=root, group=mail, mode=771