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)

3
votes
2answers
3k views

GNOME license not accepted issue when system has been rebooted

GNOME Desktop has been installed on CentOS7 using sudo yum -y groups install "GNOME Desktop" and when startx is executed the desktop starts. However, when the system reboots the following issue occurs:...
1
vote
0answers
87 views

Linux home server hung last week - how to determine cause?

I have a lightly used home server (that is, I store back-ups on it, it syncs to CrashPlan, and it runs some media sharing services I use locally - it's not too active). Today I discovered that it was ...
1
vote
1answer
2k views

Setting Up New CentOS server - Partitions Sizes and File Systems

I'm responsible for setting up a new CentOS 7 server. It's my first time so I want to make sure I'm on the right track. After some research, I chose to have 6 partitions: Partition | Type | Device ...
0
votes
1answer
443 views

lwp-request Fails After Upgrade to Centos 7

I have a bash script that runs well on centos 6, which has an lwp-request in it. I upgraded my system to Centos 7, and the request fails to run: # lwp-request -E https://localhost/admin/startup GET ...
0
votes
1answer
51 views

After installing java in linux , where the java will store what home path should i give? [closed]

After installing java in linux , where the java will store what home path should i give ?
1
vote
1answer
103 views

unix system with malware

I have a CENTOS server that is infected with malware: top shows there's an unknown process that's consuming all the CPUs, if you kill it, it respawns with a different name. what's the best way to ...
0
votes
0answers
312 views

CentOS/Kernel v3.18/Thunderbolt2

I just got a new SuperMicro box with a AOC-TBT-DSL5320 Thunderbolt2 card pre-installed. I installed CentOS 6.5,ran yum update, and then, because to my understanding at least, thunderbolt support was ...
0
votes
1answer
81 views

How to enable Oracle JDK 8 patch upgrades on an existing JDK 8 installation in CentOS

How to enable Oracle JDK 8 patch upgrades on an existing JDK 8 installation in CentOS. Refer details in the original thread http://stackoverflow.com/questions/28089608/how-to-remote-download-the-...
0
votes
1answer
39 views

What option specified the location of the generated RPM?

I have noticed that, when building rpm files, that most end up in /usr/src/redhat/RPMS/i386 (building 32bit). Some though, incl one we roll in-house, writes the rpm files to ./i386.... so the file ...
1
vote
2answers
6k views

php-fpm error unable to bind listening socket for address '127.0.0.1:9003': Permission denied (13)

I've added a config file to /etc/php-fpm.d ; Start a new pool named 'joeri'. ; the variable $pool can we used in any directive and will be replaced by the ; pool name ('joeri' here) [joeri] ; Per ...
1
vote
0answers
51 views

How to make sure to get the Main/External IP without regard to network device type/name

Hello, I need to make sure I have the external or at least the main IP address for a given machine, regardless to the device type/name. I quickly wrote that tiny script for that purpose, but I need to ...
0
votes
1answer
269 views

useradd PAM authentication failed

I needed to customize useradd command so i downloaded shadow-utils source package. Using configure-make i was able to compile the source , binary was generated (configure prefix) at custom location (/...
1
vote
1answer
491 views

How to disable procps-ng 3.3.10 free wide output format?

I'm writing a script that is supposed to simply tell me the amount of free physical memory excluding caches and I noticed that my Fedora system shows a different output format than a CentOS system I ...
0
votes
1answer
2k views

CPU idle is high, but processes are struggling to keep up as if the cpu is under heavy load

My centos is barely usable. Often times the terminal becomes totally unresponsive for several seconds, but that may just be lag from ssh, which would be strange because my server is connected to a ...
2
votes
2answers
404 views

RPM Says Shared Object Is Missing But I Can Find It With ls

Having a problem installing an openssh rpm I hand-rolled today: [root@local_host ]# rpm -i openssh-6.7p1-1.i386.rpm error: Failed dependencies: libcrypto.so.1.0.0 is needed by openssh-6.7p1-1....
0
votes
1answer
150 views

How to put dracut to initframs?

I try to make SElinux permissive. I changed the config from disabled to permissive. However, I guess it does not recognize that change. In the red hat web site, It says : If the system was ...
0
votes
1answer
170 views

Why arent the USB ports working on my install of centOS 5.10?

I have installed centOS 5.10 on a recently purchased desktop computer. The brand is SION, it is a clone. Motherboard: GIGABYTE J1800 (2.41 GHz) When I boot up the machine, this error keeps coming up:...
0
votes
1answer
4k 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
1answer
4k views

Automounting NTFS Hard drive in Centos 7

I am using Centos 7. I have a question. I have a NTFS formatted drive which i want to automount when i login. Right now i need to always click on hdd name on my computer windows and entering root pass....
3
votes
2answers
1k views

How do I disable the creation of the rescue boot image on CentOS?

To make a long story short, my (CentOS 7) server's /boot is too small (100MiB) to hold 2 kernels plus the automatically generated rescue image. I want to avoid the hassle of repartitioning and ...
0
votes
1answer
119 views

authenicate OpenSUSE 10.2 client to CentOS 6.6 LDAP server

In our company, we have a network where I installed a working LDAP server for our CentOS 6 servers (FTP/WEB/Pydio/VOD/etc servers) about 25 of them. All working perfectly with LDAP authentication. ...
0
votes
3answers
206 views

What should the permissions be for website files?

I've locked down my CentOS web server so root can't SSH in. My website directories, and files are owned by root. So when I upload files, it's a two step process. I upload them with WinSCP to my /home ...
1
vote
0answers
99 views

Cron job running at 12.00 AM despite changing its time

I have only one cron configured in cPanel for WHMCS to run once per day at 12.00 AM. The cron sends daily activity logs to my email. A problem came up recently in which cron job activity logs sent ...
0
votes
1answer
357 views

Putty not asking for Two Factor Authentication Code

I'm running a CentOS 7 server. So I've installed Two Factor Authentication with Google Authenticator a while back and all was well. However I can't access my server at the moment over SSH. PuTTY and ...
1
vote
0answers
191 views

Separating SAS from SATA drives

I have to list all SAS drives and separately list all SATA drives, I'm working on CentOS6 and tried lots of commands which will give some specific information about bus of disks. Let me show you ...
1
vote
3answers
1k views

How to map a sata device name to a physical sata interface for RAID systems

I have a system with 10 SATA ports, and another SATA as the boot disk. The 10 SATA ports make up 5 software RAID1 arrays. The RAID disks may be removed between boots, and swapped in with arbitrary ...
2
votes
1answer
4k views

Install FreeRADIUS - talloc library not found

I'm trying to install the latest FreeRADIUS on CentOS 6.6. I'm getting this error: [...] checking for _talloc in -ltalloc in /opt/lib... no configure: WARNING: talloc library not found. Use --with-...
0
votes
2answers
563 views

ubuntu Kernel panic while installing CentOS 7 in VirtualBox

I have a laptop with Xubuntu desktop 14.10 , and I installed VirtualBox and updated it to the latest version . I'm trying to install CentOS 7 (source downloaded from the official site) as a VM, ...
0
votes
1answer
836 views

Big trouble : rpm empty db, install V3 RSA/SHA1 Signature, key BAD, YumRepo Error

I'm little tired because I have spent hours solving problems, and can't find a solution on Centos 6.6. I have many troubles: rpm db is empty: try googling, find restore process, but always empty ...
0
votes
3answers
3k views

How to install thunderbird 31.4 on centos7

I'm trying to install the thunderbird 31.4 on centos7. What I done: Downloaded from that link: Thunderbird Page tar -xvjf ..... cd thunderbird; ./thunderbird The error: bash: ./thunderbird: /lib/...
1
vote
1answer
141 views

How can I have a bridge that uses DHCP?

I have set up a linux box (centos 7) to use for virtualizing some servers. I have set up a bridge, but I need to do it with DHCP, but it doesn't seem to like it. The reason I need DHCP is because ...
2
votes
3answers
245 views

Why does CentOS notifies me “Login with home=/” althought home directory is created already?

Let me clarify my question. I have a CentOS 6 virtual machine, with /home directory mounted on a logical volume (formed by 2 virtual HDDs). I used this command to create a new user named user03 ...
2
votes
2answers
357 views

Cannot update new kernel for CentOS 7 although the server have space enough

I try to update kernel on my CentOS 7 but the yum say there is no space enough on /boot although /boot have 343 MB as show below: Filesystem Size Used Avail Use% Mounted on /dev/sda2 477M 105M 343M ...
7
votes
3answers
14k views

how to install kdm on CentOS 7

I installed CentOS 7, first I installed group "KDE Plasma Workspace", then I installed "GNOME Desktop", after that, I found only gdm existed. and which kdm returns nothing, yum provides kdm only ...
0
votes
2answers
65 views

CentOS server to be used to internally issues

I have a CentOS 6 server here in our IT dept. and I want to install Nagios on it for some more network and enterprise insight. It has a internal IP that matches the network scheme as well as a ...
2
votes
2answers
1k views

Get current timezone on Centos 7

On previous version of centos , i used the following command to get the current timezone in my bash script timezone=$(sed 's/ZONE=//g' /etc/sysconfig/clock) Output is "America/New_York" How can i ...
1
vote
2answers
96 views

Common user to modify files owned by 'other' users

I would like to understand how to use the permission system in CentOS to achieve the following: The system has the following users: user1 user2 user3 And the following directory structure.. /...
0
votes
0answers
200 views

kvm console not working at login [centos on centos]

When I run the following $su $virsh console myvm I keep getting login incorrect , even though I'm typing the correct password. In fact, it does work if I use virt-viewer. What could it be?
1
vote
0answers
149 views

Why I am getting this dependency error?

I try to install Shibboleth service provider to Centos 7. However, I get this error: Error: Package: shibboleth-2.5.3-1.1.x86_64 (security_shibboleth) Requires: libmemcached.so.2(...
2
votes
1answer
443 views

Apache2 'Server' header reports wrong openSSL version

Does anyone know where the Apache 'Server' header pulls the openSSL version from (file location/directory)? I am expecting openssl-1.0.1j but apache is reporting openssl-1.0.1g (system's openssl ...
0
votes
2answers
526 views

Creating and mounting a new file system on CentOS

On my CentOS machine I have to create a new partition/file system, not sure which one I need to be honest I am a little bit confused about it all. If someone could explain it and walk me through it ...
13
votes
2answers
3k views

Is it good to have multiple version of Linux Kernel?

Once, I was installing some kernel patches & something went wrong on a live server where we had hundreds of clients. Only one kernel was there in the system. So, the server was down for some time, ...
3
votes
1answer
5k views

use different java version to run two programs

I installed two JAVA JREs on my new CentOS since Cassandra needs java7u25 or later while iReport needs to work with 1.6. Now how do I launch each program from command line telling each program which ...
0
votes
1answer
2k views

Centos 6.6 can't install couchdb from EPEL repository

the issue is about unavailability of couchdb package in EPEL. Has somebody faces the same issue? yum repolist gets Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached ...
0
votes
1answer
216 views

What is the difference between these three java installations?

yum install -y java-1.7.0 yum install -y java-1.7.0-openjdk.x86_64 yum install -y java-1.7.0-openjdk-devel I have referred few more and this Link. There is a comment openjdk.x86_64 installs ...
1
vote
1answer
666 views

Enable 1440p on CentOS 6 (VirtualBox Guest)

I'm attempting to increase my resolution to 1440p on an existing CentOS VM. Currently, the display options only show up to 1080p under CentOS (guest OS, screenshot here), but I am able to run 1440p on ...
0
votes
1answer
243 views

Create folder as Apache with user add Centos

I have a windows drive that's mounted onto my Linux server. PHP and Apache web server needs to create folders on the windows drive with (mkdir) but I get permission error. I have mounted my windows ...
1
vote
0answers
847 views

Dual boot windows 8.1 and Centos 7 on seperate drives

I want to create a dual boot pc with Windows 8.1 and Centos 7. But i dont want to install both OS on the same drive. I have two SSD's. I want to install windows on the first SSD and Centos 7 on the ...
2
votes
2answers
2k views

RHEL 7 (CentOS 7) security / ssh / sshd_config advise requested

I am not a sysadmin and try to create a more or less secure web server (LAMP based CentOS 7). I read several tutorials about setup an initial CentOS 7 droplet and got everything running fine. ...
1
vote
1answer
920 views

Iptables rules for remote mysql server

I have a local mysql database on a centos server which causes a lot of load because there are a lot of queries made towards it. I want it hosted on its own server but i dont want every single ...