Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [redhat-enterprise-linux]

Use for questions about Red Hat Enterprise Linux (RHEL), a Linux distribution from Red Hat intended for enterprise use. Note there are version-specific RHEL tags for questions unique to a specific version. Use a product-specific tag for questions about other distros in the Red Hat family, like Fedora or CentOS.

0
votes
0answers
150 views

How to setup SMTP relay on redhat

I like to setup SMTP relay on redhat7 using postfix with SSL over SMTP. The idea is that the email receive from postfix suppose to forward to another 3 different domain email address. email@postfix....
0
votes
1answer
253 views

How to seamlessly multi target Electron debug with VSCode using the legacy protocol, electron 1.6.7 , node v6.11.1, vscode 1.17 and firefox?

I recently read the article ,Multi target Electron debugging with VSCode whose URL is https://kwonoj.github.io/en/post/multi-target-dbg-electron-vscode/ and got it to work seamlessly in an Oracle VM ...
1
vote
1answer
46 views

Is it possible to create only ssh password for user without any password?

Using PermitEmptyPasswords yes is totally insecure. Is it possible to create password only for ssh connection, but not for local user?
0
votes
0answers
138 views

Is it possible to create yum repo file in different location than /etc/yum.repos.d and use?

We have a requirement to create yum .repo file dynamically on the go and use it. But don't have root/sudo to create it in /etc/yum.repos.d. (requirement is to get the url of rpm using yumdownloader ...
0
votes
1answer
57 views

Move Linux SSD to another chassis with very same hardware

I have a quite new laptop currently running RHEL7.4 on SSD/luks partition, no kernel customizations. This machine presented a keyboard problem, so the manufacturer sent me another one - just got it ...
1
vote
0answers
311 views

how to update libc6 on Red Hat Enterprise Linux Server release 6.6

I am running into following error while compiling a build and based on https://askubuntu.com/questions/421642/libc-so-6-version-glibc-2-14-not-found I tried to upgrade the libc using yum, brew,apt-get,...
0
votes
2answers
418 views

Run Firefox on Linux RHEL 6.9

After days of searching and many attempts to instal/run firefox on Linux EC2, I have the following steps: 1. Install Xvfb: yum install libXdmcp yum install libxshmfence yum install xorg-x11-server-...
0
votes
1answer
100 views

sysstat not updating configuration?

This is my first question on SuperUser so go easy! I have attempted to prune my servers' /var/log/sa/* logs by updating the /etc/sysconfig/sysstat file to the following: # sysstat-10.1.5 ...
0
votes
1answer
21 views

Is ftp connections and actions are logged in REDHAT 7?

I am using a REDHAT 7 server through a VPN connection (with some other users). I want to know if FTP connections and operations are logged somewhere. I tried to look around /var/log but nothing seemed ...
0
votes
1answer
84 views

Installing RHEL into VirtualBox

I have to practice, so I want to install RHEL onto my personal machine, but first I want to try installation onto VirtualBox on the same machine (you never know what may happen). So the question is: ...
2
votes
1answer
52 views

No access to server despite setting IP in hosts.allow

I am trying to give a user access to our redhat server from his home computer. I have done this several times for other users already, simply adding the respective IP to the servers hosts.allow file. ...
0
votes
0answers
187 views

how to stop messages from /var/log/secure from disappearing

I'm using RHEL7 and I have root access. When I do a su login as 2 other users (bill and john in this case), the log ins get logged into the /var/log/secure file. Problem is, the messages disappear ...
0
votes
1answer
37 views

how to echo text into a file from the CLI to ammend a variable in the file? [duplicate]

using Centos7 e.g vi test.txt test.txt contains the following information x=100 y=200 z=300 I want to put a command into the CLI such as echo x=250 >> test.txt but instead of x=250 being ...
-2
votes
1answer
241 views

Logrotating postgres logs

My PostgreSQL log is writing as a single file. Its becoming bigger and bigger day by say as postgresql.log. I can see logging_collector is set as ON and log_rotation_age is also set to 1 day. Still ...
0
votes
1answer
260 views

linux + tput: No value for $TERM and no -T specified

I use in my bash script the tput command in order to colored the text as tput setaf 2 when I run the script from putty or console every thing is ok but when I run some external WIN application ...
0
votes
0answers
210 views

Mysql 5.7.20 service failed to start on RedHat 6.5

