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.

learn more… | top users | synonyms (2)

1
vote
0answers
28 views

Back up script causing issues

I've got this backup script I'm trying to use and I'm having issues with it. #Setup Variables DOMAIN=domainexample.com FILENAME=${DOMAIN}.$(date +%Y%m%d) DBSERVER=localhost DATABASE=databasename USER=...
0
votes
1answer
114 views

source RPM doesn't seem to install on CentOS with no errors

My experience with CentOS and RPM's is limited so I might be missing something obvious, but I can't seem to figure this out... I'm trying to install Sphinx into CentOS 6 in a Docker image using the ...
0
votes
0answers
61 views

Network not working after wake on lan

I just installed a fresh copy of CentOS 7 on my server at home, it worked great until I used etherwake to wake the server up. After doing so the network no longer works, I'm not sure if this is a ...
0
votes
1answer
184 views

PowerDNS returning ServFail for all requests

I have been working to get PowerDNS running on CentOS 7 x64 that is up to date. Followed this guide for everything except Nginx because I am using Apache: https://www.rosehosting.com/blog/install-...
1
vote
0answers
70 views

CentOS 6 - Order of network interfaces when running “ip address show” command

I have installed CentOS 6.7 on new HP Gen9 server and decided to rename interfaces using udev so they are in order eth0-7 from left to right when looking at servers back (originally interfaces were in ...
0
votes
1answer
76 views

Is it possible to change how usernames are displayed on an AD bound CentOS system?

I don't even know if such a thing is even possible. I'm not referring to the bash shell customization. On an Active Directory bound CentOS 7 system, a local user account will just show as username ...
0
votes
0answers
115 views

stop while booting giving error of Genetrating “/run/initramfs/rdsosreport.txt”

I am getting following error while booting my centos 7 machine Generating "/run/initramfs/rdsosreport.txt" Entering emergency mode. Exit the shell to continue. Type "journalctl" to view system logs. ...
6
votes
2answers
214 views

Why are .so packages provided by the devel packages?

I've seen an interesting pattern in RPM packaging. The main library package will include the shared library itself: /usr/lib64/libavcodec.so.54 The -devel package will provide headers and a symlink:...
1
vote
3answers
118 views

net.ipv4.ip_forward reverting to 0 even though set in /etc/sysctl.conf

I set net.ipv4.ip_forward = 1 in /etc/sysctl.conf and ran sysctl -p which caused it to set to 1 as expected in the output of sysctl -a, but sometime between last night and now something set it back to ...
1
vote
2answers
738 views

Installing (html) tidy conflicts with filesystem package

I'm on CentOS 7 trying to install tidy. Since there is no package provided by the usual suspects, I've downloaded the tidy-5.1.25-64bit.rpm RPM from http://binaries.html-tidy.org/. When I install this ...
1
vote
1answer
86 views

How do I rename my TTY terminal?

I have a Centos 7 server with 48 USB to serial devices plugged into it. Using udev, I was able to write a script that creates symlinks in the /dev folder that map the ttyUSBx devices to corresponding ...
0
votes
0answers
52 views

Set firewalld on CentOS 7 for Cloudstack service and unistall iptables

I was following Cloudstack installation instructions, when I realized that iptables is not included in the OS, it was replaced by firewalld. So first of all I've shut down firewalld: systemctl stop ...
3
votes
1answer
147 views

yum update exits with “Didn't install any keys”

I just installed Centos 6.7 on Virtualbox and ran yum update with this output: warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY Retrieving key from file:///etc/pki/...
0
votes
1answer
93 views

no iptables, no selinux, port 81 in virtualhost still not working

I try to open port 81 as a virtualhost. after setting apache, I can CURL localhost:81 from local machine and get response(yes it was listening port 81). However, when visit the same address from ...
1
vote
1answer
65 views

grep restart script if not running

Hi guys i'm running into an issue here that I need to have a nohup php script run in the background and make sure it's always running and restarted if it crashes. I run the following bash script using ...
1
vote
1answer
297 views

How can I restrict SSH login on CentOS 7 to Active Directory groups? [closed]

I've successfully added CentOS 7 to AD and can login locally or SSH with domain credentials before I try restricting login. I'm using the AllowGroups flag in sshd_config and this works if I specify a ...
1
vote
1answer
184 views

sssd realm discover: Not authorized to perform this action

I am testing sssd on CentOS and am unable to progress as per the error below: [root@sssd-testing ~]# realm discover realm: Couldn't discover realms: Not authorized to perform this action [root@sssd-...
6
votes
2answers
307 views

CentOS - meaning of the boot screen progress bar layers/colors

Is there any meaning of the CentOS (I guess RedHat and if I remember correctly Fedora too) boot screen progress bar layers*? (*) Layers ~ white, lilac(?) and violet colours. I can't figure out any ...
0
votes
1answer
34 views

Deploying a package through puppet from URL

How can i install a package through puppet by using the URL of the .tar.gz of the package on centos 6 client. Is there any native support in puppet without installing anything extra on the puppet ...
5
votes
1answer
155 views

Mount CIFS shares as non-root on RHEL7 w/o desktop

We have a Windows (AD) domain which a RHEL/CentOS 7 server has joined (SSSD / realmd). The users log into the server via SSH with their AD credentials. Now the users should be able to mount some of ...
1
vote
0answers
133 views

problems during install gnome on Centos 7?

My environment is VirtualBox 5.0.8 / Centos 7(64) and I create a local repository "local_centos7" from "CentOS-7.0-1406-x86_64-DVD.iso" yum groupinstall "GNOME Desktop" some errors occur Error: ...
0
votes
1answer
152 views

dhclient enter/exit hooks to update resolv.conf

I would want to append the below line to resolv.conf of all servers in our aws env and make sure it doesn't get overwritten options timeout:1 attempts:1 rotate I came across dhclient enter and exit ...
0
votes
0answers
55 views

Cannot access server outside of server`

I have a node server listening on port 80. If I send a request to it like this: request('http://127.0.0.1:80',function(err,res,data) {console.log(data)}) It works. It returns what I would expect. ...
0
votes
1answer
143 views

How do I apply a manifest from a Puppet Master server to a Puppet Agent node server?

I installed Puppet Agent on a CentOS 7 server. I installed Puppet Master on a different CentOS 7 server. I'm using the free version of Puppet on both servers. The Puppet Agent server requested a ...
4
votes
1answer
171 views

how to eject/unmount usb dongle logically?

We've bought a commercial application who just work only if their dongle usb is connected to the server. However sometimes the application can not recognize the dongle, so it doesn't work, but if ...
0
votes
1answer
591 views

run multiple instances of MySQL CentOS7

I need to have multiple instances of MySQL running on my PC. I did this: yum install mariadb-server mariadb => install mysql mysql_install_db --datadir=/var/lib/mysql => use mysql_install_db ...
-1
votes
4answers
297 views

The server is not accessible only from my IP?

I am Using a CentOS 7 and Apache 2.4 as my website host. I tried a number of other machine and some can reach the server and some cannot including my PC. I have disabled stopped firewall (systemctl ...
0
votes
0answers
172 views

Winexe “failed to open connection - NT_STATUS_RESOURCE_NAME_NOT_FOUND”

I'm trying to run secedit on a Windows server using cmd, remotely from a Linux (CentOS6) computer. I installed Winexe for this purpose, but the command winexe -U username%password //host "cmd.exe" ...
0
votes
3answers
149 views

How to install GCC 4.7.2 on CentOS 5.2?

I'm trying to install GCC 4.7.2 on a CentOS (virtual) machine. In order to do this, I downloaded GCC 4.7.2, and tried to configure and to make it. Unfortunately the configuring didn't work, as other ...
0
votes
1answer
1k views

Installing oci8 php extension

On a CentOS 7 server, I have installed PHP from remi repository. I need to connect to Oracle 9.2 on a remote machine. Installing oci8 via yum install oci8 results OCI8 Version 2.1.0 which is not ...
0
votes
0answers
84 views

Centos 7 persistent static routes for any interface

I am trying to set up some static routes in a CentOS 7 box. The official RHEL says it is possible to add files in /etc/sysconfig/network-scripts/route-interface. This approach works, however I need ...
0
votes
1answer
138 views

CentOS 6.7: network is unreachable after a new clean installation

I have a new clean installation of CentOS 6.7, it is not on a VM, but on a dedicated notebook. During the installation procedure I've configured my WiFi connection and have added it on eth0 pre-...
1
vote
0answers
37 views

Screen wont work once monitor is disconnected

I have a JetWay PC (JBC375F3AW) running CentOS7. When it boots up everything works OK. If I remove the cable going to the DVI port and re-connect it, it wont work. The same goes if I boot the box ...
0
votes
0answers
57 views

problem with ABAQUS job on Rocks cluster

I created ROCKS6 cluster and i installed ABAQUS on my cluster and it works well on frontend, but i can not submit job on my 2 other compute nodes. I just want to run ABAQUS on this cluster (frontend ...
0
votes
0answers
101 views

Syslog stopped logging after using journalctl

Today I was configuring some things in my VPS running CentOS 7, and checked /var/log/secure several times without noticing any problems.Later I used journalctl to look for some cron logs, and now it ...
0
votes
1answer
38 views

Install correct version of NVIDIA on cent os 6.3?

I want to install NVIDIA drivers for cent os 6.3. My laptop is Toshiba Satellite series L750. The brightness control doesn't works in the system. It is 100% brightness now, so difficult in working for ...
4
votes
1answer
168 views

Why does audit2why have nothing to do?

I know I have an issue with SElinux. So I am following a tutorial that will help me understand the nature of the file access problems I am having. That was I can still have SElinux enforce as supposed ...
1
vote
0answers
51 views

How do I get a certificate on a server from a certificate authority server using an OpenSSL request?

How do I get a successful request for a certificate from one Linux server to a Linux server that is a certificate authority? I'm using Centos 7 on both servers on the network. I'm using an OpenSSL ...
3
votes
1answer
78 views

Automated RPM builds

I'm making my own personal RPM repository. So far, I've built the following packages: x264 libx264 libx264-devel x265 libx265 libx265-devel lame libmp3lame libmp3lame-devel libmfx libmfx-...
3
votes
2answers
3k views

VirtualBox Kernel Module Installing Issue

I installed VirtualBox, in the first run i got this warning: WARNING: The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (3.10.0-...
0
votes
1answer
22 views

The path to sshd centos

How do I find the path to sshd? I need it to configure some stuff but the instructions just say /path/to/sshd. Does that mean the sshd_config file or something else? is there a default? or terminal ...
0
votes
1answer
413 views

nc command and iptables on CentOS7

I have practised in using iptables on CentOS 7 (It is a guest machine on Virtual Box). At first I disabled firewalld: systemctl disable firewalld systemctl stop firewalld Then I installed iptables: ...
-1
votes
1answer
32 views

What are all the places http_proxy can be set?

I am trying to install a Centos 7 VM imported from another LAN environment. I have reconfigured the network in /etc/sysconfig/network-scripts/ifcfg-eth0. So now I can ssh to the machine and ping ...
1
vote
1answer
198 views

Centos 6.7 broken Sudo

After installing devtoolset 2, it appears my sudo command is broken. readlink -f $(type -P sudo) /opt/rh/devtoolset-2/root/usr/bin/sudo I believe the commands I ran to install devtoolset2 ...
0
votes
0answers
98 views

Find reason of shutdown using var/log/messages

I am facing the issue of random shutdowns, I have attached the log messages if anyone can interpret and let me know what is the reason of shutdown, I will be more than grateful. LOG MESSAGES Jan 11 ...
3
votes
2answers
156 views

How many processes can listen on a specific port?

How many processes can listen on a specific port such as 80 ? and how the child processes of some application can use the same port to listen on ? Is there any difference between listening on a port ...
3
votes
2answers
103 views

Is core dump generation an atomic operation?

I mean if I see core.<pid> in filesystem does it mean that core file generation finished and I can use it on my own? My question was answered. But I decided to explain it a little bit. I ...
0
votes
0answers
173 views

Can't install phpMyAdmin with PHP 5.6

I work on a Centos7 with php56 (via remi-repo) and httpd and maria-db I try to install phpmyAdmin via "yum install phpmyadmin" but every time I have this message: Erreur : Paquet : php-tidy-5.4.16-...
0
votes
1answer
541 views

Unable to get rid of repo on Centos 7

I have a Centos 7 machine on which I am trying to install PHP 5.6 and associated binaries. For this purpose, I installed the epel and the remi repos. I also installed the webtatic repo which now is ...
1
vote
3answers
159 views

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

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 ...