Re: SqWebMail not run, webpage show system unavailable

"Eng. Ahmed M. El-Sayed" <[email protected]> Thu, 12 Jul 2007 08:24:03 +0300
Newsgroups gmane.mail.sqwebmail
Message-ID <[email protected]>
Dear Hoang:
     Ok, look, as you know , the sqwebmail has 2 components , one for CGI 
that you are using in the url, and another that the HTML files and 
template.. can you check the directory -content that templates- permission . 
There is no error in your http server logs, so i feel that this problem in 
the templates..
     Check for it. 

Hoang An writes: 

> 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 .... 
> 
> 
> 
 


=====================================
Computer Network Department.
          AAST
Eng. Ahmed M. El-Sayed Hassan
Senior Network admin/System admin
GSM: +2-00123744882
Work: +2-03-5559589
=====================================

!DSPAM:4695b9f329739260418674!