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)

0
votes
1answer
221 views

Centos 7 - where is jfx library for openjdk8?

I have centos 7.1. And I installed openjdk8 and openjdk-devel8. However, when I tried to compile in netbeans my jfx application I get package javafx.* does not exist. After some investigation I see ...
1
vote
1answer
710 views

Centos 7 Slow Resolve

After installing Centos 7, I noticed that DNS lookups for addresses saved in /etc/hosts take long time, here is example: time curl -X get http://localhost real 0m0.159s user 0m0.004s sys ...
1
vote
1answer
2k views

Centos 7 - no network adapter

I've just installed centos 7.1 (64 GUI). During installation it showed me no network device (screen where people set languages etc) - I was suprised but continued installation. When I started centos ...
0
votes
0answers
60 views

Speed issue in copying files from one host to another

I have at home two centos boxes: Box A - centos 6.4. gui version Box B - centos 7.1. minimal version. They are connected to 100Mb router (both boxes have 100Mb network adapters). Box B has software ...
1
vote
2answers
4k views

How to configure Centos 7 firewallD to allow docker containers free access to the host's network ports?

I have docker installed on CentOS 7 and I am running firewallD. From inside my container, going to the host (default 172.17.42.1) With firewall on container# nc -v 172.17.42.1 4243 nc: connect to ...
1
vote
1answer
248 views

RPM Requires group

During RPM installation under the Requires section of my spec file how do I install a group of things? For instance: Requires: Developer Tools which will pull from yum because I execute this like ...
0
votes
0answers
499 views

Getting Error in Dependency Resolution during installing vlc media player on centos7?

I was trying to install vlc on centos7 using yum install vlc as root user, But didn't succeed. I think previously I install wrong repository. I am getting following error. Following is only part ...
0
votes
1answer
117 views

Why is smbpasswd located in samba-client package?

[root@localhost data]# yum provides smbpasswd samba-client-4.1.12-21.el7_1.x86_64 : Samba client programs Repo : base Matched from: Filename : /usr/bin/smbpasswd [root@localhost data]# yum ...
1
vote
1answer
2k views

Create unformatted partition from unallocated disk space

The parted output is as below: $> parted /dev/sda print free Model: ATA Hitachi HUA72302 (scsi) Disk /dev/sda: 2000GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: ...
2
votes
1answer
401 views

Centos 7: /dev/md/root instead of /dev/md0

I have in mdadm.conf the following: ARRAY /dev/md/root level=raid1 num-devices=2 UUID=331de03d:8ba39777:3b664baf:36366f33 But here is mdadm.conf example with the following: ARRAY /dev/md0 ...
1
vote
0answers
145 views

PHP version info missing from Apache log on startup

I am building a LAMP server (CentOS 6.6), using a current server at work as a roadmap (CentOS 6.4). After installing PHP 5.5.24 and a lot of other modules (mod_nss, mod_perl, etc), everything seems ...
1
vote
2answers
1k views

Raid devices are mounted with different UUID

Centos 7.1 64. This is what I have: Two raids, but not md0 and md1 [root@localhost]# cat /proc/mdstat Personalities : [raid1] md126 : active raid1 sdb2[1] sda2[0] 974711616 blocks super 1.0 ...
2
votes
1answer
79 views

How long will Redhat / CentOS support the init system

Now that systemd the preferred way to start system services in CentOS 7, can anyone tell me in which release the init system will be completely removed? i.e no support for init scripts whatsoever?
0
votes
0answers
335 views

CentOS 6.6 network connection problem always breaks down

I installed centos 6.6 about a week ago. Then I set my IP to static and it works but after several hours I always lost connection. I can ping another computer in that network but I cant ping my centos ...
1
vote
0answers
129 views

Centos 6 and postfix: Internal emails deferred / telnet timed out from SSH

The problem is, that I have a VPS with centOS 6 installed, and I can send emails to anyone, but my own exchange server, Apr 29 11:50:30 amazonnet postfix/smtp[16535]: 2B6FF3CC49A: to=, ...
0
votes
0answers
235 views

Shutdown init script is not executing on immediate reboot on CentOS 7.1

I have installed an init script to run on system shutdown with the following command /sbin/chkconfig --add shutdownExample My shutdownExample(custom script to run at system shutdown) looks like ...
4
votes
2answers
98 views

Force time to stay put

