Tag Archives: kubuntu
THIS IS NOT A BEST PRACTICE ON HOW TO INSTALL A LINUX BOX!
This document serves as a reminder to myself, on what needs to be done when reinstalling my workstation, and I have put it here to have it conveniently at hand. Because of this, the document may not be of any help to anybody but me. The last month I’ve had 3 failing harddrives, one new and 2 used ones, so this makes me want to document the process, at least in an overall fashion…
- I have a script listing all my script dependencies and all software I always want installed, so this part is easy:
I’ve never managed to get Net ID working in Linux, due to Telia only supporting Ubuntu 10.04 and a very old version of Firefox. For this embarassing reason (for Telia), I have been forced to use a virtual machine with Windows XP whenever I had to identify myself…
With the latest software update I was hoping that they would have corrected the previous problems. I downloaded the file iidsetup_64.tar.gz with the x64 version and after extracting it I installed it as root:
Cron is mailing me reports like these:
error: squeezeboxserver:1 duplicate log entry for /var/log/squeezeboxserver/server.log
error: found error in /var/log/squeezeboxserver/server.log , skipping
error: squeezeboxserver:14 duplicate log entry for /var/log/squeezeboxserver/scanner.log
error: found error in /var/log/squeezeboxserver/scanner.log , skipping
As the report tells you, logrotate tries to rotate some logs twice. Not a severe error but annoying enough to be fixed.
Begin by changing directory:
Search for the filenames mentioned in the error report:
It seems that squeezeboxserver changed name (this has happened before…) to logitechmediaserver with the latest software upgrade. An old entry still exists in logrotate for squeezeboxserver. Move this file out of the way:
There, problem fixed!
Having recently dist-upgraded to Kubuntu 12.04 Precise Pangolin, I was kind of hoping for the system to be able to read the SDXC card from my Nikon camera. It’s a 64GB SD card with the filesystem exfat. Exfat is an M$ proprietary filesystem intended to replace FAT32 (vfat), and unfortunately Linux is still unable to read this filesystem (kernel 3.2.0-26). Doing some googling I found this link.
The solution to the problem is simple:
sudo apt-get update
sudo apt-get install fuse-exfat
I still haven’t tried writing anything with this driver. I just want to be able to copy the images from my and the driver works well for this.
First time I’ve gotten this problem when trying to ping another host:
connect: No buffer space available
The command ifconfig didn’t show anything unusual, but dmesg showed some interesting lines:
[332205.552806] net_ratelimit: 15 callbacks suppressed
I noticed that minidlna sucked up 100% from one core, but I don’t know if this is related. I restarted minidlna and the network, and all was back to normal again:
$ sudo /etc/init.d/networking restart
When I was back online again, I was curious and googled the problem. I found some hints to check the routing table and arp table, which I’ll do in the future should the problem ever arise again.
Having recently moved up to Kubuntu 11.04 Natty Narwhal, I noticed early on that the log file /var/log/messages was missing in the new install. Seeing this a peculiar but not investigating further to why it was missing, I finally did caved in and did some quick googling on the matter.
It turns out the developers felt it was redundant to save the same data in both /var/log/syslog and /var/log/messages. I have previously felt that they are similar but they are not identical, as /var/log/messages holds more information than what is found in /var/log/syslog.
Network Time Protocol can help you keeping your computers time accurate. This is important to maintain correct timestamps in log files. Not to mention how annoying it is with a clock not showing the correct time… Installing a basic NTP server will help your computer to have its time accurately controlled by NTP. The beauty of this is that when your computers time is wrong, NTP will speed up/down your clock to catch up. This is done so that cron and other time dependent tools will not notice anything.
Since I’m still running Lucid Lynx, updates for KDE is lagging behind a bit. To keep a bit more up to date with existing KDE updates, I’m adding a PPA found on Launchpad, to /etc/apt/sources.list:
deb http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu lucid main
deb-src http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu lucid main
Update the package index:
This is a brief guide to installing and configuring Munin.
This is how the Munin project describes their software on their site:
Munin is a networked resource monitoring tool that can help analyze resource trends and “what just happened to kill our performance?” problems. It is designed to be very plug and play. A default installation provides a lot of graphs with almost no work.
Installing the server
Installing a Munin server in Kubuntu is easy. This will install the server as well as the client on the server itself:
I’ve scoured different Linux forums for the answer to this onequestion. One of many answers is that this can’t/shouldn’t be done, because this crontab is to be executed after a computer has been booted and not at a specific time.
But what if I keep my computer on 24/7, and the time of cron.daily disturbs my work because disk intensive task are run at inconvenient times, instead of when I’m not in front of the computer. For me, the important thing is that cron.daily is executed once a day, and not x minutes after booting.