CentOS stands for Community ENTerprise Operating System, the most popular Linux distribution for web servers with almost 30% of all servers using it. Third-party software is not included in the base.

learn more… | top users | synonyms

0
votes
1answer
56 views

Cannot restart apache on Centos 7

I cannot restart HTTPD on Centos 7. When I try to run the command it shows this error below. How can I overcome this? -- -- Unit session-735.scope has begun starting up. Apr 12 15:33:01 ...
1
vote
0answers
932 views

Failed to adjust OOM score of renderer with pid X: Permission denied

I'm not sure what exactly causing, but I'm getting following error: Apr 11 12:30:00 X alacarte-made-2.desktop: [1712:1735:0411/123000:ERROR:zygote_host_impl_linux.cc(162)] Failed to adjust OOM score ...
0
votes
1answer
119 views

Samba 4.2.3 - Access Denied to Home folder as root user

I am running CentOS 7.2 x64 with Samba 4.2.3-12.el7_2. My Samba config is as follows: [global] server string = log file = /var/log/samba/log.%m max log size = 50 guest ...
0
votes
0answers
26 views

Windows 10 access to CentOS

How can a windows 10 user access the CentOs Linux 7.1.1503 over samba server? Windows 7 and 8 users are able to access but Windows 10 user.
0
votes
0answers
21 views

Startup script unexpected results

I'm experimenting with a small script to setup my webserver on Vultr. This is a "Startup script" that is used by Vultr on the background after deploying a new machine for me. If I run manually with ...
0
votes
1answer
21 views

What does the 'g' mean under VIRT in “top” on linux?

The output from "top" for a server of mine says this: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 64860 mongod 20 0 16.721g 81016 16820 R 0.7 4.7 18:37.66 ...
0
votes
0answers
11 views

ClouderaVM in 2 Different Machines are not Pinging Each Other

I am using cloudera-quickstart-vm (VirtualBox) in 2 different systems with bridged mode of networking to implement hdfs (in a distributed manner). Host System: Windows 7 Guest OS: CentOS 6.5 ...
0
votes
0answers
68 views

Two network cards, one directly to internet, other in LAN

I need some insight in my thinking so that I don't do something completely stupid. I have two physical network cards on my computer, one card/interface offers a handful of services and the other is ...
0
votes
1answer
95 views

Yum repo with python 2.6 on Centos7

I need to run Nodejs 4 on a CentOS 7 machine. I have a limited internet access on this machine and basically can only hit Yum repositories (I can add new ones). Since Nodejs 4 is not available even in ...
1
vote
1answer
16 views

How to copy file only if file sizes between src/dst differ?

I wish to perform a file copy like: cp --verbose /srcfile /dstfile But I only wish to perform the copy if dstfile does not exist or if the dstfile filesize differ from the filesize of srcfile. How ...
1
vote
1answer
100 views

Security regarding nginx + php on CentOS 7 with OwnCloud 9

I'm trying to setup a OwnCloud Server v9 for my freelancing purpose. SPECS: - CentOS 7 - nginx - php I'm a little bit confused. I can find only the info about the PHP Version 5.5 in the ownCloud ...
0
votes
2answers
67 views

Error SSH to a Centos 7 VM (Host-only)

I have the following setup: Host System: Debian Wheezy VirtualBox System: Centos 7 Network Adapters: NAT and Host-only On the host system I can "ping" the VM machine, when I try to ssh I get the ...
0
votes
2answers
69 views

GCC and G++ upgrade to 4.8+ on CentOS 6.7 32-bit

I used: yum -y --nogpgcheck install devtoolset-3-gcc devtoolset-3-gcc-c++ to upgrade gcc and g++ from 4.4.7 to 4.8+ it installed : devtoolset-3-gcc-4.9.1-10.el6.i686 ...
0
votes
0answers
18 views

Reverse DNS setup not working - BIND on CentOS 7

I haven't setup BIND before but am quite knowledgable with DNS (I'm from the Windows world). I'm having a reverse DNS issue. Forward DNS is working fine for the zone int.linuxlab Here are the ...
0
votes
2answers
311 views

How to have MySQL entitle the machine's root user?

I'm trying to run mysqlcheck. Its failing with: $ sudo su - # mysqlcheck --auto-repair --all-databases mysqlcheck: Got error: 1045: Access denied for user 'root'@'localhost' (using password: NO) when ...
0
votes
0answers
29 views

Trouble setting up mail server(postfix, dovecot) on centos

