What version are you using? Use the RHEL tag if your question is about Red Hat Enterprise Linux.

learn more… | top users | synonyms

0
votes
0answers
4 views

Make one VNC server appear as two displays in RHEL

I have a VNC server running in virtual mode in RHEL and I am viewing it on a PC which has two screens. I can make the server use both of my screens by setting the resolution large enough: xrandr -s ...
0
votes
1answer
6 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
15 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
16 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
6 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
15 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
23 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
29 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    ...
0
votes
2answers
45 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
22 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
22 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 ...
-1
votes
2answers
34 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
106 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
11 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
16 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
67 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
18 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
12 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
24 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
32 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
6 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
0answers
40 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
47 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
46 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
37 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 ...
0
votes
1answer
56 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
57 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
49 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 ...
0
votes
0answers
54 views

how to delete yum and right re-install to centos6.5?

[root@webdev docs]# yum list Gathering header information file(s) from server(s) Server: Red Hat Linux 6 - x86_64 - Base retrygrab() failed for: ...
1
vote
1answer
108 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
0answers
23 views

Issues configuring IPv6 on Red Hat 5.8

I'm new at linux and i'm trying to configure IPv6 on a Red Hat 5.8 due a specific application I'm working on. This Linux is installed in a VMWare 8 and the IPv4 is working fine! I can ping the host ...
0
votes
0answers
14 views

Red Hat-Like Startup for Debian (ok symbol)?

One thing I kind of liked about the old Red Hat startup (I was using version 9) is the way it shows every process during startup with an [OK] symbol on the right (or [Failed] if it did not work), ...
0
votes
1answer
70 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 ...
0
votes
0answers
72 views

Installing gdal/postgis has dependency

I am trying to install gdal/postgis2_92 but I get following dependency issue: Error: Package: gdal-libs-1.9.2-4.el6.x86_64 (elgis) Requires: libz.so.1(ZLIB_1.2.0)(64bit) Error: Package: ...
1
vote
2answers
85 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
32 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
28 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 ...
23
votes
5answers
2k 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
10 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
149 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
32 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
71 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
18 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
39 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
50 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
55 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
47 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
32 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
0answers
87 views

samba share guest ability to write to all files/folders, old and new

I currently have a samba share set up on RHEL, that allows any user to write to the root folder. I'm unable to write to the sub folders/files. I have run; chcon -R -t samba_share_t ...