redhat

What are the packages in the default install of RHEL4?

What are the packages in the default install of RHEL4? Anyone got a list handy? With version numbers. I'm in, what I imagine is not an uncommon position where, as the developer, I'm expected to build in all the latest and greatest features using the latest and greatest releases; but the system administrators are in the position of trea...

glassfish starts only from the netbeans IDE and not from the command prompt

i have installed the netbeans version 6.8 with glassfish version 3 on a redhat machine. the thing is that when i try starting/stopping the glassfish via the netbeans, it works fine, BUT when i try starting the glassfish via: ./asadmin stop-domain domain1 i get the error "GlassFish requires Java SE version 6. Your JDK is version 4...

Redhat | Openssl installation error

make -f objs/Makefile make[1]: Entering directory `/root/fuse-ssh/nginx-0.7.65' cd /usr/bin/openssl \ && make clean \ && ./config --prefix=/usr/bin/openssl/.openssl no-shared no-threads \ && make \ && make install /bin/sh: line 0: cd: /usr/bin/openssl: Not a directory make[1]: *** [/usr/bin/openssl/.open...

Open source licensing and the Red Hat business model

How can licenses be applied to have two parallel versions of software, one freely available and another commercial, like Red Hat has done with it's version of Linux? Also, can snippets of code be freely ported from one to the other or must it be designed separately? ...

Redhat | How to compile Python 2.6 for 64bit

I'm trying to compile Python 2.6 for 64bit, I tried various compile commands but not sure whether those are correct ./configure --with-universal-archs=32-bit --prefix="$HOME/python" make make install What is the correct syntax ... ? ...

Can I use a serial port as TCP/IP interface on Red Hat Linux?

Background We want to run an FTP server on a Red Hat Enterprise OS. The problem is, the machine we have does not have an Ethernet port/interface (please don't ask why; it's just a project requirement). We only have a serial port. Question Is there COTS / open source software that I can use to make serial port "look" like a an Etherne...

How do I build git on Red Hat Enterprise Linux 3?

When you try to build git v1.7.0.6 on Red Hat Enterprise Linux 3, you get an error: In file included from /usr/include/openssl/ssl.h:179, from git-compat-util.h:139, from builtin.h:4, from fast-import.c:147: /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory I have the answer to...

How to set the rpmbuild destination folder

I noticed rpmbuild (-bb and --buildroot options) creates the .rpm in different locations depending of what OS are you using: GNU/Linux Ubuntu <= 9.04: /usr/src/rpm/... GNU/Linux Ubuntu >= 9.10: /home/rpmbuild/... GNU/Linux Fedora: /usr/src/redhat/... So how can I set manually the destination folder for all OS? ...

How do make dependency generation work for C? (Also..decode this sed/make statement!)

Hi all. I have a make build system that I am trying to decipher that someone else wrote. I am getting an error when I run it on a redhat system, but not when I run it on my solaris system. The versions of gmake are the same major revision (one off on minor revision). This is for building a C project, and the make system has a global Mak...

Changing default compiler in Linux, using SCons

On my Linux platform, I have several versions of gcc. Under usr/bin I have: gcc34 gcc44 gcc Here are some outputs: $ gcc --version gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48) $ gcc44 --version gcc44 (GCC) 4.4.0 20090514 (Red Hat 4.4.0-6) I need to use the 4.4 version of gcc however the default seems to the 4.1 one. I there a wa...

migrating Solaris to RH: network latency issue, tcp window size & other tcp parameters

Hello I have a client/server app (Java) that I'm migrating from Solaris to RH Linux. since I started running it in RH, I noticed some issues related to latency. I managed to isolate the problem that looks like this: client sends 5 messages (32 bytes each) in a row (same application timestamp) to the server. server echos messages. clie...

Linux per-process resource limits - a deep Red Hat Mystery

I have my own multithreaded C program which scales in speed smoothly with the number of CPU cores.. I can run it with 1, 2, 3, etc threads and get linear speedup.. up to about 5.5x speed on a 6-core CPU on a Ubuntu Linux box. I had an opportunity to run the program on a very high end Sunfire x4450 with 4 quad-core Xeon processors, runni...

How do I change the default application for a PDF?

I'm running Redhat 5 Enterprise (Nautilus 2.16.2) with Gnome and am having trouble changing the default application for PDFs. No matter what I do, it seems to always come up as evince. First I tried browsing to a PDF file using Nautilus, right clicking on a PDF file, selecting properties, open with, and then changing the radio button. H...

Problem with uploading files on root linux server

I have a plesk panel and root dedicated server on 1and1. I'm using custom programed php script to upload the files and create the folders to server. I have the upload folder named upload_data_folder with the 777 permission. The scenario is the following: I want to create folder in my upload_data_folder and than upload files in that newl...

Kernel Panic When Booting in RedHat Linux under VMWare Fusion : Filesystem Not Found

This should be simple. Yet, it's giving me Hell. Problem I have compiled the latest kernel and when I reboot my box, it generates a kernel panic related to the filesystem. Question How do I get the new kernel to recognize the VMWare filesystem? There must be some setting somewhere that lets the Linux installation know that the "hard ...

Find out what is in a YUM Group (Red Hat)

Hi: When I run 'yum grouplist' in Red Hat - I received the following under the 'Available Groups' list. How do I find out what packages are in a group (e.g 'Development Tools')? I would like to install specific packages and not a whole group (especially if I am not sure what is in the group). Thanks. yum grouplist Available Grou...

How to add Red Hat Supplementary Channel?

Hi: Instruction to install Sun JDK in Red Hat Linux: https://wiki.jasig.org/display/CASUM/HOWTO+Switch+to+Sun+JVM+in+RHEL The above instructions asks to 'Subscribe your system to the 'supplementary' channel in Red Hat Network' - how can this be added via the command line? Thanks. ...

cron : how to schedule to run first Sunday of every month

Hi I need to schedule a cron job to run at at 9:00 AM on first Sunday of every month. Did a little research and see that there is no short hand in cron to this. Do you know of an optimal way ? Using Bash+RHL ...

Weird JVM Crashing Issue with CF 9 on RedHat Enterprise Linux

We're currently running ColdFusion 9 on a RedHat Enterprise Linux server and have found that, under certain circumstances, the JVM is crashing causing the CF server to be completely useless and requiring a full server restart. The only error that's being returned by the CF app just prior to the JVM completing its death spiral is a java....

How to keep one of my application windows on top of the other windows of the same application?

I have a Motif-based notepad-like legacy application. I would like the modeless "Find/Replace" dialog (which is a Motif TopLevelShell) to always stay on top of the other windows of my application, but not on top of other applications. I don't see any Motif-specific setting to do this. KDE allows me to set window-specific behavior, but ...