I've installed mysql 5.7.20, but unfortunately service mysqld start is constantly failing. The /var/log/mysqld.log file has following line: 2018-01-08T08:24:07.097304Z 0 [ERROR] Fatal error: ...
-1
votes
1answer
68 views

AWS : How to switch as “root” user?

I have new created EC2 instance in aws, and able to login as EC2-user using private key but want to login as root to install packages. Not able to switch as root tried sudo - but it asking for ...
0
votes
0answers
508 views

RHEL 7 “rpm”, “yum” comment not found

I have newly installed RHEL 7 and while trying to install some package I got error "yum command not found" and same for rpm as well.
1
vote
1answer
162 views

Red Hat 7 npm package installing error

I trying install npm but system shows me this error: [root@myserver etc]# npm install npm@latest -g npm http GET https://registry.npmjs.org/npm npm http 200 https://registry.npmjs.org/npm npm ERR! ...
0
votes
1answer
135 views

blkid + print only the disks that are with filesystem

regarding blkid command please help me to approve this assumption can we say that blkid will print all disk devices only if these disks are with filesystem ( by mkfs ) blkid /dev/sda1: UUID="...
3
votes
1answer
2k views

how to delete the partition after mkfs

we created the ext file system on new sdd disk as the follwing mkfs.ext4 -j -m 0 /dev/sdd -F in order to get the disk as was before mkfs I guess we need to delete the partition that created by ...
0
votes
1answer
481 views

Opposite of the `mkfs.ext4` command [duplicate]

is it possible to reverse after make mkfs.ext4 ? mkfs.ext4 -j -m 0 /dev/sdb -F for example we create file system on new device - sdb ( no any data on sdb ) mkfs.ext4 -j -m 0 /dev/sdb -F now we ...
0
votes
1answer
2k views

How to install libstdc++.i686 on RedHat RHEL 7?

yum install libstdc++.i686 ... Transaction check error: file /usr/share/gcc-4.8.2/python/libstdcxx/v6/printers.pyc from install of libstdc++-4.8.5-16.el7_4.1.i686 conflicts with file from package ...
0
votes
1answer
959 views

Installing MySQL on Red Hat Linux on the remote server without internet using pre-downloaded RPM packages

I am trying to install MySQL on the Red Hat Linux remote server without the internet. Problem is : Can't use internet on the server (so cant use 'yum install ..' commands) Solution found: To pre-...
0
votes
1answer
934 views

How to download all rpm dependencies independent from platform running

How to download all rpm (not installed) dependencies without rpm itself. Independent from platform running - download dependency if its installed anyway.
0
votes
0answers
62 views

I'm using downloadonly for another box. How can I configure repos for a different OS?

I have a standalone RHEL7 box and a networked Debian box with yum installed. I'm trying to use downloadonly in yum to download RPMs for the RHEL7 box. I used: sudo apt-get install yum yum install ...
0
votes
1answer
124 views

Install pre-configured Linux distribution over USB

I have a few PCs that I need to install a pre-configured version of linux onto from a USB. The purpose of these machines is to operate as a hypervisor for some VM's I need to run. The problem is I ...
10
votes
1answer
4k views

systemd forking vs simple?

I am writing my first systemd unit file. For Type, there are a few choices: forking, simple, etc. I have read the Redhat Documentation on this topic (Table 9.9) , but still am not sure when I should ...
1
vote
1answer
152 views

Ansible error: Unable to add user to already existing group

I am unable to add user to an already existing group. After executing, on verifying from /etc/groups I can see that user is not added. I am new to Ansible. Could anyone help? This is the script I am ...
0
votes
2answers
40 views

Mount fails on boot

In fstab, I have 3 logical volumes being mounted, one for /, one for /home, and one for swap. On boot I see that / and /home are being mounted OK, then I see "Remounting root filesystem in read-...
0
votes
0answers
111 views

Resize /dev/sda in virtual box

I am using rhel 7.3 on virtual box. The software I am trying to install requires 1000 M available swap. Can someone explain to me how can I change that ?
0
votes
0answers
137 views

How does HP's BIOS Graphics “Auto” decide which one to choose?

The HP Z15-G3 has a Graphics drop-down menu in the BIOS with the available options: Auto Discrete Graphics Hybrid Graphics Exactly how does "Auto" work? In the HP Z15-G2 BIOS Manual it says, "When ...
0
votes
1answer
250 views

Windows takes so long at first login to CentOS SAMBA DC

