Stack Exchange Network

Stack Exchange network consists of 175 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 [centos]

Questions specific to the CentOS Linux distribution. Use this tag if your question relates to how the CentOS distribution affects your problem; do not use it if you just happen to be using CentOS and your question is about a specific configuration detail or syntax.

0
votes
1answer
25 views

sed command working only when no outfile is written

I'd like to change this file eq.txt 2018-05-03T18:46:05.050Z 11.8314 44.0586 10 4.3 USGS 2018-05-01T05:16:59.270Z 11.0366 43.2334 10 4.1 USGS 2018-04-26T11:13:20.590Z -5.4109 36.5557 10 4 USGS 2018-...
2
votes
3answers
4k views

Creating an iso from the virtual machine

I have openSuse installed as a virtual machine on Oracle Virtual Box, and I have configured some softwares with the way I require. I need to replicate the similar environment on a new Server (NOT the ...
3
votes
2answers
28k views

Error getting repository data for epel, repository not found

I have installed the newest epel and want to install mod_evasive rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm Uname -a: Linux #1 SMP Fri Nov 22 03:15:...
1
vote
1answer
21 views

Starting wpa_supplicant via script in systemd not working properly

I've written a script to manually start the wpa_supplicant function on a Fedora/Centos7 machine with a wireless NIC. Due to static routing issues, I cannot use NetworkManager (nor do I want do with ...
2
votes
1answer
918 views

Centos 7 Managing free space from CLI

I have a question regarding managing free or "unallocated" space in an LVM setup on CentOS. What i need to do is make /var bigger, to accommodate some additional VM's that i am creating. I would ...
0
votes
1answer
565 views

CentOS routing between multiple subnet

for school we have to do a linux routing vm between 4 subnet but the routing only works in one way. Let me explain, here is a schematic: The router in the center is a CentOS 7 fully up-to-date with 4 ...
0
votes
1answer
13 views

firewall not working as expected in kickstart

I have following line in kickstart for firewall firewall --enabled --service=ssh,glusterfs,tftp,ntp I am expecting tftp server should be accessible from other system, but it was only accessible from ...
1
vote
2answers
5k views

CentOS custom ISO installation - /dev/root does not exist

I am building a custom ISO for CentOS 7 and for now I am just intending for this to be an absolute minimal install (a proof of concept basically). I am re-creating the ISO via using mkisofs. The ...
0
votes
0answers
11 views

Linux cgroup memory is not beeing freed

I have an k8s cluster and one of the pods is crashing because of OOM. It has the limit of 400MB but crashing when pod reaches 30MB and I have no idea why. There is no other process in its cgroup but ...
1
vote
1answer
869 views

How to route network in order to use internet on CentOs?

I have 2 computer in local network which have CentOS both. One has wireless card which can use internet connection. Other computer does not have internet connection. I want to route ip addresses in ...
1
vote
2answers
3k views

script to add users to otrs

I'm looking for a fast way to import customer users into otrs (ticket system) I have an export from Active Directory with: firstname lastname password email username There is a script in the otrs/...
0
votes
1answer
1k views

Every email that I receive gets sent to root@example.com (Postfix on CentOS)

It seems that all emails I receive never make it to my actual inbox. They go to the root email. (in my case this is root@example.com) Here is my /var/log/maillog: Nov 10 19:43:43 mail postfix/...
1
vote
2answers
5k views

Cannot start Glassfish server on CentOS 5: port is supposedly in use, but it really isn't

I have a CentOS 5 server on which I plan to experiment with Glassfish. The server is up and running, I can ssh to it and have root access. So I installed Glassfish: I followed this link on the Oracle ...
6
votes
3answers
672 views

Distro for a startup?

We run a small start-up in the SaaS industry. About half of our current staff are developers using their own laptops with various Linux distros (Ubuntu, Debian, Fedora) with a few exceptions of ...
0
votes
1answer
4k views

tigervnc on centos - black screen

I am running tigervnc-server on CentOS 6.8, however the gnome desktop won't start for me! I have done a yum groupinstall of "X Window System", "Desktop" and "General Purpose Desktop". On one of my ...
2
votes
2answers
2k views

Adding a second hard disk CentOS

I'm running CentOS on my VMware server console, and I want to know how to make a second virtual hard disk on which I can expand the size of the primary logical volume AND and a third to hold two ...
2
votes
1answer
10k views

Error getting authority: Error initializing authority: Could not connect: Resource temporarily unavailable (g-io-error-quark, 27)

Every time I restart a service (e.g. service exim restart, run as root), I get the following error message: Error getting authority: Error initializing authority: Could not connect: Resource ...
0
votes
1answer
11 views

Trying to setup port redirection through 2nd gateway

I am trying to setup configuration where all connections to port 161 will go through another gateway (through openvpn) while others are going directly [localhost] -> [gateway] -> [remote] - OK [...
1
vote
3answers
720 views

Error: install exited abnormally [1/1] while installing CentOS-5.4 [on hold]

In my system, I have installed ubuntu. I Follow this article : How to Set Up a USB Key to Install CentOS to create bootable USB for CentOS-5.4. Steps i have done after booting successfully: Choose a ...
0
votes
1answer
1k views

SSH accesss between CentOS and Vmware installed Ubuntu

How to use SSH remote access between my CentOS (Host) and VMWare installed Ubuntu?
-2
votes
1answer
1k views

Installing specific dependency versions via yum [closed]

I am trying to install a bunch of open source libraries on a CentOS 7 server, and they all form a fairly complicated web of dependencies on each other. I need to make sure that there are no versioning ...
1
vote
1answer
615 views

How do I create the repository for my custom distro?

I am creating a proof of concept distro for CentOS and for the moment would just like to install the @base and @core packages for my distro. I have my kickstart file configured to boot into a text ...
2
votes
1answer
2k views

Setting up SMTP-AUTH & TLS in Postfix

So I have been in the process of installing a Postfix Server on my CentOS 6.2 Virtual Private Server. I have been following this tutorial: http://www.howtoforge.com/virtual-users-and-domains-with-...
4
votes
3answers
10k views

Issues in XRDP installation on Cent OS 6.5

I already went through the similar issue tracked in xsetroot, xterm and twm are not found when starting XRDP/Xvnc (on Cent OS), however it haven't helped me to fix. I am using MAC and trying to ...
1
vote
4answers
25k views

PPTP VPN in CentOS 7

I recently installed CentOS 7 (GNOME), but I realized that there is no option for setting up a PPTP VPN client. I tried to install networkmanager-pptp-gnome, but unfortunately it's not available in ...
-2
votes
0answers
60 views

Need way to grep through files for malware

I am running into a lot of issues with some files being infected, however, I figured they are very similar code inside and I was thinking about grep-ing through files to find this snip of code. The ...
0
votes
1answer
649 views

CentOS uEFI boot fails mounting correct drive: “/sysroot does not seem to be an os tree”

I have just installed CentOS 7 on a MacBook Pro and ran the first post-installation boot from rEFInd using an SD Card. At the beginning the boot process seems to work, but it eventually fails with the ...
1
vote
0answers
9 views

setroubleshootd showing ~100% CPU utilization

One of my centos7 machines shows setroubleshootd running at between 70-100% CPU utilization. I tried to temporarily disable SELinux with setenforce 0, just so I could use sealert to read the audit....
0
votes
0answers
18 views

Getting number of failed login attempts since last successfull

How can I reproduce this message, when we make an SSH connection: Last failed login: Sun Feb 19 03:52:25 There were 41 failed login attempts since the last successful login. I want to configure a ...
0
votes
1answer
13 views

Copying files from Bootable USB to local Drive in %post script of kickstart

I have created bootable USB with custom folder in it, After installation i want to copy files from USB to local directory, Following is kickstart file %post section %post --nochroot --erroronfail --...
1
vote
0answers
27 views

su - <username> hangs if I added a line in /etc/bashrc

I added this line to /etc/bashrc file export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/glibc-2.14/lib I log in as root throw SSH normally, but if I wanted to change my user by su - myusername the ...
-1
votes
0answers
16 views

Monitoring data flow to /dev/null for a given process

I have a process which reads out data from a custom PCI-e device using a custom driver. The program takes a file descriptor as an argument and writes the raw data to it. I would like to test the data ...
0
votes
0answers
14 views

How do we enable quick launcher and Min,max button in MATE (CentOS)?

I have installed MATE desktop environment in my CentOS . But there is no quick launcher 'applications' button and also my VS code installation doesn't have min,max,close buttons. I have used below ...
1
vote
3answers
3k views

How to map a sata device name to a physical sata interface for RAID systems

I have a system with 10 SATA ports, and another SATA as the boot disk. The 10 SATA ports make up 5 software RAID1 arrays. The RAID disks may be removed between boots, and swapped in with arbitrary ...
11
votes
2answers
86k views

How to properly set up 2 network interfaces in CentOS (running in VirtualBox)?

I have a VirtualBox machine running CentOS 6.5. I've created 2 network adapters for it in VirtualBox's networking settings for the machine. The first is NAT which I want the guest to use to connect to ...
2
votes
1answer
2k views

Ffmpeg problems on centOS 5.8 64 bit

I did install ffmpeg with winff, unsuccessfully when I try converting avi to x264, it says I don't have it. When I try to convert mp4 to Xvid I get unknown encoder 'libxvid'. It's like nothing really ...
1
vote
1answer
441 views

Can't start network.service after removing NetworkManager

I have this problem that I can't fin a solution on the internet. I have a centos 7 server with cpanel and whm. I deleted the NetworkManager and wanted to turn on network.service. Then I always get ...
2
votes
1answer
1k views

Password protecting Single User Mode and GRUB on a VPS

I have a VPS CentOS 6 Linux web server. It is run on KVM. Running a Lynis audit, it notes that single user mode and GRUB are not protected by any password/authentication: [16:00:28] Warning: No ...
0
votes
5answers
8k views

Failed to start OpenLDAP Server Daemon

Using Centos 7 and following steps for openldap server configurations.i am facing this problem [root@linux1 ~]# systemctl restart slapd Job for slapd.service failed because the control process ...
0
votes
1answer
3k views

xfs_repair could not find valid secondary superblock

I had 3 bad tracks on my hard drive so I used Disk Genius to fix it,ofcourse the data near the back tracks were wiped out.Then I booted from linux rescue disk and run xfs_repair /dev/sda1 xfs_repair /...
2
votes
1answer
3k views

CentOs 7 - MobaXterm - X11 Forwarding per user

I am using MobaXTerm to connect to my CentOs 7 Server. I have set X11Forwarding yes in my /etc/ssh/sshd_config file. The root user is able to start the X11-Gui for example gedit. The other users ...
0
votes
1answer
31 views

Dual Network Gateway on CentOS 6.7

I have dual NIC machine running CentOS 6.7 and asterisk. First NIC is for LAN & Internet connectivity and second is for trunk provider's connectivity. Both of these have gateways configured. I don'...
0
votes
2answers
832 views

postfix & cyrus-SASL SASLDB2 0: NO “authentication failed”

We are setting up a Postfix mail relay to accept only authenticated smtp sessions and forward them to our backend smarthosts. CentOS 6.8 postfix-2.6.6-6.el6_7.1.x86_64 cyrus-sasl-lib-2.1.23-15.el6_6....
0
votes
0answers
16 views

CentOS doesn't go to login screen after kernel update from 3.10 to 5.06 on my HP ML150 server [on hold]

Installed CentOS 7.6 on my HP Proliant ML150 Gen9 server which came with kernel version 3.10. Immediately upgrading kernel to latest mainline version 5.0.6 caused the problem which is being not able ...
0
votes
1answer
2k views

SMB/CIFS enable large rsize/wsize to netapp

I’m connecting from a Centos 7.2 client to a Netapp cifs fileshare. We had to swap over from NFS as we lost 30% of space due to a lack of “hole drilling”. Performance has slowed down due to cifs ...
1
vote
1answer
4k views

Reinstaling NSS library on CentOS (Amazon AMI)

I had a problem during updating of the packages on CentOS AMI from Amazon (S3). I got a bunch of duplicated packages. Among them: nss-softokn-freebl-3.16.2.3-14.2.38.amzn1.x86_64 is a duplicate with ...
0
votes
1answer
57 views

Files hidden unless I cd from 2 folders away

I have a CentOS7 virtual machine that I created to run some software. The software is installed at Downloads/folder1/folder2 under a non-root profile. Folder names are changed and the downloads ...
0
votes
2answers
638 views

CentOS 6, having hard time with yum, repos and installing packages

I'm having some hard time with yum. My end goal is to install the pymssql library for Python. It fails because it needs freetds install. yum install freetds fails with Loaded plugins: fastestmirror ...
4
votes
3answers
967 views

Centos 7, I thought “yum install ___” was supposed to get all the dependencies, too?

I want to install Trillian onto my CentOS 7 box. I went to www.trillian.im/get/linux/6.1/linux.html and downloaded the rpm package trillian-6.1.0.5-1.fc25.x86_64.rpm. It was my understanding that ...
3
votes
0answers
380 views

How to get the values for “set root” in menuentry while setting password for GRUB2 on CentOS 7

I need to disable single user mode on my servers running CentOS 7. I read the RedHat documentation on what goes to /etc/grub.d/40_custom and how to encrypt the password and all but one details makes ...