Archive

Archive for June, 2008

Solving Certificate Export Error in Mozilla Firefox

June 30th, 2008 No comments

Today I’ve got the message from Webmoney Transfer System that I should update my certificate in order to continue using them (Webmoney is a Russian electronic payment system). I have installed new certificate in Firefox (since it is my default browser) and then tried to export it in order to use it in Opera or any other browser. But the following screen has appeared:

I think everybody loves the following string in an error message: “for unknown reason”. I had to search for it in Google, but unknown reason remained an unknown reason. I’ve found a mailing list for Ubuntu (!) – I was dealing with Firefox in Windows. Here is what i found: Bug. I’ve had absolutely no idea how to fix this unknown error.

The only thing that worked was to disable ALL Firefox add-ons that I have installed. None of them had anything related to certificates, but it really worked! I was able to export my certificate only after this procedure.

Hope this will help you if you face this error exporting your certificates.

Two Ways to Exclude yum Updates

June 29th, 2008 No comments

How often do you update your Linux server software? If you have chosen yum to do this for you, you should have some packages that aren’t really necessary for update; they can even cause yum errors. In order to exclude some packages you should use of two methods proposed in this post.

The first one is to add excluded packages to the command line while running yum from console. This should look like:

yum –exclude=rhythmbox

The second way is to add excluded packages to yum configuration file. Just add a line like this to /etc/yum.conf:

exclude=rhythmbox syslinux etc

The second method is better if you periodically update your server software. For a one-time execution the first method will be much better.

A List of Ping Services for Your Blogs

June 29th, 2008 1 comment

This time I will tell you some services for pinging your blogs. Here it is; though it is not the most complete list, I hope it will help you to add your blogs to search engines.

http://rpc.pingomatic.com/

http://api.feedster.com/ping

http://api.moreover.com/RPC2

http://api.moreover.com/ping

http://api.my.yahoo.com/RPC2

http://api.my.yahoo.com/rss/ping

http://www.bitacoles.net/ping.php

http://bitacoras.net/ping

http://www.blogdigger.com/RPC2

http://blogmatcher.com/u.php

http://www.blogoon.net/ping/

http://www.blogshares.com/rpc.php

http://www.blogstreet.com/xrbin/xmlrpc.cgi

http://bulkfeeds.net/rpc

http://coreblog.org/ping/

http://www.lasermemory.com/lsrpc/

http://mod-pubsub.org/kn_apps/blogchatt

http://www.newsisfree.com/xmlrpctest.php

http://ping.amagle.com/

http://ping.bitacoras.com

http://ping.blo.gs/

http://ping.exblog.jp/xmlrpc

http://ping.feedburner.com

http://ping.syndic8.com/xmlrpc.php

http://ping.weblogalot.com/rpc.php

http://ping.weblogs.se/

http://www.popdex.com/addsite.php

http://rcs.datashed.net/RPC2/

http://rpc.blogrolling.com/pinger/

http://rpc.icerocket.com:10080/

http://rpc.technorati.com/rpc/ping

http://rpc.weblogs.com/RPC2

http://www.snipsnap.org/RPC2

http://topicexchange.com/RPC2

http://xping.pubsub.com/ping/

http://xmlrpc.blogg.de/

http://blogsearch.google.com/ping/RPC2

http://rpc.qwikping.com

http://rpc.britblog.com

http://rpc.tailrank.com/feedburner/RPC2

http://pingoat.com/goat/RPC2

http://pinger.blogflux.com/rpc/

http://blogdb.jp/xmlrpc

http://www.blogpeople.net/servlet/weblogUpdates

http://www.blogroots.com/tb_populi.blog?id=1

http://ping.fakapster.com/rpc

http://blog.goo.ne.jp/XMLRPC

http://www.mod-pubsub.org/kn_apps/blogchatter/ping.php

http://ping.bloggers.jp/rpc/

http://ping.blogmura.jp/rpc/

http://ping.myblog.jp

http://rpc.blogbuzzmachine.com/RPC2

http://trackback.bakeinu.jp/bakeping.php

http://api.feedster.com/ping.php

http://bblog.com/ping.php

https://phobos.apple.com/WebObjects/MZFinance.woa/wa/pingPodcast

http://pingqueue.com/rpc/

http://ping.blogg.de/

http://rpc.britblog.com/

http://rpc.newsgator.com/

http://rpc.wpkeys.com/

http://services.newsgator.com/ngws/xmlrpcping.aspx

http://signup.alerts.msn.com/alerts-PREP/submitPingExtended.doz

http://www.imblogs.net/ping/

http://www.newsisfree.com/RPCCloud

http://www.rssfwd.com/xmlrpc/api

http://xmlrpc.blogg.de

Usually WordPress does the ping automatically, but not all blog search engines are pinged.

Here is the data you need to send to these services:

<?xml version=”1.0″?>
<methodCall>
<methodName>weblogUpdates.extendedPing</methodName>
<params>
<param>
<value>The &amp;nbsp; Space in Paulo</value>
</param>
<param>
<value>http://nbspsaopaulo.example.com/</value>
</param>
<param>
<value>http://nbspsaopaulo.example.com/content.html</value>
</param>
<param>
<value>http://ilovesaopaulo.example.com/index.rss</value>
</param>
</params>
</methodCall>

If you decide to create your pinger (I will show you how to do this some time later), this data will be extremely useful.

How to Delete a Big Number of Files in a Folder – Linux Command

June 28th, 2008 No comments

If you’re using temporary files you should notice that after some time it is hard to delete them as their number is growing. If you have many files and try to delete them with a usual command rm -f you should receive something like this:

[root@server html]# rm -f *
-bash: /bin/rm: Argument list too long

What to do when this occurs? You have to combine several Linux commands in order to empty this folder. Here is the command you should use; I will explain what does it do below.

[root@server html]# ls | grep .| xargs rm

This will do the following: the first command ls outputs the list of files. The output is being sent to grep command so you won’t see it in your console. Grep searches for files with “.” symbol (in the example given I think that all your files have so named extension – filenames contain a dot. So grep will extract all the file names that contain a dot and will throw them to the next function – xargs. xargs accepts these filenames and deletes them one by one. This allows to reduce server load and gives us the possibility to delete multiple files in one folder that are no longer necessary.