Akaname (垢嘗) licks it...
How-to join multiple pdf files in Linux
You don't need commercial programs to join (also: concatenate, merge or combine) pdf files. All you need is a standard Linux distribution with ghostscript installed!
How-to solve ssh connection timeouts in Linux
If your ssh-client sometimes loses it's connection to the ssh server after some time doing nothing, then it's possibly a connection timeout.
Don't worry, the openssh client has some settings for that!
How-to securely delete your hard drive in Linux
You want to sort out your old hard drive and get a new one? Your hard drive is not working reliably and you have to send it back to the manufacturer? You want to change your dedicated server?
And you do not want your data in the hands of others?
Then you should delete your hard drive in a secure way.
How-to convert multiple audio files in Linux
You need to convert many audio files from one to another audio format? This is how to convert your audio files in the Linux terminal.
How-to convert multiple image files in Linux
You have a folder with hundreds or thousands of image files that you wish to convert into another image file format? And you don't want to open them one by one, click on "save as", choose the new file format and confirm everything with "save" and "close"?
Fortunately, the Linux terminal has everything for batch converting, resizing and editing your image files!
How-to rename multiple files in Linux
Sometimes you need to rename hundreds or thousands of files at once after one and the same scheme. Here are some examples how to rename the files in the linux terminal.
Ubuntu Lucid: Services not starting
Since April I am using Ubuntu Lucid on my old laptop. Lucid was running perfectly without problems. And in the past I never had bigger problems with Ubuntu. So I decided to install Lucid on my new dual-core laptop, too. My first impression was OK. But after a few restarts I realized that some services like cups, ssh or even X randomly refused to start.

So what? Every-day services like printing, network login or graphical desktop do not start? Imagine you installed Lucid on all of your server machines with ssh not starting...
After a couple of hours searching my configuration, google and launchpad I found an open ticket with over 100 entries, that explained the reason: Upstart and/or plymouth have some problems with multi-core processors. Under certain circumstances of multi-processor concurrency the console is not writeable anymore and the requesting service does not start.
Workarounds
At this time there are three workarounds
- Uncommenting "console output" from the *.conf scripts in /etc/init/ will help. It's no long-time way, cause after every update of upstart you have to do this again. You can use this short version, derived from the ticket:
- Updating upstart to a version from lucid-proposed repository. This does not work for all folks.
- Removing plymouth boot splash screen. Especially on headless servers this seems to be a good option. You won't need splash screens for them ;-) And it seems to work even if the upstart update doesn't:
user@linux:~$ sudo su -
user@linux:~$ for file in /etc/init/*.conf; do sed -i 's/^console output/\#console output/' $file; done
user@linux:~$ dpkg --force-depends -P plymouth
Now, Lucid is running perfectly again!
