Removing NGINX problem in ubuntu ( or debian )

Posted by kusno mudiarto at April 1st, 2008

I got some problem removing NGINX in my computer running ubuntu. It gave me this error :

Removing nginx ...
Stopping nginx: invoke-rc.d: initscript nginx, action "stop" failed.
dpkg: error processing nginx (--remove):
 subprocess pre-removal script returned error exit status 1
Starting nginx: invoke-rc.d: initscript nginx, action "start" failed.
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)

Fortunately I found the fix to this problem in here : http://www.digitalsanctum.com/2007/11/07/uninstalling-nginx-via-apt-get-stopping-nginx-invoke-rcd-initscript-nginx-action-stop-failed/

Tags:

Posted in software / tools| No Comments | 

vmware fusion network problem

Posted by kusno mudiarto at March 24th, 2008

Today, suddenly after rebooting my macbook, I couldn’t connect to my guest machine on the VMWare Fusion. I tried disabling / enabling network to no avail. Luckily I found this blog post which showed me the steps to restart vm. It fixed my problem immediately.

sudo /Library/Application\ Support/VMware\ Fusion/boot.sh --restart

Tags:

Posted in software / tools| 1 Comment | 

chmod directory recursively but not the file

Posted by kusno mudiarto at March 18th, 2008

sudo find /path -type d -exec chmod 777 "{}" ;

Posted in software / tools| No Comments | 

Additional path for vim files

Posted by kusno mudiarto at March 17th, 2008

Vim will try to load more configuration / color files from its runtime path. This is the list of runtime path in my mac :

:set runtimepath
runtimepath=~/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim70,/usr/share/vim/vimfiles/after,~/.vim/after

Posted in software / tools| No Comments |