I set up SAMBA 4.7.0 DC on CentOS 7.4 by referring to this link . Everything went smooth as it says. I set up DNS Backend as SAMBA_INTERNAL and DNS Forwarder as 8.8.4.4 even though I didn't configure ...
-1
votes
1answer
38 views

Internet connection lost after creating network bonds, but restored after rebooing in “emergency mode” on a RHEL7

I am a noob at networking, please forgive me if my terminology is not technically correct. I am facing a weird problem with internet connectivity on a RHEL 7 machine after creating network bonds. tl;...
0
votes
1answer
76 views

What is the best approach to do fsck on corrupted disk + redhat 7

What is the best approach to do fsck on corrupted disk one from the following options: The first option is to set “1” ( the last character ) on device in /etc/fstab file , so it will check ...
0
votes
0answers
35 views

How to hold old link on same hostname, but different server?

I have two servers, who should have same hostname. One of them is not propagated on DNS, and if I want to access on a new server, I was going to edit hosts file every time, if I needed to access to it....
0
votes
1answer
279 views

how disk became suddenly write protected in spite configuration is read/write

we have linux redhat 7 machine and the filesystem for device - /dev/sdc is ext4 the HW is new HW and new disks when we perform: mount -o rw,remount /grop/sdc we get write protected error like: /...
0
votes
1answer
99 views

domain name configuration + redhat 7

we configured the hostname with qualified domain name in the file: more /etc/hostname machine04.whitehouse.com so hostname will give machine04.whitehouse.com in the redhat 7 machine we see ...
0
votes
1answer
169 views

Find files created within time frame linux find command

This command runs fine - however it takes in a 24 hour block of time since I run the command. So if I run this at 7pm, I get a lot of files from the previous work day starting at 7pm. I tried the -...
3
votes
5answers
11k views

XRDP rejecting login

I am on a windows 7 computer trying to access to a RHEL7 system via windows remote desktop. Until today I (and others in my department) have been able to login to the RHEL machine using xrdp. Today ...
1
vote
1answer
40 views

How to expand application tabs

I'm using Red Hat Enterprise Linux Server release 6.8. GNOME desktop How to expand bottom application tabs to present full name
0
votes
1answer
31 views

Shell Script Will Not Work After File Transfer to Server But Will Work If Copied in VI

As the title states, I have a shell script written then transfer the file to RHEL6 or 7. I give the script executable permission and run. It outputs a bunch of errors. If I vi backup.sh, copy ...
0
votes
1answer
67 views

SSH - get multiple user acces to ony one folder

maybe silly question, but I have no experiences to this. I have server and I need to get access multiple user via SSH to upload the files to my server. I want the other users can see only this ...
0
votes
1answer
28 views

slurm allows authentication without allocation

I am using slurm with munge. Except on one node all others work fine. But on one node, it is possible to ssh to it, even without any valid allocation. I checked the sshd and system-auth file. They ...
0
votes
0answers
140 views

rpm missing dependencies on redhat

Somehow, rpm stopped working on my distribution of Redhat. When I type rpm, I see: rpm: error while loading shared libraries: librpm-4.3.so: cannot open shared object file: No such file or directory ...
1
vote
1answer
67 views

Accidentally overwrote /usr/bin/python on Redhat

On Redhat, I had the bright idea of upgrading from Python 2.6.6 to 2.7.3 by running this command: cp /usr/bin/python2.7 /usr/bin/python This caused far-reaching problems throughout the whole system. ...
2
votes
0answers
150 views

Linux: “authconfig --update” in SuSE?

What is the equivalent SuSE command for authconfig --update redhat command Suse 11.* I could not find any command online to try it authconfig --update doesnot work
1
vote
1answer
149 views

sudo -u <user> <cmd> vs sudoedit

I have read on the internet that you have to use sudoedit instead of sudo vim. I understand why this is and should be used so you can't just edit root-user files. However I would like to manage a ...
1
vote
2answers
416 views

How to create a sudo user if there is no wheel group available in rhel?

I mean, if there's a user with username:name how to make him a sudo user without adding him to wheel group(intention is if wheel group is deleted)?
1
vote
0answers
510 views

showmount -e nfs_server_hostname does not show all the available mounts for a client, but why?

NFS_Server is a DataDomain Client is RHEL 7.3 I run a below command to show available NFS shared for my client system from NFS_server, however, I do not see all the share available to mount. # ...