Questions about the OS, such as Red Hat Enterprise Linux, should use [rhel] or the like. Red Hat is the developer, the company itself.

learn more… | top users | synonyms

4
votes
0answers
312 views

How to configure linux to enforce new users to change their password on first login

I'm trying to configure users password policy on RHEL 6.6 and I want system to ask newly created users to change initial password on first login. Note, that I tried to set EXPIRE variable to 0 and ...
2
votes
0answers
1k views

libpng not found on pkg-config search path

When building cairo 1.2.6 from source I get the following error: checking for cairo's PNG backend... configure: WARNING: Could not find libpng in the pkg-config search path checking whether cairo's ...
2
votes
0answers
301 views

Error compiling and installing mcrypt from source

I'm hoping someone can help shed some light on my current issue. Scenario: Installing libmcrypt, mhash and mcrypt from source in order to compile PHP5.4 with the mcrypt extension enabled. OS: ...
2
votes
0answers
352 views

Centos/Redhat XSP4 daemon

How can I install xsp to run as a daemon.I run my /etc/init.d/xsp script(see below) it stops with status message : Listening on address: 0.0.0.0 Root directory: /var/www/asptest Listening on port: ...
2
votes
0answers
1k views

Unable to install synergy on red hat 5.4

I'm trying to install Synergy on Red Hat Linux 5.4 but I'm getting the below errors: rpm -ivh synergy-1.3.8-Linux-x86_64.rpm error: Failed dependencies: libstdc++.so.6(GLIBCXX_3.4.11)(64bit) is ...
2
votes
0answers
478 views

disable IPV6 on specific interface with redhat on vmware

I tried to disable IPv6 on specific interface using IPV6INIT=no on the interface script. its working great on all server accept ones that run on Vmware. any idea? im using redhat 5.2, on vmware ESX
1
vote
0answers
35 views

Shell Commands not working : REDHAT

I added some service to the startup script and then after reboot , i got this message- 24 package(s) needed for security, out of 52 available Run "sudo yum update" to apply all updates. -bash: id: ...
1
vote
0answers
24 views

boot.log created with permissions 644 instead of 600

My rsyslog.conf file has this line in it. #### GLOBAL DIRECTIVES #### $FileCreateMode 0600 Yet after every reboot the file permissions of /var/log/boot.log are still changed to 644. Every other ...
1
vote
0answers
15 views

RHEL 5 box constantly displaying NIC statistics on console screen, how can I disable this?

I have a RHEL 5 box that is constantly displaying nic statistics on the console screen when using the KVM. This makes it very hard to do any troubleshooting when the box goes down as these statistics ...
1
vote
0answers
99 views

Set up sftp mysql authentication with chroot

How do I set up an openssh SFTP server that authenticates against a MySQL table where the users are jailed? Each user will need to have its own jail: /home/sftp/john /home/sftp/jane etc.. However ...
1
vote
0answers
41 views

Root access permission in normal user directories?

Short story; I run a setup as root to install a program, which will create some files and directories in home folder of a normal user. The error is I don't have write permission to it. So I go to the ...
1
vote
0answers
28 views

CentOS 6 with User Permission (Read at message)

I have create users on CentOS 6 between test1 and test2 so I login on user test1 on ssh and i tried to access home dir of test2 so why it can access? how i can setting for other users can't access ...
1
vote
0answers
160 views

Ghostscript and JPEG2000 images

Using gs 8.71, RedHat I'm having trouble converting pdf files that have jpeg2000 images embedded within. Part of the coding is to reduce the pdf image by 10% using the -c <> setpagedevice ...
1
vote
0answers
23 views

How to add new 'From' email id each time sending email using PostFix server

I am new to PostFix and have setup PostFix as a server recently. In the testing, PostFix is working fine and relaying the emails with 'From' email address stored in the PostFix credentials files likes ...
1
vote
0answers
36 views

How to track a file from NFS in Linux is being locked?

I've some codes on a NFS which is shared with two load balancer servers. Sometimes the waiting time of a request is getting longer and I suspect the files may be getting locked with a request while ...
1
vote
0answers
137 views

Redhat user account password expiring after 15 days instead of 30

My user account on a Redhat 5.10 box is set to have my password be changed every 30 days however, it forces me to change the password every 15 days instead. I have confirmed the setting by doing ...
1
vote
0answers
115 views

declare -A on RHEL 5

