**DO NOT USE!** This tag is slated for deletion See this meta discussion: http://meta.superuser.com/q/8402/107240. 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
14 views

Machine Hang on /dev/sdb1

I have Oracle RED HAT LINUX 6.5 and following is the disk face Filesystem Size Used Avail Use% Mounted on /dev/sda5 41G 21G 19G 52% / tmpfs 7.9G 164K 7.9G 1% /dev/shm /...
3
votes
1answer
3k views

Differences in nc (netcat) options on Ubuntu vs RedHat

nc -q -1 local host ${PORT} ${CMD} In Ubuntu, nc may be used as above, with the -q option. See manpage. -q after EOF on stdin, wait the specified number of seconds and then quit. If seconds is ...
4
votes
2answers
3k views

How can I enable anonymous access to a Samba share under ADS security mode?

I'm trying to enable anonymous access to a single service in my Samba config. Authorized user access is working perfectly, but when I attempt a no-password connection, I get this message: Anonymous ...
0
votes
1answer
7 views

RHEL 6 VM not booting Unexpected inconsistency

I have a daily backup that starts around 5pm, and i think yesterday it kicked while my VM was powered on which corrupted or something to my VM
1
vote
1answer
20 views

Inserting second disk during installation of OS in VMware

Hello I'm installing Red Hat 9(version from 2009). Everything was good until the installation program asked for the second disk, now I don't know how to add the second cd and continue the installation....
0
votes
2answers
39 views

RHEL 7.2 and SoapUI 5.2.1

Has anyone successfully installed and run SoapUI 5.2.1 64 bit on a RHEL 7.2 VM? If so what's the magic recipe? I tried both the "Linux installer (64-bit)" and "Linux tarball (Java not included)" ...
7
votes
3answers
3k 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
0answers
22 views

Restrict internet access for a VM running on Linux with firewall rules

I have Red Hat 7 running on my workstation, and Windows 10, used for working with Windows programs, in a virtual machine running on KVM/QEMU. The workstation, fulfilling the role as hypervisor, and ...
0
votes
0answers
24 views

how to restrict sftp only users to specific folder within the chroot directory

I know there is different versions of this question. but I am trying to give each user a folder within chroot directory and he/she should not be able to navigate outside the assigned folder. What I ...
0
votes
1answer
10 views

How to configure Yum to update from self-hosted repository

I've been looking for help on this question for a while now- I have a redhat instance (which I'll call "A"), that I would like to use as a repository for updates, rather than the redhat-subscription-...
1
vote
3answers
10k views

How to find out total NIC cards and total available physical ports in linux

I need to find out how many total physical ports my server has, and how many of them are in use and how many free. Can you kindly help how to find it: This is what i find from dmidecode output: #...
2
votes
1answer
20 views

cannot see HOSTNAME field in /etc/sysconfig/network file in RedHat Linux

I am trying to set up HOSTNAME to a machine , but I am unable to find the HOSTNAME field in the /etc/sysconfig/network file all I can see is this below # Generated by anaconda NETWORKING=yes ...
2
votes
0answers
496 views

disable IPV6 on specific interface with redhat on vmware

I tried to disable IPv6 on specific interface using IPV6INIT=no on the interface script. its working great on all server accept ones that run on Vmware. any idea? im using redhat 5.2, on vmware ESX
2
votes
5answers
2k views

Kill program after it outputs a given line, from a shell script

Background: I am writing a test script for a piece of computational biology software. The software I am testing can take days or even weeks to run, so it has a recover functionality built in, in the ...
0
votes
1answer
374 views

Customizing Redhat Enterprise Linux Guests

What is required to clone and customize a RHEL guest. I need to duplicate a RHEL guest into 20 separate unique guests, on a ongoing basis. Who is this done, is there some Open Source Perl scripts that ...
1
vote
1answer
4k views

Is it possible to upgrade from RHEL 4 to 6 with up2date(or yum) on or after 2012/08?

I'd like to upgrade my server's os from RHEL 4 to 6 after 2012/08. I know that there are 2 methods to upgrade. 1. directly (RHEL 4 -> 6): 1. buy a new server machine. 2. install RHEL6 on the ...
0
votes
0answers
13 views

Kickstart Query - How to install Centos/Redhat on 5th Disk?