The time on my Linux machine will not stay put. I need to test an issue with our server that only occurs on Saturdays. CentOS 6.5 64-bit I have NTPD off. (service ntpd stop and chkconfig ntpd off) ...
0
votes
1answer
145 views

I kill process but come back

I have a big problem on centos 6.4 i kill this(8904) but he come back and use the processor. How can we solve? I don't use apache(httpd) on my server. apache don't installed on machine. it's a ...
0
votes
2answers
31 views

Unable to search a file location

i am unable to locate files or directories while executing below commands. getting below error: $ locate httpd locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory
0
votes
1answer
827 views

Copy& Paste Fedora and Virtualbox CentOS7

I want copy text from Fedora 21 and paste to Virtual box with CentOS 7 how can I do that?? I change in Virtual box settings Shared Clipboard and Drag'n'Drop to bidirectional Thanks for help, ...
0
votes
1answer
960 views

OpenSSL 1.0.2.a and Centos5.7

I have an old version of Centos (5.7) and I would like to enable TLS 1.2 due to Google Chrome warning about TLS 1.0 I tried to update with yum but I can see that no OpenSSL 1.x could be installed ...
3
votes
1answer
8k views

Unable to locally verify the issuer's authority

I am not able to open any https URLs using wget or curl: $ wget https://www.python.org --2015-04-27 17:17:33-- https://www.python.org/ Resolving www.python.org (www.python.org)... 103.245.222.223 ...
2
votes
2answers
704 views

Change color of input text, not output [duplicate]

