Archive for the ‘Linux’ Category

Error Compiling djbdns and daemontools

Tuesday, July 20th, 2010

While attempting to compile djbdns 1.05 and daemontools 0.76 on a CentOS 5.5 I received the error:

/usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in envdir.o

The problem can be eliminated by adding:

-include /usr/include/errno.h

In conf-cc files for each tarball. Don’t forget to install gcc first, if you have a basic installation.
By the way, [...]

Popularity: 1% [?]

Do I need to reboot the machine after increasing the maximum number of open files at /etc/security/limits.conf?

Friday, July 24th, 2009

No, you don’t need to. This morning I struggled to convince someone that the server does not need a reboot. It was because of this: Increasing the number of file handles on Linux workstations.
ulimit - Provides control over the resources available to the shell and to processes started by it, on systems that allow such [...]

Popularity: 3% [?]

Setting DD-WRT Cron Job Through Command Line

Saturday, September 13th, 2008

I managed to get OpenVPN running on my DD-WRT v2.2 router, with the instructions from the wiki.
However after a few reboot tests I saw that OpenVPN died immediately after it started, with no traceable reasons.

Sep 12 00:51:10 192.168.xx.xx openvpn[3940]: TUN/TAP device tap0 opened
. . .
Sep 12 00:51:11 192.168.xx.xx openvpn[3949]: Initialization Sequence [...]

Popularity: 3% [?]

OpenVZ On Ubuntu Or Debian

Monday, September 8th, 2008

As a SysAdmin I have been using OpenVZ since it was introduced, and trust me it has not always been this easy. I used to take care of 20 physical servers with yearly replacement of about 5 machines. Since some of the servers are running different Linux distributions and different hardware it was decided that [...]

Popularity: 3% [?]

OSCC: The Silent Mirror

Sunday, September 7th, 2008

All hyped out about sharing Linux knowledge with friends especially dirn, I wanted to download Ubuntu for my own use mainly because I am a strict Debian user. Browsing the mirror list in Ubuntu official site I am disappointed by the speed of most of the mirrors I selected, and the fastest I can get [...]

Popularity: 2% [?]

PHP 5 In CentOS 4.5

Friday, August 10th, 2007

Just a short sharing note, for users of CentOS 4.5 who is looking to update PHP to version 5 instead of the default 4.3.9 there is a clean and easy way to upgrade your PHP.

Open up /etc/yum.repos.d/CentOS-Base.repo and look for the section centosplus:
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/…
#baseurl=http://mirror.centos.org/…
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
priority=2
protect=1
Change enabled=0 to enabled=1
Save the file
Run yum update php*

And the rest [...]

Popularity: 3% [?]

Compiz Fusion

Sunday, June 24th, 2007

Have you seen or used Windows Vista? Like the eye candies and effects that it provides? Wished that something like that is available on your other favorite *NIX OS? Wish no more, Compiz Fusion is here.
This project is a merger between Compiz and Beryl. Beryl was a fork of Compiz, where there was some history [...]

Popularity: 2% [?]

Etch is Stable

Tuesday, April 10th, 2007

The current “stable” distribution of Debian GNU/Linux is version 4.0r0, codenamed etch. It was released on April 8th, 2007.
Testing is now codenamed lenny. Release notes here.

Popularity: 2% [?]

Popularity: 2% [?]

Iceweasel

Wednesday, February 14th, 2007

Have you ever heard of the browser named Iceweasel? Of course not, if you’re not using Debian. One of my machine at home is running a Debian Etch installation (my torrent box), and a few days ago I ran apt-get upgrade to upgrade the packages.
I was quite annoyed at first, as it’s trying to install [...]

Popularity: 2% [?]

ALSA Support in Skype

Thursday, July 20th, 2006

Finally, Skype has released a beta version with alsa support: 1.3.0.30_API

Hopefully all the troubles with “Problem with Sound Device” will be history. However for users with very old kernels, and prefer to use OSS, the option is still there. The problem with Skype utilizing OSS on modern systems is that it keeps on failing to [...]

Popularity: 2% [?]

Storage Emergency

Saturday, June 24th, 2006

My 17-days old Seagate Barracuda 7200.9 300GB disk was giving a lot of error two days ago. There were a bunch of errors in my syslog:

ata1: translated ATA stat/err 0×51/40 to SCSI SK/ASC/ASCQ 0×3/11/04
ata1: status=0×51 { DriveReady SeekComplete Error }
ata1: error=0×40 { UncorrectableError }
ata1: translated ATA stat/err 0×51/40 to SCSI SK/ASC/ASCQ 0×3/11/04
ata1: status=0×51 { DriveReady [...]

Popularity: 3% [?]

Jabberd2 initscript for Debian

Wednesday, August 24th, 2005

I was compiling and installing jabberd2 on a server at office and everything went great except for one thing: no initscript provided. I was baffled to find out that the great software didn’t have any initscript. So I wrote one:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#! /bin/sh
#
# Script to start/stop jabberd2 on a Debian
#
# by Ady Romantika, 23 August 2005
#
 
DAEMON=/usr/local/bin/jabberd
NAME=jabberd2
DESC=jabberd2
JABBERUSER=jabber
 
# Uncomment [...]

Popularity: 2% [?]

Debian Unstable - apt-get upgrade

Monday, August 22nd, 2005

Be careful when you are feeling like doing an apt-get upgrade today.
My whole KDE menu at work went missing after doing an upgrade… LOL!

This bug has been reported: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=323747 
The buggy version is 3.4.2-1 so for now, downgrade to 3.3.2-6.1

Popularity: 2% [?]

Popularity: 2% [?]

Radeon IGP on HP nx9010

Saturday, June 25th, 2005

I just spent a few hours trying to find out what the problem is with my Debian. I just replaced Fedora Core 3 to Debian unstable on my notebook. It’s a HP nx9010, equipped with Radeon IGP:

0000:01:05.0 VGA compatible controller: ATI Technologies Inc Radeon IGP 340M

There was no video from noatun and xine. After some [...]

Popularity: 2% [?]

apt-get moo

Friday, June 24th, 2005

(__)
(oo)
/——\/
/ | ||
* /\—/\
~~ ~~
….”Have you mooed today?”…

Popularity: 2% [?]

Popularity: 2% [?]