centos5

RabbitMQ install issue on Centos 5.5

情到浓时终转凉″ 提交于 2019-11-29 13:44:05
问题 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.

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

两盒软妹~` 提交于 2019-11-29 07:06:09
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) 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-centos-5-5/ I followed some of the steps out of order because I was a little antsy and got some interesting error

SET GLOBAL max_allowed_packet doesn't work

浪尽此生 提交于 2019-11-28 21:43:22
问题 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? 回答1: Hmmmm.. You have hit this NOT-A-BUG it seems. :) If you

ImportError: No module named psycopg2

情到浓时终转凉″ 提交于 2019-11-28 20:02:46
When installing process of OpenERP 6, I want to generate a config file with this command, cd /home/openerp/openerp-server/bin/ ./openerp-server.py -s --stop-after-init -c /home/openerp/openerp-server.cfg But it was always showed a message ImportError: No module named psycopg2 When I check for psycopg2 package, it's already installed, Package python-psycopg2-2.4.5-1.rhel5.x86_64 already installed and latest version Nothing to do What's wrong with this? My server is CentOS, I've installed python 2.6.7. Tarique Step 1: Install the dependencies sudo apt-get install build-dep python-psycopg2 Step 2

nohup:ignoring input and appending output to 'nohup.out'

落爺英雄遲暮 提交于 2019-11-28 19:06:35
I want to start my server through nohup.php but the command is not running and displays following error nohup:ignoring input and appending output to 'nohup.out' I am using ssh through putty, this is what i am doing nohup php server1.php lpaseen That's not an error - it's normal behavior. It just informs you that once started the in/output is removed from your console. To avoid the message you need to start it like nohup php server1.php </dev/null &>/dev/null & 来源: https://stackoverflow.com/questions/24646320/nohupignoring-input-and-appending-output-to-nohup-out

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

血红的双手。 提交于 2019-11-27 14:41:17
问题 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

nohup:ignoring input and appending output to 'nohup.out'

泪湿孤枕 提交于 2019-11-27 11:28:08
问题 I want to start my server through nohup.php but the command is not running and displays following error nohup:ignoring input and appending output to 'nohup.out' I am using ssh through putty, this is what i am doing nohup php server1.php 回答1: That's not an error - it's normal behavior. It just informs you that once started the in/output is removed from your console. To avoid the message you need to start it like nohup php server1.php </dev/null &>/dev/null & 来源: https://stackoverflow.com

How can git be installed on CENTOS 5.5?

你离开我真会死。 提交于 2019-11-27 10:27:15
How can I install git on CENTOS 5.5 machine? I tried to install it from yum but got following msg. root@host [~]# sudo yum install git Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: centos.mirrors.tds.net * base: mirror.ubiquityservers.com * extras: mirrors.serveraxis.net * updates: pubmirrors.reflected.net addons | 951 B 00:00 base | 2.1 kB 00:00 extras | 2.1 kB 00:00 updates | 1.9 kB 00:00 Excluding Packages in global exclude list Finished Setting up Install Process No package git available. Nothing to do root@host [~]# From source? From the repos? The

How can git be installed on CENTOS 5.5?

孤街醉人 提交于 2019-11-26 15:11:14
问题 How can I install git on CENTOS 5.5 machine? I tried to install it from yum but got following msg. root@host [~]# sudo yum install git Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: centos.mirrors.tds.net * base: mirror.ubiquityservers.com * extras: mirrors.serveraxis.net * updates: pubmirrors.reflected.net addons | 951 B 00:00 base | 2.1 kB 00:00 extras | 2.1 kB 00:00 updates | 1.9 kB 00:00 Excluding Packages in global exclude list Finished Setting up