Resetting hypervm password

Unable to login to hypervm for some reason? Forgot password link now working? Try this.

#cd /usr/local/lxlabs/hypervm/httpdocs
#lphp.exe ../bin/common/resetpassword.php master
#/etc/init.d/hypervm restart

Now you will be able to login to hypervm with the new password.
Same thing works for lxadmin admin account.

LxLabs Ligesh commits suicide

ligeshA brilliant software engineer, Founder of LxLabs.com, creator of HyperVM – optimized virtualization technology which runs on both Xen and OpenVZ, “Host In a Box” solution LxAdmin/Kloxo for Web hosting companies, server owners, resellers – K.T Ligesh(32) commited suicide last night (8th June,2009) at his residence located in H.S.R Layout, Bangalore.

Yesterday night I was discussing with few of my colleagues about the recent vulnerability report logged on the net and the fixes released to patch it. Sadly I get to read this news in  papers on returning home. His innovative products have made a very good name in industry in a very short span of time. A very hardworking talent, free and open source enthusiast and a guitarist. He always thrived provide a best and an optimized web hosting tool to hosting industry. Its a great loss to all of us.

I recall interacting with this genius engineer prior to his product  launch and commenting on few initial glitches that I had noticed here at Instacarma. He has been such a great help during our further interactions on LxLabs forum etc. Instacarma family offers its deep condolences to his family and friends.

He puts a question mark in-front of us and LxAdmin’s future is unknown. There are more questions to be answered while his soul rests in peace.

News Source: TOI

Image Source: Kannada Prabha

Fix for LxLabs vulnerability announcement

HyperVM/Kloxo users are here by alerted to patch their installations by running the update script by LxLabs team.

Multiple security vulnerabilities were discovered in hyperVM and Lxadmin/Kloxo. It is recommended that you update your hyperVM/Kloxo systems to the latest version, as soon as possible.

Details of the vulnerabilities will be posted in the coming days in our forum.

On hyperVM or Kloxo master, Run:

/script/upcp

enabling log_error in LxAdmin

Editing /etc/php.ini, or enabling few options via LxAdmin might not get work in LxAdmin servers. I faced this problem while trying to enable error logging. Whlie I was digging for the reasons, I found that each domain is provided with a separate php.ini under /home/httpd/domainname.com folder (replace domainname.com with domain’s name). php.ini found under this file needs to be edited in order to make the changes required for error logging etc.

If you use phpinfo() in a test php file, you can see that /home/user/__processed_stats/domainame.com.phplog file is quoted as the php error_log file. If you;re using suphp, ensure that this file is owned by the account user. If you use mod_php you might have to change this to apache.apache or permissions should be given for others to write into this file.

I wanted to change the log_error value for all accounts on the server. I accomplished the task by writing the following one liner.

#!/bin/bash
for i in `find /home/httpd -name php.ini`; do replace “log_errors = off” “log_errors = on” — $i; done

enJoy!

OpenVZ overwriting /etc/hosts file

If you find that the /etc/hosts file getting over written (I have found this happening in Virtuzzo and HyperVM servers already) ensure that you add the additional entries above the following comment line which you see in /etc/hosts file.

# Auto-generated hostname. Please do not remove this comment.

Weekend Insomniac

I thought I will have a great Sunday and sleep for long hours. I was stuck with a networking issue on one of the HyperVM Server. Ips of VE’s were not pinging from outside world. All due to misconfiguration of SonicWall firewall and also the weird CentOS 5.2 nightmares. It was a challenge to look through all the logs, VE configuration etc.

Still the reported on network restart, VZ restart errors are on server which is running on latest CentOS 5.2, they do not seem to be troubling the health of VE’s created at the moment. Got a chance to rebuild the VPS nodes, Fix the /dev partition from back end as well as from the HyperVM front end, Blocking and Unblocking IPs on HyperVM and LXAdmin. Use of ippools instead of direct ip allocation (Both didn’t seem to have created issue on the server though). Playing with ARP cache was fun. It was a great hackathon for a day or two. Though there is an another challenging task in front of me.

I never got to keep my self awake like this for couple of months now after starting to work out at Gym ;) . I used to be an Insomniac but now, things have changed. I get to sleep a lot at least for 6 hours. Today I thought I will be back to the old biological cycle but now as everything is fixed, I’m desperate to hit the sack.

Eager to get on to work floor in night shift to start with my 6th year operation in my company.

Unable to login to horde on Lxadmin box : imapd: LOGIN failed

If you’re unable to login to horde on a lxadmin box, check the mail logs at  /var/log/lxadmin/maillog

I found the following in logs :

Aug  5 06:43:27 www imapd: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Aug  5 06:43:27 www imapd: LOGOUT, ip=[::ffff:127.0.0.1]

Check if you have CRAM-MD5" in IMAP_CAPABILITY= line in the /usr/lib/courier-imap/etc/imapd file. Remove it and restart IMAP. This should help you resolve the login issue with webmail.