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
3answers
34 views

Installing Red Hat based OS on mbr disk

I currently have installed Windows XP and Linux Mint 17 on my laptop. My disk is MBR type because of Windows XP. I have installed linux mint without any problems, but now I am trying to install Red ...
0
votes
1answer
2k views

mount command times out when trying to mount between servers

I've got two identical RHEL boxes and would like to mount a directory from one to the other. my command: [me@serv_dev ~]$ sudo mount serv_prod:/my/dir /mnt/my/dir times out after a few minutes: ...
38
votes
8answers
153k views

How do you automatically detect a new network card in CentOS 6 / RedHat?

I'm using CentOS 6 in a virtual environment. When cloning a virtual version of CentOS, the old eth adapters are "removed" and replaced with new ones and net MAC addresses. However, the ifcfg-ethn ...
0
votes
1answer
309 views

Remove grep's line number output in Redhat 5.9

I havent used RH 5.9 until now. I started with 6 but we have some 5.9 servers. The syntax with 5.9 is a bit different with some things. grep for example will output a number line before the actual ...
0
votes
2answers
4k views

How to find out total NIC cards and total available physical ports in linux

I need to find out how many total physical ports my server has, and how many of them are in use and how many free. Can you kindly help how to find it: This is what i find from dmidecode output: ...
0
votes
1answer
54 views

Search text in kickstart snippets via Red Hat Satellite

Is it possible to search for particular text over all Kickstart snippets? I'm using Red Hat Satellite 5.4.
1
vote
1answer
42 views

ping error two nic cards in linux pc

The problem I'm having is two NIC in my RHEL 6 server with different IP-addresses. PC1 eth0 - 10.10.0.1 eth1 - 192.168.1.1 The other computer is setup the same way. PC2 eth0 - 10.10.0.2 ...
0
votes
0answers
34 views

how to disable screensaver at login screen in RHEL 7

I am using gnome v3.8.4 for login screen in RHEL 7. I have tried setting false for following dconf settings(gsettings) [org/gnome/desktop/session] idle-delay=0 [org/gnome/desktop/screensaver] ...
3
votes
1answer
2k views

Differences in nc (netcat) options on Ubuntu vs RedHat

nc -q -1 local host ${PORT} ${CMD} In Ubuntu, nc may be used as above, with the -q option. See manpage. -q after EOF on stdin, wait the specified number of seconds and then quit. If seconds is ...
1
vote
2answers
3k views

RedHat Network - Unable to register

I'm trying to register my RedHat machine to my RedHat Network account but when I try, I get this error: Problem registering system: Error Class Code: 70 Error Class Info: All available ...
0
votes
1answer
3k views

How to verify mirror configuration on Red Hat Linux?

I have an IBM blade server and we've installed RedHat Linux on the machine. How can we check if we have both disks running as a mirror, or if everything is only running on a single disk? What linux ...
14
votes
3answers
3k views

how to disable SendEnv variables set in ssh_config from ~/.ssh/config

I couldn't find that anywhere so I'm wondering am I the only one hitting such issue. By default ssh on Red Hat and Debian at least has a ssh_config with SendEnv option passing LC* and LANG variables ...
1
vote
1answer
3k views

Is it possible to upgrade from RHEL 4 to 6 with up2date(or yum) on or after 2012/08?

I'd like to upgrade my server's os from RHEL 4 to 6 after 2012/08. I know that there are 2 methods to upgrade. 1. directly (RHEL 4 -> 6): 1. buy a new server machine. 2. install RHEL6 on the ...
1
vote
2answers
1k views

Apache loading PHP module - undefined symbol: unixd_config

I'm configuring a new web server on a RedHat 6.5. I try do enable the php5 module on Apache 2.4.6 as following: LoadModule php5_module /usr/path/to/libphp5.so AddType application/x-httpd-php .php ...
4
votes
2answers
3k views

How can I enable anonymous access to a Samba share under ADS security mode?

I'm trying to enable anonymous access to a single service in my Samba config. Authorized user access is working perfectly, but when I attempt a no-password connection, I get this message: Anonymous ...
0
votes
0answers
15 views

create double partition on cd/dvd [duplicate]

Is there any tool that can create a double partition cd/dvd ? We have clients who uses Linux or Windows and I want to create a cd that contains a partition for linux and another one for windows. If a ...
0
votes
1answer
20 views

How to include a call to ncat to a bash script?

I need to flush a memcached instance from a bash script, I found the following command which do the job: echo 'flush_all' | ncat localhost 11211 But my problem is that the script doesn't continue ...
0
votes
2answers
30 views

Copy files from Solaris to redhat via SCP command run on RedHat console

I have to copy several GB of little files (from few bytes to < 1MB). These files resides on a file system of a Solaris system. No rsync and rdiff software is available on Solaris and cannot be ...
0
votes
0answers
12 views

How to install package with locale dependencies?

I've built my own PHP5.5 on my RedHat6.6 two month ago in order to support Sybase database connections. Today I want to enable memcached support. I tried yum install php55-php-pecl-memcache.x86_64 ...
1
vote
1answer
113 views

Putty copy/paste not working in Red Hat outside Putty window

When using Windows, every time I use putty to access a Linux/Unix box, selecting something on the screen or CTRL+INS, it will copy what is selected and outside the Putty window, if I CTRL+V it paste ...
0
votes
1answer
28 views

Unable to open display to specific user in Red Hat 6.4

