redhat

Driver Compilation Redhat

Hi, I'm totally new to compiling drivers for linux and I got some problems ! I'm trying to compile a driver for a usb device. Result: [thayoz@lacalpc13 linux]$ make for i in driver lib qrng ; do cd $i && (make all || exit ) && cd ..; done make[1]: Entering directory /home/thayoz/Desktop/untitled folder/Quantis-USB/src/linux/driver' ...

stat systecall in linux returning error

I am using RHEL 4 i am using syscall stat as follows:- if (stat ("file",&stat_obj)){ if (errno == ENOENT){ printf("File not found"); }else{ printf("Unexpected error occured %d ",errno); } } sometimes i get error message as ""Unexpected error occured 0" That means i get error as "0" . i checked file permissions that are...

What is the Maximum Java Heap Space for SuSE Linux

This question is related to Java Refuses To Start - Could Not Resrve Enough Space for Object Heap and should be easy enough to figure out. However; my searches haven't yielded anything useful. Essentially we have 2 32 bit OS's (RedHat & SuSE) on different machines with the same hardware. Both use the same JVM both executing the same c...

Is it OK to use Ruby 1.8.5?

I'm setting up a new RedHat Enterprise Linux 5 system to host Ruby apps running under Apache with Phusion Passenger. I've updated all the local packages on the system. Here is what RedHat is giving me for Ruby: $ ruby -v ruby 1.8.5 (2006-08-25) [i386-linux] That's pretty old. Is it better to use what RedHat provides or install a newer...

install svn on redhat

how do I install svn on a Redhat machine? tried to do it with yum install svn - but it didn't find svn. my machine details is Red Hat Enterprise Linux Server release 5.2 (Tikanga) found it with this command /etc/redhat-release thanks ...

Starting synergy automatically on RHEL/CentOS

I have a Red Had Enterprise Linux 5 and a CentOS 5 box, both of which I am trying to configure to automatically connect to a synergy server on startup. I have followed the guide at http://synergy2.sourceforge.net/autostart.html and configured them the same way I configured previous Ubuntu 7.10 boxes, and this only seems to get me half wa...

On Linux - set maximum open files to unlimited. Possible?

Is it possible to set the maximum number of open files to some "infinite" value or must it be a number? I had a requirement to set the descriptor limit for a daemon user to be "unlimited" and I'm trying to determine if that's possible or how to do it. I've seen some mailing lists refer to a "max" value that can be used (as in: "myuser h...

Linux redhat kernel-headers

I'm trying to compile a c programming package (thc-ipv6-0.7) on Linux Redhat 2.6.9-42.ELsmp and it's complaining that it can't find "linux/string.h". From google, I learned that this is part of the "kernel-headers" package. If I do "rpm -qa | grep kernel" It shows that "kernel-devel" is installed (which I think I need), but not "ker...

How to automatically run JBoss app on startup, using RedHat

Not too long ago, I installed a java web application on a Red Hat server running JBOSS. After a recent reboot, I realized that the site did not start up automatically when the machine was booted. Is there an easy way to ensure that this happens? There are shell scripts to start and stop the application, something like : /opt/myApp/St...

Red hat compatibility

The following code works as expected on CentOS and Ubuntu O/s but not on Red hat. What changes needs to be made? CentOS release 5.3 (Final) Linux ubuntu 2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008 i686 GNU/Linux #!/bin/bash depot=$1 table=$2 database=$3 combined="$depot$table" if [ "$table" = 'routes' -o "$table" = 'other_r...

SVN checkout fails saying URL is malformed

I am trying to checkout files using subversion on RedHat Linux but the checkout fails saying URL (http/https) is malformed or the scheme or host or path is missing. I am not sure now what more configuration/setup is needed? I am able to ping the http(s) site properly. Command: svn checkout --username kdeshpa https://teamforge.wal-mart...

Can someone help me install python purple in redhat?

I am completely 100% new to redhat. I have a little bit of experience with debian but I'm still relatively new. I'm trying to install python purple with no luck. Can anyone help me with it? I couldnt find libpurple-dev with yum... I did find libpurple-i386 ...

Ruby search path different on two boxes with same build of ruby ?

We have two servers with the same home-brewed RPM of ruby installed. One one server, the search path is different, and it fails the following snippet. #!/usr/bin/env ruby require 'openssl' require 'digest/md5' puts OpenSSL::Digest::MD5.new Broken server output: /tmp/test.rb /tmp/test.rb:6: uninitialized constant OpenSSL::Digest::MD5...

Scaling up from 1 Web Server + 1 DB Server

We are Web 2.0 company that built a hosted Content Management solution from the ground up using LAMP. In short, people log into our backend to manage their website content and then use our API to extract that content. This API gets plugged into templates that can be hosted anywhere on the interwebs. Scaling for us has progressed as foll...

Installing Directory Services on Red Hat Enterprise Linux 5.4

Is there a free alternative for setting up directory services on RHEL 5.4 without purchasing their 5000$ package? Is there an option for setting up network file systems? I'm currently investigating into the merits and demerits of installing Ubuntu Server Edition and Red Hat Enterprise Linux on our HP ProLiant Servers. RHEL has far more r...

Troubles with errno.h

I'm working with Rad Hat 8.0, trying to make changes to the kernel, and I'm at the compilation stage. I have a header in include/linux where I define wrapper functions, and they use errno. I included errno.h using #include <errno.h>. When I try to compile, it tells me "errno.h no such file or directory". When I try #include <linux/er...

RHEL5 Qt compiler/linker/qmake issues... advice?

I have about a few problems with a new install of the Qt SDK. I probably only need advice, but specific answers are also welcome. Before I begin a mini-story, I am running RHEL5 on academic license under VirtualBox on OSX 10.6. Using Qt version 4.5.3. This is my situation... 1.) I couldn't compile because g++ wasn't found. I fixed this ...

Determining the path that a yum package installed to

I've installed ffmpeg using yum under Redhat, and I'm having difficulty figuring out where (what path) it installed the package to. Is there an easy way of determining this without resorting to finding it myself manually? ...

Can I use a shared library compiled on Ubuntu on a Redhat Linux machine ?

I have compiled a shared library on my Ubuntu 9.10 desktop. I want to send the shared lib to a co-developer who has a Red Hat Enterprise 5 box. Can he use my shared lib on his machine? ...

Choosing Linux for open source development.

I work on Windows XP platform and use Aptana Studio, MySQL for PHP development. I want to know which Linux edition and flavor would be appropriate for my development purposes? ...