Discussion:
SqWebMail not run, webpage show system unavailable
Hoang An
2007-07-10 01:22:18 UTC
Permalink
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 fromm 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,


!DSPAM:4692df4c29731924114842!
Hoang An
2007-07-11 03:14:44 UTC
Permalink
Post by Hoang An
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
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


!DSPAM:46944b2629732075447306!
Eng. Ahmed M. El-Sayed
2007-07-11 05:59:39 UTC
Permalink
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 ..
Post by Hoang An
Post by Hoang An
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
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
=====================================
Computer Network Department.
AAST
Eng. Ahmed M. El-Sayed Hassan
Senior Network admin/System admin
GSM: +2-00123744882
Work: +2-03-5559589
=====================================

!DSPAM:469470cd29731969454190!
Hoang An
2007-07-11 07:29:21 UTC
Permalink
Post by Eng. Ahmed M. El-Sayed
rwsr-xr-x ,just chmod 4755 :-)
Wheather the error in configuring web server , or sqwebmail HTML
template directory . Just look at your web server log files error ..
Post by Hoang An
Post by Hoang An
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
Post by Hoang An
Post by Hoang An
and receive mail from it, I use Fedora 4. Both of them I use
./configure
Post by Hoang An
Post by Hoang An
(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
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
Post by Hoang An
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!
Eng. Ahmed M. El-Sayed
2007-07-12 05:24:03 UTC
Permalink
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.
Post by Hoang An
Post by Eng. Ahmed M. El-Sayed
rwsr-xr-x ,just chmod 4755 :-)
Wheather the error in configuring web server , or sqwebmail HTML
template directory . Just look at your web server log files error ..
Post by Hoang An
Post by Hoang An
Dear all,
I installed successful sqwebmail-5.1.6 from source code, I also
install
Post by Hoang An
Post by Hoang An
courier-authlib-0.59.1 from source code too. My Qmail is ok, I can
send
Post by Hoang An
Post by Hoang An
and receive mail from it, I use Fedora 4. Both of them I use
./configure
Post by Hoang An
Post by Hoang An
(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
Post by Hoang An
Post by Hoang An
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
Post by Hoang An
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!

Loading...