I need to capture screenshots of the terminal where the typed commands visually "stand out" from the rest. Right now I'm using this to make my typed commands "red": PS1='\[\e[0;31m\]\u\[\e[m\] ...
2
votes
1answer
2k views

Can start custom systemd service, can't enable it

I want to create a daemon of Telegram-cli (https://github.com/vysheng/tg). I have created the file /etc/systemd/system/telegram.service with the following contents: [Service] Type=simple ...
4
votes
2answers
8k views

yum Error:rpmdb open failed

I'm trying to run yum update and I'm running this error: rpmdb: PANIC: fatal region error detected; run recovery error: db3 error(-30974) from dbenv->open: DB_RUNRECOVERY: Fatal error, run ...
-1
votes
1answer
226 views

Mails bouncing back from Dovecot mail server

we have a dedicated server running CENTOS 6.6 x86_64 standard running and usually comes with whm/cpanel. It is using Dovecot mail server and postfix is excluded in repository. The problems we are ...
1
vote
1answer
2k views

reliable way to give all read/write access recursively in CentOS 7

What is the most reliable way to give all users read/write privileges for a given directory and all of its subdirectories and files in CentOS 7? In an eclipse web application project that uses ...
1
vote
1answer
399 views

Use the -i option on ssh/scp

I would like to setup the ability to log into my redhat server by specifying the -i option on ssh or scp command line. I have followed the steps according to google but it doesn't appear to work. ...
1
vote
1answer
261 views

configure: error: LDFLAGS

I am trying to install LTTng. I was installing lttng-tools-2.6.0 and got the following error: configure: error: Cannot find libuuid uuid_generate nor libc uuid_create. Use LDFLAGS=-Ldir to specify ...
2
votes
1answer
85 views

How to set up robust RAID 6?

Perhaps I'm going about this all the wrong way, but I am having chronic trouble managing a RAID6 software array in CENTOS7. The system has an internal pair of drives (2x500GB) in RAID1 which has been ...
0
votes
1answer
87 views

umask getting sets to 022 even though all necessary files are modified

umask is creating lots of problem to me . I tried following . I have commented umask set entry in /etc/profile and /etc/bashrc . There is not even single file in my home direcotry where i set umask ...
1
vote
1answer
3k views

Enable Promiscous mode in CentOS 7

How to enable promiscuous mode on network adapter. I have tried by adding PROMISC=yes in /etc/sysconfig/network-scripts/ifcfg-ensxxx but no effect even after network restart or rebooting the system.
3
votes
1answer
1k views

How to prevent tzdata updates on CentOS resetting /etc/localtime

I am using a local timezone (non-UTC) on my server. Whenever I update the tzdata via yum, the system resets /etc/localtime to the default file and I am back on UTC. While #date still shows the ...
0
votes
1answer
26 views

Different linux OS on particular hdd

Have Adaptec RAID controller. There're 4 hdds on it. Existed Centos 5.10 on: /dev/sda1 - /boot ext3 /dev/sda2 - LVM I decided to migrate to Centos 7 and installed It on: /dev/sdd1 - /boot XFS ...
1
vote
1answer
287 views

ssh 3des private key encrypt and decrypt

i have converted my ssh private key with 3des encryption openssl pkcs8 -topk8 -v2 des3 -in ~/.ssh/id_rsa.old -out ~/.ssh/id_rsa how do I remove encryption and get the old key?
2
votes
1answer
145 views

CentOS 6.6 memory size and lack of GUI installer?

I just installed CentOS 6.6 on my computer using VirtualBox. My question is why when I create a virtual machine with 1024MB have a GUI but if I create a virtual machine with 512MB I do not as in the ...
3
votes
1answer
829 views

NFS Port Blocking Firewall Issue

I am a little stumped on this one and maybe I have been staring at this for too long...but I cannot get my Mac (10.10.3) machine to connect to my Oracle Linux 7 (CentOS/RH 7) server with its firewall ...
0
votes
0answers
13 views

Configure a VSFTP User to have Access to /var/www Directory Centos 7 [duplicate]

How do I go about configuring VSFTP to have access to the web root folder in my LAMP Centos 7 server? I cannot seem to have anything displayed in the var directory. Thank you!!
1
vote
1answer
183 views

Can't push git updates & run Unix commands when connecting via SSH

I have installed java 8 on my bluehost VPS. I have followed http://tecadmin.net/install-java-8-on-centos-rhel-and-fedora/ instructions . In order to add directories to PATH variable I have added ...
0
votes
1answer
85 views

Centos missing ext3.ko

Earlier I encountered this error. lv_root: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY Which may be caused by the constant power failure here in our office. I fixed it by inserting a centos 6.4 disc ...
0
votes
1answer
5k views

bash cannot find mvn command after install

I tried to install Maven on CentOS 7, but afterwards typing mvn -version in the terminal results in bash: mvn: command not found.... How can I fix this so that I can call maven from the CentOS 7 ...
1
vote
2answers
2k views

CentOS 7 shell script interpretor

I am starting to write a shell script to be run in CentOS 7. Which interpreter should it call, and what should the shebang line look like? I tried this: #!/bin/sh But when I type cd /bin ...
2
votes
0answers
556 views

MySQL read only error but permissions set and SELinux AFAICT correct

I am new to MySQL and Linux and because I had issues with an old MySQL version (5.1) I used mysqldump and installed MySQL 5.6. I changed the datadir location by copying everything to the new folder ...
2
votes
1answer
89 views

Unrealistically long process times displayed in top

I (partly) manage a small cluster and we are having some problems on a few nodes (running CentOS 6.4). Some processes show exceptionally long run-times in 'top', even though the computer has been ...
0
votes
2answers
209 views

/usr/java/jre1.8.0_31/bin/java.exe: No such file or directory

I've been trying to run a plugin inside a I have hired, and I've constantly been getting this error: [04:13:41] /bin/sh: /usr/java/jre1.8.0_31/bin/java.exe: No such file or directory Not too sure ...
1
vote
1answer
349 views

Postfix Mail Relay Server with TLS

I currently have Postfix set up on a Centos 6 server, as a simple forwarding service. Currently in /etc/postfix/main.cf I have set the following: smtpd_client_restrictions = ...
9
votes
3answers
2k views

mdadm: can't remove components in RAID 1

I have my /boot partition in a RAID 1 array using mdadm. This array has degraded a few times in the past, and every time I remove the physical drive, add a new one, bring the array being to normal, ...
0
votes
0answers
208 views

CentOS 7: write failed: broken pipe when trying to reboot

Commands I've tried: sudo reboot sudo systemctl reboot Both commands just ask for my password for sudo then write: Write failed: Broken pipe Then they close the SSH connection and I can ...
1
vote
1answer
629 views

Installing new NVIDIA driver fails

I hope this is as easy as an already answered question I didn't find on SE. So, I have an LTSP server running CentOS 6. Linux kernel version of both LTSP image and server are the same: is ...
3
votes
1answer
101 views

`find` multiple -o -name condition AND ! -name

I'd been playing with this snippet and seems like I can't make my desired find work. I tried google but all tutorials does not seem to tackle this scenario suppose i have the following files ...