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

learn more… | top users | synonyms

1
vote
0answers
36 views

Enabling console login on CentOS

I've inherited a CentOS system where I can't login via the console. I can ssh to the machine and login, but not via the console. How do I go about enabling console logins?
-2
votes
1answer
39 views

Cannot access Internet after connected to VPN [closed]

I have set up a VPN on my CentOS server. Client side can connect to sever side, and ping to each other. However, I can not access internet any more. lo Link encap:Local Loopback inet ...
0
votes
0answers
29 views

CentOS 6.4 YUM Python error

I'm getting an odd YUM error using the shell which I can't find any answers to elsewhere. What's weirder is that this worked fine on a very similar machine. It's a CentOS 6.4 machine and both YUM ...
2
votes
1answer
93 views

I think I've resolved dependency, rpm doesn't

I have upgraded EPEL repo in order to install Remi repository in order to upgrade PHP to 3.5.4 in order to upgrade civicrm (on a CentOS 6.7 VPS running one production site and its dev site). ...
0
votes
2answers
172 views

Unable to run a python3 script in CentOs7 [with python2.7] via cronjob

I have been trying to deal with this strage problem all morning. I have a simple crawler.py file, which contans a code that can only run under python3 to be exact under python3.3 evenrionment Now, ...
0
votes
1answer
36 views

How to force Centos to use ipv6 interface only?

My Centos server has two virtual (Openvz) interfaces. One from these interfaces has ipv4 address configured, while the other one has the ipv6 one. In short this server is used for browsing / proxy. ...
1
vote
1answer
86 views

/var/run/postgresql missing after reboot

I have Centos7 machine set up and I'm having problems with postgres not starting after reboot. Even when I try to run the service manually I'm getting UTC FATAL: could not create lock file ...
0
votes
0answers
27 views

Directory index forbidden by Options directive:

I am trying to host a django app on centos 6.4 and django 1..6.5.I read many thread related to this error and applied whatever thread suggested but still I am getting the same error. <VirtualHost ...
0
votes
1answer
103 views

Postfix sending spam to local email addresses without authenticating

Running on Centos 6.4. Past two weeks I've been receiving emails from other email accounts located on our server. admin@site.com is sending to careers@site.com and nonexistentemail@site.com is sending ...
0
votes
1answer
42 views

Max number of KVM guests in Centos host

On this page, Redhat state that RHEL 5, 6 & 7 are all limited to a maximum of 4 concurrently running KVM guests. Other products that they offer, such as "Red Hat Enterprise Virtualization", do ...
0
votes
1answer
62 views

BIND DNS nslookup NXDOMAIN

I have BIND DNS server installed in my LAN on Linux CentOS on IP 192.168.0.30. I also have HTTPD Web server installed in my LAN on Linux Centos on IP 192.168.0.23. My /etc/named.conf file is ...
0
votes
1answer
29 views

How to find webserver running on server and find why do some web apps respond and some don't?

I didn't configure this server so I don't know what is running or where things are running. The server is some sort of rack server (1U or 2U Dell running in our datacenter) running Centos. So we ...
0
votes
1answer
128 views

Can't delete LV (volume is used by another device)

We had a KVM machine running on a CentOS 6.7 server and have since deleted the VM. However, the logical volume that was assigned to the VM has remained on the system and I can't find a way to delete ...
0
votes
2answers
139 views

how to put files in ram

I have a server with 30 Gb ram and i have a script that put a (.ts) file (10mb) in /var/www/html/tv and script replace (.ts) file every 2 mintues. so my question is: can i mount this folder ...
0
votes
1answer
30 views

snmpd becomes unresponsive (Centos 6)

In the last couple of days, a Centos 6.7 mailserver on which I am monitoring is cotinuously timing out on snmp queries. No changes have been made to the server in the period immediately preceding the ...
-1
votes
1answer
31 views

Remove all contents of an openldap server in Centos

I'm facing a problem and I don't know how to solve it. In fact, I have done some ldapadd and I've realised that I need to delete all things from the server. So what I've tested is to reinstall yum but ...
0
votes
0answers
27 views

Scheduled Cron Jobs auto Deleted after few days

i am using CentOS Linux 7.1 with control panel webmin virtualmin and now after upgrade webmin i am facing a problem with my crontab and the problem is which cronjob i have made by me these all are ...
0
votes
0answers
13 views

