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
2answers
36 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
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
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: ...
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 ...
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
23 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 ...
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: ...
0
votes
1answer
22 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 ...
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
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 ...
1
vote
1answer
38 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
17 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 ...
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 ...
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 ...
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
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: ...
0
votes
0answers
22 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
42 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
36 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
29 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
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
1answer
68 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
117 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
33 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
24 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
7 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
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 ...
2
votes
1answer
64 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
29 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
52 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
29 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
60k views
1
vote
1answer
32 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 ...
1
vote
1answer
47 views

xclock not showing (traditional X without X11 forwarding)

Server A -> 192.168.1.25 Server B -> 192.168.1.26 Both running Centos 6.6 with iptables off. No firewall in between. A$echo $DISPLAY :0.0 A$xclock -- Able to see xclock popup on the A screen ...
0
votes
1answer
96 views

Openvswitch: multiple virtual bridges over one bonding interface

My ultimate goal is to configure a RedHat 6.6 server with Openvswitch as shown in the following image: Interfaces configuratión files are: ifcfg-eth0 DEVICE=eth0 ONBOOT=yes NM_CONTROLLED=no ...
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 ...
0
votes
1answer
48 views

Using xhost, display and startx - confused

I have a client A (192.168.1.1)(vncviewer) accessing Server B (192.168.2.1) (RHEL6) to run a installer. The installation pre-requisite is to set the xhost and DISPLAY properly. Q1) Please correct me ...
0
votes
2answers
32 views

Logging into sudo with a hashed password

I am curious as to whether or not I can pass the sudo password prompt the hashed sha512(?) password and log in to root that way. So it might look something like this: [user@device ~]$ sudo su - ...
0
votes
0answers
44 views

Install ypbind in Oracle Linux 7

I need to install ypbind in order to set the NIS settings at an Oracle Linux client. So I downloaded a red hat version of this package (since OL7 is just an rhel clone) and I tried the following: ...
0
votes
0answers
48 views

Yum update fails [Errno -1] Metadata file does not match checksum (RedHat 5.11)

The server I'm working with is running the RedHat Entreprise : [root@xxxxxx ~]# lsb_release -irc Distributor ID: RedHatEnterpriseServer Release: 5.11 Codename: Tikanga I'm ...
4
votes
3answers
947 views

From what context is a cron task executed?

I am asking this question after royally destroying a Linux box. Let me give you some background so you know where I am coming from. I currently have (well... did have) a RedHat Linux box running ...
0
votes
1answer
162 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
37 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
63 views

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
18 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
22 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 ...