Backup the old server
Install CentOS 7!
Restore a backup.

Don't user CentOS 5 any more.

Regards,
Peter



"Tommi Järvilehto" <[email protected]> schreef op 1 juli 2017 
11:14:34 CEST:
>What is the best way to src rebuild and reinstall just the qmailadmin?
>
>On 5.6.2017 9:14, Tommi Järvilehto wrote:
>> Hello,
>>
>> We have couple of CentOs5 qmailtoaster servers that has problem with 
>> qmailadmin. Web browser gives 500 internal server error
>>
>> These servers has been running fine dont know when this problem has 
>> started. Only thing that has changed on those are 'yum update' and
>the 
>> https ciphers has been made stronger. No other additional installs.
>>
>> httpd error log:
>>
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] *** glibc
>detected 
>> *** /usr/share/qmailadmin/index.cgi: free(): invalid next size
>(fast): 
>> 0x0811c308 ***
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] =======
>Backtrace: 
>> =========
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 
>> /lib/libc.so.6[0xc0ea15]
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 
>> /lib/libc.so.6(cfree+0x59)[0xc12a89]
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 
>> /usr/share/qmailadmin/index.cgi[0x804b3ec]
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 
>> /usr/share/qmailadmin/index.cgi[0x804a344]
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 
>> /lib/libc.so.6(__libc_start_main+0xdc)[0xbbaedc]
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 
>> /usr/share/qmailadmin/index.cgi[0x804a1c1]
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] ======= Memory 
>> map: ========
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 001ee000-0030f000
>
>> r-xp 00000000 fd:00 92995597 /usr/lib/mysql/libmysqlclient.so.15.0.0
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 0030f000-00351000
>
>> rwxp 00120000 fd:00 92995597 /usr/lib/mysql/libmysqlclient.so.15.0.0
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00351000-00352000
>
>> rwxp 00351000 00:00 0
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 003ca000-00405000
>
>> r-xp 00000000 fd:00 112757752 /lib/libsepol.so.1
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00405000-00406000
>
>> rwxp 0003b000 fd:00 112757752 /lib/libsepol.so.1
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00406000-00410000
>
>> rwxp 00406000 00:00 0
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00412000-00428000
>
>> r-xp 00000000 fd:00 112757753 /lib/libselinux.so.1
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00428000-0042a000
>
>> rwxp 00015000 fd:00 112757753 /lib/libselinux.so.1
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00498000-004ad000
>
>> r-xp 00000000 fd:00 112754991 /lib/libnsl-2.5.so
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 004ad000-004ae000
>
>> r-xp 00014000 fd:00 112754991 /lib/libnsl-2.5.so
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 004ae000-004af000
>
>> rwxp 00015000 fd:00 112754991 /lib/libnsl-2.5.so
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 004af000-004b1000
>
>> rwxp 004af000 00:00 0
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 004b3000-004fa000
>
>> r-xp 00000000 fd:00 43450397 /lib/libssl.so.0.9.8e
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 004fa000-004fe000
>
>> rwxp 00046000 fd:00 43450397 /lib/libssl.so.0.9.8e
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 0051e000-00648000
>
>> r-xp 00000000 fd:00 112757756 /lib/libcrypto.so.0.9.8e
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00648000-0065b000
>
>> rwxp 0012a000 fd:00 112757756 /lib/libcrypto.so.0.9.8e
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 0065b000-0065f000
>
>> rwxp 0065b000 00:00 0
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00851000-00862000
>
>> r-xp 00000000 fd:00 112757751 /lib/libresolv-2.5.so
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00862000-00863000
>
>> r-xp 00010000 fd:00 112757751 /lib/libresolv-2.5.so
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00863000-00864000
>
>> rwxp 00011000 fd:00 112757751 /lib/libresolv-2.5.so
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00864000-00866000
>
>> rwxp 00864000 00:00 0
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00868000-0086a000
>
>> r-xp 00000000 fd:00 112757750 /lib/libkeyutils-1.2.so
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 0086a000-0086b000
>
>> rwxp 00001000 fd:00 112757750 /lib/libkeyutils-1.2.so
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 0087d000-0087f000
>
>> r-xp 00000000 fd:00 112757754 /lib/libcom_err.so.2.1
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 0087f000-00880000
>
>> rwxp 00001000 fd:00 112757754 /lib/libcom_err.so.2.1
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 0089a000-008c0000
>
>> r-xp 00000000 fd:00 84027848 /usr/lib/libk5crypto.so.3.1
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 008c0000-008c1000
>
>> rwxp 00025000 fd:00 84027848 /usr/lib/libk5crypto.so.3.1
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 008d7000-008df000
>
>> r-xp 00000000 fd:00 84026125 /usr/lib/libkrb5support.so.0.1
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 008df000-008e0000
>
>> rwxp 00007000 fd:00 84026125 /usr/lib/libkrb5support.so.0.1
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 008e2000-008eb000
>
>> r-xp 00000000 fd:00 112757749 /lib/libcrypt-2.5.so
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 008eb000-008ec000
>
>> r-xp 00008000 fd:00 112757749 /lib/libcrypt-2.5.so
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 008ec000-008ed000
>
>> rwxp 00009000 fd:00 112757749 /lib/libcrypt-2.5.so
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 008ed000-00914000
>
>> rwxp 008ed000 00:00 0
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00916000-009aa000
>
>> r-xp 00000000 fd:00 84028585 /usr/lib/libkrb5.so.3.3
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 009aa000-009ad000
>
>> rwxp 00093000 fd:00 84028585 /usr/lib/libkrb5.so.3.3
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 009af000-009dc000
>
>> r-xp 00000000 fd:00 84030006 /usr/lib/libgssapi_krb5.so.2.2
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 009dc000-009dd000
>
>> rwxp 0002d000 fd:00 84030006 /usr/lib/libgssapi_krb5.so.2.2
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00b77000-00b78000
>
>> r-xp 00b77000 00:00 0          [vdso]
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00b86000-00ba1000
>
>> r-xp 00000000 fd:00 27721729   /lib/ld-2.5.so
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00ba1000-00ba2000
>
>> r-xp 0001a000 fd:00 27721729   /lib/ld-2.5.so
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00ba2000-00ba3000
>
>> rwxp 0001b000 fd:00 27721729   /lib/ld-2.5.so
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00ba5000-00cfb000
>
>> r-xp 00000000 fd:00 43450395   /lib/libc-2.5.so
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00cfb000-00cfd000
>
>> r-xp 00156000 fd:00 43450395   /lib/libc-2.5.so
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00cfd000-00cfe000
>
>> rwxp 00158000 fd:00 43450395   /lib/libc-2.5.so
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00cfe000-00d01000
>
>> rwxp 00cfe000 00:00 0
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00d03000-00d06000
>
>> r-xp 00000000 fd:00 112757746  /lib/libdl-2.5.so
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00d06000-00d07000
>
>> r-xp 00002000 fd:00 112757746  /lib/libdl-2.5.so
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00d07000-00d08000
>
>> rwxp 00003000 fd:00 112757746  /lib/libdl-2.5.so
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00d0a000-00d31000
>
>> r-xp 00000000 fd:00 112757747  /lib/libm-2.5.so
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00d31000-00d32000
>
>> r-xp 00026000 fd:00 112757747  /lib/libm-2.5.so
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00d32000-00d33000
>
>> rwxp 00027000 fd:00 112757747  /lib/libm-2.5.so
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00d51000-00d63000
>
>> r-xp 00000000 fd:00 112757755 /lib/libz.so.1.2.3
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00d63000-00d64000
>
>> rwxp 00011000 fd:00 112757755 /lib/libz.so.1.2.3
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00d66000-00d71000
>
>> r-xp 00000000 fd:00 112757748 /lib/libgcc_s-4.1.2-20080825.so.1
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 00d71000-00d72000
>
>> rwxp 0000a000 fd:00 112757748 /lib/libgcc_s-4.1.2-20080825.so.1
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 08048000-08074000
>
>> r-xp 00000000 fd:00 85001844 /usr/share/qmailadmin/qmailadmin
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 08074000-08075000
>
>> rw-p 0002c000 fd:00 85001844 /usr/share/qmailadmin/qmailadmin
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 08075000-08080000
>
>> rw-p 08075000 00:00 0
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] 0811c000-0813d000
>
>> rw-p 0811c000 00:00 0          [heap]
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] b7fd0000-b7fd5000
>
>> rw-p b7fd0000 00:00 0
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] b7fe8000-b7fe9000
>
>> rw-p b7fe8000 00:00 0
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] bfc36000-bfc4b000
>
>> rw-p bffe9000 00:00 0          [stack]
>> [Mon Jun 05 08:11:30 2017] [error] [client x.x.x.x] Premature end of 
>> script headers: index.cgi
>>
>
>-- 
>Tommi Järvilehto
>DataVahti Oy
>040 732 8032
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [email protected]
>For additional commands, e-mail:
>[email protected]

-- 
Verstuurd vanaf mijn Android apparaat met K-9 Mail. Excuseer mijn beknoptheid.

Reply via email to