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)

4
votes
6answers
741 views

Most innocuous package to install to test yum?

I'm trying to test yum is working in CentOS from a local repo. To do this I need a package that: Isn't already installed with standard OS install Is small in size Has few or no dependencies Doesn't ...
16
votes
11answers
74k views

Cannot enable network after CentOS 6.3 fresh install

I am trying to perform a fresh CentOS 6.3 installation then run various yum commands such as yum install httpd. The installation runs fine, however I cannot run any network based commands like yum I ...
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
80 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
318 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 ...
2
votes
2answers
3k views

How to run java service as a non-root user on CentOs 6

I have a script that starts a Java application as a service on CentOS 6: #!/bin/sh # chkconfig: - 80 20 SERVICE_NAME=cn4server PATH_TO_JAR=/usr/local/share/myserver/cn4server.jar PID_PATH_NAME=/usr/...
1
vote
0answers
508 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
0answers
93 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 ...
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
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 ...
-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.
3
votes
2answers
642 views

Host multiple Linux distros on PXE Server and show these choices to PXE client

PXE Server - CentOS 6.5 64bit Objective - Client should be presented with OS choices in network boot menu - Oracle Linux 6.5, RHEL 7, Ubuntu 14. Upon selection it should proceed with the selected OS ...
0
votes
2answers
5k views

SSH connection refused

I have a CentOS Linux server with a SSH connection. It works perfectly but from time to time, the server refuses the connection. If I reboot the server, I can SSH again. What could be wrong?
1
vote
1answer
326 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 ...
1
vote
2answers
4k views

CentOS Apache virtual hosts sites-available type structure

I just set up LAMP on a new CentOS server. Previously when I installed LAMP on Ubuntu, I always needed to create a virtual host definition for each website I create in my /var/www directory. But on ...
0
votes
2answers
9k views

What causes cron to continuously send mail and how can I disable it?

I have a problem on CentOS 6.3 system where the crond process tries to unsuccessfully send mail over and over (at least I think this is what its doing) until the OS eventually generates a "too many ...
1
vote
1answer
373 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....
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 /dev/...
2
votes
1answer
5k views

Can not use WEBEX in CentOS 6.5 , Fedora 18 and 20

Tried to use WebEx with the following setup: Machine : intel i5 , x86 architecture OS : CentOs : 6.5 , Fedora 18 and Fedora 20 Java : jdk 1.7_45 64 bit Browser : firefox 26 with java plugin ...
0
votes
1answer
616 views

gpg-agent fail: undefined symbol gpg_err_set_errno

We started to get some odd issues yesterday; possible due to a yum install gone bad? One of the issues, PS -ef hanging indefinately (actually an ps command that looks at other user state) was fixed ...
0
votes
1answer
563 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' &...
3
votes
0answers
587 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/...
1
vote
0answers
824 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 ...
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 ...
0
votes
0answers
124 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 ...
17
votes
9answers
145k views

yum update fails: Error: Cannot retrieve repository metadata (repomd.xml) for repository …

I'm using CentOS 6.3. When I try to update my system with yum I have this message: yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.ircam.fr * ...
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 ...
1
vote
1answer
435 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 ...
0
votes
0answers
217 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: ...
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/...
0
votes
1answer
3k views

Globally change terminal background in centos 7

This has been frustrating me. I've done a ton of googling, can globally change text in terminal using .bashrc, but I cant figure out how to change the white background to black. Going to terminal ...
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
votes
1answer
238 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 ...
2
votes
1answer
813 views

How to access KVM guest console without password?

How can I configure a KVM guest running CentOS to allow passwordless console access from the hypervisor? I want to be able to use the following command to log straight in to the VM from the hypervisor ...
1
vote
1answer
305 views

Where are yum groups defined?

I am setting up a cluster and for whatever reason some nodes do not have all the groups required to set up Infiniband ('Infiniband Support' in particular.) I know I could just find the list of ...
1
vote
1answer
261 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
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 ...
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) ...
2
votes
1answer
436 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
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/...
1
vote
0answers
149 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 ...
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
344 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 ...
3
votes
1answer
882 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 ...
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 ...
2
votes
1answer
93 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
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