Kickstart Query - How to install Centos/Redhat on 5th Disk? This is a kickstart question. We have DL360p server which has 6 Drives. First 4 Drives are Sata Drives and 5th and 6th are SSD Drives. ...
0
votes
0answers
15 views

Migrating Linux VM from 2012 to 2012R2 hv_vss_daemon issue

When migrating our Red Hat Enterprise Linux 6.7 VMs from server 2012 to server 2012R2 the hv_vss_daemon (part of intgrated services) fails to start automatically on boot. I've tried uninstalling and ...
0
votes
2answers
132 views

Where are shell variables sourced in bash under RedHat?

I am getitng something weird in my environment. I have a .bash_profile that only checks for .bashrc and then sources it. I have a JAVA_HOME in that file that is correctly setting the variable and ...
-1
votes
1answer
65 views

Red Hat command returns, “-bash: sudo: command not found” when running “sudo git”

I’m following a GoDaddy help tutorial in order to install “Let’s Encrypt” certificate for my website. So I connected to my server using SSH via PuTTy and when typing the first command: sudo git ...
1
vote
3answers
83 views

What creates the default ifcfg-eth? file?

When I change out a NIC card in my RHEL 5 box, the applicable /etc/sysconfig/network-scripts/ifcfg-eth? file is renamed ifcfg-eth?.bak and a new one is created configured with: ONBOOT=yes BOOTPROTO=...
7
votes
3answers
1k views

How to configure linux to enforce new users to change their password on first login

I'm trying to configure users password policy on RHEL 6.6 and I want system to ask newly created users to change initial password on first login. Note, that I tried to set EXPIRE variable to 0 and ...
0
votes
2answers
3k 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
1answer
17 views

nohup on bash redhat is one processID different

I'm using capistrano to deploy a python service. I was trying to both start the service and also write a pidfile, so I can restart the service or stop the service later. The problem is the pidfile is ...
0
votes
1answer
137 views

Upgrade gcc to gcc-4.9 in RHEL 7

redhat 7 has gcc 4.8.5. I want it to upgrade it to 4.9. For that I've used the below command sudo yum install devtoolset-3-gcc.x86_64 And I got the below response Loaded plugins: amazon-id, rhui-...
3
votes
1answer
168 views

Apache will not start, no httpd error messages

I am trying to start the httpd service on RHEL 7. When I run systemctl start httpd, it fails. Here is the output of journalctl -xe. There are no apparent error message for httpd, Would the errors ...
0
votes
0answers
37 views

How might I install vim with Lua support to fully use Vim-spf13

When trying to use neocomplete :neocompleteenable for Vim 7.4/SPF-13 under RHEL 6.8 (Santiago), I'm greeted with neocomplete does not work with this version of Vim. neocomplete requires Vim ...
0
votes
1answer
5k views

How to debug syslog-ng not logging UDP logs

I am trying to get a client to log to a syslog-ng server. However, as far as I can tell, syslog-ng is not registering that it has received the message and it has not logged to the file. NOTE : All ...
37
votes
4answers
69k views

How do I make sudo preserve my environment variables?

Using sudo 1.7.4p4 on Solaris 5.10 and sudo 1.6.7p5 on RHEL4 u6 I can't see how to preserve my environment variables, for instance $PYTHONPATH. I've added this line to sudoers, but it doesn't make any ...
0
votes
1answer
22 views

How can I logon to another machine when opening a new termial, without causing the process to start looping?

So, when we login to the Red Hat machine we normally develop on, we have to go via another machine due to security reasons. The idea I had was to create an rsa key and connect to the next machine ...
0
votes
0answers
11 views

Why is redhat 5.5 suspended by gnome-power-manager?

Why did this error occur on May 5 18:15:59? Did someone click the wrong button in the Gnome UI? -------------------log below------------------------ May 5 17:12:15 dbserver xinetd[5530]: START: ...
0
votes
0answers
16 views

linux + verify by ssh the remote machine configuration

what is best way to verify if the remote machine is cluster machine I just create the following ssh command to verify if the remote machine is VRTS cluster or Linux availability Red Hat cluster ...
0
votes
0answers
163 views

yii framework PHP User Error - The directory is not writable by the Web process