I am using an associative array on my RHEL 6 servers and I just tested the script on a RHEL 5 server and apparently -A is not supported for the declare command on RHEL 5: declare -A var -bash: ...
1
vote
0answers
51 views

How can I verify on download that a site's SSL cert is for a host I trust?

Generally I want to be able to make an HTTPS connection to a site, and while negotiating the SSL check that: The cert is in every way valid for the host listed on the cert (unexpired, signed by ...
1
vote
0answers
70 views

Missing CDROM from /dev redhat (oracle linux) 6.2

we have installed the minimal install for redhat 6.2 (OL 6.2) on a HP Proliant 380 G8 and there is no CDROM, SDB or DVD listed in /dev. If I do dmesg | more, I cannot find any reference to it ...
1
vote
0answers
39 views

Is there a way to make a desktop session recording using RHEL/CentOS 6 Base or Extras packages only?

I have access only to the Base and Extras packages and am trying to make a screencast on CentOS 6.5. All of the packages that I have used in the past (istanbul, recordmydesktop) are unavailable to ...
1
vote
0answers
16 views

Linux-Redhat6 KDE how to start logging in a file

I dragged a sensor with 'Log to a file' option, for logging column it is marked as 'crossed'. How do I start logging ?
1
vote
0answers
195 views

How to properly configure and use LXC through lxc-tools (NOT libvirt) on Red Hat based distros?

I am currently learning all about LXC. No doubt there are excellent tutorials about it. The tutorials/guides take one of the following approach: LXC on Ubuntu/Debian etc. using lxc-tools OR LXC on ...
1
vote
0answers
534 views

yum epel depsolving problems when installing R

I am trying to install R on an old RHEL5 system. sudo yum install R reveals This system is receiving updates from RHN Classic or RHN Satellite. Setting up Install Process Resolving Dependencies ...
1
vote
0answers
253 views

Enable display manager selection in Red Hat 6 gnome login

We use Red Hat 6 at work and I've a desktop that's a dedicated as my development environment. I routinely use wmii and have NXServer and client running within its own session that allows me to ...
1
vote
0answers
144 views

Archey installs properly, but spits a runtime error

I installed the RPM listed here (archey-0.2.6-6.noarch.rpm) for Archey: When I run it, I get the following output: $ archey Traceback (most recent call last): File "/usr/bin/archey", line 290, in ...
1
vote
0answers
396 views

Installing Red Hat 6.4 (RHEL 6.4) cannot find installation media

I am trying to install RHEL 6.4 on a Dell PowerEdge R720. I am using a DVD and every time the Red Hat prompt comes up and asks for my language and keyboard preference. After that, an error message ...
1
vote
0answers
638 views

How can I use sar to track processor and memory usage?

I'm running some load tests on a application hosted on one of my server and I wanted to track the processor and memory usage over a period of time e.g. 30 minutes. I've read that I can do this with ...
1
vote
0answers
360 views

How to fix NFS V3 + TCP mount failing with 'Can't read superblock' error soon after an unmount?

Using NFS V3 and TCP!, portmapper is running. Not using iptables. Following are the options used: rw,noatime,v3,rsize=32768,wsize=32768,hard,intr,nolock,proto=udp,udp,timeo=11,retrans=5 If I wait ...
1
vote
0answers
249 views

Right click not working in Redhat enterprise Linux

I have recently installed Red hat enterprise Linux on my Hp laptop. Earlier both the mouse clicks were not working, but I managed to get the left click working by tapping by some help from Google. But ...
1
vote
0answers
400 views

“Fonts and encoding” settings in Chrome not working unless I edit custom.css

I am using RedHad Enterprise 6 and Chrome 19.0.1084.46. I noticed that font rendering was better in Firefox, so I tried to customize the fonts in the Settings dialog. Unfortunately, no matter what I ...
1
vote
0answers
101 views

How to add new partition to RAID-1 array on Redhat FC10?

I have a RH FC10 system with RAID 1 partitions, here is mdadm.conf: # mdadm.conf written out by anaconda DEVICE partitions MAILADDR root ARRAY /dev/md1 level=raid1 num-devices=2 metadata=0.90 ...
1
vote
0answers
205 views

Controlling USB media access on Red Hat or Centos Linux 6.3

I'm trying to control which users can use USB media (mass storage devices such as USB memory sticks and hard-drives) on Red Hat/ Centos 6.3 Linux. I would like something that is network wide, so a ...
1
vote
0answers
2k views

Squid cache access denied

I'm trying to create an anonymous squid server. I've installed squid with with yum install squid Here's my /etc/squid/squid.conf file: # # Recommended minimum configuration: # acl manager proto ...
1
vote
0answers
548 views

fail2ban console error message

I constantly receiving this message on my console (where I'm currently logged in). I was banned via fail2ban about week ago using 3 time wrong password on scp command. But now I can used it again. ...
1
vote
0answers
112 views

Making iostat show both sectors and kilobytes read

I'm running iostat -d -x on redhat enterprise 6.1 (over vmware, if that makes a difference), and I want to see reads and writes both in sectors and in kilobytes, but only seem to be able to display ...
1
vote
0answers
851 views

Setting default desktop in CentOS 6.2

In centos 4 and 5 I used to select desktop (KDE or Gnome) when I login and set if it's for this session only or permanent selection. In CentOS 6 I can also select desktop ... only after I enter my ...
1
vote
0answers
112 views

How to prevent the RPM from freezing?

I've tried to install several things using redhat's RPM, but every time I try it freezes when the progress bar arrives to "Processing Headers" I've tried rebuilding the rpm's database rpm ...
1
vote
0answers
623 views

Installing Octave on Red Hat

I am trying to reinstall Octave on Red Hat. I currently have Octave 2.4 installed on the computer, but it is too old and some of my scripts are not running. On the Octave wiki it says: Octave is ...
1
vote
0answers
453 views

Dual monitor setup no longer works!

Running Fedora 14 with a Nvidia GeForce 9500 card Couple of days ago I replaced one of my 20" LCD (I had two identical 20") w/ a 24" LCD. I was able to swap the 20 for the new 24" and of course the ...
1
vote
0answers
595 views

Installing Mono on RedHat 7.1

Has anyone succeeded in installing Mono (the Linux .NET framework project) on the (outdated I know) RedHat 7.1 Linux distribution? I need advice where to get started, I could find no resource on the ...
0
votes
0answers
8 views

Linux CLI colors wrong output

I have a few different linux systems and some of them the color looks ok and right. Other ones the colors are darker and bold. I have checked my putty settings and output from dircolors and they ...
0
votes
0answers
24 views

Red Hat Linux Cron Daemon Time Error

I have a legacy system that is running Red Hat Linux 5.4 and the cron daemon will not start. It stopped suddenly, I verified the CMOS time and the system time are correct. I've tried resyncing with ...
0
votes
0answers
22 views

Changing I/O scheduler for SSD

I have many CentOS systems, some of them have traditional hard disks, some SSD, and some mix of them. I would like to change scheduler for SSD to deadline. So at runtime I can simply scan check ...
0
votes
0answers
8 views

Change Default Sender Email Address in RedHat 6.5

In nagios system we configured email system for postfix service, I did changes as shown below: Added the following line in the entry /etc/main.cf smtp_generic_maps = hash:/etc/postfix/generic And ...
0
votes
0answers
31 views

FFMpeg keeps hanging/crashing and causing memory allocation issues on Production RHEL Server

I'm working on adding video conversion to a Ruby on Rails (Ruby 2.1.5 Rails 4.1.5) app that I'm working on. I'm utilizing the Streamio-FFMpeg gem within the app so that I can run the necessary ...
0
votes
0answers
23 views

How do I enable rsh in Oracle Linux 7?

I have two systems, a Solaris and an Oracle Linux. I can rsh from OL to Solaris but not from Solaris to OL. I can also ssh from both machines. I was reading this and I tried to create an rsh file in ...
0
votes
0answers
22 views

Linux Redhat account claims locked even after unlocking

The local linux account won't allow the user to login even after unlocking it. The following command provides the following output: [userBar@host]$ sudo usermod -U userFoo [sudo] password for ...
0
votes
0answers
2 views

What is the default login for Red Hat Enterprise 7.1 KVM guest?

I cannot find this in any Red Hat documentation, but before I call for tech support perhaps someone here knows the answer. Having just installed an evaluation image for RH 7.1, I have my guest VM to ...
0
votes
0answers
24 views

CentOS / RedHat DHCP working, static is not

I have installed CentOS 7 minimal install without GUI when I setup network configuration with Webmin web interface or manually editing files with VI it does not work. When I use e.g. "yum search ...
0
votes
0answers
10 views

Managing rpms and spacewalk on osx?

Does anyone know if rhnpush exists for osx? I am generating some RPM's that need to be deployed to linux but am developing on a mac. I can't seem to find where to find rhnpush and other spacewalk ...