I am trying to install Oracle database 11g in my Red Hat 6.4 and the installer aborts with a warning followed by an error message: Warning ">>> Could not execute auto check for display ...
2
votes
1answer
92 views

How do I get Linux to notify me about failed login attempts?

I have seen it before when you log into a Linux box wrong, when you do successfully log on, it notifies you that someone attempted to log on as you and didn't succeed. What do I need to do to make ...
0
votes
0answers
12 views

Grub Fallback Not Working in Redhat 6.5

I'm trying to set up a grub fallback system in grub.conf, but none of the settings in the grub 0.97 documentation have any discernible effect. Also, there is no grub-set-default command present. This ...
0
votes
0answers
12 views

after installing Red Hat Developer Toolset 1.1 which gcc will be default old one or new gcc 4.7.2

After installing Red Hat Developer Toolset 1.1 can i compile my old source code with old gcc? which gcc will be default old one or new gcc 4.7.2
0
votes
0answers
13 views

Please I need some help in filtering out an output in the format below:

Please I need some help in filtering out an output in the format below: blah blah blah blah (loads of logs before from 08:00:00) access_log.2015-03-12-10_08_04:99.211.30.0 - - [12/Mar/2015:10:12:08 ...
0
votes
0answers
16 views

Redhat 6 Set Default NTP Arguments

I'm advised to launch ntpd with the "-g" argument to avoid having the daemon shut down if there is a gross mismatch between system time and the time NTP comes up with; this is needed because we're ...
1
vote
0answers
13 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 ...
5
votes
1answer
55 views

What happens when I truncate a file that is in use?

Around the web many people say you can truncate a file using > filename or truncate -s0 filename while file begin used I know everytime a process write in a file, the process uses a offset for ...
3
votes
0answers
131 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 ...
0
votes
0answers
41 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 ...
24
votes
15answers
55k views
0
votes
0answers
51 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
1answer
13 views

Initial passwords pre-expiration in Red Hat

I need inital passwords which was set by root to be pre-expired. For example: root# useradd user1 root# passwd user1 After that password need to be expired. It can be achieved by command root# ...
1
vote
1answer
3k views

yum update error Red Hat 6.4

I have just upgraded my system from Red Hat 5.8 to 6.4. Upon issuing the command yum update I get the following message This system is receiving updates from Red Hat Subscription Management. This ...
0
votes
0answers
9 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
26 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
2answers
373 views

Using PuTTY private key for new user on AWS EC2 Server

I started an AWS EC2 instance. I can connect to my instance with the user ec2-user using the SSH private key generated by Amazon. I followed the directions at: ...
0
votes
1answer
180 views

cannot open `' for reading: No such file or directory

I am trying to run .sh file on RH6 and getting this error... cannot open '' for reading: No such file or directory The script I am running is internally referencing other scripts, located in same ...
1
vote
0answers
60 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 ...
4
votes
1answer
832 views

Are there any linux distributions similar to RedHat 5 Enterprise?

I want to install RedHat 5 Enterprise Edition server on my home PC. I will install servers and clients on virtual machines using Virtual box and study server-client structure at home. But RedHat EE is ...
9
votes
3answers
14k views

Where are the rpm files after installation using yum?

redhat 5.4. I have installed a package using yum the package was wireshark. However, after it has installed. Where can I find the rpm package? I would like to locate the actual wireshark.rpm ...
0
votes
2answers
67 views

Why doesn't the centos devtools repo work on redhat?

I have RedHat 6 installed and would like to use the Centos 6 devtools. I found instructions for using the repo here. I have tested this method on Centos 6 and it worked fine. However, it doesn't ...
5
votes
2answers
5k views

Cannot switch to jenkins user redhat linux

I have a redhat linux server running jenkins. I setup jenkins as per the instructions mentioned here https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Red+Hat+distributions The problem ...
0
votes
2answers
1k views

ANT_HOME doesn't match up with ant -version

I started out by trying to run ant on a java program in a RH terminal. BUILD FAILED /home/phuong3/soar/soarRepos2/soar/tools/trunk/build.xml:187: Compiler Adapter 'javac1.6' can't be found. Total ...
0
votes
1answer
181 views

mod_perl not active on Apache/2.2.15 (Red Hat)

I am using OTRS on a RedHat 6.5 with apache2 and mod_perl2. One of my servers (Sandbox environment) has the following (yum info feedback): Installed Packages Name : httpd Arch : x86_64 ...
2
votes
1answer
1k views

Nginx works on my linux machine but is not accessible from other computers in my local network

In my LAN network I have a server with Scientific Linux (RedHat or Fedora based distro), I've done yum install nginx but the welcome page is not accessible from other computers in my network. When I ...
1
vote
1answer
97 views

-bash: export: ''not a valid identifier when logging into terminal

Hi Whenever I log into the terminal I get the following error -bash: export: ...
0
votes
1answer
849 views

Redhat Linux /lib/libc.so.6: version `GLIBC_2.16' not found (required by /lib/libncurses.so.5)

I am running a server RHEL 6.4 which currently has GLIBC 2.12 installed on it. We are trying to run a program which gives this error /lib/libc.so.6: version `GLIBC_2.16' not found (required by ...
0
votes
0answers
18 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
1answer
25 views

how to find out if I can use HP secure encryption

I have a server that does not have an order sheet of what all was included when the server was bought. I would like to try and implement HP Secure Encryption (link) but am not sure if I have all the ...