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

4
votes
2answers
107 views

ip-tools vs old ifconfig

When after I change dhcp to static in network-scripts and then I restart servicesystemctl restart NetworkManager. The static ip settings suppose to be updated but it doesn't. so I try ip link set ...
-1
votes
0answers
27 views

Increase Number of processes on Centos Web Panel with root user

I'm using CentOS 6 (64bit) with the Centos Web Panel (CWP) but when I login with my root account into the admin control panel, the "Number of processes" display is only about 200! I searched the CWP ...
1
vote
1answer
3k views

Cant' install xrdp on CentOS 7.5

cat /etc/os-release NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" ...
0
votes
1answer
42 views

Monitoring raid status

I have installed MegaCLI on a centos 6 server and trying to monitor the raid status. When I run megacli -PDList -Aall this is the result: [root@da435 MegaCli]# megacli -PDList -Aall ...
0
votes
1answer
24 views

system get wrong gateway when bonding

I have a physical system with Centos 6 as OS. In eth0 I set IP, gateway and netmask as below and the physical port is attached to a switch port that its VLAN is 12. DEVICE=eth0 TYPE=Ethernet ...
0
votes
0answers
9 views

Changing the dektop manager for one user through VNC

For one of the user, I want to set the default desktop manager to something other than Gnome which is the default one in Centos-7. The user connects through vncviewer. I see a guide here, however, I ...
3
votes
1answer
116 views

Kickstart netinstall ignores kickstart file hosted in LAN and proceeds with manual installation

Virtual machines are hypervised by vmware workstation. I start my web server on vm1 - 192.168.0.31 running centos 7. I create and upload the kickstart file ks.cfg to 192.168.0.31/ks.cfg. You can look ...
1
vote
1answer
44 views

Moving contents of current directory up one level and overwriting if exists recursively [duplicate]

I've unpackaged a zip into the current location which we'll call /httpdocs, everything inside the zip resides in a directory which we'll call myfiles. In /httpdocs are thousands of directories and ...
0
votes
1answer
58 views

How can I prevent a desktop monitor screen from going to sleep when inactive on CentOs 7 Linux?

How can I stop my monitor screen from going to sleep on CentOS 7 Desktop (X Windows) due to inactivity?
-1
votes
0answers
87 views

Autofs automount home directory with SSSD

I'm using windows Active directory to manage users and groups details. And on Linux clients (centos-7.5), users are able to login using SSSD authentication method. Now i want to keep home directory of ...
0
votes
2answers
92 views

Issue update PHP 7 on CentOS 7

I would like to update PHP 7.0.2.6 to the latest 7.2 version on my CentOS 7 server (with DirectAdmin installed) via SSH. I found many procedures on the internet, but none of them seems to work. I was ...
0
votes
1answer
43 views

dhcp client cannot ping google.com [closed]

I have 2 nic server. eth0 and eth1 eth0 conected internet and its connected Static IP address 192.168.1.200 DNS 192.168.1.1 GW 192.168.1.1 eth1 configured as dhcp server and assign ip address to ...
0
votes
1answer
68 views

Logrotate Error : unknown option & unexpected text

