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

1
vote
2answers
348 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
94 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
53 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 ...
24
votes
5answers
6k 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
0answers
14 views

Tracking daemon restart

I have a daemon that seems to restart itself at irregular intervals. Behavior is consistent with doing kill -9 and then starting it again. Since system is pretty much open pretty much anybody might ...
0
votes
1answer
505 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
0answers
36 views

how to use “script” command automatically in Linux

How to run the script command in redhat automatically at the time of login and stop at the time of logout?
0
votes
0answers
5 views

Gedit: can search results be put into a list?

Is it possible to run a search on a file with gedit and have each line where there is a hit displayed "below" somewhere in a list?
0
votes
1answer
131 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, ...
0
votes
0answers
52 views

Building rtmpdump on RHEL x86 without yum and no root rights

I have an ssh connection to a RHEL x86 machine, and I can't use yum and I don't have root rights. Is there a way to install rtmpdump anyhow? By looking at this tutorial, it seems that installing ...
1
vote
0answers
46 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
91 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
98 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
68 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
735 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
61 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
37 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
333 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
61 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
202 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 ...
0
votes
1answer
1k 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
57 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
58 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
29 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
1k 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
578 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
16 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
32 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 ...
0
votes
1answer
297 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
17 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
274 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
127 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
1k 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 ...
1
vote
0answers
179 views

How to properly configure and use LXC through lxc-tools (NOT libvirt) on Red Hat based distros?

I am currently learning all about LXC. No doubt there are excellent tutorials about it. The tutorials/guides take one of the following approach: LXC on Ubuntu/Debian etc. using lxc-tools OR LXC on ...
1
vote
2answers
345 views

Are files in /tmp cleaned up by the operating system?

I have a script that generates log files that I place under /tmp I run it on Linux RedHat, Ubuntu, Solaris and AIX. I'm wondering I have to clean the logs periodically by myself (e.g. after 14 days) ...
0
votes
0answers
70 views

probe processor voltage in linux

I am in a redhat server I've tried to use lm-sensors to detect my processor's voltage, just like CPU-Z in windows environment. But after I using the command "sensor-detect", only processor's ...
0
votes
1answer
113 views

Killing daemon and closing port without ability to use 'lsof'

I have an application that spits out the time when it is requested from a client. I don't have permissions to use port 13, so I put it on a really high-numbered port. Now I can't kill that port, and I ...
1
vote
1answer
164 views

Old Red Hat Linux 5.2 on VirtualBox

I am trying to install and run Redhat 5.2 on a VirtualBox VM. This is NOT RHEL; This is the old Redhat 5.2 from before the Fedora project and was first released in 1997. While going through the ...
0
votes
2answers
117 views

How to enlarge “/”?

I'm using Red Hat 6.3 MP with two disks: VMware virtual disc (sda) with: /boot (sda1) swap (sda2) lvm2-disc (sda3) /dev/dm-0 mounted on / On /dev/dm-0, there is no free space available. ...
0
votes
1answer
33 views

building custom kernel on redhat 9

I'm trying to build a kernel 2.4 on redhat 9. but when I go through theses steps: make menuconfig make dep make bzImage make install they return no error but when I try to boot into it, it returns ...
0
votes
1answer
553 views

Red Hat seeing all processes and detail information about them

im on a red hat server and i did ps -a and see all running processes. CMD> ps -a PID TTY TIME CMD 1857 pts/5 00:00:00 ps 9011 pts/1 00:00:00 su 9097 pts/1 00:00:00 csh 20515 ...
0
votes
1answer
340 views

My wireless card is not being detected

I have a NIC Realtek rtl8111/8168b with the r8168 drivers in use (note that the r8169 drivers that come with the card do NOT work) with a Scientific Linux with kernel version 2.6.32 that does not ...
0
votes
1answer
39 views

Broken mount point with crazy status

I used to mount via sshfs onto this mount point named vismac on a RedHat linux. But something is broken, and ls -l results in the following mess of question marks and dashes: drwxrwxr-x 9 user_me ...
0
votes
3answers
93 views

What's the name of the file system of the operating system in UNIX\Linux?

Is that correct to assume that the operating system is ALWAYS placed in /usr in all kinds of UNIX and Linux? I'm writing a script that has to check the free space in the operating system's file ...
0
votes
1answer
584 views

DVD not found error while kickstart installation on RHEL 6.5/6.4

I want ks.cfg on dvd itself to keep everything at same place. Content of isolinux/isolinux.cfg label ks menu label ^Kickstart kernel vmlinuz append initrd=initrd.img ks=cdrom:/ks.cfg And ...
0
votes
2answers
2k views

How to replace the driver of realtek 8111/8169 NIC to 8111/8168

I have a Scientific Linux 6.2 with a kernel version 2.6.32-220.4.1 installed and I got a problem with a realtek r8111/8168 NIC. I found that this card does not work properly with the driver r8169, so ...
0
votes
0answers
592 views

Can't install php-fpm: dependency issues

I'm trying to install php-fpm for my nginx server. Trying to install through yum (yum --enablerepo=remi install php-fpm php-mysql), I get the next error: Error: Package: ...
0
votes
2answers
131 views

What's wrong with this configuration of sudoers file?

I have to execute a shell script as another user, but without being prompted for a password. I've edited the /etc/sudoers file with visudo, adding the following line. _www localhost=(otheruser) ...
0
votes
1answer
433 views

Why doesn't my new Amazon EC2 cluster volume size reflect the size I set in the launch options

When I create a new cr1.8xlarge instance on EC2 with a 100GB EBS storage, and run df -h, I only get about 6Gb of available storage on the root device. The instance is created using the Red Hat Linux ...