centos5

Perl: V 5.8.8 : Can't locate auto/XML/LibXSLT/new.al on CentOS5/RHEL5

一笑奈何 提交于 2019-12-02 03:11:35
I am getting Can't locate auto/XML/LibXSLT/new.al error on my CentOS5 machine installed Perl 5.8.8 This issue is related with libxml2 and perl modules XML::LibXML, XML::LibXSLT . For both version in 1.70. Upon settling both modules, further I am getting error for Can't locate auto/XML/LibXSLT/new.al which seems to be a autoload function of LibXSLT , But surprisingly I am not finding any file as new.al . Here is the code snippet through which I am getting this error use XML::LibXML; use XML::LibXSLT; my $parser = XML::LibXML->new; my $xslt = XML::LibXSLT->new; Any Help would be appreciated. I

compiler error while installing rubygem 'mysql2' in Ruby 1.9.2 over CentOS 64-bit

二次信任 提交于 2019-12-01 11:30:35
a CentOS 64-bit Server with Ruby 1.8.7 & 1.9.2 {{no RVM, need it without RVM... currently all Ruby1.9.2 binaries are ruby19 and similarly accessible, so no mapping of gem-path or anything of that sort is there}} is giving error while installing gem 'mysql2' ... I have all dependencies installed and all are 64-bit versions ... All error are of kind {./client.h:13: error: redefinition of typedef ‘rb_unblock_function_t’} Could {#warning rubysig.h is obsolete} be a reason for this? Console Capture: #gem19 install mysql2 -v 0.2.7 -- --with-mysql-dir=/usr/bin --with-mysql-config=/usr/bin/mysql

compiler error while installing rubygem 'mysql2' in Ruby 1.9.2 over CentOS 64-bit

ⅰ亾dé卋堺 提交于 2019-12-01 09:59:22
问题 a CentOS 64-bit Server with Ruby 1.8.7 & 1.9.2 {{no RVM, need it without RVM... currently all Ruby1.9.2 binaries are ruby19 and similarly accessible, so no mapping of gem-path or anything of that sort is there}} is giving error while installing gem 'mysql2' ... I have all dependencies installed and all are 64-bit versions ... All error are of kind {./client.h:13: error: redefinition of typedef ‘rb_unblock_function_t’} Could {#warning rubysig.h is obsolete} be a reason for this? Console

gitolite setup getting FATAL: fingerprinting failed for '/tmp/Q3pnE4WVbu'

依然范特西╮ 提交于 2019-12-01 04:32:46
I am installing gitolite on a CentOS 5.9 server. I have created the git user, then after su - git I have managed to get my public key into the ~/.ssh/ directory, I have successfully cloned the gitolite repo from github and have run gitolite/install -ln . Next step is to run gitolite setup. git@hostname [~]# gitolite setup -pk $HOME/.ssh/micha.pub Initialized empty Git repository in /home/git/repositories/gitolite-admin.git/ Initialized empty Git repository in /home/git/repositories/testing.git/ FATAL: fingerprinting failed for '/tmp/Q3pnE4WVbu' Google search and a search here on SO have not

gitolite setup getting FATAL: fingerprinting failed for '/tmp/Q3pnE4WVbu'

匆匆过客 提交于 2019-12-01 01:14:20
问题 I am installing gitolite on a CentOS 5.9 server. I have created the git user, then after su - git I have managed to get my public key into the ~/.ssh/ directory, I have successfully cloned the gitolite repo from github and have run gitolite/install -ln . Next step is to run gitolite setup. git@hostname [~]# gitolite setup -pk $HOME/.ssh/micha.pub Initialized empty Git repository in /home/git/repositories/gitolite-admin.git/ Initialized empty Git repository in /home/git/repositories/testing

write to a file after piping output from tail -f through to grep

断了今生、忘了曾经 提交于 2019-11-30 17:00:42
问题 I'm looking to write to a file after piping output from tail -f through to grep. Say,write to a file "temp" for all lines with "Playing:" within in error_log "FreeSwitch.log". tail -f "/var/lof/freeswitch/freeswitch.log" | grep "Playing:" > temp but not working ! It is a centos 5.5 回答1: Maybe you have an issue with buffering? See BashFAQ: What is buffering? You could e.g. try: tail -f /var/lof/freeswitch/freeswitch.log | grep --line-buffered "Playing:" > temp 回答2: -f, --follow[={name

RabbitMQ install issue on Centos 5.5

廉价感情. 提交于 2019-11-30 08:52:41
I've been trying to get rabbitmq-server-2.4.0 up and running on Centos 5.5 on an Amazon AWS instance. My instance uses the following kernel: 2.6.18-xenU-ec2-v1.2 I've tried installation of erlang and rabbitmq-server using: 1) yum repos 2) direct rpm installation 3) compiling from source. In every case, I get the following message when attempting to start the RabbitMQ-Server process: pthread/ethr_event.c:98: Fatal error in wait__(): Function not implemented (38) Any help would be appreciated. brentiumbrent The problem When starting erlang, the message pthread/ethr_event.c:98: Fatal error in

How to install python2.6-devel package under CentOs 5

五迷三道 提交于 2019-11-30 08:38:56
问题 I need to install mysql-python under python2.6. mysql-python package needs python2.6-devel package that depends on the libpython2.6.so.1.0(64bit) I found on the net some python2.6-devel packages, but can't find libpython2.6 Server architecture is x86_64. Maybe someone have this lib, or know where i can find it. Thanks for help) 回答1: I have the same issue and this wonderful link solved it for me... http://blog.milford.io/2010/08/new-method-for-installing-python-2-6-4-with-mysql-python-on

error: command 'gcc' failed with exit status when installing psycopg2

对着背影说爱祢 提交于 2019-11-30 06:10:47
i need to install psycopg2 for openerp installation process, but i always found that error. i've already used pip and easy_install , my gcc is the latest version. Really need your help to solve my problem... this is my complete error with easy_install.. [root@server01 ~]# easy_install psycopg2 Searching for psycopg2 Reading http://pypi.python.org/simple/psycopg2/ Reading http://initd.org/psycopg/ Reading http://initd.org/projects/psycopg2 Best match: psycopg2 2.4.5 Downloading http://initd.org/psycopg/tarballs/PSYCOPG-2-4/psycopg2-2.4.5.tar.gz Processing psycopg2-2.4.5.tar.gz Running psycopg2

SET GLOBAL max_allowed_packet doesn't work

我的梦境 提交于 2019-11-30 00:04:42
I found out how to change the default value of max_allowed_packet in MySQL using SET GLOBAL . However, each time I used this command, the default value stayed untouched! I used these commands: mysql --user=root --password=mypass mysql> SET GLOBAL max_allowed_packet=32*1024*1024; Query OK, 0 rows affected (0.00 secs) mysql> SHOW VARIABLES max_allowed_packet; And then the result is max_allowed_packet = 1048576. What am I missing? Hmmmm.. You have hit this NOT-A-BUG it seems. :) If you change a global system variable, the value is remembered and used for new connections until the server restarts.