Re: Re: SqWebMail not run, webpage show system unavailable
"Hoang An" <[email protected]> Wed, 11 Jul 2007 14:29:21 +0700
| Newsgroups | gmane.mail.sqwebmail |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_129_13500602.1184138961572 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 7/11/07, Eng. Ahmed M. El-Sayed <[email protected]> wrote: > > Dear Hoang: > 1st, CGI permission must be: > rwsr-xr-x ,just chmod 4755 :-) > 2nd, this error indicates: > Wheather the error in configuring web server , or sqwebmail HTML > template directory . Just look at your web server log files error .. > > Hoang An writes: > > > On 7/10/07, Hoang An <[email protected]> wrote: > >> > >> Dear all, > >> > >> I installed successful sqwebmail-5.1.6 from source code, I also install > >> courier-authlib-0.59.1 from source code too. My Qmail is ok, I can > send > >> and receive mail from it, I use Fedora 4. Both of them I use > ./configure > >> (have no option). After install sqwebmail, i run > >> > >> /usr/lib/sqwebmail/libexec/sqwebmaild.rc start > >> > >> to start webmail and use <apachectl start> to start Apache server . But > >> when I access http://my-IP/cgi-bin/sqwebmail , it error: > >> System unavailable > >> > >> The web page you're trying to access is not available at this time. > >> Please > >> try again later. > >> > >> (connect: Permission denied) > >> > >> I see the permission denied. > >> Here permission in dir /var/www/cgi-bin > >> -rwxr-xr-x 1 root root sqwebmail > >> After, I change permission > >> chown vpopmail.vchkpw /var/www/cgi-bin/sqwebmail > >> chown -Rf vpopmail.vchkpw /usr/lib/sqwebmail > >> But I still have problem. How can I trouble it ? > >> > >> Thanks for reading, > >> > >> > > > > Dear all, > > > > I had trouble with this for 2 weeks. I look forward all of you guiding > me > > how to slove this > > > > Thanks so much > > > > > > Thanks so much for relpy I change permission like you show and now -rwsr-xr-x 1 vpopmail vchkpw 8228 Jul 9 15:45 sqwebmail I'm also view log of httpd file access_log 172.16.6.4 - - [11/Jul/2007:14:16:38 +0700] "GET /favicon.ico HTTP/1.1" 304 - "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4" 172.16.6.4 - - [11/Jul/2007:14:16:39 +0700] "GET /cgi-bin/sqwebmail HTTP/1.1" 200 236 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4" 172.16.6.4 - - [11/Jul/2007:14:16:40 +0700] "GET /cgi-bin/sqwebmail HTTP/1.1" 200 236 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4" 172.16.6.4 - - [11/Jul/2007:14:16:40 +0700] "GET /cgi-bin/sqwebmail HTTP/1.1" 200 236 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4" file error_log, have no error Beside, I test with https and see something file ssl_access_log 172.16.6.4 - - [11/Jul/2007:14:21:28 +0700] "GET /favicon.ico HTTP/1.1" 200 1758172.16.6.4 - - [11/Jul/2007:14:21:28 +0700] "GET /cgi-bin/sqwebmail HTTP/1.1" 200 236 172.16.6.4 - - [11/Jul/2007:14:21:28 +0700] "GET /favicon.ico HTTP/1.1" 200 1758172.16.6.4 - - [11/Jul/2007:14:21:31 +0700] "GET /cgi-bin/sqwebmail HTTP/1.1" 200 236 172.16.6.4 - - [11/Jul/2007:14:21:31 +0700] "GET /favicon.ico HTTP/1.1" 200 1758 file ssl_error_log --->>> we have error mismatch servername (only occur when access by https) [Wed Jul 11 07:20:39 2007] [warn] RSA server certificate CommonName (CN) `localhost.localdomain' does NOT match server name!? [Wed Jul 11 13:36:28 2007] [warn] RSA server certificate CommonName (CN) `localhost.localdomain' does NOT match server name!? [Wed Jul 11 13:36:28 2007] [warn] RSA server certificate CommonName (CN) `localhost.localdomain' does NOT match server name!? and last file ssl_request_log [11/Jul/2007:14:21:28 +0700] 172.16.6.4 TLSv1 DHE-RSA-AES256-SHA "GET /favicon.ico HTTP/1.1" 1758 [11/Jul/2007:14:21:28 +0700] 172.16.6.4 TLSv1 DHE-RSA-AES256-SHA "GET /cgi-bin/sqwebmail HTTP/1.1" 236 [11/Jul/2007:14:21:28 +0700] 172.16.6.4 TLSv1 DHE-RSA-AES256-SHA "GET /favicon.ico HTTP/1.1" 1758 [11/Jul/2007:14:21:31 +0700] 172.16.6.4 TLSv1 DHE-RSA-AES256-SHA "GET /cgi-bin/sqwebmail HTTP/1.1" 236 [11/Jul/2007:14:21:31 +0700] 172.16.6.4 TLSv1 DHE-RSA-AES256-SHA "GET /favicon.ico HTTP/1.1" 1758 For all informations I get, what can I do now, webpage still can not display. I only got error when use https , error certificate miss match server name .... !DSPAM:4694ed8529731925814929! ------=_Part_129_13500602.1184138961572 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline <br><div><span class="gmail_quote">On 7/11/07, <b class="gmail_sendername">Eng. Ahmed M. El-Sayed</b> <<a href="mailto:[email protected]">[email protected]</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Dear Hoang:<br> 1st, CGI permission must be:<br> rwsr-xr-x ,just chmod 4755 :-)<br> 2nd, this error indicates:<br> Wheather the error in configuring web server , or sqwebmail HTML<br>template directory . Just look at your web server log files error .. <br><br>Hoang An writes:<br><br>> On 7/10/07, Hoang An <<a href="mailto:[email protected]">[email protected]</a>> wrote:<br>>><br>>> Dear all,<br>>><br>>> I installed successful sqwebmail-5.1.6 from source code, I also install<br>>> courier-authlib-0.59.1 from source code too. My Qmail is ok, I can send<br>>> and receive mail from it, I use Fedora 4. Both of them I use ./configure<br>>> (have no option). After install sqwebmail, i run <br>>><br>>> /usr/lib/sqwebmail/libexec/sqwebmaild.rc start<br>>><br>>> to start webmail and use <apachectl start> to start Apache server . But<br>>> when I access <a href="http://my-IP/cgi-bin/sqwebmail"> http://my-IP/cgi-bin/sqwebmail</a> , it error:<br>>> System unavailable<br>>><br>>> The web page you're trying to access is not available at this time.<br>>> Please<br>>> try again later. <br>>><br>>> (connect: Permission denied)<br>>><br>>> I see the permission denied.<br>>> Here permission in dir /var/www/cgi-bin<br>>> -rwxr-xr-x 1 root root sqwebmail<br>>> After, I change permission <br>>> chown vpopmail.vchkpw /var/www/cgi-bin/sqwebmail<br>>> chown -Rf vpopmail.vchkpw /usr/lib/sqwebmail<br>>> But I still have problem. How can I trouble it ?<br>>><br>>> Thanks for reading, <br>>><br>>><br>><br>> Dear all,<br>><br>> I had trouble with this for 2 weeks. I look forward all of you guiding me<br>> how to slove this<br>><br>> Thanks so much<br>><br>><br>> </blockquote><div><br> Thanks so much for relpy<br> <br> I change permission like you show and now<br> <br> -rwsr-xr-x 1 vpopmail vchkpw 8228 Jul 9 15:45 sqwebmail<br> <br> </div>I'm also view log of httpd<br> file access_log<br> <a href="http://172.16.6.4">172.16.6.4</a> - - [11/Jul/2007:14:16:38 +0700] "GET /favicon.ico HTTP/1.1" 304 - "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4"<br> <a href="http://172.16.6.4">172.16.6.4</a> - - [11/Jul/2007:14:16:39 +0700] "GET /cgi-bin/sqwebmail HTTP/1.1" 200 236 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4"<br> <a href="http://172.16.6.4">172.16.6.4</a> - - [11/Jul/2007:14:16:40 +0700] "GET /cgi-bin/sqwebmail HTTP/1.1" 200 236 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4"<br> <a href="http://172.16.6.4">172.16.6.4</a> - - [11/Jul/2007:14:16:40 +0700] "GET /cgi-bin/sqwebmail HTTP/1.1" 200 236 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4"<br> <br></div> file error_log, have no error<br> <br> Beside, I test with https and see something<br> file ssl_access_log<br> <a href="http://172.16.6.4">172.16.6.4</a> - - [11/Jul/2007:14:21:28 +0700] "GET /favicon.ico HTTP/1.1" 200 1758172.16.6.4 - - [11/Jul/2007:14:21:28 +0700] "GET /cgi-bin/sqwebmail HTTP/1.1" 200 236<br> <a href="http://172.16.6.4">172.16.6.4</a> - - [11/Jul/2007:14:21:28 +0700] "GET /favicon.ico HTTP/1.1" 200 1758172.16.6.4 - - [11/Jul/2007:14:21:31 +0700] "GET /cgi-bin/sqwebmail HTTP/1.1" 200 236<br> <a href="http://172.16.6.4">172.16.6.4</a> - - [11/Jul/2007:14:21:31 +0700] "GET /favicon.ico HTTP/1.1" 200 1758<br> <br> file ssl_error_log --->>> we have error mismatch servername (only occur when access by https)<br> [Wed Jul 11 07:20:39 2007] [warn] RSA server certificate CommonName (CN) `localhost.localdomain' does NOT match server name!?<br> [Wed Jul 11 13:36:28 2007] [warn] RSA server certificate CommonName (CN) `localhost.localdomain' does NOT match server name!?<br> [Wed Jul 11 13:36:28 2007] [warn] RSA server certificate CommonName (CN) `localhost.localdomain' does NOT match server name!?<br> <br> and last file ssl_request_log<br> [11/Jul/2007:14:21:28 +0700] <a href="http://172.16.6.4">172.16.6.4</a> TLSv1 DHE-RSA-AES256-SHA "GET /favicon.ico HTTP/1.1" 1758<br> [11/Jul/2007:14:21:28 +0700] <a href="http://172.16.6.4">172.16.6.4</a> TLSv1 DHE-RSA-AES256-SHA "GET /cgi-bin/sqwebmail HTTP/1.1" 236<br> [11/Jul/2007:14:21:28 +0700] <a href="http://172.16.6.4">172.16.6.4</a> TLSv1 DHE-RSA-AES256-SHA "GET /favicon.ico HTTP/1.1" 1758<br> [11/Jul/2007:14:21:31 +0700] <a href="http://172.16.6.4">172.16.6.4</a> TLSv1 DHE-RSA-AES256-SHA "GET /cgi-bin/sqwebmail HTTP/1.1" 236<br> [11/Jul/2007:14:21:31 +0700] <a href="http://172.16.6.4">172.16.6.4</a> TLSv1 DHE-RSA-AES256-SHA "GET /favicon.ico HTTP/1.1" 1758<br> <br> For all informations I get, what can I do now, webpage still can not display. I only got error when use https , error certificate miss match server name ....<br> <br> !DSPAM:4694ed8529731925814929! ------=_Part_129_13500602.1184138961572--