ragged-rigid
ragged-rigid
ragged-rigid
ragged-rigid
Category » Linux « @ www.digitalpains.net

Archive for the ‘Linux’ Category

blog

How can I see on my linux box if Multicasting is enabled for my network interface?

Using ifconfig command you see if multicasting is enabled for your network interface or not. [ali@lab ~]$ /sbin/ifconfig wlan0 wlan0     Link encap:Ethernet  HWaddr 00:24:D7:38:D5:7C inet addr:172.30.59.189  Bcast:172.30.59.255  Mask:255.255.255.0 inet6 addr: fe80::224:d7ff:fe38:d57c/64 Scope:Link UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 RX packets:761458 errors:0 dropped:0 overruns:0 frame:0 TX packets:282314 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:334033669 (318.5 [...]

Read the rest of this entry »

udevb[2191]: add_to_rules: unknown key ‘ATTRS{idProduct}’

If you are getting following error messages during the boot,  one of your udev rules are using the ATTRS instead of SYSFS. grep ATTRS /etc/udev/rules.d/* Changing all occurrence of ATTRS with SYSFS will fix the problem. %s/ATTRS/SYSFS/g On the other hand this is quite a irony. Fedora 13 will give you a warning error stating [...]

Read the rest of this entry »
conditions

Nginx server_names_hash_bucket_size problem

Today I defined a new site on my Nginx server. This new site I defined has a long domain name. When I tried to restart the Nginx I got the following error message. Restarting nginx: 2010/05/03 09:25:08 [emerg] 4452#0: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32 nginx. forum

Read the rest of this entry »

Ubuntu avahi-daemon creates problem resolving FQDNs ending with .local

I have started to use .local dns extension for my local network. After changing my complete network configuration I realized that some of my Ubuntu machines can resolve the FQDNs ending with .local (Ex: testhost.digitalpains.local ) correctly. ali@advance17:/home/ali$ ping testhost.digitalpains.local ping: unknown host testhost.digitalpains.local   ali@advance17:/home/ali$ ping testhost PING testhost.feasiblesolutions.local (192.168.7.2) 56(84) bytes of data. [...]

Read the rest of this entry »
podcast

Automatic Security Updates on Ubuntu.

There are different options for automatically updating your server. At this article we will use the unattended-upgrades package. We will start with installing the unattended-upgrades package. kok@fhome:~$ sudo apt-get install unattended-upgrades After installing the unattended-upgrades package we need to add  the text below to the  /etc/apt/apt.conf.d/10periodic file. APT::Periodic::Update-Package-Lists “1″; APT::Periodic::Download-Upgradeable-Packages “1″; APT::Periodic::AutocleanInterval “5″; APT::Periodic::Unattended-Upgrade “1″; [...]

Read the rest of this entry »
terms

Configuring Yum To Work With Proxy Server

Most of the  production servers  has limited connectivity to the Internet. If they have any connectivity then probably it  will be through a forward proxy server. If your server is behind the proxy server, then you need to provide proxy server details in /etc/yum.conf.. The proxy setting must specify the proxy server as a complete [...]

Read the rest of this entry »
about

Installing Ruby On Rails on Ubuntu

Ruby on Rails distributed with GEM packaging system. If you are installing Rails on Ubuntu probably you will end up using Ubuntu packaging system and GEM in combination. For a proper installation you need to do series of actions. A friend of mine, Umur Ozkul, has written an article for Rails Installation. It is written [...]

Read the rest of this entry »

SMTP Reply Codes

SMTP Reply Codes Code Meaning 200 (nonstandard success response, see rfc876) 211 System status, or system help reply 214 Help message 220 <domain> Service ready 221 <domain> Service closing transmission channel 250 Requested mail action okay, completed 251 User not local; will forward to <forward-path> 354 Start mail input; end with <CRLF>.<CRLF> 421 <domain> Service [...]

Read the rest of this entry »
blog

Cleaning up your system and removing old kernels.

With every new kernel update, you receive another boot loader menu item. It will also eat up space from your /boot partition. If you don’t want your /boot partition to be filled up, then you need to remove some of the old kernels. How do we do it? First let’s get the list of kernels [...]

Read the rest of this entry »

HTTP Status Codes

I have found very nice classification of http status codes. It helps you get an quick overview of status codes. Category Error Code 2xx: Successful 200 OK 3xx: Redirection 301 Moved permanently 302 Found, look elsewhere (Moved temporarily) 4xx: Client Errors 403 Forbidden 404 Not Found 5xx: Server Errors 500 Internal Server Error report

Read the rest of this entry »
conditions
forum
api