I'm having trouble setting up my mail server, i have followed this tutorial: http://www.krizna.com/centos/setup-mail-server-centos-7/. Now i'm trying to send mails to my outlook adress, but i can't ...
0
votes
0answers
20 views

pulseaudio halt with C-Media usb audio

pulseaudio will enter an uninterrupted wait when my c-media usb audio device is plugged in/activated. pulseaudio -k wont kill it (even with autospawn = no), nor kill with SIGINT or SIGTERM), and the ...
1
vote
1answer
20 views

One user, multiple desktops tigerVNC

I was wondering if there was a way to "share" a user through tigervnc such that if both are logged in, both see their own desktops. I need something similar to screen in ssh. I've tried connecting ...
2
votes
1answer
64 views

Operating System not found, to install CentOS 7 on VMWare Workstation 12

I want to install CentOS 7 on VMWare Workstation 12. After I created a virtual machine and clicked "Power on this virtual machine", I got the following error: What is wrong?
1
vote
2answers
82 views

Why is a user only added to one group at a time?

I have a limited knowledge of Linux systems, so bare with me :) I'm trying to add Apache and a user called admin to the same group on CentOS. When I run id admin I get groups 1000 (apache) and group ...
0
votes
2answers
78 views

Grub not listing the new kernel while booting

I recently updated my kernel on CentOS 6.7. That also cleaned up all the older versions, which also updated my /boot/grub/grub.conf, it has a single entry (of the new kernel). Now, when I rebooted, ...
0
votes
1answer
30 views

centos - cannot create two symlinks to /var/www/html

I have two users chrooted to their home directories, that need access to /var/www/html. I tried to solve this by creating a files directory within their directories and in that files directory create ...
0
votes
1answer
38 views

Adding --no-check-certificate to yum repositories

I have added virtio-win.repo according to this guide. The content of /etc/yum.repo.d/virtio-win.repo is now [virtio-win-stable] name=virtio-win builds roughly matching what was shipped in latest ...
0
votes
0answers
7 views

Postfix and Dovecot Issue

I am a dovecot user. I have assigned 1000 MB space to one of my clients. Now, if mail is sent to his email, an over quota message bounces back. I checked from the server, it is only showing 300M used. ...
3
votes
1answer
95 views

Apache can't access /var/www/html

Apache is denying access to all the files in /var/www/html. It claims it's because of file permissions, but the whole /var/www directory is chmod 755 and owned by apache:apache. Apache error log: ...
0
votes
0answers
35 views

How to install packages in remote server without super user

Here's the thing: I have access to a remote server (ssh) to carry out a project of mine. (It has better specs.) I don't have super user privileges on this system (obviously!). Hence, I can't do any ...
1
vote
0answers
25 views

My old CentOS 6 computer died. How do I make a new one boot with the old HDDs?

As the title says, I have had a CentOS 6 box for some years, but recently it died. Since it was quite old, I've upgraded it with a whole new box (new psu, motherboard, RAM, CPU), but kept the HDDs. My ...
2
votes
1answer
48 views

Download Java 1.7.0 JDK for CentOS

I have a CentOS 5.2 32-bit machine, which I can't connect to the internet. As Java Oracle does not seem to work, I would like to try using OpenJDK, but therefore I need to install OpenJDK first ...
0
votes
0answers
13 views

Creating a self-contained installation file for pymssql for CentOS

I'm trying to deploy a Python application on a machine that due to system and organisation requirements can't have gcc installed on it, so I need to create a self-contained installation file for ...
0
votes
0answers
23 views

Has the installation of Google Authenticator chaged for CentOS 7?

ANOTHER UPDATE Did some more research and found this link, which talks about the repo issues I had. I'm going to check it out, and if it works, post a modified version for CentOS7. UPDATE So I just ...
1
vote
1answer
70 views

dpkg-reconfigure on CentOS (for openssh_server)

Systems that use the apt packaging system have access to a command called dpkg-reconfigure which, depending on the package, re-runs some setup commands. At least on Ubuntu, it's possible to ...
0
votes
2answers
60 views

CentOS 5.2: GLibC version too old (libgio issue), upgrade to which GLibC version

I'm working on a CentOS 5.2 system. The application I'm trying to launch, refuses because a reference to libgio-2.0.so.0 seems not to exist. This seems to be due to the GLibC version, so I had ...
0
votes
0answers
50 views

Vagrant cant rsync Windows

I have a problem with Vagrant. I'm using a CentOS vm. The vagrant up command sucessfully maps files from Windows to the CentOS vm, and gives no errors when bringing the machine up. EDIT: ...
0
votes
0answers
8 views

