Hi Eric,
Please see below my all details config and error log and browser error.

My Toaster Conf below.

<IfModule mod_alias.c>
    ScriptAlias /mail/ /usr/share/toaster/cgi-bin/
    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>

My Httpd Conf

<VirtualHost 192.168.1.54>
   ServerName admin.panasiagroup.net
   ServerAlias panasiagroup.net/qmailadmin
   ServerAdmin [email protected]
   DocumentRoot /usr/share/qmailadmin
   ErrorLog logs/admin.panasiagroup.net-error_log
   TransferLog logs/admin.panasiagroup.net-access_log
</VirtualHost>
Include /etc/httpd/conf/toaster.conf

My Error Log below

[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] Premature end of
script headers: index.cgi
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] *** glibc detected
*** /usr/share/qmailadmin/index.cgi: free(): invalid next size (fast):
0x0984d308 ***
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] ======= Backtrace:
=========
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40]
/lib/libc.so.6[0x7c76d5]
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40]
/lib/libc.so.6(cfree+0x59)[0x7c7b19]
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40]
/usr/share/qmailadmin/index.cgi[0x804b3ec]
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40]
/usr/share/qmailadmin/index.cgi[0x804a344]
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40]
/lib/libc.so.6(__libc_start_main+0xdc)[0x773eac]
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40]
/usr/share/qmailadmin/index.cgi[0x804a1c1]
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] ======= Memory
map: ========
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 00110000-0014b000
r-xp 00000000 08:12 70878374   /lib/libsepol.so.1
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 0014b000-0014c000
rw-p 0003b000 08:12 70878374   /lib/libsepol.so.1
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 0014c000-00156000
rw-p 0014c000 00:00 0
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 0052b000-0053b000
r-xp 00000000 08:12 70878373   /lib/libresolv-2.5.so
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 0053b000-0053c000
r--p 0000f000 08:12 70878373   /lib/libresolv-2.5.so
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 0053c000-0053d000
rw-p 00010000 08:12 70878373   /lib/libresolv-2.5.so
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 0053d000-0053f000
rw-p 0053d000 00:00 0
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 00582000-00584000
r-xp 00000000 08:12 70878372   /lib/libkeyutils-1.2.so
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 00584000-00585000
rw-p 00001000 08:12 70878372   /lib/libkeyutils-1.2.so
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 0058d000-006b7000
r-xp 00000000 08:12 70878377   /lib/libcrypto.so.0.9.8e
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 006b7000-006ca000
rw-p 00129000 08:12 70878377   /lib/libcrypto.so.0.9.8e
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 006ca000-006ce000
rw-p 006ca000 00:00 0
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 006d0000-006f6000
r-xp 00000000 08:12 23151092   /usr/lib/libk5crypto.so.3.1
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 006f6000-006f7000
rw-p 00025000 08:12 23151092   /usr/lib/libk5crypto.so.3.1
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 006f9000-00726000
r-xp 00000000 08:12 23153369   /usr/lib/libgssapi_krb5.so.2.2
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 00726000-00727000
rw-p 0002d000 08:12 23153369   /usr/lib/libgssapi_krb5.so.2.2
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 0073a000-00755000
r-xp 00000000 08:12 70877391   /lib/ld-2.5.so
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 00755000-00756000
r--p 0001a000 08:12 70877391   /lib/ld-2.5.so
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 00756000-00757000
rw-p 0001b000 08:12 70877391   /lib/ld-2.5.so
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 0075e000-008b1000
r-xp 00000000 08:12 70877395   /lib/libc-2.5.so
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 008b1000-008b3000
r--p 00153000 08:12 70877395   /lib/libc-2.5.so
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 008b3000-008b4000
rw-p 00155000 08:12 70877395   /lib/libc-2.5.so
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 008b4000-008b7000
rw-p 008b4000 00:00 0
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 008b9000-008e0000
r-xp 00000000 08:12 70878364   /lib/libm-2.5.so
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 008e0000-008e1000
r--p 00026000 08:12 70878364   /lib/libm-2.5.so
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 008e1000-008e2000
rw-p 00027000 08:12 70878364   /lib/libm-2.5.so
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 008e4000-008e7000
r-xp 00000000 08:12 70877495   /lib/libdl-2.5.so
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 008e7000-008e8000
r--p 00002000 08:12 70877495   /lib/libdl-2.5.so
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 008e8000-008e9000
rw-p 00003000 08:12 70877495   /lib/libdl-2.5.so
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 00906000-00918000
r-xp 00000000 08:12 70878365   /lib/libz.so.1.2.3
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 00918000-00919000
rw-p 00011000 08:12 70878365   /lib/libz.so.1.2.3
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 0096e000-00a8f000
r-xp 00000000 08:12 24544528   /usr/lib/mysql/libmysqlclient.so.15.0.0
[Thu Jan 02 12:29:34 2014] [error] [client 192.168.1.40] 00a8f000-00ad1000
rw-p 00120000 08:12 24544528   /usr/lib/mysql/libmysqlclient.so.15.0.0

If i use below url to open qmailadmin and below error showing on the
browser.

http://admin.panasiagroup.net   or http://192.168.1.54/qmailadmin

Internal Server Error

The server encountered an internal error or misconfiguration and was unable
to complete your request.

Please contact the server administrator, [email protected] and
inform them of the time the error occurred, and anything you might have
done that may have caused the error.

More information about this error may be available in the server error log.

Apache/2.2.3 (CentOS) Server at admin.panasiagroup.net Port 80



On Fri, Jan 3, 2014 at 1:09 AM, Eric Shubert <[email protected]> wrote:

> On 01/01/2014 09:43 PM, Nicholas Chua wrote:
> >> Is it above mentioned Glibc packages are correct or anything conflict.
> >> If conflict how to rectify this issue. As you mention earlier i give
> >> you the package details. Please help me any one. Qmailadmin is working
> >> from outside ip even removed cookies and tried again . But the same
> >> done in my local office ip is not working. Could you please help me to
> >> resolve this issue.
> >
> > Just curious. What are the results if you call qmailadmin via hostname
> > and IP?
> >
> > http://ip/cgi-bin/qmailadmin and http://hostname/cgi-bin/qmailadmin
> >
>
> Good questions.
>
> Your glibc packages are standard for COS5, so that's not a problem.
>
> Chandran, you're going to need to give us some more details. It's hard
> to guess at what the problem might be, especially since your
> configuration isn't exactly 'stock'.
>
> What exactly is the error you're getting?
> Is there anything in the httpd error log which corresponds?
> What url are you using to access?
>
> --
> -Eric 'shubes'
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
*Thanks,*
*Manikandan.C*
*System Administrator*

Reply via email to