centos5

Setting up Dual Heads on CentOS 5

I asked a question a while ago about learning to use Linux, and since then I've installed CentOS 5 on a local machine to match my host. Installation was fine, and I'm up and running, but I can't setup it up to use 2 monitors (Dual Heads) and I just can't cope without 2 monitors. So is anyone using CentOS with 2 monitors? And if so HOW?...

Managing Consistant Mounting of External USB Hard Drives in Linux (Centos 5)

I have configured a server with Centos 5.2, and am now working out a backup strategy. I plan on using Amanda as the backup application. Additionally, I am leaning towards using some USB hard drives for backup storage. I will be swapping out one of the Hard Drives each week for an offsite back-up. Does anyone know whether it is possibl...

How do I Upgrade to Subversion 1.5 On CentOS 5?

My development server (CentOS 5) is running Subversion 1.4.2, and I wish to upgrade it to 1.5. I have read in various blogs and documents scattered around the web that this may be done by using RPMForge. I have followed the instructions found on CentOS Wiki, including installing yum-priorities and setting my priorities as indicated (1 ...

mod_python on CentOS under httpd and hsphere

I have asked our hosting provider to add mod_python to our httpd server. The server appears to be in an hsphere cluster and they appear to use yum to administer it. He is reporting some dependencies missing and I do't quite understand how that could have come about. versions (this is as much as I have been given): CentOS 5 apache - 2 ...

Error java.lang.NoClassDefFoundError on org.springframework.webflow.util.RandomGuid

Hi, I am sorry, my question is stupid, but I am not able to answer it, as a java illiterate. I run a tomcat (5) on CentOS5 (for a CAS server), and when I try to open this URL http://192.168.1.17:8080/cas-server-webapp-3.3.1/login I get this error : first error: java.lang.NoClassDefFoundError: Could not initialize class org.springfram...

Apache w/mod_rails segmentation fault

I am running Redmine on Apache 2 with mod_rails (passenger) 2.0.3 and Enterprise Ruby 1.8.6. Every so often I get a segfault from Apache when I try to login. Anyone know how I can debug this issue? I see something like this in Apache's error.log: [Mon Jan 19 17:09:48 2009] [notice] child pid 8714 exit signal Segmentation fault (11) The...

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...

Aptana install problem with Linux (CentsOS 5)

After I installed Aptana (install directory: /usr/share/aptana ) I keep getting errors like this: An SWT Error has occurred, you are recommended to exit the workbench. Subsequent errors may happen and terminate the workbench without warning. See the .log file for more details. looking in the logs I see this: !MESSAG...

Xen: can't connect to hotplug

Hello, Basically i am trying to boot a domu of my own design. The Minios solo image works fine, as does mine, but when trying to add networking values the error: Error: Device 0 (vif) could not be connected. Hotplug scripts not working. The fixes for including the bash script header didn't work as they were already there. Thanks : cen...

Problem installing RMagick rubygem on Centos 5

I'm having problems installing the RMagick rubygem on Centos 5. I've followed the steps detailed in http://rmagick.rubyforge.org/install2-linux.html but when I try: sudo gem install rmagick the result is: Building native extensions. This could take a while... ERROR: Error installing rmagick: ERROR: Failed to build gem native ex...

Resolving missing dependency libexif.so.9 while trying to Yum install Mono on CentOS 5.3.3

Hey guys, I'm trying to install Mono on CentOS 5.3.3 through Yum. According to the instructions I found elsewhere I grabbed a copy of mono.repo from the Mono site and placed it in the /etc/yum.repos.d directory. The file looks like this: [mono] name=Mono for rhel-4-i386 (stable) baseurl=http://ftp.novell.com/pub/mono/download-sta...

Apache virtualhosts and default server not working as expected (serving incorrect content)

Hello I've been playing around with this for a couple of hours and have come to the conclusion that asking someone is probably the best way forwards! I have a fairly out-of-the-box apache install (I've added mod_security and mod_python) so not touched /etc/httpd/conf/httpd.conf I have a number of domains all running as 's and each wit...

Apache Mina Server Restart java.net.BindException: Address already in use

Hello, I have a rather annoying problem in my server application. I bind Apache Mina with the following code: acceptor.bind(new InetSocketAddress(PORT)); Where acceptor is an NioSocketAcceptor. Over a HTTP interface I can shutdown the server so I can restart it. Server.ioAcceptor.unbind(new InetSocketAddress(Server.PORT)); f...

Trying to get django app to work with mod_wsgi on CentOS 5

I'm running CentOS 5, and am trying to get a django application working with mod_wsgi. I'm using .wsgi settings I got working on Ubuntu. I'm also using an alternate installation of python (/opt/python2.6/) since my django application needs >2.5 and the OS uses 2.3 Here is the error: [Thu Mar 04 10:52:15 2010] [error] [client 10.1.0.251...

Compile subversion on CentOs

I have downloaded, compiled and installed so far: apr-1.3.9 apr-util-1.3.9 sqlite-3.6.23 zlib-1.2.4 libtool-2.2.6b Now after downloading subversion-1.6.9, the config works fine but compiling it will end with the following error: cd subversion/svn && /bin/sh /root/subversion-1.6.9/libtool --tag=CC --silent --mode=link gcc -g -O2 -g -O...

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

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) ...

Having problems building OpenCV 2.0 on CentOS 5?

Hi all! I'd been trying to install OpenCV library to my centos system however when i type make and hit enter after configuring with cmake, i get the following error: [100%] Building CXX object tests/cv/CMakeFiles/cvtest.dir/src/amoments.o [100%] Building CXX object tests/cv/CMakeFiles/cvtest.dir/src/affine3d_estimator.o [100%] Building...

Problem compiling mod_wsgi for python2.6 on Cent OS 5.3

I am running a website on CentOS 5.3. I understand centos will break if the default python 2.4 is upgraded. I followed this site (http://www.question-defense.com/2009/12/25/how-to-install-python-2-6-on-centos-5-without-breaking-yum) and got python 2.6 installed. Now if I run "python" it runs python2.4 and if I run "python26" it runs pyt...

Login screen delay in CentOS 5.4 x64

I was happily running my CentOS 5.4 before something bad happened that somehow corrupted the 'nautilus' package. It stopped me from using the default Gnome Desktop. Then I installed (using yum) the KDE and nautilus later on. Now, KDE is running perfectly with one exception that it takes around 10 minutes before showing up the Login Scre...

yui-compressor works on one server, not on another?

I'm using YUI compressor jar file to merge and minify a number of JS and CSS files. This works great on my mac, and on my CentOS 5 server. Now I bought another CentOS VPS and the same script is not working on that pc. The minification gets done, but my minified javascript starts throwing errors. When compressing the same files with the...