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

Simultaneously moving and renaming files in Red Hat

I'm running Red Hat Release 6.5 (Santiago). The problem I'm facing is that I have a bunch of files in the following directory structure: temp2 ├── ABC │   └── temp2 │      └── temp2.txt └── DEF    ...
1
vote
2answers
608 views

Add a file to /etc/yum.repos.d to install Oracle JDK 1.6.0-45 from yum?

I have a fresh RedHat 6.5 virtual machine on Amazon Web Services (EC2), its repos look like this currently: [root@ip-172-31-11-112 tmp]# ls -1 /etc/yum.repos.d/ redhat-rhui-client-config.repo ...
0
votes
0answers
219 views

What's the official way of programmatically changing the GDM login background?

I want to change the background of the GDM login screen on CentOS 6.5 and 7 to bring it in line with other branded systems, and so I have an RPM that delivers a background image into ...
-2
votes
2answers
76 views

how do i create a user account in unix using CLI?

I am using Redhat and I want to make a user account using CLI. I am using this commands but I guess it's not working. # useradd smithj -c 'John Smith' -m # passwd smithj and the result should be ...
0
votes
3answers
1k views

Time Zone is getting different over ssh command & normal ssh

Whenever I run a date command over SSH the timezone shows different and if I login to server with SSH and if I run the same command it is completely different. Running command with SSH >ssh ...
1
vote
0answers
28 views

How to add new 'From' email id each time sending email using PostFix server

I am new to PostFix and have setup PostFix as a server recently. In the testing, PostFix is working fine and relaying the emails with 'From' email address stored in the PostFix credentials files likes ...
0
votes
1answer
33 views

Light way to read big bz2 compressed files

bzcat *.log | sed # etc works but since the files are few gb big, it takes time to complete. Is there a way to do it in a faster way ? I tried echo *.log | xargs -P 4 bzcat | sed # etc but the ...
0
votes
1answer
117 views

How do I get 64-bit binutils in Redhat 7

