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
16 views

Keyboard layout in Terminal of Red Hat Linux changes automatically

I have an unique problem in Terminal of Red Hat Linux WS 6.6. After some of period of period (Don't know exactly when..) keyboard layout (and not language) changes from German to English ONLY in ...
16
votes
4answers
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 ...
0
votes
2answers
5k 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 ...
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
0answers
15 views

installed the wrong version of JAVA and need to remove and install correct one

I accidentally installed OpenJDK on Red Hat Enterprise Linux 5 instead of Oracle Java Development Kit on Red Hat Enterprise Linux 5. When I try to yum install Oracle Java Development Kit on Red Hat ...
0
votes
1answer
23 views

What is the curl equivalent of wget -qO (wget -q -O)?

I need to run the following command in Red Hat Linux: wget -q -O http://somepage/somefile.cgi| bash But I don't have wget installed. I could install it, but I want to know how to do this with curl. ...
0
votes
2answers
47 views

Setting a non-standard proxy

I am behind a proxy which requires users to login during the first connection with a username and password with a HTML form. Thus, it is not handled with usual http://username:password@proxy.com and ...
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 ...
4
votes
0answers
390 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
7 views

Anaconda post installation messages

I am printing some log messages post installation through configuration file kfs.cfg %post --nochroot echo "XYZ" I do not see the message on terminal. Could you please let me know where this ...
1
vote
1answer
24 views

Httpd start on access on port 80, how to stop it?

I have a Red Hat Enterprise Linux 6.5 with httpd, and each time I am accessing to the port 80 the service starts ! I would like to stop it without uninstalling apache, so far I tried : service httpd ...
4
votes
2answers
2k views

Installing R on RHEL 7

I'm trying to install R on RHEL 7. I'm using epel-release-7-2.noarch.rpm and resolved many dependencies (one by one by manual .rpm installation) but at the end of the dependency resolution I got these ...
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
20 views

Red Hat Linux Enterprise 5.3

I am accessing a Red Hat Linux box with bash 3.2.25 via Dynacomm DCSeries 8. When pressing Control-C at the command line, the extended ASCII code 162 is displayed. (This character is also displayed ...
0
votes
1answer
11 views

is it necessary to create swap partition while installing RHEL?

I'm a newbie to RHEL.I've installed RHEL 7 using VMware .but,during the installation ,it asked me to create Swap partition and i created it worth 2GB. please brief me the reasons.what if the swap ...
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: ...
1
vote
0answers
39 views

Creating a Centos 7 iso with kickstart

I wish to create an iso file containing Centos 7 x64 for unattended/kickstart installations. For Centos 6, it worked like a charm. But for Centos 7, i am not able to create a bootable iso image. This ...
1
vote
0answers
35 views

Centos7 can't connect ot Internet but IP & ssh from local works

[if this is too long you can read from the bottom] Hello previously i have this Centos7 and it worked fine with the internet connection with static IP. The problem started when i installed GUI, ...
0
votes
2answers
55 views

date. hwclock keep showing wrongly everytime after reboot

Edited question to better reflect situation. (My hwclock and date is not showing correctly) I am on +GMT 8 and i have set my hwclock to localtimezone by doing the following rm /etc/adjtime ...
0
votes
0answers
11 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
1answer
24 views

alias disables colour sustainably in bash

When I do tree -N I get nice coloured output. When I then alias tree="tree -N" tree output is black & white. When I then unalias tree tree -N output is still black & white! GNU ...
0
votes
0answers
26 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
30 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 ...
1
vote
0answers
57 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: ...
0
votes
1answer
24 views

Meaning of parameters in sudoers file in RedHat

HI can you tell me what is the meaning of each and every parameter meaning of this line of sudoers file in RedHat machine? steve CSNETS = (operator) /usr/local/op_commands/ I know first ...
0
votes
0answers
10 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
48 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 ...
1
vote
1answer
55 views

How to recover my deleted history in terminal using #history -c

I have cleared all my history in terminal using #history -c. Now I want to recover all my commands which are cleared. please give me a reply
0
votes
1answer
19 views

why do i keep getting the same $SHELL even i am on a different shell already

[oracle@SJOAM ~]$ echo $SHELL /bin/bash [oracle@SJOAM ~]$ sh sh-4.1$ echo $SHELL /bin/bash sh-4.1$ csh [oracle@SJOAM ~]$ echo $SHELL /bin/bash Why am i always in bash !? but the prompt are already ...
1
vote
0answers
45 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 ...
0
votes
4answers
2k views

issue installing git on redhat 5.6

I get the following error when run: It is somehow missing the perl dependencies, I am not sure do I need to update the perl or remove something as a workaround! yum install git Loaded plugins: ...
0
votes
0answers
35 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 ...
1
vote
1answer
46 views

How to save two IPS in single network card

I am using centos 6.6 and going to configure single network card with two IP address. My configuration look like this /etc/sysconfig/network-scripts ifcfg-eth0 DEVICE="eth0" BOOTPROTO="dhcp" ...
0
votes
1answer
38 views

System memory is full utilized while using tape drive software

I'm using redhat enterprise linux 6 When using IBM tape drive, It fully utilizes system memory in only two minutes. Here is the result of "free -m" command: total used ...
0
votes
1answer
46 views

Crontab command cannot be executed. Error PAM configurations

Here's the command that I would like to execute but it seems not to work. [mdubois@veloce ~]$ crontab -l Autorisation refusée You (mdubois) are not allowed to access to (crontab) because of pam ...
0
votes
0answers
30 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
6 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
1answer
73 views

devices inside /dev - are their naming persistent by default?

Can i check if devices like sda , sdb naming in /dev/ are persistent by default or there are some udev rules in place to create persistent naming for them ? Does udev itself create device naming ...
6
votes
3answers
264 views

Is sendmail a smtp server? Is there any difference between MTA and mail server?

I am new to mail and do not exactly know how it works. I have seen administrators use sendmail to send out email. Is sendmail a smtp server or is it a client that need to relies on smtp server to ...
0
votes
1answer
37 views

Understanding fdisk -l output and calculating storage

I have basic understanding of disk. (Please correct me if i am wrong) I understand on 1 platter, there are 2 heads, 1 on top, and 1 on bottom. Both side of the platter is able to provide storage ? On ...
0
votes
1answer
33 views

How to use Window Manager of Linux inside VirtualBox?

I have the same problem in Redhat Linux and Debian Linux. I cannot use the normal switching between windows. I mean this square window manager: I tried all keys CMD, ALT, CTRL, FN and SHIFT and ...
0
votes
1answer
13 views

List package maintainer on Fedora?

I need to contact the package maintainers for Crypto++ to inform them of a commit to fix a CVE. Under Debian and Ubuntu, I can apt-cache show libcrypto++ | grep Maintainer to get current and past ...
0
votes
0answers
25 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 ...
2
votes
1answer
79 views

udev symbolic links - where is /dev/sda pointing to

It is said that udev create symbolic links identifying the actual device and /dev/disk/by-uuid is an example. [root@centos1 by-uuid]# pwd /dev/disk/by-uuid [root@centos1 by-uuid]# ls ...
0
votes
2answers
32 views

udev - am i using it, where do i see it?

It is mentioned that udev present devices in /dev for devices that are presented to the kernel and it is use to create persistent naming. I have having 2 harddisk /dev/sda /dev/sdb. How does ...
0
votes
1answer
80 views

single user vs multi user mode (without networking) init level 1 vs 2

I tried init 1 (single user mode) and i am still able to switch between users. So this leads me to think that maybe other users is not able to login if i have a network (hence single user mode) Then ...
1
vote
1answer
35 views

using rpm -i in Linux as a normal user

I'm trying to run rpm -i to install an rpm but it fails. I must always use root to do the installation. why ? [alankoh@sjoam2 Downloads]$ rpm -i sqldeveloper-4.0.3.16.84-1.noarch.rpm error: ...
24
votes
16answers
62k views
1
vote
1answer
35 views

understanding Stats on folder in Linux

This is my stat output on a folder stat Downloads/ File: `Downloads/' Size: 4096 Blocks: 8 IO Block: 4096 directory Device: fd02h/64770d Inode: 259595 Links: 3 What does it ...