Posted in 28/02/2011 ¬ 1:57 pmh.ali.sogukpinar
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 »
Posted in 23/12/2010 ¬ 11:14 pmh.ali.sogukpinar
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 »
Posted in 03/05/2010 ¬ 9:47 amh.ali.sogukpinar
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 »
Posted in 09/02/2010 ¬ 7:22 amh.ali.sogukpinar
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 »
Posted in 29/01/2010 ¬ 9:17 amh.ali.sogukpinar
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 »
Posted in 23/01/2010 ¬ 12:29 pmh.ali.sogukpinar
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 »
Posted in 21/01/2010 ¬ 10:41 amh.ali.sogukpinar
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 »
Posted in 19/01/2010 ¬ 9:53 pmh.ali.sogukpinar
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 »
Posted in 13/01/2010 ¬ 8:46 amh.ali.sogukpinar
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 »
Posted in 12/01/2010 ¬ 9:05 amh.ali.sogukpinar
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 »