-
Eclipse: Class file name must end with .class exception in search
Eclipse is nice IDE but it has it’s own problems. This time the Java Search and Open Type -search produced an error saying “Class file name must end with .class”. Very helpfull. Fortunately almost all the answers in the world can be found in the Internet and so with a quick googling the solution to…
-
Redirect HTTP and HTTPS traffic to Tomcat’s ports
Apache Tomcat likes with default settings to listen to requests on 8080 and 8443 ports but it is more enjoyable to use the more common 80 and 443 ports for HTTP and HTTPS traffic. This way the user don’t have to put those pesky port numbers after the address. Of course you could just tell…
-
Keeping up with the time in Xen
A simple tip for keeping up with the time in Xen when your domU isn’t syncing the clock frequently enough and your clock is whatever. Of course you can sync your clock with ntpdate but first you need to set the domain (domU) to run its wallclock independently from Xen. Simply say in the command…
-
Samba performance problem after kernel update
Samba is a nice service to provide storage space through networks and it is relatively easy to set up. It’s not as fast as using NFS between Linux hosts but sometimes you don’t have that possibility. Sometimes there also might be quite confusing problems like I happened to notice. My Samba service had worked fine…
-
WordPress and problem with language files (.mo)
While testing the upcoming WordPress 2.3 I noticed that I had a problem with he localization. Defining the language with WPLANG had no effects and all the text were in English as they should have been in Finnish. I installed another instance of WordPress 2.2.3 and the problem was still there.… Jatka lukemista →
-
Apache can't start after updating expat to 2.0.1
After updating to expat-2.0.1, it tells you to run revdep-rebuild -X –library=libexpat.so.0 but even after that apache2 couldn’t be started. It says that /usr/sbin/apache2 can’t find shared library libexpat.so.0. After some googling I found a message in Google Groups which deals with the problem. The problem is that /usr/lib/libaprutil-0.so.0.9.12 which belongs to apr-util is still…
-
Quick Howto: Setting up SNMP and MRTG
This article might be a bit outdated on some parts but just Google if problems arise. SNMP and MRTG graphs Statistics and graphs are nice way to follow what the machine is doing. Just a little bit of configuration and scripts you can use f. ex. servers’, routers’ and firewalls’ operational statistical data from their…
-
Tuning Apache, PHP and MySQL
Normally putting up a web server with PHP and database is easy and the default settings are enough but sometimes there is need for tuning the performance. The server might be low on memory and the CPU and has (too) many things to handle. Also it is good to know how things work.… Jatka lukemista…
-
Syslog-ng and connections exceeded error
Couple of days ago I updated my home Gentoo box and after that syslog-ng was too full of connections. As always the remedy was near. If you have app-admin/syslog-ng-2.0.4 and get errors like syslog-ng[8827]: Number of allowed concurrent connections exceeded; num=’10’, max=’10’ to the syslog then read this helpfull topic from Gentoo forums.… Jatka lukemista…
-
GWN: Do it all, minus one.
Earlier this year there was some problems updating packages and I used package.mask to get over it. There is also a better way to handle this so that the package is not updated until it’s really needed. Gentoo Weekly Newsletter: 7 May 2007 writes about user’s problem with keeping a specific version of MythTV.… Jatka…