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
39 views

Configure CentOS run command prompt

How do I configure the run command prompt (the one shown with Alt+F2) in CentOS 7? It doesn't appear to be seeing my PATH or aliases.
0
votes
2answers
68 views

CentOS 6 Partitioning Root Drive

I have recently installed CentOS (into a machine with only one hard drive) and I would like to know how to Partition the main hard drive into two. As it is a fresh install there is no data to lose ...
1
vote
1answer
2k views

Cannot install gcc on CentOs 6.6

I cannot install gcc on centOs because it cannot find some files, this is the last part of the console when I execute the "yum install gcc*": --> Processing Dependency: binutils-hppa64-linux-gnu >...
0
votes
1answer
79 views

Linux Hard Drive Partitioning

I've decided to do a fresh Linux CentOS 6 install onto a small computer which I intend to use as a basic server. The OS has been installed and I would like to partition the 31gig sda drive (there is ...
0
votes
2answers
317 views

Best Window Manager for One Application

First off: I'm running CentOS light (If this is a bad choice, perhaps recommend one. I'm able to switch between distros fairly easily atm) and I don't need a complicated setup, I just need to be ...
1
vote
1answer
389 views

oddjob_mkhomedir doesn't run when logging in via SSH with Kerberos

I currently have a server which has Kerberos/SSSD/Samba to authenticate to Windows 2012 AD. In /etc/pam.d/system-auth oddjob_mkhomedir is set as below: session optional pam_oddjob_mkhomedir....
1
vote
1answer
1k views

How can I resolve “duplicates” in yum?

In a moment of confusion and impatience, I severely damaged my OS. Here's the deal... System: CentOS 7 Problem: essential packages like SAMBA do not work, and yum will not do anything. How it ...
1
vote
0answers
504 views

PHP Fatal error: Call to undefined function mysql_pconnect() in

PHP Fatal error: Call to undefined function mysql_pconnect() in I'm using php version 5.3. server centos 6 I installed php-mysql. i don't know much about centos. Another server which is centos 5.9 ...
0
votes
1answer
902 views

How to update squid proxy 3.5 in Centos 6?

I am using Centos 6.6 with 32 bit OS. Now I want to update squid proxy from 3.1 to 3.5. Is it possible to update in centos 6.6? If it is possible, please tell me how to update it.
0
votes
0answers
92 views

CentOS 6.5: USB or DVD option wont show in boot menu

I downloaded CentOS 6.5 - I need this version for a particular reason - liveCD and used both Win32 Disk Imager and ISO to USB to create a bootable USB. However, after rebooting and manually bring up ...
1
vote
0answers
132 views

How to enable Tcp\Ip remote connections in Centos 7.0

I am running Centos 7.0 using VMPlayer . I have set a private network shared with the host (Windows 7) . On my Centos Server i have opened a tcp listener on port 10102 . I could not connect to this ...
0
votes
0answers
98 views

I use a shell script to mount several dirs that share from IBM N6040, it works on centos6 but not on centos7

First of all ,the username、password and the share dir's path is correct, it works on centos6 ,but not on centos7 The code in the shell script like this : mount -t cifs -o username=someone,password=...
-1
votes
1answer
76 views

Vsftp too much time for login [closed]

While I'm trying to connect my new Vsftpd server using ftp client. The user authentication passed quit speedy but next steps lag too much. Please help me to speedup my Vsftpd server.
1
vote
1answer
321 views

What regulates user privileges for the `mount` command?

My installation of CentOS 6.5 has stopped auto-mounting DVDs in KDE (default) X Window desktop environment (e.g. with all the KDE helper functions). Trying to troubleshoot this unexpected change in DE ...
0
votes
0answers
34 views

Saving log files in the user account /home/user when hosting mutliple sites

I'm using Centos 7 and virtual host. The sites are all working great but I am trying to save the ErrorLog and CustomLog in /home/user/www/log instead of /var/log/httpd. When I change the location of ...
1
vote
1answer
367 views

Adding alias in /etc/hosts for Linux OVM

I have deployed a CentOS 6.6 VM (hortonwoks sandbox VM) on my Windows 7 OS. The VM publishes apache spark applications through a http url. The url's have the hostname as "sandbox.hortonworks.com" (e.g....
1
vote
1answer
1k views

Install Mono Project Offline on Centos 7.0