How do I check whether I have 32 or 64-bit binutils, and get 64-bit binutils, in RHEL 7 (my nm reports nm: supported targets: elf32-i386 a.out-i386-linux srec symbolsrec tekhex binary ihex trad-core ...
1
vote
0answers
40 views

How to track a file from NFS in Linux is being locked?

I've some codes on a NFS which is shared with two load balancer servers. Sometimes the waiting time of a request is getting longer and I suspect the files may be getting locked with a request while ...
0
votes
1answer
140 views

redhat, multipath on cluster node display different result

I've a cluster with two nodes installed with "RedHat Entreprise Linux Server 5.6" If I execute "multipath -ll" on them, I do not get the same result. I've checked within "multipathd -k" with "show ...
0
votes
1answer
32 views

Variable substitution in tcsh

Need your help. I've gone through the manual for the tch but still can't figure out how it should work in my case or whether it should work at all. I basically need to extract part of the variable ...
0
votes
1answer
1k 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 ...
1
vote
0answers
182 views

Redhat user account password expiring after 15 days instead of 30

My user account on a Redhat 5.10 box is set to have my password be changed every 30 days however, it forces me to change the password every 15 days instead. I have confirmed the setting by doing ...
0
votes
1answer
212 views

Redhat 6.5 - lockout user after 3 failed login attempts

There are a few guides online, none which have worked. I think I need yo modify password-auth, but I'm not sure how.
0
votes
0answers
75 views

Unable to delete a file 'Operation Not Permitted'

Got a problem with a Linux box where I'm trying to delete a file but it won't let me. Anything I try to do on this file (chmod, chown, rm, mv etc.) end up with the same error. I have noticed that ...
3
votes
2answers
9k views

How to permanently disable firewall in Red Hat Linux

I have followed the below steps to disable the firewall in Linux. After reboot, again firewall is enabled. How to disable firewall permanently? Login as the root user. Next enter the following three ...
0
votes
2answers
225 views

what can be the reason for no permission even using root or sudo

When root or using sudo, I cannot write to some files. I have a file fileA with permissions 750 fileA rwxr_x___ root root When I run a program as root or using sudo, the system prompt is: no ...
1
vote
3answers
291 views

Limit the size of tmpdir

I need to limit the disk usage of MySQL tmpdir so it does not "eat" all available disk space. There are around 30G available but i have seen mysqld using all of it to create a temp table. My first ...
1
vote
1answer
936 views

Why does GPG Encrypt/Decrypt fail between different versions of GnuPG?

I have 2 servers that will be passing data between them, one is Ubuntu and the other is Red Hat. Using the already installed versions on each, Ubuntu is 12.04 with gnuPG 1.4.x and Red Hat is ...
0
votes
1answer
1k views

Failed to Start DHCP in Linux Redhat, Need Help ASAP

I tried to configure /etc/dhcp/dhcpd.conf file in Linux but it failed as static addressing. How do I fix it? Am I missing any data and is it accurate? I need help. Below is screenshot of my contents ...
1
vote
2answers
708 views

Download self-signed server certicate

Summary I need to download a self-signed certificate from a server, to create a .JKS-file to use as truststore in an application. How can I do that from a Red Hat server? What I have tried I have ...
1
vote
0answers
186 views

declare -A on RHEL 5

I am using an associative array on my RHEL 6 servers and I just tested the script on a RHEL 5 server and apparently -A is not supported for the declare command on RHEL 5: declare -A var -bash: ...
0
votes
1answer
103 views

Extracting part of a large SQL dump

Is there a way to chain commands like grep and head together to extract a portion of a file? The problem is that somewhere in my .sql file I have an old data that I need to compare to new data and I ...
29
votes
5answers
11k views

Sudo vs root; any actual differences?

I'm working with a support member for a product, and he insists that I need to be root to install a series of patches, and that sudo won't work; he doesn't provide a reason but seems very firm in his ...
0
votes
1answer
763 views

mysqli extension is missing in phpMyAdmin on RedHat 5.9 Server

We have installed Apache, PHP, MySQL, and attempted to install phpMyAdmin. When going to phpMyAdmin in the browser, we are presented with "The mbstring extension is missing." We are unable to get ...
0
votes
1answer
258 views

Redhat linux terminal garbage output when using telnet

I am using redhat-linux terminal to connect to a router device by means of 'telnet'. While the device boots, the characters are getting printed in garbage manner which is as follows, In terminal, ...
1
vote
0answers
56 views

How can I verify on download that a site's SSL cert is for a host I trust?

Generally I want to be able to make an HTTPS connection to a site, and while negotiating the SSL check that: The cert is in every way valid for the host listed on the cert (unexpired, signed by ...
0
votes
1answer
140 views

Deploy PAM system-auth file from Configuration Server (Spacewalk)

I have my pam.d system-auth file set up correctly on a laptop to set password complexity requirements. If the contents of the file are copied directly into the /etc/pam.d/system-auth location (or the ...
0
votes
2answers
164 views

I accidentally moved my /lib64. How do I fix this?

For some stupid reason, I thought it was a good idea to do sudo mv /lib64 /old_lib64. Now I can't do ANYTHING (not opening files, not starting new terminals, not even ls). The only thing I can do now ...
0
votes
1answer
115 views

List all enabled services for both Redhat and Debian

Is there a trick to display a list of enabled services in both Redhat and Debian distro ? I need a generic command which can be used for both distribution and with the same output result. Thanks
0
votes
0answers
34 views

how to connect server in VM from windows

I have installed Red Hat Server 6.4 in VirtualBox and I also installed Java. I wrote a socket program (port 13 , ip = x.x.x.x). Then in Command prompt, I execute telnet x.x.x.x 13 But it doesn't ...
1
vote
1answer
2k views

email command not working in UNIX Linux

I tried with 2 email UNIX commands mail and mutt from my Red Hat Linux box. It's not sending any mails to the email id I specified. echo "My message" | mail -s subject "test email" <my valid ...
1
vote
0answers
77 views

Missing CDROM from /dev redhat (oracle linux) 6.2

we have installed the minimal install for redhat 6.2 (OL 6.2) on a HP Proliant 380 G8 and there is no CDROM, SDB or DVD listed in /dev. If I do dmesg | more, I cannot find any reference to it ...
1
vote
0answers
43 views

Is there a way to make a desktop session recording using RHEL/CentOS 6 Base or Extras packages only?

I have access only to the Base and Extras packages and am trying to make a screencast on CentOS 6.5. All of the packages that I have used in the past (istanbul, recordmydesktop) are unavailable to ...
0
votes
1answer
550 views

Redhat linux terminal profile location

I am using VNC to connect to a remote machine where I used to set preferences for the terminal like my own keyboard shortcuts. Can anybody tell me where these profile configuration is getting saved ...
0
votes
1answer
87 views

Automatic OS installation Image?Kickstart?

I have a few HP boxes in the data warehouse that I got the iLO (lights out) level access. What I have done: (1) I just installed CentOS which kernel 2.6.32-431.el6.x86_64 using virtual media, it is ...
0
votes
1answer
233 views

Redhat Enterprise Linux 5.9: Yum Updates Not Working: TypeError 'NoneType'

We have a RHEL 5.9 which is refusing to apply updates. For example, if I do a command like: yum update then I get an error like in this thread: https://bugzilla.redhat.com/show_bug.cgi?id=824663 [I ...
1
vote
1answer
2k views

Get “timeout” command from GNU coreutils 8 on RHEL 5.7 machine

What is the best way to install the Gnu timeout command on an RHEL 5.7 machine? I would prefer to install with yum, but I can compile from source if that is the only way. timeout was introduced in ...
0
votes
0answers
68 views

Not Getting standard boot countdown screen in Dualboot (Linux 6.2 & Windows 8)

I have installed (Dual Booted) Red Hat 6.2 on a Windows machine. In Windows Boot Manager it is not showing Linux, it only shows Windows 8. I am pressing arrow keys but only Windows 8 shows up. How ...
0
votes
0answers
115 views

Can't install a package with YUM

I've installed YUM 2.0.7. When I try yum install kernel-headers for example I get the following error: What should I do for a fix? P.S. I've installed version 2.0.7 of YUM because I'm required to ...
1
vote
1answer
38 views

CentOS - installing jdk

I run the command yum search jdk Output: So I run yum install ldapjdk.1686 IT says: No package ldapjdk.1686 available
0
votes
1answer
2k views

Virtual RedHat Can't Connect to the Internet

I've installed RedHat 9(linux v2.4.20) with Vmware Fusion. The installation was successful although I can't seem to be able to connect to the internet under RedHat even though my Mac is able to ...
0
votes
1answer
944 views

configuring p4 on red hat enterprise linux

It's time to get rid of this simple but yet not easily explained topic. And whatever I got on internet, in one or other way, failed to sync my WINDOWS depot to RHEL client. Following is the stuff I ...
1
vote
0answers
19 views

Linux-Redhat6 KDE how to start logging in a file

I dragged a sensor with 'Log to a file' option, for logging column it is marked as 'crossed'. How do I start logging ?
0
votes
0answers
36 views

Groovy performance on Linux machine

I have a problem when I start Groovy on one of my Linux machines - it takes about 30 seconds to execute very simple command: groovy -e "" if I run strace on it, here is what I see where it stops ...
1
vote
2answers
788 views

Dependencies with /etc/init.d scripts

I have a script that start a DB2 database server instance at boot time and another script that starts an application which has as dependency that DB2 database must be up. In Solaris there was a way ...
2
votes
1answer
18 views

RedHat Basics - Where do I put my files?

I have a box that's running Red Hat 4.8.1-1. First, where besides my personal users directory does one store 'production' files? /data? /? /where_ever_I_want?
0
votes
1answer
364 views

Will CentOs 6.5 be compatible with Redhat certified motherboards?

I am building a lot of machines these days running CentOs, but recently I ran into serious compatibility issues with various of motherboards where CentOs ain't happy. At first I had problems with a ...
0
votes
2answers
168 views

Install OS on bare metals without physical access

I have a cluster of computers in a data center remotely and we have been given the "root" access politically&technically. However, they are using Redhat and we want to install Debian on it and ...
2
votes
1answer
2k views

Install Monodevelop on a new Redhat 6.5 Workstation

I've installed Mono and I would like to install Monodevelop. I tried to build the dependencies but with no prevail. My distro is rhel 6.5 Workstation. Can someone please show how this can be ...