Shell Scripts

Reset Your Forgotten Ubuntu root Password in 2 Minutes or Less

Reset Your Ubuntu Password Reboot your computer, there bronchi and then as soon as you see the GRUB Loading screen, ask stuff make sure to hit the ESC key so that you can get to the menu. Root Shell – Easy Method If you have the option, store you can choose the “recovery mode” item…

SqStat error Error (1): Cannot get data. Server answered: HTTP/1.1 200 OK

Change sqstat.class.php 107c107 < if($raw[0]!=”HTTP/1.0 200 OK”){ — > if($raw[0]!=”HTTP/1.1 200 OK”){ 131, order 132c131, troche 132 < if(substr($v,0,5)==”peer:”) $parsed[“con”][$connection][“peer”]=substr($v,6); < if(substr($v,0,3)==”me:”) $parsed[“con”][$connection][“me”]=substr($v,4); — > if(substr($v,0,7)==”remote:”) $parsed[“con”][$connection][“remote”]=substr($v,8); > if(substr($v,0,6)==”local:”) $parsed[“con”][$connection][“local”]=substr($v,7); 178c178 < $ip=substr($v[“peer”],0,strpos($v[“peer”],”:”)); — > $ip=substr($v[“remote”],0,strpos($v[“remote”],”:”)); 189c189 < $ip=ip2long(substr($v[“peer”],0,strpos($v[“peer”],”:”))); — > $ip=ip2long(substr($v[“remote”],0,strpos($v[“remote”],”:”)));  

TYPE=MyISAM Mysql error

Q: at line 5: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘TYPE=MyISAM’ at line 12     A: Replace TYPE=MyISAM with ENGINE=MyISAM The problem was “TYPE=MyISAM” which should be “ENGINE=MyISAM” as per MySQL version updates – a…

Xen Server boot option issue

I have installed Centos 6 on my new Xen Server (XenServer release 6.2.0-70446c). Everything went smooth. System is working fine but now I want to change boot device on that VM to boot from DVD (iso from nfs storage) But in properties there is only Hard Disk option… I was looking for adding some new…

IMAP doesn’t exist. PHP must be compiled with IMAP enabled ubuntu 13.10

While this isn’t an osTicket problem, it *is* a problem with Apache2/php5-fpm on Ubuntu 13.10. The .ini isn’t linked from php’s config for Apache. It’s in /etc/php5/conf.d, and it needs to be in /etc/php5/apache2/conf.d. This command will resolve the issue: ln /etc/php5/conf.d/imap.ini /etc/php5/apache2/conf.d/20-imap.ini Reload php5-fpm and apache, and you should be good to go: service…