Red Hat

Support issues pertaining to Red Hat.

Active Directory Samba with Windbind

This simple guide is a mostly accurate way to set up a Samba machine as a domain member in a MicrosoftWindows 2000 or Windows 2003 ActiveDirectory domain. For a REALLY short version, tested with Win2k3, see the Quick 'n' Dirty instructions at the bottom of the page.

Samba as an Active Directory Domain Member

The following setup is used:

Setting Up Your Printer

Because Linux is a multi-user, multi-tasking operating system, it can handle a variety of printing jobs at once. You could have multiple users on the system, all of whom want to send their work to a printer. Linux dutifully handles these requests by spooling them -- storing and printing the files in the order in which they were received.

Redhat - Php build fails with php 5.2.6 - collect2: ld returned 1 exit status

When building php 5.2.6 if you encounter the following error during the make process:

gcc -o mkfs.jffs2 crc32.o compr_rtime.o mkfs.jffs2.o compr_zlib.o compr.o -lz 

collect2: ld returned 1 exit status

Then you will need to edit the file '/usr/bin/mysql_config' and change the following lines:

iScsi setup on Redhat Enterprise 3/4

After proper configuration, iSCSI-based storage will appear as a standard SCSI disk on a Red Hat Enterprise Linux 3 or 4 system.

Initiator configuration, Part 1

In iSCSI parlance, the device where data is stored is called the target. This is usually a SAN or NAS device like an EMC Clariion, Hitachi TagmaStore, IBM System Storage or NetApp Filer. The program or device on the server that handles communication with the iSCSI target is called the initiator. Red Hat ships a software-based initiator with RHEL.

Installation of Zend optimizer gives errors in logfiles, and phpinfo only shows the Zend engine to be installed.

If the situation in the subject applies to you, then you most likely have an selinux problem!

You can verify this by checking /var/log/messages for output like:
avc: denied { unlink } for pid=29435 comm="httpd"

 

You should be able to get the appropriate rules from your error logs by using the following command:

~# audit2allow -i /var/log/messages -l

 

Chances are, if you are getting selinux errors, then your sources are not installed:

Red Hat - Up2date And Unknow Version Of Red Hat

If you run into this error check to see if the RPM 'redhat-release' is installed:

# rpm -q redhat-release
package redhat-release is not installed

To correct this issue you can use the following steps:

cd /var/spool/up2date rpm -Uvh redhat-release-3ES-13.5.1.i386.rpm

Take note that each day that passes a newer release for redhat could be released. So you might not want to update to this *exact* release.

Red Hat - Mounting CIFS Filesystems

Using /etc/fstab

By creating entries in /etc/fstab you can mount CIFS filesystems automatically at boot time, or mount multiple CIFS file systems on one or more CIFS Servers, with a single command entered manually.

Red Hat - Adding Ips

A range of IPs on any RedHat based system (Rhel, Centos, Fedora, etc).

When you have to add many IPs to a system this can be quite handy and save a lot of time.
Normally when you add a new IP to a network interface in a RedHat based system you create a file ifcfg-eth0:x in /etc/sysconfig/network-scripts/. For example:

Red Hat - Permanent Hostname Change

RedHat based system use the file /etc/sysconfig/network to read the saved hostname at system boot. This is set using the init script /etc/rc.d/rc.sysinit

/etc/sysconfig/network
NETWORKING=yes
HOSTNAME=”plain.domainname.com”
GATEWAY=”192.168.0.1″
GATEWAYDEV=”eth0″
FORWARD_IPV4=”yes”

So in order to preserve your change on system reboot edit this file and enter the appropriate name using the HOSTNAME variable.

Up2date And 'xmlrpclib.Fault' Error

When up2date encounters an issue where and cannot manually boostrap a system to the RHN satellites using any of the bootstrap bash shell scripts you can try the following to correct the issue.

The error encountered follows :

REGISTRATION
------------
* registering
An error has occurred:
xmlrpclib.Fault

Syndicate content