centos5

pcre error “undefined symbol: _ZN7pcrecpp2RE6no_argE”

纵然是瞬间 提交于 2019-12-11 09:36:22
问题 I'm getting the following error: ./pcrecpp: symbol lookup error: ./pcrecpp: undefined symbol: _ZN7pcrecpp2RE6no_argE when run my program on CentOS 5.4. But it works well on CentOS 6.2. The version of pcre is 8.31, and the version of pcre++ is 0.9.5. Below is the source code. Thanks for any guidance. #include <iostream> #include <pcrecpp.h> int main(int argc, char ** argv) { if (argc != 3) { std::cerr << "Usage: " << argv[0] << " pattern text\n"; return 1; } pcrecpp::RE oPattern(argv[1]); if

pymongo installed but import fails

此生再无相见时 提交于 2019-12-11 08:25:38
问题 CentOS 5.8 ships with Python 2.4.3. I installed pymongo using command: sudo pip install pymongo (after installing pip with easy_install after installing python-pip...typical CentOS, nothing works out of the box). The install appears to work, I get the messages: Successfully installed pymongo Cleaning up... Then, when I run import pymongo, I get this: ImportError: No module named pymongo I followed the standard pymongo install procedure so pymongo definitely doesn't work on CentOS. Anybody

determine vm size of process killed by oom-killer

心不动则不痛 提交于 2019-12-11 02:01:03
问题 Is there any way to determine the Virtual Memory Size of the process at the time it is killed by linux oom-killer . I can't find any parameter in file /var/log/messages , which may tell me the total VM size of the process being killed. There is lots of other information available in /var/log/messages, but not the total VM size of the process. This is a centos 5.7 x64 machine. Following are the contents of /var/log/messages : Mar 1 18:51:45 c42 kernel: NameService invoked oom-killer: gfp_mask

php55w-mysql not listed in webtatic repo

99封情书 提交于 2019-12-11 00:36:32
问题 My server is Centos 5 I do the following instruction from Webtatic: https://webtatic.com/packages/php55/ CentOS/RHEL 5.x: rpm -Uvh http://mirror.webtatic.com/yum/el5/latest.rpm But when run this command for installing php55w-mysql ext for my current php55w, it shows this log: [root@centos ~]# yum install php55w-mysql --enablerepo=webtatic Loaded plugins: fastestmirror, replace Loading mirror speeds from cached hostfile * addons: centos-hn.viettelidc.com.vn * base: mirror.digistar.vn * extras:

Apache Command Line Not Functioning

↘锁芯ラ 提交于 2019-12-10 19:56:09
问题 Installed Apache Ver 2.2.3 on my vps with Centos 5.6 but when I try the a2dismod and a2enmod got Command not found error. What can I do to fix it? Thank you This is my first vps and this is also my first experience with linux and centos. The server is running fine just need to disable few modules. 回答1: On CentOS there are no a2enmod and a2dismod commands. To disable unneeded modules in Apache, you need to carry out steps as described at the lower end of – for instance – this post: http://www

APC (PHP Cache) Uptime 0 minutes, not caching

断了今生、忘了曾经 提交于 2019-12-10 16:14:37
问题 My goal is to implement APC for opcode cache for a drupal 6 production site. I have so far tested APC with several php files with and without including other php files with include_once. Also tried to tweak the apc.ini values for shm_size, apc.include_once_override and apc.stat. Restarted apache every time. Resulting in apc.php not showing any changes in any values. (except of course the changed apc.ini values are shown as they should) Every time i refresh the apc.php test page, the start

Libtool library used but `LIBTOOL' is undefined?

会有一股神秘感。 提交于 2019-12-05 20:20:07
问题 Im trying to install ffmpeg on my server. Im unsing centos 5. When I try to install libfdk_aac I get the following error ` autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing Makefile.am

GhostScript on CentOS 5.3 - Unable to process JPXDecode data

烈酒焚心 提交于 2019-12-05 09:09:36
I'm trying to get our server to convert PDFs to image files. It's a CentOS 5.3 system and the latest version of ghostscript that can be (8.70), has been installed. When I try to convert a PDF I get the following error repeated for each page, and the result is a load of blank images. **** ERROR: Unable to process JPXDecode data. Page will be missing data. So, I found an answer on here that seemed to answer that question: iText PDF; howto convert jpeg2000 to jpg using Java Following that I downloaded iText 5.3.4 and jai_imageio-1.1.jar and compiled the supplied script on my local machine. When I

Install node.js on PowerVPS

对着背影说爱祢 提交于 2019-12-04 15:08:29
I have one VPS from PowerVPS which has CentOS 5.5 (default configuration). I need to install Node.JS for an Ajax IM installation. Does anyone have any advice/information on how to install Node.JS on the machine? Rob Yates Although this is not "officially supported" (meaning support will help troubleshoot problems and such), this is pretty easy to do. Login to the server via SSH. Then run the following commands: cd /root wget http://nodejs.org/dist/v0.8.8/node-v0.8.8.tar.gz gunzip node-v0.8.8.tar.gz tar -xf node-v0.8.8.tar.gz cd node-v0.8.8 ./configure make make install After those commands are

Adding java_opts params in Tomcat 6

谁都会走 提交于 2019-12-04 14:43:01
问题 I have a requirement to add -DAPP_ENCRYPTION_PASSWORD in Tomcat to start an application. Can any one point exactly where to add this parameter? And how? 回答1: It all depends on how you plan to start Tomcat. Tomcat itself wants to be run a shell script that's typically located at $TOMCAT_HOME/bin/catalina.sh (there's an equivalent .bat file for windows). Inside of that file it describes what tomcat expects for an environment. If you want to get your -DAPP_ENCRYPTION_PASSWORD system property