July 13, 2011

How to fix error “PHP has encountered an Access Violation at 7D611952″

Filed under: Server Tweaking — SupportPRO Admin @ 4:00 am

You can fix this by correcting the PATH in Environment variables.

PATH %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\wbem;C:\Program Files\Intel\DMIX;C:\Program Files\ClarisoftTechnologies\iMonitorPC;C:\Program Files\QuickTime\QTSystem

Change the above line as bellow

PATH C:\php;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\wbem;C:\Program Files\Intel\DMIX;C:\Program Files\ClarisoftTechnologies\iMonitorPC;C:\Program Files\QuickTime\QTSystem

AddThis Social Bookmark Button

April 27, 2011

How to fix “/bin/mv: Argument list too long” error

Filed under: Server Tweaking — SupportPRO Admin @ 11:47 pm

If you are trying to move large number of files such as more than 50000 files using the command mv, you will get the error given below.
[root@server /]# mv * /path/to/move
“/bin/mv: Argument list too long”
In such cases, you can use the command given below to avoid this error ,

find /path/to/file -type f | xargs -i mv “{}” /path/to/move

AddThis Social Bookmark Button

April 25, 2011

How to enable IP rotation in exim

Filed under: Server Tweaking — SupportPRO Admin @ 11:06 pm

If your server are having multiple IP address and you want to send each emails in different IP, then please follow the steps. This is used to maintain the ip reputation. Also, please make sure that this is not used for spamming.

1. vi /etc/exim.conf
2. Search for the line : interface =
3. Replace this line with interface = xxx.xxx.x.1${eval:${substr{-2}{1}{$tod_zulu}}%9+1}
4. If your server is having ip’s from xxx.xxx.x.11 to xxx.xxx.x.20 , you can use above line.
+1 is is the starting ip ie xxx.xxx.x.1’1′ and %9 is the increment value ie 11(xxx.xxx.x.11) to how much. Here it is 20 (xxx.xxx.x.20)

AddThis Social Bookmark Button

Clear Cache Memory in Linux Without Rebooting

Filed under: Server Tweaking — SupportPRO Admin @ 10:41 pm

You can forcefully clear the Cache in Ram using the syctl.
root@twenty ~]# sync && sudo sysctl -w vm.drop_caches=3 && sudo sysctl -w vm.drop_caches=0

1. sync –> Pending cache is flushed onto disk
2. sysctl -w vm.drop_caches = 3 –> Clear all caches
3. sysctl -w vm.drop_caches = 0 –> Reset the drop_caches to no clearing

AddThis Social Bookmark Button

March 18, 2011

Issue with Rvsitebuilder

Filed under: Server Tweaking — SupportPRO Admin @ 4:36 am

If you are getting error while accessing the Rvsitebuilder from cpanel
====================
Fatal error:
The encoded file /var/cpanel/rvglobalsoft/rvsitebuilder/www/ionctestlicense.php requires a license file.
The license file /var/cpanel/rvglobalsoft/rvsitebuilder/rvsitebuilder.lic has expired. in Unknown on line 0
=====================

Then Please login to the server through root and execute.
========
root@server[#]rm -f /var/cpanel/rvglobalsoft/rvsitebuilder/rvsitebuilder.lic
root@server[#] rm -f /var/cpanel/rvglobalsoft/rvsitebuilder/rvsitebuilder-pro.lic
root@server[#] perl /usr/local/cpanel/whostmgr/docroot/cgi/rvsitebuilderinstaller/autoinstaller.cgi
========

This will fix the issue

AddThis Social Bookmark Button
Next Page »

Powered by WordPress