Questions tagged [centos]

CentOS is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RedHat.

CentOS is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RedHat. CentOS aims to be 100% binary compatible with RedHat Enterprise Linux. CentOS mainly changes packages to remove upstream vendor branding and artwork.

Support & Lifecycle

Each CentOS version is maintained for up to 10 years and a new version is released approximately every 2 years.

+----------+-------------- +---------------+---------------------+
|  Version | Release date  |  Full updates | Maintenance updates |
+----------+---------------+---------------+---------------------+
| 3        | 19 March 2004 | 20 July 2006  |31 October 2010      |
| 4        | 9 March 2005  | 31 March 2009 |29 February 2012     |
| 5        | 12 April 2007 | Q1 2014       |31 March 2017        |
| 6        | 10 July 2011  | Q2 2017       |30 November 2020     |
| 7        | 7 July 2014   | Q4 2020       |30 June 2024         |
+----------+---------------+---------------+---------------------+

External Resources:

10670 questions
3
votes
3 answers

Why does backup script fail with cron?

So I'm doing automated backups of a database. The backup script works properly, both when I run it manually, and also when Cron runs scheduled hourly and daily backups. The backup fails, however, on the weekly and monthly backups. I am (obviously)…
allanberry
  • 107
  • 8
3
votes
1 answer

PHP-FPM cannot write to Nginx www folder

Nginx is currently set to run as the user "nginx": [root@localhost whmcs]# grep user /etc/nginx/nginx.conf user nginx; PHP-FPM is set to run as the "nginx" user too: [root@localhost whmcs]# grep '^user\|^group' /etc/php-fpm.d/www.conf user =…
Neekoy
  • 269
  • 1
  • 6
  • 14
3
votes
2 answers

PostgreSQL update problems with uuid

I am trying to run yum update on my CentOS 5.2 box and keep getting this message: Missing Dependency: libossp-uuid.so.15 is needed by package postgresql-contrib I ran yum update postgresql separately and now it's 8.3.8. I also downloaded uuid-1.6.2…
kdl
  • 119
  • 4
  • 16
3
votes
0 answers

Awstats - the 'HTTP Status codes' information is missing. How to fix?

I'm trying to configure Awstats for a website on Centos 7. Currently everything works fine (I can see stats, keywords, page hits, etc.), but there's a section on Awstats that reads "HTTP Status codes" and under that header there are some codes like…
LeoD
  • 131
  • 3
3
votes
1 answer

How to give SFTP/SSH access to external developer and jail it to public_html?

I found very similar questions (like this), but I could not find a solution that applies to my situation. I need to give an external developer access to one of the hosted website on the machine. The directory structure is this: apache apache 4096…
user310317
3
votes
2 answers

Nginx 502 Bad Gateway Error

Currently have a 502 Bad Gateway Error on my Centos 6.8 Server. 2017/01/30 23:57:31 [crit] 26911#0: *1 connect() to unix:/var/run/php/php7.0-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.0.15,…
user397791
  • 31
  • 1
  • 1
  • 2
3
votes
3 answers

enabling mysqli extension on centos server

I want to enable mysqli extension on Centos server where PHP 5 is installed. After searching online, I saw many people talking about uncommenting mysqli related line in the php.ini and I couldn't find anything related to mysqli in my php.ini…
Tan
  • 139
  • 1
  • 3
  • 8
3
votes
0 answers

Is it possible to limit the number of previous users on login screen in centos?

I'd like to customize the login screen on CentOS to limit the number of users displayed? I know how to disable the user's list by customizing the dconf gdm db but I wonder if I can set a limit value...
jeromes
  • 131
  • 4
3
votes
2 answers

How to determine which mail program is running on my server

I am fairly new to server administration and completely new to mail server administration. Someone else installed my mail server and I need to a) determine which program it is and b) check mail sending logs. The server is a Digital Ocean droplet…
Oliver Williams
  • 286
  • 1
  • 3
  • 13
3
votes
1 answer

How Can I PXE Boot to an CentOS 7 Instance Installed to an iSCSI Lun?

I've successfully installed CentOS 7 to an iSCSI LUN. How must I configure my PXE server to boot to this newly installed iSCSI LUN?
3
votes
0 answers

NFS mount fails when using VPN

I've got an NFS mount set up on my development server which I have been mounting on local machines without issue. I've now been trying to mount the same NFS share to the same machine (openSUSE laptop) this time through a VPN from outside the office…
robbiedyer
  • 43
  • 1
  • 6
3
votes
1 answer

Diagnosing rsync error output

I have inherited a Centos 6.5 system which is outputting multiple lines of errors when running an rsync. The rsync is syncing to a locally attached drive mounted as /storage. The command is: rsync -aAXv /* /storage/backup/…
hashwagon
  • 67
  • 1
  • 8
3
votes
2 answers

Kernel Panic on CentOS - Google Compute Engine Instance

I'm getting a kernel panic error in a CentOS instance of Google Compute Engine. I'm able to see the error and already figure out how to solve it, but I can't get into the GRUB menu trough the serial console. dracut: Mounted root filesystem…
3
votes
1 answer

No display graph data using Collectd

So I am trying to setup Collectd to gather resource usage data and view it in graph format. I'm using Centos 6.8 with Apache 2.4 (if that matters). However, I am unable to display any data. I feel all my configuration files are correct. Here is all…
Mo Beigi
  • 141
  • 1
  • 6
3
votes
1 answer

Why am I unable to execute command as another user in CentOs?

On a remote server, it used to be the case that it was possible to execute a command as another user using the sudo -u command but lately, I have been unable to accomplish this. When I do I receive the following error: sudo -u lool ./autogen.sh…
Dark Star1
  • 1,385
  • 7
  • 22
  • 37