Tagged Questions

Red Hat is an open source technology solutions provider with offerings including Red Hat Enterprise Linux, open source applications, security and systems management, virtualization, Services Oriented Architecture (SOA) solutions, server and desktop operating systems, Java application software and ...

learn more… | top users | synonyms (1)

1
vote
1answer
947 views

Yum issues after upgrading MySQL from 5.0 to 5.5 on RHEL

I'm running RHEL 5.6 and trying to upgrade MySQL from 5.0 to 5.5. I ran sudo yum remove mysql* to remove all the existing MySQL-related packages. Then I installed MySQL 5.5 packages: $ sudo yum ...
0
votes
1answer
106 views

delete all files on all nodes on a RedHat cluster?

I am developing a program that runs on a cluster and writes a lot of short bits. First, it outputs to the node's scratch directory; when it is done, it rsyncs the files to a hard drive and then ...
0
votes
2answers
599 views

getting permission denied while creating rpm through rpm package manager on RHEL 5.3

I am trying to create rpm through rpm package manager. Following is my spec file: **# This is a spec file for openldappkg** %define _topdir /osp/rpmBuildOpenLdap %define name openldap %define ...
3
votes
3answers
658 views

Is there a way to build rpm's and deb's on the same system

I have a large Java enterprise application that is required to output rpm and deb packages. Currently this means that we build the application on two different boxes, one with CentOS and the other ...
0
votes
2answers
104 views

What is the difference between starting slapd through service and slapd command?

What is the difference between running slapd using service slapd start OR slapd ? How can I pass options to the service slapd start command, like slapd -h ldap:// -f salpd.conf? Thanks.
0
votes
4answers
355 views

How to know which berkley db openldap is refering to?

I have two berkeley dbs installed on the RHEL 5.3. Now, I am confused that which one openldap is referring as its backend. Following is the slapd.conf: include ...
0
votes
1answer
294 views

Creating a Sub-User for Main User | Linux | Permissions

I am trying to find out how to create ssh users that can work inside my sites directories but not have complete access except for the folders I specify. The only issue is that I need the sub-users ...
0
votes
1answer
635 views

Apache Settings | Optimization Advice

I was hoping to get some expert advice on the best settings for apache. Currently our site operates the following way. User Request the page with low resolution images. The page loads quickly and ...
0
votes
1answer
919 views

slapd not running

I am new to Red Hat Enterprise Linux 5.3(Tikanga) as well as to open ldap.As openldap comes by default with the red hat.So i have installed berkeley database db-5.3.15.tar.gz Version of already ...
1
vote
1answer
383 views

Does the server hostname need to match the domain name of the email address you are sending from? Does the hostname need to be verifiable with DNS?

I am trying to diagnose why email won't send from a new RHEL v5.8 server. Sendmail is up and running, but everything is stuck in the queue (confirmed with mailq) with connection timed out errors. If ...
2
votes
2answers
1k views

How can I configure permanent arp entries on Red Hat Enterprise Linux?

I'm configuring a Red Hat Linux server which will be sending UDP packets out but never receiving ARP responses. So a static ARP entry is required. The obvious way to do this is. arp -s 10.0.0.1 ...
3
votes
1answer
894 views

Will 'yum remove mysql-server' remove the databases as well?

I need to update RHEL 5.8 from MySQL 5.1 to the new MySQL 5.5. I have installed the REMI rpm, but I get a long list of package conflicts when trying to upgrade MySQL that way. I think I need to ...
1
vote
1answer
3k views

How to increase filesystem size in RHEL v5.8?

Below is the partial output from the df -h command. Notice /var is setup as its own filesystem but has reached 100% of its 2GB size. How can I increase the size of the /dev/mapper/rootVG-var file ...
1
vote
1answer
180 views

Alias Entry in /etc/passwd file

On my desktop machine, my account is david, but on my servers it's dweintra. This means whenever I use scp I have to do this: $ scp some.file dweintra@app05: and $ ssh dweinta@app05 I'd like to ...
3
votes
3answers
110 views

Local and remote servers with different Linux distros?

I'm running a remote web server on Red Hat Enterprise Linux and want to host a local server with a copy of my LAMP web applications for in-house development. Is there any reason that I would need to ...
0
votes
2answers
399 views

RedHat 5: HP Server ethtool not working

I am trying to check/change my network card speed settings with RedHat 5 and a Proliant G6 server from HP. On eth0 I can not really use ethtool - it just says Link detected. The network card is a ...
3
votes
2answers
188 views

