Error using yum commandFile "/usr/bin/yum", line 30Except Keyboardinterrupt, E:^Syntaxerror:invalid syntaxThe problem is as follows:The problem occurs because:Yum package management is written using python2.x, and after upgrading python2.x to python3.x, the problem occurs due to Python version syntax compatibilityWorkaround:Modify the Yum configuration file to point the Python version to the previous old version# vi /
Method 1: Normal thinking versionfind/usr/local/-type f-name "*.sh" |xargs chmod +xchmod +x ' find/usr/local/-type f-name "*.sh" ' find/usr/local/-ty PE f-name "*.sh"-exec chmod +x {} \;However, this method is not rigorous, because some scripts do not end in. Sh.Method 2. Exact methodUse the file command to view the types of files, filter out the containing shell
[Root@t1/]# Innobackupex--user=root--password/mydata/data/tmp/dir/
InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy
and Percona LLC and/or its affiliates 2009-2013. All Rights Reserved.
This software is published under
The GNU general public LICENSE Version 2, June 1991.
Get the latest version of Percona Xtrabackup, documentation, and help:
http://www.percona.com/xb/p
160309 07:09:49 innobackupex:executing A version check against the server ...
160309 07:
(/usr/bin/ld:cannot find-lxxx)Reprint Annotated Source: http://www.eefocus.com/wicoboy/blog/13-03/292170_cdab5.html problem description/usr/bin/ld:cannot find-lxxx where xxx represents the function library file name, its naming rule is: lib+ library name (that is, XXX) +.so. Possible causes:
1 installed, but the corresponding LIB version is not compatible-we need to be libjpeg.so.8.0 but installed is libjpe
Follow the steps below to achieve a successful, pro-Test. Reprint, take notes.Compiled php-5.5-6 MySQL support, appeared cannot find MySQL header files Under/usr/include/mysql. Note that the MySQL client library isn't bundled anymore! error! Here's how to fix it:[Email protected] php-5.5.6]#/configure--prefix=/usr/local/php--with-config-file-path=/usr/local/php/e
Restart the server, access the Web service found unable to browse! After landing the server into the Nginx use./nginx-s Reload re-read the configuration file, found the nginx: [ERROR] Open () "/usr/local/nginx/logs/ Nginx.pid "failed (2:no such file or directory) error, go to logs files found sure there are no nginx.pid files[Email protected] sbin]#/nginx-s ReloadNginx: [ERROR] Open () "/usr/local/nginx/log
Why is it that many applications are installed in the/usr/local directory, and many applications are installed under/usr/local, then why do these apps choose this directory?Once you understand the root cause, you may have a more intuitive understanding of how your Linux organization files are understood. The answer is: The Automake tool defines the following set of variables: [PHP] Directory variable Defaul
Reference: http://blog.siyebocai.cn/20100324_5p424qs7.html
Generally, the usr/bin/ld: cannot find-LXXX error occurs during software compilation. The main cause is that the library file is not in the imported LD retrieval directory.
Solution:
1. Check whether the library file exists, such as-l123, and whether lib123.so exists under/usr/lib,/usr/local/lib,
This is a bug that occurs during real machine debugging. After a lot of effort, the bug is finally eliminated.
In this process, I am very grateful to my iPhone Development Group's brothers, Beijing _, Beijing _ Changkong, Oran, and Suzhou-old cat for giving me some advice, I didn't waste much time solving the problem.
I posted the debugging method today to thank some friendly and helpful friends.
Ld: Warning: directory not found for Option '-L/users/Cindy/desktop/project name/zbarsdk'
Ld
PHP5.4.8 is compiled and installed in 64-bit CentOS today. The result is displayed in configure.
First, the most common cause is configure: error: libjpeg. (a | so) not found. This is because most of our software only requires rpm-qa | grep ***
Now there are two duplicate software
[Root @ GFS_Server php-5.2.13] # rpm-qa | grep jpegLibjpeg-6b-33Libjpeg-6b-33Libjpeg-devel-6b-33
Both 32-bit and 64-bit are installed.
Configure: error: Cannot find ldap libraries in/
The Yum library is not available after the Python 2.7 upgrade python3.4. Error:[ Email protected] Desktop]# Yum upgrade File "/usr/bin/yum", line except Keyboardinterrupt, e: [[email protected] Desktop]# Vim/usr/bin/yum #将!/usr/bin/python can be changed to!/usr/bin/python2.7.It turned out to be the result of upgrading
The first line of the scripting language is to point out that you want the code in your file to run it with what executable program#!/usr/bin/python is to tell the operating system to execute the script, call the Python interpreter under/usr/bin.#!/usr/bin/env python is used to prevent operating system users from not loading Python into the default/
Today, the installation PHP5.4.8 is compiled under CentOS 64 digits. The results were prompted at the time of configure
First of all, one of the most common is configure:error:libjpeg. (A|SO) Not found reason is that most of our software just Rpm-qa | grep * * * *
Here are two duplicate software
[Root@gfs_server php-5.2.13]# Rpm-qa | grep jpegLibjpeg-6b-33Libjpeg-6b-33Libjpeg-devel-6b-33
32-and 64-bit, all loaded.
Configure:error:Cannot Find LDAP Libraries In/
Article Source: http://blog.csdn.net/osoon/archive/2010/04/25/5526455.aspx
The Usr/bin/ld:cannot find-lxxx error that usually occurs during software compilation is mainly due to the fact that the library file is not in the imported LD retrieval directory .
How to resolve:
1. Verify that the library file exists, such as-l123, in/usr/lib,/usr/local/lib, or oth
An error occurred while compiling PHP5.2.6 on 64-bit Red Hat Enterprise Linux AS release 4.7. mysql was installed using RPM. The PHP compilation code is AS follows:
. /Configure -- prefix =/usr/local/php -- with-mysql -- with-apxs2 =/usr/local/apache/bin/apxs -- with-openssl -- with-curl -- enable-xml -- with-mcrypt -- with-ttf -- enable-magic-quotes -- enable-fastcgi -- enable-mbstring -- with-iconv -- ena
Linux/usr/bin/ldcannotfind solves the problem: when compiling an application or lib sourcecode in linux, the following error message is often displayed:/usr/bin/ld: cannotfind-lxxx, these messages will vary with the compilation of different types of sourcecode... linux/usr/bin/ld cannot find solves the problem: the following error message often appears when compi
Missing/usr/include and macusrinclude in Mac
After the Mac is upgraded to Yosemite, it suddenly finds that the prompt code of the YouCompleteMe check in vim is poor. After troubleshooting, it turns out that the/usr/include folder is missing, all C/C ++ header files are missing...
I found this problem for the first time. I don't know if/usr/include will be deleted
When compiling software such as log4cxx produced by Apache or Apache, the error "/usr/lib/libexpat. So: cocould not read symbols: file in wrong format" may be reported.
This problem occurs mainly because of the libexpat compatibility, especially for the 64bit servers. Currently, the new server uses 64-bit, but the default/usr/lib/library is 32-bit. The 64-bit library is in the/
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.