I am trying to use logrotate , I have create file in logrotate.d directory with "rotatetest" name. Please see below detail in file: /etc/rsa/rotatetest { create size 100k rotate 10 missingok ...
-1
votes
1answer
166 views

how to install resolvconf in centos

I'm trying to install resolvconf in centos. In Ubuntu I'm able to install resolvconf sudo apt-get install resolvconf. For centos, I tried to do the same by sudo yum install resolvconf but I get ...
1
vote
1answer
75 views

BIND Reverse DNS Ignoring out-of-zone data

I have a simple, single-address reverse DNS PTR for 10.142.0.2 to gbox.example.com record set up like so: # cat /var/named/zones/0.142.10.in-addr.arpa.db $ORIGIN . $TTL 1D 0.142.10.in-addr.arpa. IN ...
0
votes
1answer
73 views

Console text red at boot (CentOS 7)

When CentOS 7 is booting, the text becomes red. This happens through IPMI and a direct connected VGA screen. The server seems to be OK, but I would like to know why all console text is red. The OS is ...
0
votes
2answers
49 views

How to find out where my alias are defined in CentOS? [duplicate]

I'm a CentOS user. In my machine, some aliases are available, they were previously defined in the past. I want to add new aliases to function as shortcuts to frequently used commands. I don't know ...
1
vote
0answers
14 views

How to enable cookies for specific site in Firefox using command line?

I have application embedded in Firefox and it is installed on Linux(Fedora) machine. We have disabled cookies and other user controls (Right click, menu access etc.) Now there is one site which ...
-1
votes
0answers
15 views

Redirect port 8888 on zone public to be redirected to same port on zone “external” and IP address 127.0.0.1

I've an application which is running locally on 127.0.0.1 and port 8888 in addition to openvpn which is installed and using eth1 interface The active zones on firewall firewall-cmd: public (...
0
votes
1answer
29 views

Does NFS requires a directory with full permission in order to share with other clients?

I have set up NFS share and it is working properly with 770 or 777 permission on the directory but the minute I have the permission for the group like 760 or 750 then it stops work and I can't access ...
1
vote
0answers
41 views

Error: Links are counted has space used on quotas [closed]

My OS is: CentOS Linux release 7.5.1804 (Core) This problem appeared after a linux update some time last month (i don't know when). Before that, everything was working fine. I have a folder on my ...
0
votes
1answer
219 views

tracker-extract high cpu usage

I see that one of the users has a 100% cpu process named tracker-extract. I tried to terminate that based on the suggestion here, however, still I see that it is running. All users have such process ...
0
votes
0answers
21 views

lsblk output changes after while

I have systems which lots of different LUNs are attached them (OS CentOs 6). this command lsblk helps me alot to find out how LUNs are partitioned and are mounted to which filesystem and information ...
0
votes
1answer
19 views

Inspect a Ramdrive?

I have mounted a ramdrive via /etc/fstab. And I would like to inspect the properties of the drive such as the memory policy (e.g. bind, prefer, or?) to make sure all properties are expected. How can ...
0
votes
0answers
78 views

face error in installing mysql on AMI linux centos 2017-09

how to fix "Error: Package: mysql-community-server-5.6.42-2.el7.x86_64 (mysql56-community) Requires: systemd You could try using --skip-broken to work around the problem You could try running: rpm -Va ...
0
votes
0answers
31 views

faced error while installing mysql on AMI linux centos 2017-09

how to fix "Error: Package: mysql-community-server-5.6.42-2.el7.x86_64 (mysql56-community) Requires: systemd You could try using --skip-broken to work around the problem You could try ...
0
votes
0answers
143 views

How to solve CentOS 7.5 LiveUSB kernel panic at boot on new PC (Gigabyte Z390 w/ Intel Core i9-9900K)

When booting a new PC (Gigabyte Z390 AORUS-Ultra w/ an Intel Core i9-9900K) I experience kernel panic at boot from a CentOS 7.5 LiveUSB which works OK on other PCs. BIOS is set to Factory Defaults, ...
0
votes
0answers
10 views

Apache deploy gitweb in a subdirectory within document_root

I'm trying to deploy gitweb inside a sub directory of DocumentRoot in Centos 7 Apache but unable to do so. Initially, to test things out, I started with this top level httpd config to verify if ...
0
votes
1answer
88 views

centos7 can't login through the x but work for ssh

I have installed centos minimal version. I have disabled the nouveau and installed Nvidia driver before this issue. When I reboot the system, only one bar flash there. Update the error show red in ...
1
vote
0answers
21 views

php-fpm Socket spawns with bad chmod

Everytime i restart my php-fpm it's creating or updates socket file to chmod 660 and i need to change manually chmod to 666 I have done before listen to file php-fpm.sock instead of 127.0.0.1 How to ...
0
votes
2answers
112 views

SELinux is preventing httpd from create access on the file

Whenever I upload a file via my web browser to my web sever, I see the following lines in /var/log/messages Nov 8 12:18:24 sn setroubleshoot: SELinux is preventing httpd from create access on the ...
1
vote
1answer
46 views

why /proc/net/udp is showing wrong rx_queue size in CentOS server?

I have a java server application. while(true) { serverSocket.receive(receivePacket); process(receivePacket); serverSocket.send(sendPacket); try { ...
1
vote
1answer
24 views

How to Start a Service in a Specific Directory via Daemontools?

I am using daemontools to start my application. In the run script, I have something like exec taskset -c 2 [absolute path to my application] But the problem is that one of the black box library my ...
0
votes
1answer
23 views

How to run a command automatically everytime I log into a remote server via ssh without disconnecting the session

I am trying to have my ssh set up using this answer I am using the command: sshpass -p myrealpassword ssh byteme@byteme.com.au -t 'cd web && git status' It is working OK and I am able to ...
0
votes
1answer
36 views

Why is my linux screen blurry on my monitor but it isn't when running Windows?

I have a linux machine running Centos connected to two ViewSonic monitors. One is 22 inches and the other is 24 inches. I also have a Windows machine connected only to the 24 inch monitor pressing the ...
1
vote
1answer
43 views

Install custom perl modules

I have build an RPM from a proprietary software collection in a CentOS 7 environment but the build process required executing some Perl modules (.pm files) found within the source itself. When I ...
0
votes
0answers
28 views

Why can't set my selinux status as enabled?

I had bought a vps ,installed centos7. rpm -qa | grep selinux libselinux-2.5-12.el7.x86_64 libselinux-utils-2.5-12.el7.x86_64 libselinux-python-2.5-12.el7.x86_64 No /etc/sysconfig/selinux and /etc/...
-2
votes
1answer
81 views

Troubleshooting ssh connection with RSA key [closed]

Here is what I see in the logs debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password debug1: Next authentication method: ...
-1
votes
1answer
53 views

Fail to scp file from remote to local

I read series of instructions and answers about scp Example syntax for Secure Copy (scp) scp - How to copy a file from a remote server to a local machine? - Unix & Linux Stack Exchange but I ...
-1
votes
2answers
94 views

How to configure dnsmasq to use /etc/hosts instead of “dhcp-host”?

I have been able to configure static ip for specific client in /etc/dnsmasq.conf by using "dhcp-host": http://manpages.ubuntu.com/manpages/cosmic/en/man8/dnsmasq.8.html I would like to use /etc/...
0
votes
2answers
113 views

How to change mount points?

I'm not really good at this mounting/unmouting thing on Centos, so here goes my question: With df -h I get the following overview: Filesystem Size Used Avail Use% Mounted on /dev/...
0
votes
1answer
119 views

How to fix Yum install dependency Conflicts?

I'm trying to install Rabbit MQ in my system. CentOS Linux release 7.5.1804 (Core) To install RabbitMQ, I need to install Erlang first and for Erlang I need openssl-devel. When I try to install ...
1
vote
1answer
846 views

Connection activation failed: No suitable device found for this connection

I am added new connection config (centos 7): Next I runned systemctl restart network and get error in journalctl that: Connection activation failed: No suitable device found for this connection. How ...
0
votes
1answer
51 views

How to set timeout for the systemd start job “dev-md125.device” (mdadm)

I've setup a RAID1 device with mdadm on CentOS 7. The system boots fine when both disks are inserted but hangs when there is only one. The error occurs at boot with the following message from systemd:...
1
vote
1answer
281 views

Unable to install Let's Encrypt certificate on CentOS 7

I am trying to install a Let's Encrypt SSL certificate to my website using Securing Apache with Let's Encrypt on CentOS 7. My web server is (include version): Apache (cPanel) My hosting provider is: ...
-1
votes
0answers
22 views

Efficient way to move data before rsync

I'm trying to migrate data to a replacement VM. In trying to speed up the transfer and reduce stress on the network pipe, I tried to tar and gzip the datadirs and transport across town, extract on the ...
2
votes
2answers
44 views

Auto-notify when postfix requires TLS?

I've set up postfix on CentOS 7, and configured it to require STARTTLS to accept incoming mail. I've run into a couple instances where a server doesn't, for whatever reason, support TLS encryption, ...
1
vote
0answers
32 views

SCP after a file has reached completion [closed]

I would like to create something that would look to see if a specific zip file is done increasing in size, then scp it to another server. These zip files get created at many different times of day, ...
0
votes
1answer
147 views

How to custom a live centos 7 image to boot from USB

I used this live image CentOS-7.0-1406-x86_64-GnomeLive.iso, CentOS-7.0-1406-x86_64-KdeLive.iso to boot from USB to testing some servers. However, I'd would like to add some lib such as "ndctl" on ...
1
vote
1answer
84 views

Centos7 How to identify Network Device name for a kickstart file

When the Rhel/Centos 7 operating systems moved forward to systemd, network device name configuration changed to predictable network device names There is an explanation for systemd's predictable ...