Hi Sandeep,
Actually I thought about the logic trying it the way you mentioned. I checked out the original error message indicating a problem with the /usr/local/cwpsrv/htdocs/admin/index.php file on line 5. So I tried viewing the file and discovered it was an encrypted one, although I did not recognize the technology. Regardless, I figured that if I did a minimal Centos 6 install (which already was because it is a hosting provider servlet template), any proprietary encryption techniques wouldn't be immediately installed which wasn't for Centos Web Panel.
Nevertheless, it was probably something that kept interfering with the encryption when trying to login (
http://forum.centos-webpanel.com/centos-webpanel/how-to-fix-encryption-error-on-login/). Initially I tried this, and was confident it would help, but it didn't and the same error persisted no matter how many times I rebuild the server with the servlet template that worked a few months ago.
Then I realized that one external factor that my servlet offered was to enable you to generate and use an SSH key pair, and I noticed that it could have negative effect if it required a decryption procedure to figure out the root password before allowing you to successfully logon to CWP. And this was probably associated with this mysterious encrypted class.
So, before rebuilding the server again, I removed all SSH key pairs I had. Then after rebuilding, I went about the normal prescribed way of updating the server,mysql and installing CWP with MariaDB.
And that worked!!!Anyway, thanks for your suggestions and prompt replies.
Sincerely,
Ray Lee