redhat

What database tool to use on Linux to read an as/400 database?

From Linux (Red Hat dist), we need to read an AS400 database. We have the ODBC driver to connect, what's the best query tool? ...

Connecting to MS SQL Server from PHP on Linux

I need to connect to a MS SQL Server on Windows from PHP running on Red Hat Enterprise Linux 4. I have installed FreeTDS and I can connect to the database using the tsql command. My current PHP does not have the mssql functions/extension. My question is, how do I set up the mssql extension without rebuilding PHP? Is there a prebuilt pa...

XEN How to put virtual machines in a directory other than /etc/xen

On my CentOS 5.2 box the XEN virtual machine configuration files have to be located in /etc/xen to be started without specifying a path. I want to move my virtual machines into /etc/xen/vm to separate them from the configuration files of the xen server. Is there an easy way to change the default directory from /etc/xen to /etc/xen/vm ? ...

How can I tell if I'm running in a VMWARE virtual machine (from linux)?

I have a VMWARE ESX server. I have Redhat VMs running on that server. I need a way of programatically testing if I'm running in a VM. Ideally, I'd like to know how to do this from Perl. ...

How painful can a Linux to OpenSolaris migration be?

We have a business application that basically runs on an os-independent stack (tomcat+java+mysql) but we have always run it redhat or centos. There is a customer that is insisting to run it on opensolaris for his own reasons (an expensive everything-is-included support agreement with Sun). How painful can such a migration be? We have ...

Why does PostgreSQL run on Ubuntu after install without using initdb ?

I am curious as to why you don't have to use initdb as per the postgresql manual prior to running psql the first time? (I have installed version 8.3 on 8.04.1) Red Hat requires -c postgresql start but not init.db. However, on FreeBSD you have to run initdb. Why isn't setup consistent? Does it come down to a difference between apt-ge...

Multiple MySQL versions

We have a Linux server running Red Hat Enterprise 3 and MySQL 3.23. This server has a number of websites on it. We have a new website that we want to put on this server that uses MySQL 4/5. Is it possible to run the two versions of MySQL in parallel? If so, how? ...

Where are default LS_COLORS set in RHEL 5.x?

In a terminal in Red Hat Enterprise Linux 5.x, running: [$] Env returns (among other things): "LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33 . . ." Most of the content in LS_COLORS I find in the file: /etc/DIR_COLORS BUT the values "no=00:fi=00:di=01;34:ln=01;36:pi=40;33 etc.", I have no success finding, even after grepping t...

Php 5 on RedHat Enterprise Linux 5

By default, RHEL5.x64 comes with 5.1.6 - pretty old. I'm looking for a more up to date version, 5.2.8, or even the latest 5.2.9 (as of March 2009). Ideally, a Yum/RPM-based solution, for transparent upgrades (when I plan). How do you upgrade the default for an up-to-date version? ...

Virtual PC LAMP Server

I have a mirror of a RedHat6 LAMP server setup locally on my development machine (XP pro) for testing. I am trying to configure it so I can connect to it. However I am having problems. I've given the image a static IP address of 192.168.1.5. The httpd service is running, and when in RH6 I can view the apache test page by visiting http:...

How to move all zones to a new Bind DNS Server

Existing Server = BIND version 9.1.3 new Server = BIND version 9.3.4 How can i move all zones records to new server? I tried moving them by coping the files and changing configuration file on new to match and it didn't work. Is there an smooth way to just transfer all zones to this new server? ...

Is Red Hat's JBOSS a fork of the code you get from JBOSS.org?

Does anyone know if Red Hat has forked the code you download from JBOSS.org? I'm guessing that the answer is "yes", but I'd like to confirm it. I can't pin it down at the Red Hat site, and jboss.org giving me an HTTP 502 right now for some reason. I know that Red Hat owns JBOSS. Does that mean that the code they sell in JBOSS Develo...

Problems returning values between my localhost & my domain

Hi I've got a confusing difference between my localhost (xampp windows) and my domain (FC7 linux). I have a page with a lot of database driven select lists. On update these values are passed to a page that updates databases and confirms this to the user. (I'm monitoring my db's directly and this is happening correctly) There's a menu ...

Is Redhat Linux server free?

Hi, I will maintain a C program which I was told it should only work on Redhat Linux. I want to setup a development environment for it but I'm wondering if Redhat Linux server is free? If it's not free, is there any other free Linux distros can relpace Redhat for me? ...

recommended reading for red hat enterprise 4

Hi I need to learn red hat enterprise 4 sharpish. I was wondering if you could recommend any good publications? thanks Giles ...

How do I clone an OpenLDAP database

I know this is more like a serverfault question than a stackoverflow question, but since serverfault isn't up yet, here I go: I'm supposed to move an application from one redhat server to another, and without very good knowledge of the internal workings of the application, how would I move the OpenLDAP database from the one machine to t...

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

Red Hat Enterprise 5 display mode detection issue

I have installed Red Hat on my HP 550 laptop and the display resolution does not fit my Laptop's display. My display works great with windows 7 and it is 1280 x 800 , once i enter in RedHat i see the screen like a box and does not fit the whole monitor of my laptop, I log in with root password and try to change X display settings but t...

"Internal dummy connection" in log, MaxClient reached, server crashes. Opinions?

I am trying to streamline a server of a clients. After downloading the access_log files, I noticed that there were an awful lot of entries that looked like: ::1 - - [11/May/2009:23:21:16 +0100] "GET / HTTP/1.0" 403 5043 "-" "Apache/2.2.3 (CentOS) (internal dummy connection)" I have also checked the httpd.conf file, and I have seen th...

Samba Error: "Incorrect Function"

I've been setting up a samba share on a Redhat box, and am able to connect to it from the local machine. From an XP machine however, I'm only able to successfully connect to the root of the share (e.g. "\machine"). Connecting to the actual shared folders (e.g. "\machine\share") generates an error. The full error message is: \machi...