March 31st, 2009 by manu suresh
In a Cpanel server, when you go for the option phpMyAdmin under WHM you might end up with this error :-
=================================
cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.
=================================
The problem is with the session path value in the php.ini for phpMyAdmin. The [...]
Continue reading »
March 30th, 2009 by manu suresh
To enable password-less login using SSH to any linux server do the following. It requires you generate your own personal set of private/public key pair. Consider you have two linux machines HostA & HostB. I am trying to configure password-less login from HostA to HostB
root@HostA # ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in [...]
Continue reading »
March 30th, 2009 by manu suresh
To enable FTP on Plesk you will need to login to the server using a shell and do the following:-
First check whether ftp is running in the server using “ps” and then check the status using
>>chkconfig ftp_psa status
Now to turn on FTP
>>chkconfig ftp_psa on
and similarly if you want to turn OFF FTP
>>chkconfig ftp_psa off
The FTP [...]
Continue reading »
March 30th, 2009 by manu suresh
Error :-
=====================
ModSecurity: Access denied with code 500 (phase 2). Match of “rx ^HTTP/(0\\\\.9|1\\\\.0|1\\\\.1)$” against “REQUEST_PROTOCOL” required. [file "/usr/local/apache/conf/modsec2/rules.conf"] [line "38"] [id "340000"] [msg "Bad HTTP Protocol"] [severity "ALERT"] [hostname "www.xxxxxx.com"] [uri "/favicon.ico"] [unique_id "OuT1Q0VI6HoAAQvX@BIAAAAJ"]
=====================
You might receive this error at times if mod_security is not properly configured. If you happen to receive this error make the [...]
Continue reading »
March 30th, 2009 by manu suresh
How to echo the time in a specified zone ?
Use the command zdump, which is called the time zone dumper
for eg :-
linuxcom:~ # zdump EST
EST Mon Mar 30 06:31:21 2009 EST
linuxcom:~ # zdump IST
IST Mon Mar 30 11:31:38 2009 GMT
Check out the man page for the same for more options.
And if you want to change [...]
Continue reading »
March 30th, 2009 by manu suresh
Scenario :- You might receive the following error while going for the Fantastico option in Cpanel although the Fantastico installation appears fine from WHM :-
Fantastico is not installed at the default location
/usr/local/cpanel/3rdparty/fantastico. Either move the Fantastico directory
from it’s current location to /usr/local/cpanel/3rdparty/fantastico OR
enable ioncube loaders in WHM -> Tweak settings.
This error won’t get fixed if [...]
Continue reading »
February 16th, 2009 by Anoop Alias
FEB-14 - 2009:
Source: The official Debian Newsroom:
The Debian Project is pleased to announce the official release of Debian GNU/Linux version 5.0 (codenamed Lenny) after 22 months of constant development. Debian GNU/Linux is a free operating system which supports a total of twelve processor architectures and includes the KDE, GNOME, Xfce, and LXDE desktop environments. It [...]
Continue reading »
January 26th, 2009 by Anoop Alias
Note: It is good practice to back up your data before installing any new version of software. Although MySQL has done its best to ensure a high level of quality, you should protect your data by making a backup. MySQL generally recommends that you dump and reload your tables from any previous version to upgrade [...]
Continue reading »
January 7th, 2009 by Anoop Alias
Heres a simple method to get this accomplished.What we normally do on a PC if root password is lost is..console the machine and when the grub boot menu startsup edit the kernel commandline parameter to include init=/bin/sh which makes the kernel to use the sh shell as the init program instead of the hardcoded /sbin/init [...]
Continue reading »
January 5th, 2009 by manu suresh
You might come across errors like the following during a Sugar CRM installation:-
PHP Warning: require_once(modules/Administration/UpgradeHistory.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/<username>/public_html/crm/install/install_utils.php on line 48
[Sun Jan 04 22:44:43 2009] [error] [client 61.95.196.73] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required ‘modules/Administration/UpgradeHistory.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/<username>/public_html/crm/install/install_utils.php on line 48
This can [...]
Continue reading »