Unable to remove domain from HELM3

In HELM3, if you receive an error as below when remove the hosting account

Unable to delete domain. Please try again or contact support.

And HELM error log as below.

CWebsite.RemoveWebsiteEx 0-2147467259: Unknown error while removing site: A string literal was not closed.
CDomain.DeleteDomainEx 0-2147467259: Unknown error while removing site: A string literal was not closed.
Website.IWeb_RemoveWebSite 0-2147467259: Unknown error while removing site: A string literal was not closed.

Solution:

(1) go to C:\HELM.Config (or you set to other path)
(2) rename IIS.xml to other name
(3) restart the IIS
(4) it will auto generate another IIS.xml
(5) try again to remove the account

Bingo ­čÖé

How to drop clean caches (Linux)

Command to drop cache

To free pagecache:

echo 1 > /proc/sys/vm/drop_caches

To free dentries and inodes:

echo 2 > /proc/sys/vm/drop_caches

To free pagecache, dentries and inodes:

echo 3 > /proc/sys/vm/drop_caches

Strongly advise to run sync first before do that. You can use command as below

sync;echo 3 > /proc/sys/vm/drop_caches

(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80

When you restart the httpd, the error as below shwo

(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

First, list out the process that hold port 80

netstat -lnp | grep :80

Then kill it

sudo kill -9 PID

Note: PID=process ID

You should be able to restart the httpd after kill the proccess. Usually is those NOBODY holding the process. If you are still unable to kill all the NOBODY proccess, it might have hardware issue from my experience .

AspJpeg: ActiveX component can’t create object

AspJpeg is a server component that will help your ASP or ASP.NET applications with all their image-management needs.

Set obj = Server.CreateObject("Persits. <ProgID> ")

When the script as above trying to create an instance of a Persits component(ASPupload, ASPjpeg or etc) and you receive an error as below

ActiveX component can’t create object

Please check if you have install the component as below

ASP JPEG

unable to check htaccess file, ensure it is readable

When you receive an error as below

Permission denied: /home/username/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

Solution:

(1) ensure the folder ownership is correct

(2) ensure the folder permission is 755 while file is 644. For short cut, you can run the command as below

find . -type f -print0 | xargs -0 chmod 644;find . -type d -print0 | xargs -0 chmod 755