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

0
votes
1answer
132 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
14 views

Special characters are not displayed in terminal and vim

I'm using redhat release 5.6 (Tikanga). Recently I installed a patched font that support some special characters. I'll describe what I did. Installed the font in the ~/.fonts directory Run fc-cache ...
3
votes
1answer
32 views
+50

landscape-sysinfo for CentOS?

I've been using /usr/bin/landscape-sysinfo on Ubuntu, and I'm now looking for a good alternative to use on a CentOS machine. Is there anyway to install the requirements to make this work on CentOS?
0
votes
0answers
10 views

How to filter Remote Syslog messages on Red Hat?

I'm using a unified log on a server running Red Hat 6, receiving directed log messages from others servers and managing them with RSyslog. Until now, the /etc/rsyslog.conf have this rule: if ...
0
votes
0answers
18 views

Cannot access my port from other systems in same network

My machine is running in Red Hat Linux OS. I have setup a server using apache in port 8060. I am able to access in localhost but not is other systems for the same network. I am able to ping the ...
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: ...
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 ...
0
votes
0answers
10 views

Apache Spark Building Memory Issue for JVM Initialization

I am currently building Spark on my linux Red Hat 5 VM just for experiment. However, when running the mvn script or sbt script inside the spark 1.3 version source code (downloaded from the github), it ...
1
vote
1answer
2k views

How to tell when RedHat was last updated

I have a RHEL 5 server and I want to know the last date in which it was updated. Is this technically feasible? If yes, how?
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 ...
1
vote
1answer
4k 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 ...
0
votes
0answers
21 views

Exchange Server 2013 with Linux domain controller

Consider the scenario: in DMZ LAN, a company is willing to replace Zimbra mail server (running in Linux server) with Exchange Server (running in Windows server) in LAN, employees use Windows in ...
0
votes
0answers
9 views

CentOS 7 how to set guest port to jumbo packet automatically

I'm running libvirt on CentOS7. I have an internal virtual bridge setup. Only the guest virtual ports are members of the virtual bridge, and no physical ports are members of the virtual bridge. By ...
0
votes
1answer
19 views

Identify last linux shutdown time

We have a server running RHEL 5. Sometimes the power cuts and the server is down (the UPS handles only 30 min). I want to be able to to identify the time of the shutdown, in an other term the last ...
0
votes
4answers
3k views

Can I install Linux on a USB flash drive?

I want to install Red Hat Linux on my flash drive. Is there a way that I can do this? I tried a lot found through searching, but couldn't get a satisfactory answer. In fact, if I try the same for ...
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 ...
3
votes
3answers
64 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
3k 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
156k 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
391 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
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
52 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
63 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] ...
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
2answers
2k 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 ...
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
28 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
44 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
133 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
44 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
151 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
13 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
13 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
14 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
17 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
82 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
193 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
62 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
56k 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
15 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
11 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
27 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
573 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
246 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
74 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 ...