how to control interface index in Centos?

For one of our network interface we are getting the interface index( scope id) as 258. Due to this we are having issues. Generally it comes as 17 but some times coming as 3 digits. Is there any way to ...
0
votes
0answers
57 views

FirewallD is not running in CentOS Linux 7.1.1503

I wanted to add a port 5004 for tcp connection. So I run the command: firewall-cmd --permanent --add-port=5004/tcp However I got an error: FirewallD is not running So by some research, I run the ...
0
votes
1answer
94 views

Auto-start MariaDB using systemd after it has crashed

I am trying to set up MariaDB in a way that it automatically recovers -- basically restarts, from a crash. Based on this article -- scroll down to Auto-starting Services with systemd, I opened ...
0
votes
0answers
53 views

How to Install Imagick PHP extension on Centos 5?

Can anyone advise me if it is possible to install the Imagick PHP extension on CentOS 5, running PHP 5.3, and if so, how? When I try to use pecl to install Imagick using sudo pecl install imagick ...
0
votes
1answer
74 views

PHP CURL does not support RTMP protocol

I am trying to fetch RTMP url using PHP CURL, but unfortunately php curl says >Protocol "rtmp" not supported or disabled in libcurl I have installed rtmpdump and upgraded CURL to 7.47.1 latest stable ...
0
votes
0answers
29 views

How to fully track file creation on Centos

I have a server with CentOS which keeps getting infected. The infection always creates a file called post.php in httpdocs which starts sending emails. By default in Linux I can only see owner of the ...
0
votes
0answers
37 views

rsyslogd and systemd-journald ram usage

I have a small VPS server with CentOS on it and only 512 MB RAM. It's just for small web-server (nginx) with mariadb, email-server (postfix, dovecot) and BIND service on my own. Today I found that ...
0
votes
1answer
2k views

Subdomain error: server DNS address could not be found

I'm trying to add subdomain to my domain. I just installed httpd on my clean centos 7. At first I created file /etc/httpd/conf.d/htmltest.mydomain.com.conf with the following contents: ...
3
votes
1answer
189 views

systemd-journald fails to start on CentOS 7

Since a week ago, journald doesn't finish starting anymore. When booting up, it starts up and logs the boot messages and a few other service startup logs, and then abruptly shuts down when starting ...
0
votes
1answer
36 views

Full /usr directory, but can only account for 1/8th of space

Having trouble finding the files causing space issues on my server. Running the "df -h" command results in: /dev/xvda1 ext3 4.0G 693M 3.3G 18% / /dev/mapper/vg00-usr ext4 8.9G 8.9G ...
0
votes
1answer
79 views

cronjob error “/bin/sh: /path/to/file: No such file or directory” [duplicate]

i've installed a python software that allows to run javascript on the server i've put the binary file (jsrunner) in this address /usr/local/bin/jsrunner so in the ssh when i try it it works fine ...
1
vote
1answer
29 views

Ubuntu / CentOS - PHP5 imap ssl

I was wondering now, I have developed a Helpdesk System, than uses the PHP imap library to connect to configured mailbox's and "pull" the mails through and create tickets based on the content. But ...
-2
votes
1answer
70 views

IPv6 + PTR + gmail returning error

I have a problem with mail connected to gmail account. Every time when i wanna send mail i got that error: Our system has detected that this message does not meet IPv6 sending guidelines regarding ...
0
votes
2answers
86 views

keepalived registers failure but won't failover

I'm running 2 keepalived servers that share a common IP (Server1 and Server2). Server1 is the master, and whenever haproxy dies, Server2 should take over. If Server1 comes back up, Server2 should ...
1
vote
0answers
19 views

CentOS 7 ifup scripts actually doesn't change interface name

It has occurred to me that in CentOS7. While one can still specify interface names in sysconfig, the ifup scripts actually does not change interface fact "via ip link set dev ${DEVICE} name". For ...
0
votes
0answers
25 views

Fail2ban fails to start when setting an action

After installing fail2ban and modifying its configuration it fails to start whenever i set the action to anything... here is the error, but note that $(action_mwl)s can will be diferent for any ...
1
vote
0answers
51 views

Configuring OpenLDAP over TLS for RHEL/CentOS 6.5

