centos

Apache and mod_mono not playing well together

I'm trying to get Mono to work on CentOS 5, however haven't had much success so far. This is what I did: > yum install mono-web > yum install xsp > yum install mod_mono > echo ":CLR:M::MZ::/usr/bin/mono:" > /proc/sys/fs/binfmt_misc/register Ensured that the following line is present in /etc/httpd/conf/httpd.conf: Include conf.d/*.con...

Creating a Mono binary install package for CentOS 5.2

Hi, All I'm new to Linux but have to port a asp.net app to Linux platform. (CentOS 5.2) I downloaded the mono source files and manually build them on my dev box, because there's no aviable Binary package for CentOS 5.2 (almost the same as RedHat), the app works well on the dev box. The next step is to setup the production server, whic...

Django on CentOS

I'm looking to use Django on a shared host that's running an unknown version of CentOS. My main problem is trying to interface with a database. The server has MySQL installed, but not MySQL-python. I initially thought of suggesting running "yum install MySQL-python", but apparently the version of MySQL-python that's in the default reposi...

AttributeError: xmlNode instance has no attribute 'isCountNode'

I'm using libxml2 in a Python app I'm writing, and am trying to run some test code to parse an XML file. The program downloads an XML file from the internet and parses it. However, I have run into a problem. With the following code: xmldoc = libxml2.parseDoc(gfile_content) droot = xmldoc.children # Get document root dchild = d...

Using CentOS repository on a Redhat Installation

Does a Redhat installation support CentOS repository e.g I install Redhat and in the yum repositories I define it to use CentOS's repository? ...

Is it safe to allocate logical CPUs to a VM after creation

We're going to be serving our portal software on a virtual machine running Centos 5.2 on VMWare ESXi. We're initially going to allocate two logical CPUs but there's a possibility that we might want to add an additional two some time in the future. We don't want to allocate all resources at this time because a few VMs are fighting for sp...

Is It Safe to Reformat 2 Harddisks (Configured as RAID1) Without Removing the RAID First?

Hi. My server runs CentOS 5.3 with 2 harddisks. The harddisks were configured as RAID 1 (software-based RAID). The operating system also use the RAID. I would like to reinstall the server. I don't mind loosing the data. I already backup the data elsewhere. Do I have to remove the partition first? Or can I just reinstall the CentOS and...

Why are lowercase characters in CentOS rendering as blocks?

Hi there, I've been checking up on who's been signing up for one of my websites by using the brute-force SELECT * FROM tblUsers; I hash user passwords, so they don't render as cleartext, and I noticed a strange artifact upon the display of one of them. It's difficult to explain in words, so here's the text of a recent session: mysql> ...

HTTPSConnection module missing in Python 2.6 on CentOS 5.2

Hi guys, I'm playing around with a Python application on CentOS 5.2. It uses the Boto module to communicate with Amazon Web Services, which requires communication through a HTTPS connection. When I try running my application I get an error regarding HTTPSConnection being missing: "AttributeError: 'module' object has no attribute 'HTTPS...

PECL install fails

Hey! I have browsed every Google result, read all the forum posts about this error, but I cannot solve it. When using PECL install for anything, I always end up getting this error: checking whether the C compiler works... configure: error: cannot run C compiled programs. Everything else succeeds up to that point them bam! I'm using...

Tail multiple files in CentOS

I want to tail multiple files (and follow them) in CentOS, I've tried this: tail -f file1 file2 file3 but the output is very unfriendly I've also had a look at multitail but can't find a CentOS version. What other choices do I have? ...

ColdFusion 8 as WAR on JBoss 4.2.3 WEB-INF/flex-config.xml error

I have done this by the book multiple times and have also tried using someone else's WAR to deploy, but I keep getting the same error. I am running JBoss 4.2.3 and have tried this on multiple installations (of 4.2.3) I have verified that the supposed missing file file exists. 1.) 19:19:15,853 INFO [ContextLoader] Root WebApplicationCon...

Using Active Record to connect to MS SQL Server 2005 on centos

I found some instructions for setting getting Rails to connect to MS SQL Server on Ubuntu here: http://stackoverflow.com/questions/721960/connecting-to-mssql-with-activerecord What RPMS would you need to get this to work on CentOS 5.3? ...

How does one easily add posix support to PHP using yum?

I am running CentOS 5.2 and using yum to manage packages. I have had little luck installing php-posix but know with almost 100% certitude that it is a real and available package...somewhere. Has anyone had luck installing it? FWIW, I am using the following: sudo yum install -y php-posix Update: I've realized that this may be an issue ...

Ubuntu Linux and Crossroads loadbalancer not quite working.

Hi Everyone, after some advice regarding a problem i am getting using a linux based piece of software to balance traffic between two servers. Basically we have our production website and a backup system (at remote site). the production is being mirrored to the backup constantly to keep them synced. our domain name points at a Linux Ubun...

MySQL Can't create a new thread (errno 12)

I'm runnning MySQL 5.0.45/ PHP Version 5.2.6 / CentOS with Plesk. I get occasionaly a burst of "Can't create a new thread (errno 12); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug" Global memory is not the issue since I have about 620M free. Anyone know what could be the cause for t...

How do I convert a wav file to mp3 format using sox?

When I run sox directly from the command line as ; sox -r 8000 -c 1 <wavfilename> <mp3filename> I get the following error message: sox: Unknown output file format for '747a.mp3': File type 'mp3' is not known My machine is running the CentOS operating system. ...

cakephp & nginx rewrite rules

Hi somebody please help me out, I’m trying to setup a cakephp environment on a Centos server running Nginx with Fact CGI. I already have a wordpress site running on the server and a phpmyadmin site so I have PHP configured correctly. My problem is that I cannot get the rewrite rules setup correct in my vhost so that cake renders pages ...

Why can't I send email using Perl CGI script on CentOS?

I'm using this CGI script. CGI is working, but I cannot sent emails from this form in CentOS. Please help me? Do I have to set-up anything for it? or MTA? ...

Concurrent Net::HTTP.get to same domain

As part of my Ruby on Rails application, I need to perform several (a few dozen) web requests to a foreign web server -- all on the same domain. I am aware of the two requests per domain throttle on Windows and know how to adjust that, but this application is running on CentOS and I was not expecting to run into this same issue, but I se...