Skip to content. | Skip to navigation

Personal tools
Log in
Sections
You are here: Home

Akaname (垢嘗) licks it...

by Akaname last modified May 30, 2011 03:25 AM

How-to join multiple pdf files in Linux

by Akaname last modified Jul 30, 2011 12:08 AM

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!

Read More…

How-to solve ssh connection timeouts in Linux

by Akaname last modified Jul 10, 2011 04:02 PM

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!

Read More…

How-to securely delete your hard drive in Linux

by Akaname last modified May 29, 2011 10:41 PM

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.

Read More…

How-to convert multiple audio files in Linux

by Akaname last modified May 29, 2011 11:27 PM

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.

Read More…

How-to convert multiple image files in Linux

by Akaname last modified May 29, 2011 11:42 PM

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!

Read More…

How-to rename multiple files in Linux

by Akaname last modified May 29, 2011 10:42 PM

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.

Read More…

Ubuntu Lucid: Services not starting

by Akaname last modified Nov 11, 2010 02:42 AM

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.

Ubuntu Lucid

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

  1. 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:
  2. user@linux:~$ sudo su -
    user@linux:~$ for file in /etc/init/*.conf; do sed -i 's/^console output/\#console output/' $file; done
  3. Updating upstart to a version from lucid-proposed repository. This does not work for all folks.
  4. 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:
  5. user@linux:~$ dpkg --force-depends -P plymouth

Now, Lucid is running perfectly again!

Akaname (垢嘗) licks it...

Sekien Akaname

Akaname is a long tongued japanese demon

Usually, it comes in the night to lick the mud out of the bathtub. Take care and don't forget to clean your bathtub properly!