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

. .bash_profile and . ./.bash_profile (./ and .)

i am new to linux. I understand .bash_profile is a hidden file hence the . infront. I understand to execute a script under the current directory. You must specify ./ ======================== q1) ...
0
votes
0answers
6 views

linux rpm installation - who define the rights ?

I am new to linux and is using rpm -i to install rpm package successfully. However, i do realize that i have to use root to install the package everytime. Assuming I have several users in the system ...
0
votes
1answer
15 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 ...
1
vote
1answer
37 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
0answers
13 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
1answer
30 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
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
25 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
0answers
21 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 ...
0
votes
1answer
6 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
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
59 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 ...
2
votes
1answer
49 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
28 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 ...
5
votes
3answers
59 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
14 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
1answer
18 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: ...
0
votes
1answer
26 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

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
24 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
1
vote
1answer
34 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
0answers
8 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
36 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
28 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
21 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
1answer
63 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
43 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 ...
0
votes
0answers
26 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 ...
0
votes
0answers
16 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
19 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 ...
3
votes
1answer
53 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
29 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 ...
0
votes
0answers
34 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
11 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
23 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 ...
3
votes
3answers
131 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
0answers
95 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] ...
1
vote
1answer
62 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
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
36 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
0answers
14 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 ...
0
votes
1answer
58 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 ...
0
votes
0answers
16 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 ...
2
votes
1answer
228 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
15 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
20 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 ...
0
votes
2answers
77 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 ...
1
vote
0answers
15 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
128 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 ...