Notes by voodoo
Displaying keyword search results 1 - 8
Created by voodoo on August 27, 2011 08:27:04
Last update: August 27, 2011 08:27:04
My version of hardy (8.04) actually had postfix instead of sendmail :
# /etc/init.d/postfix restart
* Stopping Postf...
Created by voodoo on August 27, 2011 08:13:34
Last update: August 27, 2011 08:13:54
Symptoms:
used to work
hasn't been running since a certain day, verified by looking at the log timestamp
Solution: restart cron with
# /etc/init.d/cron restart
Created by voodoo on June 16, 2011 11:34:39
Last update: June 16, 2011 11:34:59
Some ways to refresh DHCP on Linux:
To release IP address lease:
$ sudo dhclient -r
then, to get fresh IP:
$ sudo dhclient
Use ifdown and ifup :
$ sudo ifdown eth0
$ sudo ifup eth0
Restart network:
$ sudo /etc/init.d/network restart
or,
$ sudo /etc/init.d/networking restart
Created by voodoo on April 13, 2011 13:47:34
Last update: April 13, 2011 13:49:20
You get "permission denied" error from Apache HTTPD for a page. And you checked file/directory permissions (the whole directory path, not just the file) and everything in httpd.conf . If everything seemed right, then SELinux may be blocking the access.
Open /var/log/httpd/error_log , you may see a line like this:
[Wed Apr 13 15:50:35 2011] [notice] SELinux poli...
These are the steps to fix:
If the directory resides in a user home directory:
# setsebool -P httpd_read_user_content 1
Create a policy package from the audit log:
# grep httpd /var/log/audit/audit.log | audit2allo...
Apply the policy package just created
# semodule -i mypol.pp
Restart apache httpd:
# apachectl restart
Created by voodoo on July 15, 2010 22:43:40
Last update: July 15, 2010 22:45:07
You need to merge this value into the Windows XP registry in order to make ClearType work for a remote desktop:
Windows Registry Editor Version 5.00
[HKEY_...
A restart is required for the change to take effect.
Created by voodoo on July 09, 2010 21:24:22
Last update: July 09, 2010 21:24:22
To resolve the error:
[focus@bamboo ~]$ psql -U postgres -W
Password ...
Edit /var/lib/pgsql/data/pg_hba.conf , change ident to trust , then restart postgres:
# TYPE DATABASE USER CIDR-ADDRESS ...
Created by voodoo on July 01, 2010 16:57:31
Last update: July 01, 2010 16:57:31
Use the pg_ctl command to start/stop/restart the PostgreSQL server:
$ bin/pg_ctl -D /usr/local/pgsql/data -l logs/post...
Environment variable PGDATA can be set in lieu of the -D switch.
Created by voodoo on April 01, 2010 04:28:04
Last update: April 01, 2010 04:37:32
You were tempted by "my fun cards" and installed "my web search" on your computer. Although some people say "my web search" is harmless, but still it behaved scary. So you want to uninstall it. You click the "Add/Remove Programs" and removed the "my web search" toolbar. But then when you type in things in the Firefox address bar you find that it still brings up "my web search"! Here's how to get rid of it: Enter "about:config" in the address bar (and promise that you'll be careful). Enter "myweb" in the filter box Reset browser.search.selectedEngine and keyword.URL , extensions.mywebsearch.openSearchURL , extensions.mywebsearch.prevKwdEnabled , and extensions.mywebsearch.prevKwdURL . The extensions.mywebsearch.* settings will be removed after Firefox restart. The parameter that affects the address bar search is keyword.URL...