I want to install Mono on CentOS 7. My problem is that I can't connect my machine to the internet. What Packages do I need to download for complete installation?
0
votes
1answer
559 views

Dtrace on linux

I am trying to install dtrace on Cent OS 6.4 kernel 2.6.32-358.el6.x86_64 with following error [root@mscserver dtrace-20150306]# make all BUILD_DIR=build-2.6.32-358.el6.x86_64 tools/build.pl build-...
0
votes
0answers
96 views

kickstart does not chmod a file in %post section

I have the following code executed in the %post section of a kickstart file for RHEL 6.6. echo '#!/bin/sh' > /root/add_user echo 'if [ $# -lt 1 ]; then echo "no username provided"; exit 1; fi' &...
1
vote
0answers
817 views

“Error uncleared PCH FIFO underrun on transcoder A” during boot centos 7 on toshiba

I have toshiba Satelite model (C50 1001C model number) laptop. When I start it is giving 1.643361 [drm:cpt_serr_int_handler] *ERROR* uncleared PCH FIFO underrun on transcoder A 1.643363 [drm ...
0
votes
0answers
123 views

HAproxy wont see Apache after uninstall Nginx, why?

I have a website I need to mount and I'm doing so with an HAproxy as load balancer, 3 webservers, 1 memcached, another HAproxy and a mysql galera cluster with 3 servers. All in CentOS 7. Anyway I ...
2
votes
0answers
579 views

Install Centos7 with kickstart file fails with “entering emergency mode”

I've created and tested a kickstart file using virtualbox. However, when I try to use the same kickstart file on a different computer, I get "Warning: Could not boot", "Generating "/run/initramfs/...
0
votes
0answers
2k views

How to install WiFi driver in CentOS 7 on notebook Lenovo Z570

I'm newbie in CentOS. After installing (7) I can't get to work WiFi on my notebook (Lenvov Z570). Also I installed latest drivers by instruction Below diagnostic output: rfkill: [nikolay@lenovo ...
3
votes
1answer
1k views

Stable server distribution without systemd (for OpenVZ)?

I don't want this to become a "my distribution is better" flamewar so please read the whole question and only answer if you know a distribution that fulfils all requirements. The situation is the ...
5
votes
1answer
10k views

Centos 7.1 still using outdate kernel 3.10 how to upgrade to kernel 4.0

I'd like to upgrade my Centos 7.1 kernel from 3.10 to 4.0 i did successfully in Ubuntu 15.04 using Linux 4.0.1-040001-generic even though i updated it manually it's works fine so please could ...
0
votes
1answer
511 views

Apache giving me 403 on Virtual Host

I have been trying to get to grips with Apache in CentOS 7. I have set up two virtual hosts and created basic index.html pages as follows: /var/www/domainA/public_html/index.html /var/www/domainB/...
0
votes
0answers
215 views

Gpgpu-sim dependencies in centOS

I try to install gpgpu-sim in my CentOS 6, there are some dependencies need to be installed before I can compile gpgpu-sim successfully. the dependencies are as follows: GPGPU-Sim dependencies: ...
1
vote
0answers
155 views

GNOME 3: bottom panel window order

I have centos 7.1. At bottom panel opened windows (running applications) are represented (ex: openoffice, thunrderbird, terminal). Question one - How can I change the order of these opened windows (ex:...
3
votes
1answer
3k views

Systemd kills service immediately after start

I'm writing systemd unit file for OSSEC HIDS. Problem is that when systemd starts service it immediately stops them. When I use that ExecStart directive all working fine. ExecStart=/var/ossec/bin/...
1
vote
1answer
426 views

linux commandline can connect but webserver (or php) can't connect

We can connect to a specific url with linux (centos 6) commandline (curl, wget,...) But we can't connect to it by webserver (apache) or php. I did 'setenforce 0' command, after that webserver and ...
4
votes
2answers
1k views

Separate Network Traffic on Two Network Interfaces

I am not an R&S professional, so much of that realm of computing escapes me. Could you lend your expertise in helping understand how to go about configuring the separation of network traffic on ...
0
votes
2answers
264 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
753 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
5k 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
259 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
1answer
535 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
120 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
432 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 UUID=...
1
vote
0answers
147 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/...
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
343 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
140 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=, relay=gmail-...
0
votes
0answers
243 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
101 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
147 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 zombie(...
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