GNOME TopBar “Applications” & “Places” switched places(

I'm using GNOME 3.14.3/3.14.4 on following system: $ cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core) $ uname -a Linux X 3.10.0-327.10.1.el7.x86_64 #1 SMP Tue Feb 16 17:03:50 UTC 2016 ...
0
votes
0answers
7 views

What is the replacement for intr option when mounting NFS?

intr / nointr This option is provided for backward compatibility. It is ignored after kernel 2.6.25. says the man nfs(5). I'm facing the problem when NFS client blocks forever when accessing a ...
0
votes
0answers
55 views

Ping: unknown host google.com on CentOS 7 in Virtual Box

I'm attempting to talk to the outside world (the internets) via CLI. I'm using CentOS 7 on Virtual Box and I can't get anything to work. I've modified just about every file on the system, restarted ...
0
votes
0answers
42 views

How to enable Network when installing CentOS 7 from USB flash disk?

I downloaded CentOS 7 DVD ISO. Then I use Fedora LiveUSB Creator to create a bootable USB from that ISO. But during the installation with that USB, I cannot fix the Installation Source, though I have ...
0
votes
1answer
11 views

Multi-Email Address Forwarding Not Working

I am using POSTFIX on my CentOS server box to do email forwarding. The goal is to be able to create some simple forwarding addresses for the multiple domains on this box to route mail to a single ...
0
votes
1answer
36 views

kerberos ticket not renewable

I followed all recommended MIT kerberos configuration settings. I created a principal and when I do kadmin.local getprinc I see the following kadmin.local: getprinc centos@HADOOP.PSM Principal: ...
0
votes
0answers
27 views

NameVirtualHost address is not supported, proceeding with undefined results

Apache Details Server version: Apache/2.2.15 (Unix) Server built: Aug 28 2015 22:18:57 Varnish varnishd (varnish-3.0.7 revision f544cd8) Copyright (c) 2006 Verdens Gang AS Copyright (c) 2006-2014 ...
1
vote
0answers
24 views

Hostname won't resolve after setting up new server

I just completed a fresh install of Centos 7 on a PC. It is connected to the campus network, so I am not in control of the DNS server. I gave it a hostname by setting the HOSTNAME value in ...
0
votes
1answer
17 views

How to enable ssh key authentication for root users?

I want root user to be able to login via ssh key authentication. How can I get that done? I tried changing the ssh config file and adding PermitRootLogin without-password but that didn't work. I also ...
2
votes
2answers
70 views

Centos 6 server is locked, cannot access via putty and cannot ping

I have rented a Centos6 server and running an Apache Tomcat 7 server with an Apache httpd server proxying it. Sometimes my server gets locked and I cannot access it via putty even ping. My question ...
-3
votes
1answer
23 views

Error when I boot a server from a USB key

I am trying to boot my Linux server using a USB key with CentOS 6.5 installed. It gives me the boot error message remove disks or other media, press any key to restart. What should I do in this ...
0
votes
0answers
4 views

Previous system statistics from sar are dated a month earlier

I am trying to use sar to look at the statistics from yesterday (March 9th): $ sar -f /var/log/sa/sa09 Linux 2.6.32-431.el6.x86_64 ([hostname]) 02/09/2016 _x86_64_ (12 CPU) I wonder why the ...
0
votes
1answer
19 views

Can I set a process name for my tomcats on CentOS ?

I have several tomcats running on my centos. If I try "top", all of them are shown as "java" . Is there anyway, such as changing the catalin.sh, that I can make each of the tomcat has its own name ...
1
vote
0answers
10 views

System Monitor Causes Periodic Current Peaks When Open in RHEL/Centos 6

While collecting data for a power consumption analysis, I noticed that simply having the System Monitor open while at idle caused periodic peaks in the current draw of the 12V bus. The current draw ...
0
votes
0answers
20 views

SSH connection denied … sometimes

Since our company swapped to Active Directory (we were using LDAP before), this is the Russian roulette to log in via SSH to our CentOS server. 50% of the time I manage to log in without problem on ...
0
votes
1answer
45 views

Install ruby >= 1.8.7 on CentOS release 5.11

I’m trying to install SASS, so I need GEMS, which requires Ruby 1.8.7 or higher. The Yum installer installs Ruby 1.8.5. Can’t seem to find a tutorial on the interwebs for successfully installing ruby ...
0
votes
0answers
14 views

Why do I see “ [(no branch)] ”?

Hi I am new to puppet and doing free modules in a test environment on cents 7 from puppet website. Initially everything was fine but than I see "[(no branch)]" on command line. e.g; [(no ...