Linux Issues Summary

Source: Internet
Author: User
Tags install openssl openssl rrdtool snmp snmpwalk fully qualified domain name

1. Installation RRDtool Error
Perl:warning:Falling back-to-the-standard locale ("C")
Workaround VI/ROOT/.BASHRC
And then the bottom plus
Export Lc_all=c
or run directly
echo "Export lc_all=c language=en_us:en" >>/ROOT/.BASHRC
And then execute it.
Source/root/.bashrc
2. Turn off SELinux security control Getenforce Setenforce 0
3. To be able to monitor the printer CHECK_HPJP need to install NET-SNMP before compiling Nagios net-snmp-utils
4. Prompt Apr_sockaddr_info_get () failed when starting httpd
So to solve this problem you can set the servername in the httpd.conf file as follows
ServerName localhost:80
or fill in the/etc/hosts with your host name Bogon as follows
127.0.0.1 Host Name
5. Install PNP times error rrds Perl Modules: * * * NOT FOUND * * *
./configure--with-nagios-user=nagios \
--with-nagios-group=nagios \
--with-rrdtool=/usr/local/rrdtool/bin/rrdtool \
--with-perl-lib-path=/usr/local/rrdtool/lib/perl/5.10.1/i386-linux-thread-multi \ Specify path rrds perl
--with-perfdata-dir=/usr/local/nagios/share/perfdata
6. Installation of RRDtool requires environment
Cairo-devel libxml2-devel pango-devel Pango libpng-devel freetype freetype-devel libart_lgpl-devel
7.Nagios monitoring error HTTP warning:http/1.1 404 Not Found
Create a index.html file in this directory/var/www/html
Restarting the httpd and Nagios service waits a few minutes for the warning to be cleared automatically.
8. Obtain the SNMP information in the switch or router and then combine the CHECK_SNMP command to obtain the corresponding information.
Snmpwalk-v1-c Public 10.10.253.2 3.6.1.2.1.2.2.1.6
Snmpwalk-v1-c Public 10.10.253.2-m All

9.web Server failed to execute a. cgi file
Give the user execute permission on this file
10.nagios The requested url/nagios/cgi-bin/statusmap.cgi is not found on this server workaround
Installation library file gd gd-devel libpng libpng-devel libjpeg libjpeg-devel zlib zlib-devel
Recompile and install Nagios and Nagios-plugin
#make Devclean
#./configure--prefix=/usr/local/nagios--with-nagios-user=nagios--with-nagios-group=nagios--with-gd-lib=/usr/ Lib--with-gd-inc=/usr/include/
#make All
#make Install
#make Install-init
#make Install-config
#make Install-commandmode
11.configure:error:no acceptable C compiler found in $PATH
Workaround install gcc yum install gcc
12.Libtool library used but ' Libtool ' is undefined
Solution Yum-y Install Gettext-devel
Yum-y Install libtool*
13.cms.pod around line 474:expected text after =item, not a number
POD document had syntax errors At/usr/bin/pod2man line 69.
Make: * * * [Install_docs] Error 1
Workaround for sudo rm/usr/bin/pod2man
14. View BIOS Information
Dmidecode
15.linux Installation Library compilation hint-lcrypto cannot link missing Crypto library
Crypto based on OpenSSL decision to install Openssl-devel
#yum Install OpenSSL Openssl-devel
16.HTTPD boot Problem Httpd:apr_sockaddr_info_get () failed for linux.64.114
Modify httpd.conf ServerName www.example.com:80 to ServerName localhost:80
17.httpd:could not reliably determine the server ' s fully qualified domain name, using 127.0.0.1 for ServerName
httpd.conf find #servername www.example.com:80 to remove the # and restart Apache will be OK.
18.configure:error:
!!! OpenSSL is not a properly installed on your system. !!!
!!! Can not include OpenSSL headers files.
Solving yum install-y OpenSSL openssl-devel
19. Install Iscsi-target error cc:/lib/modules/2.6.32-358.el6.i686/build/include/linux/version.h:no such file or director
Fix Yum Install Kernel-devel
20. Failed to execute #luci_admin Init
Resolve rhel6.0 Cancel this command directly with the root account password can log in
21. System startup Error Enter Linux repair filesystem mode repair method
Abnormal shutdown caused by using Fsck/dev/hdax after reboot enter or only with fsck to repair only y return (you can also use the fsck-y/)
Unable to enter the system properly due to/etc/fstab file editing errors
Repair filesystem) 1 # Mount-o REMOUNT,RW/Reload root partition Repair mode The read-only system file is protected and cannot be modified
Repair filesystem) 1 # Vi/etc/fstab Modify the appropriate file
22.device eth0 does not seem to be present, delaying initialization
View the MAC address in the/etc/udev/rules.d/70-persistent-net.rules file
Modify the corresponding Mac in Ifcfg-eth0
23.linux install MySQL appears could not find Curses (missing curses_library Curses_include_path)
Workaround:
[[email protected] mysql-5.5.11] #rm CMakeCache.txt
[[email protected] mysql-5.5.11] #yum install Ncurses-devel
[[email protected] mysql-5.5.11] #yum Install Bison
24.CMake Error at/usr/share/cmake/modules/cmakecxxinformation.cmake:17 (get_filename_component):
CMake Error:cmake_cxx_compiler not set, after Enablelanguage
CMake error:internal CMake Error, trycompile configure of CMake failed
Workaround:
[[email protected] mysql-5.5.11] #yum install gcc gcc-c++-y


This article from "Banging blog" blog, declined reprint!

Linux Issues Summary

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.