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
0answers
349 views

Why is groupinstall not working on my RHEL 6.2?

It lists the groups, but does not install them when I ask it to. Why ? How can I fix it ? [root@INEICP-EPM-W134 ~]# yum --disablerepo="*" --enablerepo="epel" grouplist Loaded plugins: product-id, ...
0
votes
0answers
14 views

Installing Nvidia drivers on Red Hat [duplicate]

I am trying to install Nvidia drivers on Red Hat Why am I getting the following error: rpm -i NVIDIA_kernel-1.0-2880.rh62.i386.rpm error: Failed dependencies: kernel = 2.2.14-5.0 is needed by ...
0
votes
0answers
89 views

How to host multiple php sites on one OpenShift app

How to make different domains point to different sub-directory? For Example: abc.com --> ./php/abc.com/ xyz.com --> ./php/xyz.com/ Can I create virtual hosts on OpenShift's app?
1
vote
1answer
214 views

Anaconda kickstart Variables

I am have an issue where I am trying to store a user's input in the variable called $mail, in the %pre environment of anaconda, and then pass it into the %post script, where it will append to the file ...
0
votes
2answers
203 views

SNMP not using community string in snmpd.conf

I'm trying to simply set up SNMP on a Red Hat system. I can walk the MIB tree just fine using the following command (from a different server): snmpwalk -v2c -c public HOST IP However, when I try to ...
0
votes
1answer
125 views

BridgedAdapter of VirtualBox on Red Hat 7 stopped working

I have a VirtualBox VM (running Red Hat 7) on my Red Hat 7, using a Bridged Adapter for its networking. It stopped working yesterday; the NetworkManager on the VM was unable to obtain a DHCP lease for ...
1
vote
1answer
55 views

Deleting unpacked tar.gz files after unpacking incorrectly

I recently unpacked a set of backup files in RHEL3 - 2.4kernel with tar via: tar -xvf backupfile It started to error out a bunch and I aborted thinking that maybe it was a gzip instead. Unpacking ...
1
vote
0answers
160 views

Ghostscript and JPEG2000 images

Using gs 8.71, RedHat I'm having trouble converting pdf files that have jpeg2000 images embedded within. Part of the coding is to reduce the pdf image by 10% using the -c <> setpagedevice ...
0
votes
0answers
14 views

Equivalent of apt urgency flag in yum changelog?

I develop a cross distribution package manager, and i want to get the urgency of all updates on APT et YUM based distributions. With APT, it's simple, I have to fetch the changelog with apt-get ...
0
votes
0answers
64 views

Rebuilt RedHat 5.6 client via VMWare, having timeout issues with putty/ping

I rebuilt a Redhat 5.6 server identical to another one after copying off a vmware template. The other one works as intended. Settings are nearly identical minus RAM size and storage. hostname, eth0, ...
0
votes
0answers
349 views

Why doesn't CentOS 6.5 emacs RPM get libotf correctly?

I'm aware that there was a problem with the Red Hat 6 RPM for emacs such that one of its dependencies (libotf) appeared to be satisfied by Open MPI, but it couldn't use the library (see Red Hat bug ...
0
votes
2answers
51 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
373 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
64 views

Mounting of cd-dvd fails

I have an app that writes images into cd-dvd or usb and then verify data if all the images are written. Summary of work flow: Create data on /myFolder/. Copy /myfolder/image.iso to /dev/scd1/ Mount ...
0
votes
0answers
154 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
44 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
596 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
23 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
25 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
0answers
197 views

NoMachine black screen on login (Windows to Red Hat NX connection)

I just downloaded and installed NoMachine for Linux - x86_64 v 4.2.27_1 on my Red Hat Server (Red Hat Enterprise Linux 7.0 (HVM) , x64), and downloaded the Windows Client NoMachine for Windows v ...
0
votes
1answer
50 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 ...
0
votes
0answers
46 views

How to install a dummy package without mk-build-deps?

I'm trying to install the latest version of mpv on Fedora. I can't figure out how to follow the step in the link (create a dummy package that depends on the required packages) without mk-build-deps ...
1
vote
0answers
36 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
112 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
23 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
569 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
138 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
158 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
62 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 ...
1
vote
1answer
5k 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
105 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
184 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
522 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
681 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
449 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
116 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
61 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 ...
25
votes
5answers
7k 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
588 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
166 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
51 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
107 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
110 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
82 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
33 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 ...
0
votes
1answer
916 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
70 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
39 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
390 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
67 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 ...