Re: [qmailtoaster] qmailadmin,webmail,admin-toaster not working
Did you restart your apache server? /etc/init.d/httpd stop /etc/init.d/httpd start Then try again (assuming there are no errors) Dan IT4SOHO senthil vel wrote: Dear List, My qmailtoaster server does not work suddenly. The http://mydomain or my ip/webmail http://mydomain or my ip/admin-toaster/ http://mydomain or my ip/qmailadmin are not working, In IE and Firefox, the HTTP 400-Bad Request error is raising. [EMAIL PROTECTED] /etc/init.d/qmail stat authlib: up (pid 3690) 1864 seconds clamd: up (pid 3719) 1863 seconds imap4: up (pid 3673) 1865 seconds imap4-ssl: up (pid 3669) 1865 seconds pop3: up (pid 3665) 1865 seconds pop3-ssl: up (pid 3685) 1865 seconds send: up (pid 3666) 1865 seconds smtp: up (pid 3720) 1863 seconds spamd: up (pid 3670) 1865 seconds submission: up (pid 3718) 1863 seconds authlib/log: up (pid 3713) 1863 seconds clamd/log: up (pid 3717) 1863 seconds imap4/log: up (pid 3684) 1865 seconds imap4-ssl/log: up (pid 3677) 1865 seconds pop3/log: up (pid 3676) 1865 seconds pop3-ssl/log: up (pid 3688) 1865 seconds send/log: up (pid 3667) 1865 seconds smtp/log: up (pid 3724) 1863 seconds spamd/log: up (pid 3671) 1865 seconds submission/log: up (pid 3707) 1864 seconds And in my /etc/http/conf/http.conf,the following lines are there, Include /etc/httpd/conf/toaster.conf Include /etc/httpd/conf/squirrelmail.conf My vi /etc/httpd/conf/toaster.conf IfModule mod_alias.c ScriptAlias /mail/ /usr/share/toaster/cgi-bin/ Alias /admin-toaster /usr/share/toaster/htdocs/admin/ Alias /stats-toaster/ /usr/share/toaster/htdocs/mrtg/ Alias /qlogs-toaster/ /usr/share/toaster/htdocs/isoqlog/ Alias /images-toaster/ /usr/share/toaster/htdocs/images/ Alias /scripts/ /usr/share/toaster/htdocs/scripts/ Alias /qmailadmin /usr/share/qmailadmin/ /IfModule Directory /usr/share/qmailadmin AddHandler cgi-script .cgi AddHandler cgi-script qmailadmin DirectoryIndex index.cgi qmailadmin index.html Options +Indexes FollowSymLinks +ExecCGI Order allow,deny Allow from all /Directory Directory /usr/share/toaster/htdocs Options -Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all /Directory Directory /usr/share/toaster/htdocs/admin AuthType Basic AuthName Qmail Toaster v. 1.3 Admin AuthUserFile /usr/share/toaster/include/admin.htpasswd require valid-user /Directory Directory /usr/share/toaster/htdocs/mrtg AllowOverride All Order allow,deny Allow from all AuthType Basic AuthName Qmail Toaster v. 1.3 Admin AuthUserFile /usr/share/toaster/include/admin.htpasswd require valid-user /Directory Directory /usr/share/toaster/htdocs/isoqlog AllowOverride All Order allow,deny Allow from all AuthType Basic AuthName Qmail Toaster v. 1.3 Admin AuthUserFile /usr/share/toaster/include/admin.htpasswd require valid-user /Directory Directory /usr/share/toaster/cgi-bin/vqadmin AllowOverride All Options ExecCGI Order allow,deny Allow from all AuthType Basic AuthName Qmail Toaster v. 1.3 Admin AuthUserFile /usr/share/toaster/include/admin.htpasswd require valid-user /Directory Directory /usr/share/toaster/cgi-bin AllowOverride All Options ExecCGI Order allow,deny Allow from all /Directory What may be the problem? Please help me... Thanks and Regards, S.Senthilvel. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] qmailadmin,webmail,admin-toaster not working
Make sure that your httpd is running. Pending on your distro, you can start from command line with apachectl start or apachectl restart or /etc/init.d/httpd stop then /etc/init.d/httpd start maybe /etc/rc.d/init.d/httpd stop then /etc/rc.d/init.d/httpd start. Also be sure that httpd is set to start at boot; see your distro's notes for how to turn on and off services. Thomas M. Jaeger Computer Technician, A.A.S. [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: senthil vel [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2008 11:29 AM To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] qmailadmin,webmail,admin-toaster not working Dear List, My qmailtoaster server does not work suddenly. The http://mydomain or my ip/webmail http://mydomain or my ip/admin-toaster/ http://mydomain or my ip/qmailadmin are not working, In IE and Firefox, the HTTP 400-Bad Request error is raising. [EMAIL PROTECTED] /etc/init.d/qmail stat authlib: up (pid 3690) 1864 seconds clamd: up (pid 3719) 1863 seconds imap4: up (pid 3673) 1865 seconds imap4-ssl: up (pid 3669) 1865 seconds pop3: up (pid 3665) 1865 seconds pop3-ssl: up (pid 3685) 1865 seconds send: up (pid 3666) 1865 seconds smtp: up (pid 3720) 1863 seconds spamd: up (pid 3670) 1865 seconds submission: up (pid 3718) 1863 seconds authlib/log: up (pid 3713) 1863 seconds clamd/log: up (pid 3717) 1863 seconds imap4/log: up (pid 3684) 1865 seconds imap4-ssl/log: up (pid 3677) 1865 seconds pop3/log: up (pid 3676) 1865 seconds pop3-ssl/log: up (pid 3688) 1865 seconds send/log: up (pid 3667) 1865 seconds smtp/log: up (pid 3724) 1863 seconds spamd/log: up (pid 3671) 1865 seconds submission/log: up (pid 3707) 1864 seconds And in my /etc/http/conf/http.conf,the following lines are there, Include /etc/httpd/conf/toaster.conf Include /etc/httpd/conf/squirrelmail.conf My vi /etc/httpd/conf/toaster.conf IfModule mod_alias.c ScriptAlias /mail/ /usr/share/toaster/cgi-bin/ Alias /admin-toaster /usr/share/toaster/htdocs/admin/ Alias /stats-toaster/ /usr/share/toaster/htdocs/mrtg/ Alias /qlogs-toaster/ /usr/share/toaster/htdocs/isoqlog/ Alias /images-toaster/ /usr/share/toaster/htdocs/images/ Alias /scripts/ /usr/share/toaster/htdocs/scripts/ Alias /qmailadmin /usr/share/qmailadmin/ /IfModule Directory /usr/share/qmailadmin AddHandler cgi-script .cgi AddHandler cgi-script qmailadmin DirectoryIndex index.cgi qmailadmin index.html Options +Indexes FollowSymLinks +ExecCGI Order allow,deny Allow from all /Directory Directory /usr/share/toaster/htdocs Options -Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all /Directory Directory /usr/share/toaster/htdocs/admin AuthType Basic AuthName Qmail Toaster v. 1.3 Admin AuthUserFile /usr/share/toaster/include/admin.htpasswd require valid-user /Directory Directory /usr/share/toaster/htdocs/mrtg AllowOverride All Order allow,deny Allow from all AuthType Basic AuthName Qmail Toaster v. 1.3 Admin AuthUserFile /usr/share/toaster/include/admin.htpasswd require valid-user /Directory Directory /usr/share/toaster/htdocs/isoqlog AllowOverride All Order allow,deny Allow from all AuthType Basic AuthName Qmail Toaster v. 1.3 Admin AuthUserFile /usr/share/toaster/include/admin.htpasswd require valid-user /Directory Directory /usr/share/toaster/cgi-bin/vqadmin AllowOverride All Options ExecCGI Order allow,deny Allow from all AuthType Basic AuthName Qmail Toaster v. 1.3 Admin AuthUserFile /usr/share/toaster/include/admin.htpasswd require valid-user /Directory Directory /usr/share/toaster/cgi-bin AllowOverride All Options ExecCGI Order allow,deny Allow from all /Directory What may be the problem? Please help me... Thanks and Regards, S.Senthilvel. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] qmailadmin,webmail,admin-toaster not working
Really Thanks Thomas, I found the problem. The http service was running. The problem was, the Mod sec stopped the requests. In the http error log, i found that, Thu Nov 20 08:31:55 2008] [error] [client 0.0.0.0] ModSecurity: Access denied with code 400 (phase 2). Pattern match ^[\\d\\.]+$ at REQUEST_HEADERS:Host. [file /etc/httpd/conf/modsecurity/modsecurity_crs_21_protocol_anomalies.conf] [line 60] [id 960017] [msg Host header is a numeric IP address] [severity CRITICAL] [tag PROTOCOL_VIOLATION/IP_HOST] [hostname 1.1.1.1] [uri /qmailadmin] [unique_id Jr1PmkPaYJgQhIIM] The domain name was having some dns problem. mail.mydomain.com was pointed to some other IP. So that the problem. Now fixed it. Thanks again. Thanks and Regards, S.Senthilvel, On Thu, Nov 20, 2008 at 10:58 PM, Thomas M. Jaeger [EMAIL PROTECTED] wrote: Make sure that your httpd is running. Pending on your distro, you can start from command line with apachectl start or apachectl restart or /etc/init.d/httpd stop then /etc/init.d/httpd start maybe /etc/rc.d/init.d/httpd stop then /etc/rc.d/init.d/httpd start. Also be sure that httpd is set to start at boot; see your distro's notes for how to turn on and off services. Thomas M. Jaeger Computer Technician, A.A.S. [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: senthil vel [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2008 11:29 AM To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] qmailadmin,webmail,admin-toaster not working Dear List, My qmailtoaster server does not work suddenly. The http://mydomain or my ip/webmail http://mydomain or my ip/admin-toaster/ http://mydomain or my ip/qmailadmin are not working, In IE and Firefox, the HTTP 400-Bad Request error is raising. [EMAIL PROTECTED] /etc/init.d/qmail stat authlib: up (pid 3690) 1864 seconds clamd: up (pid 3719) 1863 seconds imap4: up (pid 3673) 1865 seconds imap4-ssl: up (pid 3669) 1865 seconds pop3: up (pid 3665) 1865 seconds pop3-ssl: up (pid 3685) 1865 seconds send: up (pid 3666) 1865 seconds smtp: up (pid 3720) 1863 seconds spamd: up (pid 3670) 1865 seconds submission: up (pid 3718) 1863 seconds authlib/log: up (pid 3713) 1863 seconds clamd/log: up (pid 3717) 1863 seconds imap4/log: up (pid 3684) 1865 seconds imap4-ssl/log: up (pid 3677) 1865 seconds pop3/log: up (pid 3676) 1865 seconds pop3-ssl/log: up (pid 3688) 1865 seconds send/log: up (pid 3667) 1865 seconds smtp/log: up (pid 3724) 1863 seconds spamd/log: up (pid 3671) 1865 seconds submission/log: up (pid 3707) 1864 seconds And in my /etc/http/conf/http.conf,the following lines are there, Include /etc/httpd/conf/toaster.conf Include /etc/httpd/conf/squirrelmail.conf My vi /etc/httpd/conf/toaster.conf IfModule mod_alias.c ScriptAlias /mail/ /usr/share/toaster/cgi-bin/ Alias /admin-toaster /usr/share/toaster/htdocs/admin/ Alias /stats-toaster/ /usr/share/toaster/htdocs/mrtg/ Alias /qlogs-toaster/ /usr/share/toaster/htdocs/isoqlog/ Alias /images-toaster/ /usr/share/toaster/htdocs/images/ Alias /scripts/ /usr/share/toaster/htdocs/scripts/ Alias /qmailadmin /usr/share/qmailadmin/ /IfModule Directory /usr/share/qmailadmin AddHandler cgi-script .cgi AddHandler cgi-script qmailadmin DirectoryIndex index.cgi qmailadmin index.html Options +Indexes FollowSymLinks +ExecCGI Order allow,deny Allow from all /Directory Directory /usr/share/toaster/htdocs Options -Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all /Directory Directory /usr/share/toaster/htdocs/admin AuthType Basic AuthName Qmail Toaster v. 1.3 Admin AuthUserFile /usr/share/toaster/include/admin.htpasswd require valid-user /Directory Directory /usr/share/toaster/htdocs/mrtg AllowOverride All Order allow,deny Allow from all AuthType Basic AuthName Qmail Toaster v. 1.3 Admin AuthUserFile /usr/share/toaster/include/admin.htpasswd require valid-user /Directory Directory /usr/share/toaster/htdocs/isoqlog AllowOverride All Order allow,deny Allow from all AuthType Basic AuthName Qmail Toaster v. 1.3 Admin AuthUserFile /usr/share/toaster/include/admin.htpasswd require valid-user /Directory Directory /usr/share/toaster/cgi-bin/vqadmin AllowOverride All Options ExecCGI Order allow,deny Allow from all AuthType Basic AuthName Qmail Toaster v. 1.3 Admin AuthUserFile /usr/share/toaster/include/admin.htpasswd require valid-user /Directory Directory /usr/share/toaster/cgi-bin AllowOverride All Options ExecCGI Order allow,deny Allow from all /Directory What may be the problem? Please help me... Thanks and Regards, S.Senthilvel. - QmailToaster hosted by: VR Hosted http://www.vr.org