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

3
votes
0answers
58 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
233 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
301 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
466 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
8 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
20 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
33 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
23 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
108 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
19 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
33 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
90 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
63 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
46 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
53 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
37 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
15 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
152 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
661 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 ...
1
vote
0answers
473 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
223 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
121 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
358 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
600 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
295 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
213 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
348 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
99 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
202 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
1k 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
527 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
108 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
816 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
100 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
547 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
452 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
582 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
10 views

Why default useradd variables aren't taken into account, when create user in GUI mode?

I'm trying to configure users password policy on RHEL 6.6 and my /etc/default/useradd file contains: # useradd defaults file GROUP=100 HOME=/home INACTIVE=-1 EXPIRE=0 SHELL=/bin/bash SKEL=/etc/skel ...
0
votes
0answers
7 views

is there anyway to install captive portal on Redhat?

is there anyway to install captive portal on Redhat? i can't just find any link or tutorial. I really need a captive portal but i am not able to do it.
0
votes
0answers
16 views

Is it safe to install items from the Oracle Enterprise Linux (OEL) repository on a Red Hat Enterprise Linux (RHEL) system?

Is it okay to install Red Hat Enterprise Linux (RHEL) 6 packages from an Oracle Enterprise Linux (OEL) 6 repository? My company just virtualized three Red Hat Enterprise Linux servers but we don’t ...
0
votes
0answers
47 views

VirtualBox errors out saying it needs more free disk space when space is clearly available

At my work environment we use VirtualBox for testing. It is set up as Windows host and RHEL 6 as client. Now during testing sometimes the error message popping up which says: You need to free ...
0
votes
0answers
13 views

NIS Build issue with netid

I just completed the build of a new NIS server. Upon the run of /usr/lib64/yp/ypinit -m I get an error from make saying make[1]: *** [netid.time] Error 1. The /var/yp/Makefile has these ...
0
votes
0answers
27 views

Cannot boot into RHEL 7 since check disk in Windows 7

I boot both in Windows 7 and RHEL 7 interchangeably many times. But one time, when Windows 7 made a check disk, I cannot boot into my RHEL instance. RHEL 7 is just entering in Emergency mode and I'm ...
0
votes
0answers
52 views

Firewalld - allowing ICMP in custom zone (centos 7 / redhat 7)

I want to enable ICMP echo-reply in a zone defined by source. I have a zone MONITORING where I want to permit some services like mysql and echo-reply. Permiting services like mysql is simple, but I ...
0
votes
0answers
72 views

Centos6.5 can't use serial console but can see serial output messages during boot up

I configure CentOS 6.5 x86_64 version to support serial console. I edit configuration files as many people suggest. In GRUB, Add these two lines: serial --unit=0 --speed=115200 terminal --timeout=5 ...
0
votes
0answers
12 views

How to deny an specific user to reboot or shutdown in Red Hat 6 with visudo

Hello and thanks for helping me in this question. I just have in /ets/sudoers something like this: ##User Aliases <BR>**User_Alias CLIENT = jhonny </BR> CLIENT myserver = ...
0
votes
0answers
14 views

How to backup Oracle database and tomcat directory from Disk with Fedora or other linux live cd?

Some partitions of my disk corrupted (superblock error) and cannot boot, stacked on "Maintenance Mode". How to backup oracle database and tomcat directory on that disk with linux cd ?
0
votes
0answers
32 views

Linux 32 bit CPU + Oracle Limitations

I have 32 bit RedHat 4 server (with hughmem kernel) CPU is 2 x Xeon X5650 (12 total psychical cores, 24 virtual) On the server there is running Oracle 10G (32 bit) database instance. Oracle because ...
0
votes
0answers
22 views

red hat: how to move items from one monitor to the other

I am using red-hat 5 with two screens. I wanted to know if there is some keyboard shortcut for moving items between the monitors just as the or Fn+space in windows. I found this answer, it may works ...