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> &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; 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>&nbsp;&nbsp;&nbsp;&nbsp; 1st, CGI permission must be:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rwsr-xr-x ,just chmod 4755 :-)<br>&nbsp;&nbsp;&nbsp;&nbsp; 2nd, this error indicates:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&gt; On 7/10/07, Hoang An &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote:<br>&gt;&gt;<br>&gt;&gt; Dear all,<br>&gt;&gt;<br>&gt;&gt; I installed successful sqwebmail-5.1.6
 from source code, I also install<br>&gt;&gt; courier-authlib-0.59.1 from source&nbsp;&nbsp;code too. My Qmail is ok, I can send<br>&gt;&gt; and receive mail from it, I use Fedora 4. Both of them I use ./configure<br>&gt;&gt; (have no option). After install sqwebmail, i run
<br>&gt;&gt;<br>&gt;&gt; /usr/lib/sqwebmail/libexec/sqwebmaild.rc start<br>&gt;&gt;<br>&gt;&gt; to start webmail and use &lt;apachectl start&gt; to start Apache server . But<br>&gt;&gt; when I access <a href="http://my-IP/cgi-bin/sqwebmail">
http://my-IP/cgi-bin/sqwebmail</a> , it error:<br>&gt;&gt; System unavailable<br>&gt;&gt;<br>&gt;&gt; The web page you&#39;re trying to access is not available at this time.<br>&gt;&gt; Please<br>&gt;&gt; try again later.
<br>&gt;&gt;<br>&gt;&gt; (connect: Permission denied)<br>&gt;&gt;<br>&gt;&gt; I see the permission denied.<br>&gt;&gt; Here permission in dir /var/www/cgi-bin<br>&gt;&gt;&nbsp;&nbsp;-rwxr-xr-x&nbsp;&nbsp;1 root&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp; sqwebmail<br>&gt;&gt; After, I change permission
<br>&gt;&gt; chown vpopmail.vchkpw /var/www/cgi-bin/sqwebmail<br>&gt;&gt; chown -Rf vpopmail.vchkpw /usr/lib/sqwebmail<br>&gt;&gt; But I still have problem. How can I trouble it ?<br>&gt;&gt;<br>&gt;&gt; Thanks for reading,
<br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt; Dear all,<br>&gt;<br>&gt; I had trouble with this for 2 weeks. I look forward all of you guiding me<br>&gt; how to slove this<br>&gt;<br>&gt; Thanks so much<br>&gt;<br>&gt;<br>&gt;
</blockquote><div><br>
Thanks so much&nbsp; for relpy<br>
<br>
I change permission like you show and now<br>
<br>
-rwsr-xr-x&nbsp; 1 vpopmail vchkpw&nbsp;&nbsp; 8228 Jul&nbsp; 9 15:45 sqwebmail<br>
<br>
</div>I&#39;m also view log of httpd<br>
&nbsp;&nbsp; file access_log<br>
<a href="http://172.16.6.4">172.16.6.4</a> - - [11/Jul/2007:14:16:38 +0700] &quot;GET /favicon.ico HTTP/1.1&quot;
304 - &quot;-&quot; &quot;Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8)
Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4&quot;<br>
<a href="http://172.16.6.4">172.16.6.4</a> - - [11/Jul/2007:14:16:39 +0700] &quot;GET /cgi-bin/sqwebmail
HTTP/1.1&quot; 200 236 &quot;-&quot; &quot;Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4&quot;<br>
<a href="http://172.16.6.4">172.16.6.4</a> - - [11/Jul/2007:14:16:40 +0700] &quot;GET /cgi-bin/sqwebmail
HTTP/1.1&quot; 200 236 &quot;-&quot; &quot;Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4&quot;<br>
<a href="http://172.16.6.4">172.16.6.4</a> - - [11/Jul/2007:14:16:40 +0700] &quot;GET /cgi-bin/sqwebmail
HTTP/1.1&quot; 200 236 &quot;-&quot; &quot;Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4&quot;<br>
<br></div>&nbsp;&nbsp; file error_log, have no error<br>
<br>
&nbsp;&nbsp; Beside, I test with https and see something<br>
&nbsp;&nbsp; file ssl_access_log<br>
<a href="http://172.16.6.4">172.16.6.4</a> - - [11/Jul/2007:14:21:28 +0700] &quot;GET /favicon.ico HTTP/1.1&quot;
200 1758172.16.6.4 - - [11/Jul/2007:14:21:28 +0700] &quot;GET
/cgi-bin/sqwebmail HTTP/1.1&quot; 200 236<br>
<a href="http://172.16.6.4">172.16.6.4</a> - - [11/Jul/2007:14:21:28 +0700] &quot;GET /favicon.ico HTTP/1.1&quot;
200 1758172.16.6.4 - - [11/Jul/2007:14:21:31 +0700] &quot;GET
/cgi-bin/sqwebmail HTTP/1.1&quot; 200 236<br>
<a href="http://172.16.6.4">172.16.6.4</a> - - [11/Jul/2007:14:21:31 +0700] &quot;GET /favicon.ico HTTP/1.1&quot; 200 1758<br>
<br>
&nbsp;&nbsp; file ssl_error_log ---&gt;&gt;&gt; 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&#39; does NOT match server name!?<br>
[Wed Jul 11 13:36:28 2007] [warn] RSA server certificate CommonName (CN) `localhost.localdomain&#39; does NOT match server name!?<br>
[Wed Jul 11 13:36:28 2007] [warn] RSA server certificate CommonName (CN) `localhost.localdomain&#39; does NOT match server name!?<br>
<br>
&nbsp;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 &quot;GET /favicon.ico HTTP/1.1&quot; 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 &quot;GET /cgi-bin/sqwebmail HTTP/1.1&quot; 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 &quot;GET /favicon.ico HTTP/1.1&quot; 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 &quot;GET /cgi-bin/sqwebmail HTTP/1.1&quot; 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 &quot;GET /favicon.ico HTTP/1.1&quot; 1758<br>
<br>
For all informations I get, what can I do now, webpage still can not
display. I only got error&nbsp; when use https , error certificate miss
match server name ....<br>
<br>


!DSPAM:4694ed8529731925814929!

------=_Part_129_13500602.1184138961572--