i've been banging my head against the wall with something that seems to be a simple concept. I have two RHEL 6.5 servers. One will be acting as the OpenLDAP server, and one will be a client ...
0
votes
0answers
77 views

LXC SSH too slow in CentOS7

I have a newly created centos7. I installed the LXC and create a configuration: lxc.network.type = veth lxc.network.link = lxcbr0 lxc.network.hwaddr = fe:84:8b:f1:76:8e lxc.network.flags = up ...
0
votes
1answer
52 views

Emails failing from sendmail - CentOS 7

My simply PHP script to send mail is <?php ini_set( 'display_errors', 1 ); error_reporting( E_ALL ); $from = "fromaddress@gmail.com"; $to = "toaddress@gmail.com"; $subject = ...
0
votes
2answers
70 views

I can't send a message with postfix. Error: “Must issue STARTTLS first”

I am novice with postfix. My goal is to use it with fan/nagios/centreon in order to receive notifications. I have tried many solutions found on this forum or thanks to google, but it didn't resolve my ...
0
votes
2answers
62 views

pdo_mysql is installed but missing in phpinfo

I have a CentOs 6.7 server. I have problem to make pdo_mysql available on apache2. following shows for Command line: myserver$ php -m PDO, pdo_mysql, pdo_sqlite but phpinfo(), shows only PDO and ...
1
vote
0answers
10 views

Spacewalk 1.7 - system overview - 0 packages?

I have some systems, that are long now with Centos 6 channel associated. In the systems overview of the SpaceWalk server 1.7 I see only that all of the Centos 6 systems are ok , and 0 Packages to be ...
1
vote
1answer
29 views

CW Image Optimizer opt-jpg is missing

I use Wordpress on AWS (CentOS). I tried installing the CW Image Optimizer. I'm seeing "CW Image Optimizer requires littleutils. You are missing: opt-jpg." error on the plugin settings page. When I ...
-1
votes
1answer
63 views

CentOS suspicious process

One of my web server is running on CentOS and I have been spotted that one of the processes is taking almost all swap memory. Mention process is: /opt/opsware/agent/bin/pyton ...
1
vote
1answer
63 views

CentOS 7 lighttpd startup failed

I'm running CentOS 7 and when I start lighttpd, it showed status [OK], but when I check the status, it does not actually run. There isn't much information on the startup log, but here is it: ...
-1
votes
3answers
29 views

route entries are getting updated on reboot

I have 2 NIC on server one is for internal communication with 10.10.10.X IP and other is 172.X.X.X IP for external communication. I have route table like this [root@hadoopslave1 ~]# route Kernel IP ...
0
votes
1answer
66 views

CentOS 6: SATA link down when scanning for unused drives

I recently inherited a CentOS 6 server with 8 installed hard drives. 6 of these drives were going to be configured as an LVM, but never got that far. The drives are installed and, from what I can ...
6
votes
2answers
281 views

Accelerating VPN speed using multiple connections

I have set up a VPS with openVPN running on centOS. The VPN works, but it's too slow. Is there a way to speed this up using open multiple connections like IDM or aria2? I'm using openVPN but I'm ...
0
votes
1answer
33 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 ...
0
votes
0answers
22 views

Server Error 500 Swiftpanel

I have centos 7 VPS 64 bit. I have installed php and it works fine. I installed gamepanelx running php and it works good but the gamepanel swiftpanel is not working; it gives me 500 server error. I ...
3
votes
1answer
69 views

ZFS on Centos - “No such pool or dataset” and “devices is currently unavailable”

I'm trying to create zpools on CentOS 7 (3.10.0-327.10.1), and the zpool command seems to hate "wwn-0x" IDs. "zpool status" is clear - there are no zpools currently configured on the machine. I have ...
0
votes
0answers
15 views

How to find server hacker [duplicate]

I have WHM CPanel and cxs plugin installed to scan for malicious scripts. Today I just got notified that a file has been uploaded to my server: Scanning web upload script file... Time ...
0
votes
1answer
28 views

Mount bind not taking affect in fstab - Centos 6

I am using this line in fstab to bind /sftp/feeds/incoming to /var/www/online/public_html/feeds /sftp/feeds/incoming /var/www/online/public_html/feeds none bind 0 0 But it is not taking ...