I am facing an issue with YII Framework on Server Red Hat Enterprise Linux Server release 7.2 (Maipo) PHP Version: # php -v Output: PHP 7.0.5 (cli) (built: Apr 2 2016 13:08:13) ( NTS ) ...
2
votes
2answers
3k views

RedHat Network - Unable to register

I'm trying to register my RedHat machine to my RedHat Network account but when I try, I get this error: Problem registering system: Error Class Code: 70 Error Class Info: All available ...
1
vote
2answers
217 views

How do I connect to a shared folder on the network on Fedora 23?

I'm new to Linux and I'm trying to learn about it. I usually connect to my university server on Mac OS X using the "connect to server" option. This is an example of my university home address: smb:\\...
3
votes
1answer
275 views

Install rpm packages using file globbing with errors

I found a rpm feature. If you rpm install * and one of the packages fails to install then none of the remaining packages will be installed. Does anyone know how to use rpm to install packages with ...
7
votes
2answers
6k views

How to extract RPM from RPM database in RedHat

Is there a way to extract an installed RPM from an RPM database on RedHat Linux to reproduce the original .rpm file?
0
votes
0answers
8 views

Virtual memory size same Python application on Centos 7 and RH 5.2

Is there a reason why the same python app and code consumes about 90MB of virtual memory size in Red Hat 5.2 32bits python 2.4 and abut 300MB in Centos 7 64 bits with python 2.7? Both app's versions ...
0
votes
0answers
29 views

linux redhat why resolve.conf is change

I have a very strange issue in my linux machine - redhat 6.7 version when I update my resolve.conf file as the following: options attempts:2 options timeout:1 search usa.Pe.corp tedcruz.usa.fb....
0
votes
0answers
13 views

How to get git > v.1.8.2 on RHEL 6?

I've just realized that the version of git that ships with RHEL6 is 6 years old. That would be version 1.7.1. This does not support a feature that was added in git v.1.8.2 (which itself is 3-1/2 ...
0
votes
2answers
138 views

linux + why I cant change the passwd

I have redhat 6.x version I am trying to change the passwd from single user mode but I get the following passwd root changing password for user root passwd: permission denied then I try to ...
1
vote
1answer
662 views

Dependency resolution error when updating Red Hat Enterprise Linux 6

I am running yum update on RHEL6 Workstation as I have always done in the past but it fails: Error: Multilib version problems found. This often means that the root cause is something else and ...
-1
votes
1answer
5k views

mount command times out when trying to mount between servers

I've got two identical RHEL boxes and would like to mount a directory from one to the other. my command: [me@serv_dev ~]$ sudo mount serv_prod:/my/dir /mnt/my/dir times out after a few minutes: ...
0
votes
0answers
54 views

how to Increase VM disk without reboot on Linux redhat 6.x + LVM

I increased the second disk in VM machine from the VSphere client GUI as the following: By right click on the machine --> edit settings --> hard disk2 --> increase the disk from 1G to 2G Then I ...
0
votes
0answers
12 views

SCSI messages in Red Hat 6.7 running as VM in Hyper-V

We are seeing the messages file being filled up with the following lines. Does anyone know what would cause this? Background: It has vFC adapters and one IDE boot VHD. There are four SAN FC disks ...
0
votes
1answer
721 views

Do I have to restart my machine for ulimit - u to take affect?

So I have an external 3rd party application which runs on Java. The JVM is getting a load of OutOfMemeory errors and their support team suggested I raise the ulimit - u from he default 1024 to 4096 ...
0
votes
0answers
17 views

Download apt get to a repo

is there a possibility to download all the packages i need to a specific repo which i could bring it to another offline linux system. I would need to download apt get packages in Linux mint and ...
0
votes
0answers
15 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
1answer
45 views

Logrotate wildcard fails on missing files with “missingok” AND “olddir”

Platform: RHEL 7 logrotate-3.8.6-7.el7_2.x86_64 Background: On a RedHat Linux server I have a large set of application servers running, and want a uniform logrotate routine for cleaning up log ...
0
votes
0answers
30 views

chkconfig settings in /etc/chkconfig.d/ not working

I have an init script named activemq (that came with a software package) in /etc/init.d and I would like to set up that script for chkconfig. I don't want to edit that file in case a newer version of ...