CentOS is an Enterprise-class Linux Distribution derived from Redhat Enterprise Linux sources freely provided to the public.

learn more… | top users | synonyms (2)

0
votes
0answers
20 views

Using ks.cfg with virt-install?

I've been trying to get a virtual machine working with a cfg file on centos but unfortunately, I'm getting the error that ks.cfg file does not exist. Below is the command I ran to enable the VM. ...
0
votes
2answers
106 views

Apache httpd cannot parse php on CentOS 7

I'm setting up a new CentOS 7 server, I installed apache httpd successfully and get the html welcome page then I installed php 5.4 then tried to test it using test page: <?php phpinfo(); ?> ...
2
votes
0answers
39 views

Disable viewing/listing rights to users

I'm new to linux administration and I'm not sure how to search for this problem. When I create a new user, s/he can browse the filesystem. E.g. ll /. How can I restrict the user to a few select ...
1
vote
1answer
77 views

Sendmail stopped sending mails, “did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA”

All mails suddenly stopped sending, here is the maillog: Jan 26 17:02:20 vm2745 sendmail[3544]: My unqualified host name (Centos) unknown; sleeping for retry Jan 26 17:03:20 vm2745 sendmail[3544]: ...
3
votes
1answer
64 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 ...
1
vote
0answers
37 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
59 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
68 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
18 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
54 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
48 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
0answers
10 views

Trouble with VHOSTS config

This is my apache configuration for the vhost. <VirtualHost *:80> ServerName test.mydomain.ca ServerAlias test.mydomain.ca DocumentRoot /var/www/test_mydomain/public_html ...
0
votes
1answer
24 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 ...
0
votes
0answers
28 views

Unable to configure centos 7 and my UHD display

I am trying to configure cent os 7 in a vm on my laptop with 4k display. The icons and the shell font are very small. I have tried the "gsettings set org.gnome.desktop.interface scaling-factor 2" but ...
0
votes
1answer
25 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 ...
0
votes
2answers
165 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
22 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 ...
0
votes
1answer
39 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 ...
0
votes
0answers
12 views

BIOS and CentOS sending serial messages on bootup

I have a piece of hardware connected to my CentOS workstation via serial. The hardware has to be always on and responding. Recently I realised that on rebooting, my BIOS sends out a serial message. ...
0
votes
0answers
33 views

CentOS 7 boot hagn in VmWare

I have installed CentOS 7. It was working fine until today that it hangs. After several initial lines of ...driver cache write through... it goes to the next black screen with a _ keeps flashing. I ...
1
vote
0answers
156 views

yum update fails with HTTP 503, but curl succeeds?

I'm new to CentOS... I've just done a basic installation of CentOS 7. The only thing I've touched so far is the network device to enable it. After confirming internet connectivity, I tried to update ...
1
vote
1answer
28 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
0answers
12 views

haproxy - in CentOS is running but the whole directory is no more available and i do not have configuration backup

I had haproxy configured in /var/tmp directory by compiling, i did not had any backup after few months its still running but my /var/tmp/ is having no haproxy anymore. Can anyone please recover it i ...
0
votes
1answer
142 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
50 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 ...
0
votes
1answer
32 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
38 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 ...
0
votes
0answers
44 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
175 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 ...
0
votes
1answer
27 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
63 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
32 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 ...
0
votes
0answers
30 views

AWS EC2: Attach ebs volume fails

I'm using a script that uses Amazon EC2 CLI to create ebs volumes from other instances snapshots & attaches them. The failure happens after creating the volumes - sometimes the attach fails. This ...
1
vote
0answers
34 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
0answers
20 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 ...
0
votes
0answers
16 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
2answers
66 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 ...
0
votes
1answer
108 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 ...
0
votes
1answer
109 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
204 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
2answers
165 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: ...
1
vote
1answer
38 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
2answers
40 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 ...
1
vote
1answer
47 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 ...
1
vote
2answers
409 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
38 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 ...
1
vote
2answers
56 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
26 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
22 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?
0
votes
0answers
27 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: ...