- Published:
- October 28, 2006 – 1:22 pm
- Author:
- By Dave
If your Mozilla Thunderbird is slow to open the inbox, or any other folder for that matter, there are two things that you can do to try to fix this problem. Step #1: The first thing is to try to compact the folder. This should help if you have a large inbox. If you can’t even get to this step, or if it is just too slow, try step #2. Step #2: The .msf “index” file is corrupted. If this file gets corrupted, you could see a slow initial loading of your inbox, messages will not open, you can not delete messages, etc. You may also see a message in the status windows when you open Thunderbird that says something about rebuilting index. The solution to this is to first close out of Thunderbird, then delete the inbox.msf file. If this is for a different folder name, you will see….
Categories: Configurations,Email,Programs
- Published:
- October 27, 2006 – 11:54 am
- Author:
- By Dave
Problem: Checking the apache server status with the command “apachectl status”, “service httpd fullstatus” or by viewing http://server/server-status I get the message: “The requested URL /server-status was not found on this server” or your alternative 404 page not found error. Answer: Assuming you have the module loaded and set up per the documentation of mod_status, this is this most likely a VirtualHost problem. If you use NameVirtualHost *:80 directive, or any *:port, to run multiple name based virtual hosts, this configuration does not allow server-status on any of the publicly accessible addresses. This is because the first Virtual Host in the directive is considered the “Default Virtual Host”, any unknown entries on the NameVirtualHost space – in this example anything accessing port 80 on any IP address, will default go to this virtual host and hence you will get a 404 page not found error. Furthermore you can not place….
Categories: Configurations,Programs,System Administration
Tagged: apache
- Published:
- October 26, 2006 – 11:49 pm
- Author:
- By Dave
I recently had a problem where my Spamassassin install started thinking that a lot of spam messages were really ham (non-spam). Since these were getting BAYES_00 scores of -2.5 they were almost all getting through my spam filter. These particular messages all were regarding STOCK quotes and were pretty obviously spam just by looking at the text of the messages. Somehow my Spamassassin install thought that they were not spam because the messages were being passed as ham by the Bayesian filter. Since they kept getting past, the bayesian filter kept learning them as HAM. In order to break this vicious cycle, you just need to clear out the bayesian tokens. It’s very easy to do. As root user, type: 1sa-learn –clear This starts you fresh. By default, Spamassassin won’t use the bayes filter until it has 200 spam and ham messages, so until you get to that level it….
Categories: Configurations,Email,Linux,Shell,System Administration
Tagged: spamd server
- Published:
- October 24, 2006 – 10:12 pm
- Author:
- By Dave
Hey, Firefox 2.0 is out! Get it here. Improved tabbed browsing, additional customization, feed enhancements, and security improvements. If you haven’t tried Firefox before, there is no better time than now!
Categories: Programs
- Published:
- October 24, 2006 – 5:07 pm
- Author:
- By Dave
If you or your client is using an old-DOS based program to do work (for example, Wordperfect for DOS) – and you need to print to a printer which is shared on the network, you first need to map the printer to an LPT port. You do this by using the following command in a dos prompt (Start -> Run -> cmd): 1net use lpt3 \\SERVER_NAME\PRINTER_NAME You can then set up your dos program to print to lpt3 and it will be sent to that printer. To print right from the command line, you could use the following syntax: 1copy c:\test.txt lpt3
Categories: Programs,Shell,System Administration,Windows
Tagged: LPT port
- Published:
- October 24, 2006 – 1:32 pm
- Author:
- By Dave
This one is neat – you can control those APC PDU Power Poles over the network via SNMP. This works for the APC Switched Rack Unit PDU, but it may work for others. I use this on a PDU with Network Management Card AOS version v2.6.4 and Rack PDU APP v2.6.5, so of course this is not guaranteed for any other versions. First, set up the PDU on the network. Then, you need to configure the SNMP write string. You do this by navigating the menu (default username password is apc/apc): Control Console->Network->SNMP Change one of the strings to Write+ and preferable change it from public/private to your own string. You can also limit access from certain hosts for extra security. I always keep the APC PDUs on a private network since the APC telnet/web interface is so insecure. Once you have that set up, your PDU is read to….
Categories: Code Samples,Configurations,PHP,System Administration
Tagged: PHP, private network, SNMP, telnet/web interface
- Published:
- October 19, 2006 – 10:39 am
- Author:
- By Dave
Changing your cpan mirror. Although it seems like it would be easy task to accomplish, it seems there is no easy way to change the perl CPAN module mirror list. I have only found two ways to do this. The first way I found is to modify your Config.pm in the CPAN module. In my install, it is located at /usr/lib/perl5/5.8.5/CPAN/Config.pm. Look for ‘urllist’ and you will see the list of mirrors. Modify this variable to change where CPAN looks for its modules. The second way is to re-run the CPAN configuration. You do this by running the cpan command line: 1perl -MCPAN -e shell and then running o conf init 1cpan> o conf init This will run the initial configuration of CPAN again. It seems like there should be an easier way to do this – if anyone knows please post a comment!
Categories: Configurations,Linux,Perl
Tagged: Perl