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

learn more… | top users | synonyms (2)

1
vote
2answers
112 views

Remote server randomly hanging on ssh login

I'll try to ssh into the server ssh name@box-a At which point I'll usually be prompted for a password and then it logs me in. Sometimes though, when I try to ssh in it just hangs after I press ...
3
votes
1answer
162 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 ...
1
vote
1answer
29 views

“not a valid package archive” when trying to install PHP extension?

I'm running CENTOS 6.6 on a VPS and am trying to install the ZMQ PHP extension and tried installing using the command shown in the instructions: sudo pecl install zmq-beta However, it fails, ...
1
vote
2answers
37 views

Faillog command on CentOS7

Although EPEL7 has been installed, faillog seems not to be recognized: [vagrant@vm-one ~]$ faillog bash: faillog: command not found... None of the packages seem to contain the faillog command: ...
1
vote
1answer
26 views

Initialise USB devices before hard disks during grub2 boot

I have a CentOS installation on a portable USB stick, with a grub2 installation on it's first partition. The system can boot when there are no internal hard drives plugged into a machine, but fails if ...
1
vote
0answers
63 views

Questions about whiptail and bash functions

I'm a bash newbie. Say I have this script #!/bin/bash function cpp-lang { yum install "Development Tools" } function updatesys { yum -y update yum -y upgrade } whiptail ...
0
votes
1answer
35 views

Proper create user account with permissions on CentOS/Apache

I have setup a CentOS VPS to run apache, I am having trouble with permissions when creating an account. I have setup a virtual host host to point a domain to /home/user/public_html <VirtualHost ...
0
votes
0answers
43 views

CentOS rescue mode

After a power outage somehow my server is not finding the boot partition anymore. As far as I read about recovering a CentOS 6.4 I just need to pick "Rescue installed system" option from the boot ...
0
votes
1answer
32 views

How to install oddjob-mkhomedir repository on AMI box using command line

I'm trying to install oddjob-mkhomedir and it comes back with no package available nothing to do. I used sudo yum install oddjob-mkhomedir so I'm assuming the repository is not available. My ...
0
votes
2answers
37 views

Locate specific file from script

I've written a script file in which, one function searches for another script and if found, executes that script. Script extract #!/bin/bash ... service_status() { local my_script=`which ...
1
vote
1answer
22 views

3 versions of BerkelyDB installed

I have 3 versions of BerkelyDB installed on my server following 2 versions Package db4-4.3.29-10.el5_5.2.x86_64 Package db4-4.3.29-10.el5_5.2.i386 which are included in the Centos 5 Distro and ...
0
votes
0answers
23 views

Unable to get kickstart file from locally hosted http

I'm trying to get a vm up using a kickstart file. However, whenever the virtual machine initalize, it says it is unable to located the kickstart file from the location provided. Code to build vm: ...
2
votes
1answer
796 views

How to install Desktop Environments on CentOS 7?

I have recently installed CentOS 7(Minimal Install without GUI) and now I want to install a GUI environment in it. How can I install Desktop Environments on previously installed CentOS7 without ...
0
votes
1answer
162 views

Can't Install php-mssql or freetds on Centos7

My goal is to connect to MS SQL Server 2005 using PHP. I have installed PHP and ODBC. I am running CentOS7. PHP Version => 5.4.16 .... (from php -i) .... odbc ODBC Support => enabled I am ...
0
votes
1answer
30 views

why my subdomain is not accessible from the Internet?

I am using virtualhost in Centos 6.6. This is my conf file: <VirtualHost *:80> ServerName test.mydomain.ca ServerAlias test.mydomain.ca DocumentRoot ...
0
votes
1answer
48 views

'No such file or directory' when I am trying to format Logical Volume

I am trying to create Logical Volume on CentOS 7 on EC2 instance. After attaching the volume I am creating partition using fdisk, then I am starting the Logical Volume creation: pvcreate /dev/xvda1 ...
0
votes
1answer
221 views

MySQL service doesn't start

I have a CentOS 6.6, on the system there was a working Mysql and a mysql server already installed and a running mysqld service, but i needed a fresh install, so i did the whole removal through yum, ...
0
votes
0answers
31 views

/installation of CentOS 7 - Anaconda Disappeared

Using VMWare and CentOS-7.0-1406-x86_64-DVD installer. I would like to install CentOS on this virtual machine. I did that successfully few weeks ago. but now, Anaconda screen disappeared so fast ...
0
votes
0answers
22 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
122 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
91 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
70 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
63 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
71 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
50 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
31 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
26 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
189 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
40 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
186 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
31 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
13 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
164 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
52 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
40 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
50 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
209 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
32 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
70 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 ...