plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory

plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory

While installing uwsgi for Django with Nginx pip install uwsgi . I got this error, “plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory”. Error: *** uWSGI compiling embedded plugins *** [gcc -pthread] plugins/python/python_plugin.o In file included from plugins/python/python_plugin.c:1:0: plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory compilation terminated. Solution: To fix this issue,…

AttributeError: ‘WSGIRequest’ object has no attribute ‘session’ Django python web framework
|

AttributeError: ‘WSGIRequest’ object has no attribute ‘session’ Django python web framework

While working on Django I got this error message “AttributeError: ‘WSGIRequest’ object has no attribute ‘session’” To solve this issue it is just 2 steps away. I hope you already know about how to start and stop the python based django. Step 1: Edit the settings.py file.And add the following line. Replace the FQDN with…

How to install and configure nagios nrpe client in Ubuntu with apt-get command
|

How to install and configure nagios nrpe client in Ubuntu with apt-get command

How to install and configure nagios nrpe client in Ubuntu with apt-get command A few days back I wrote on how to configure nagios server in Ubuntu 12.04. In this tutorial we will learn how to monitor the ubuntu machines means we will install nrpe in ubuntu machines so that nagios server can monitor it….

How to install Magento 1.7.0.2 in linux, bug issue is also solved

How to install Magento 1.7.0.2 in linux, bug issue is also solved

How to install magento-1.7.0.2 in linux, bug issue is also solved In this tutorial we will learn How to install Magento 1.7.0.2 in linux While installing Magento 1.7.0.2 I found a bug ,the bug is also resolved. Details of Practical : Operating System : Ubuntu 12.10 Arch : i386 Web Server : Apache Database Server:…

PHP Extensions “0” must be loaded Magento

PHP Extensions “0” must be loaded Magento

PHP Extensions “0” must be loaded Magento While installing the Magentos 1.7.0.2 I got this error even I installed the php5-mysql and all dependency. To solve the issue follow the given below steps. Step 1 : Edit line no. 72 in app/code/core/Mage/Install/etc/config.xml and search keyword pdo_mysql Note: It should be in extension tag And write…

blockquote in style.css applicable to wordpress and blogger sites

blockquote in style.css applicable to wordpress and blogger sites

blockquote for style.css applicable to wordpress and blogger sites Blockquotes are useful in blogging or any website because with the help of blockquote you can highlight the text in box with border or borderless as per your choice. Many readers of my blog have asked the question about how to have a common blockquote which…

WordPress host IP changed not able to open wp-admin and site page looks scattered
|

WordPress host IP changed not able to open wp-admin and site page looks scattered

WordPress host IP changed not able to open wp-admin and site page looks scattered Today I was working on my Virtual Machine in my laptop and was trying to check some theme options.In Virtual Machine I have set ip address to be taken dynamically from DHCP server.Today my wifi change the ip address of Virtual…

Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’!
| |

Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’!

Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’! While working on Nagios Server in Ubuntu 12.04 LTS,I was setting external command and stuck with this error message. To solve the problem follow these commands sudo /etc/init.d/nagios3 stop sudo dpkg-statoverride –update –add nagios www-data 2710 /var/lib/nagios3/rw sudo dpkg-statoverride –update –add nagios nagios 751 /var/lib/nagios3 sudo /etc/init.d/nagios3 start…

Sorry, but Nagios is currently not checking for external commands, so your command will not be committed!
|

Sorry, but Nagios is currently not checking for external commands, so your command will not be committed!

Sorry, but Nagios is currently not checking for external commands, so your command will not be committed! This message comes on nagios dashboard when externals commands are disable. To enable external commands.Edit the nagios.cfg file and enable the value of check_external_commands parameter. Change the value from 0 to 1 In Debian or Ubuntu: vi /etc/nagios3/nagios.cfg…

REMOTE HOST IDENTIFICATION HAS CHANGED
| |

SSH WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED

When you try to ssh the another remote Linux/Unix machine , you might have encountered with the WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! . This message we have often seen when we work in Linux machines. In this post we have provided the Reason and Solution on this Warning. root@tuxworld:/tmp# ssh 10.10.0.16 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING:…

ssh public key fingerprint
| | |

How To Get SSH Public Key Fingerprint Information

Long time ago one of my U.S system admin was very security conscious. He asked me to create id_rsa.pub key in server. I created the key with ssh-keygen -t rsa command. And send it him through encrypted email. Next day he wrote me ,what is the ssh key fingerprint ? First let’s have some introduction….