Only a subset of groups available

I have installed RHEL 6.2 and configured for using LDAP with the setup utility and I can login. What is stange is that only three LDAP groups are recognized per user. It is different groups, even for ...
1
vote
4answers
2k views

Using /var or /srv for Apache data and logs?

I've always configured Apache like this: /etc/httpd/conf/httpd.conf (Main Apache config) <Directory /> Options None AllowOverride None Order deny,allow Deny from all ...
0
votes
3answers
261 views

Install Red Hat Enterprise Linux 5.5 on Proliant ML150 G2 server

I am investigating if I can install Red Hat Enterprise 5.5 on Proliant ML150 G2 server but I don't know if this configuration is possible. Is this configuration possible?
1
vote
1answer
372 views

What's preventing the Apache user making outbound connections?

curl http://example.com data retrieved ok sudo -u apache curl http://example.com 20 seconds later curl: (7) couldn't connect to host What would cause this, and how can I change it? I'm running ...
2
votes
2answers
156 views

Upgrade a legacy, expired RHEL 3.4.6 server to modern CentOS/Scientific Linux

I have a machine running a legacy J2EE app. The code is not Maven-ized and it works with pretty old Java and Postgres versions. I have converted it to a VM in ESXI and I'd like to try to upgrade it to ...
2
votes
1answer
968 views

HP ProLiant Support Pack (PSP) creates multiple grub entries

After installing HP's PSP 8.73 on RHEL5 with a G7 Blade, I end up with 4 grub entries 1 The Standard RHEL 2 HP (choosen as default) 3 HP hpahcisr 4 HP mptlinux I'm confused as to why I get all ...
1
vote
2answers
2k views

How do I make a privileged port non-privileged in Redhat 5?

So I have a RedHat 5 box that I'm wanting to run an application that I wrote that implements SLP. SLP uses port 427 for answering service queries. My understanding is that ports below 1024 are ...
4
votes
1answer
817 views

Interpreting Munin graphs showing available entropy and MySQL slow queries in sync

We're experiencing performance issues on our website, and after reviewing our munin graphs, the only metrics we've found in sync are Available entropy and MySQL slow queries, with the latter ...
2
votes
0answers
441 views

Setting priority to NICs for iSCSI initiator connectivity to EqualLogic SAN

So we purchased an Dell Equallogic 4100 SAN and I have the privilege of connecting our 2 RHEL 5.1 R3 Oracle Financial servers to it with Multipath. I have 3 NICs on the server: ETH0 = 60.60.60.88/24 ...
0
votes
1answer
789 views

Openoffice yum repo for RHEL 5?

We need to run Openoffice as a service so that unoconv can be used convert Word documents to PDF. Any yum repositories for Openoffice in RHEL 5 server ?
5
votes
1answer
683 views

does rsync's delta algorithm work on a samba share?

I have a cron job to use rsync to sync the data on a windows samba share (that i mount using /etc/fstab on boot). My problem is that the transfer seems to take almost as long as the initial transfer ...
2
votes
3answers
13k views

How do I check if a port is open on Red Hat Linux/CentOS

I've written a program that is suppose to implement SLP (rfc2608) and I'm having trouble testing it. I'm not sure if the port is closed or there is something out there dropping my multicast ...
3
votes
2answers
542 views

RHEL iSCSI on FreeNAS

I am able to mount a iSCSI SAN drive onto multiple RHEL Servers, but when I make changes to the files on SAN, they are not evident on the other servers sharing the same drive. Am I missing something? ...
0
votes
1answer
458 views

Routing table with two NIC adapters in libvirt/KVM

I created a virtual NAT network (192.168.100.0/24 network) in my libvirt and new guest with two interfaces - one in this network, one as bridged (10.34.1.0/24 network) to the local LAN. The reason for ...
-9
votes
2answers
152 views

How to time how long it takes to compile Red Hat from source? [closed]

I want to time how long it takes to compile the latest version of Red Hat Enterprise Linux 6. I have downloaded the SRPMs from the Red Hat's FTP server. How do I time how long it takes to compile ...
0
votes
1answer
184 views

ssh connectivity issue [closed]

I have a CentOS 5.5 server hosted in a remote data center. I usually access this server from a Red Hat Enterprise Linux 5 server using the ssh command. Now my organization has implemented a proxy ...
11
votes
2answers
5k views

Persistent ip rule on Linux (Redhat)

How can I configure a persistent ip rule on Linux (specifically Redhat based distros)? Is there no built in method? Is my only option adding to /etc/rc.d/rc.local or creating my own rc.d script? ...
2
votes
2answers
538 views

Why can't I run sudo -g?

$ sudo -u fish -g fish bash Sorry, user steve is not allowed to execute '/bin/bash' as fish:fish on myserver. $ sudo -u fish bash $ groups fish What's the -g option meant to be used for, and why I ...
0
votes
1answer
400 views

Timezone reset on Amazon AMI update

I have a server set up through Amazon AWS. It's Amazon's RHEL-based AMI. When I initially booted up the machine, I set the proper timezone by creating a symlink: ln -sf ...
2
votes
1answer
87 views

Migrating Oracle DB to another operating system from Red Hat Enterprise by using a disk image

I have a Red Hat Enterprise server disk image that Oracle DB is installed on it. My question is : Is it even possible to use this disk image in order to setup same DB on another Oracle supported ...
1
vote
2answers
7k views

NTP configuration not recognized?

I'm trying to configure NTP on my machine but it seems that the parameters I set are not being read by the system. Below is my /etc/ntp.conf file. (I applied the most basic configuration to eliminate ...
1
vote
1answer
3k views

How to build a driver disk for an anaconda install (CentOS 6)

I need to make a driver disk for anaconda. This disk would contain an updated module for the network card of a somewhat recent laptop and the goal is to get a network install of CentOS 6.2 working. I ...
0
votes
3answers
1k views

On linux how can make a list of files that are owned by a particular owner and then fix the group and owner?

I have a deep and complex file system where some files have been accidently written by root. I want to change the ownership of those files back to the original owner in one go. I am playing with ...
1
vote
1answer
376 views

Redhat Kernel patching advice

An audit has pointed out that a RHEL server I manage has not had the latest kernel patches applied. I'm confused about kernel patching and within RHEL in relation to RHEL dot releases i.e 5.2 , 5.3 ...
5
votes
3answers
4k views

“service”-command and environment variables

I am trying to start a service that requires a env. variable to be set to certain path. I set this variable in "/etc/profile.d/". However when I start this service using the service command, it ...
3
votes
1answer
609 views

Errno 14 HTTP Error 401: Authorization Required Yum

So I am having an issue with my own yum repo. Here is the setup: I have basic auth on apache running on a RHEL 6.2 machine on EC2. It holds the yum repo for both a RHEL 6 machine and a RHEL 5 machine ...
2
votes
2answers
2k views

P2V Wouldn't Boot, Rebuilt initrd, Need to Clean Up

We have a CentOS 5.4 server (build 2.6.18-164.el5xen). We went to P2V this server so we can have redundancy, the physical only has one PSU. The P2V only completed 99% of the way, we have a VMWare ...
1
vote
2answers
224 views

Find actual Centos6 path for %{_includedir} in spec file?

I am trying to find out which path actually resolves to %{_includedir} in a Centos6 installation. I understand that this is normally "/usr/include" but where can I find where it is actually set or ...
0
votes
2answers
4k views

RHEL server Yum dependencies not working

I have a redhat server that isnt resolving dependencies correctly. I want to install httpd via yum "yum install httpd" and it installs correctly, but when i go to start httpd I get the following ...
1
vote
3answers
256 views

root login via SSH still enabled after setting PermitRootLogin to 'no'

I'm trying to remove root access and password authentication over SSH to a RHEL server so that all users must access it using keys. So far the key access is set up and working, but I am unable to turn ...
0
votes
2answers
780 views

Advice on where to install Redis

I have just introduced Redis into our application and I am not sure where best to install in production. I read that the Windows option is not production quality so i need to install on Linux. I ...
0
votes
3answers
246 views

Cannot properly read files on the local server

I'm running a RedHat 6.2 Amazon EC2 instance using stock Apache and IUS PHP53u+MySQL (+mbstring, +mysqli, +mcrypt), and phpMyAdmin from git. All configuration is near-vanilla, assuming the described ...
1
vote
0answers
433 views

Kickstart PXE Boot Installation not working

I tried installing PXE Boot Installation Server on RHEL 6.0. I seem to have done everything according to the page: http://www.linux-sxs.org/internet_serving/pxeboot.html. In my case, the client ...
4
votes
2answers
3k views

How do I pass arguments from the PXE command line to a kickstart %pre, %post script?

Basically I want an ARGV like usage on the PXE command line, but I can't see any documentation to do this. basically I want to pass something like scientific-linux-6 HOSTNAME VLAN then in %pre hit ...