Tagged Questions

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

-2
votes
1answer
21 views

How to automate a java service to start if server restarts

I normally run my java service on centOS box using nohup like below: nohup java -jar myapp-0.0.1-SNAPSHOT.jar server my-configure.yml > outfile & However, if the server restarts the service ...
-1
votes
0answers
12 views

Random connection reset?

I'm using an Apache server on CentOS 5, and frequently, on the first try to connect to the website, it will give a "Connection was Reset" screen. But after refreshing it, the page will load as fast as ...
-2
votes
0answers
18 views

How to open port in Centos 5

I wanted to open port in centos and after executing openning port commands, the iptables caontents is like below: # Generated by iptables-save v1.3.5 on Thu Nov 20 17:09:28 2014 *filter :INPUT ...
-2
votes
1answer
29 views

Bitcoind fails to start on Centos 5.8

When I try to start bitcoind on Centos 5.8 I immediately receive the following error: bitcoind: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by bitcoind) bitcoind: ...
-1
votes
1answer
10 views

Apache unable to write on 2777 folder

I am using smarty template system on my website. When it tries to cache some data, a fatal error occurs: Fatal error: Smarty error: unable to write to $compile_dir '/var/www/html/cache/frontend'. Be ...
-1
votes
2answers
43 views

Permissions issue with Centos

I've got a problem with folder permissions on CentOS. I have a folder called website, which was created by the root user via ssh, with setting 775 permissions. Now, I have a second account, called ...
-1
votes
1answer
17 views

centos6 / apache2.2 / mod_deflate: Not working

I have a server with Centos6, Apache2.2, mod_deflate, mod_filter etc enabled.. But I dont see any compression. I have tried all combinations of filter and mod commands that is on the internet for ...
0
votes
1answer
40 views

LDAP authentication CentOS 7

Hey guys I searched a bit on stackexchange but could find help for my problem. I'm trying to integrating LDAP authentication on a centos 7 client, but I can't get it working, and I can't find out ...
1
vote
2answers
42 views

nginx failed (13: Permission denied) uwsgi (502 bad gateway)

I am having trouble running my application on a new DigitalOcean droplet. The machine runs CentOS 6.5 My /etc/nginx/nginx.conf user nginx www-data; worker_processes 1; error_log ...
0
votes
1answer
18 views

KVM Isolated network between host and guest fails after few hours

I have a KVM CentOS host with several CentOS guests. All of the guests are using a bridge for network communication. The guests have been up and operational for several months and work properly. The ...
0
votes
2answers
53 views
+50

apache Proxy DNS very slow

I have a big data site (wordpress secondry develop) one domain www.example.com. I have stored it into 3 server. In DNS setteing IP address (IN A / AAAA) 46.192.22.01 IP address (IN A / AAAA) ...
2
votes
0answers
41 views

Cannot SSH from Production Server to Backup Server until Restart SSH on Backup Server

We have a hosted dedicated server running CentOS 6.5 that is the production server for our website. I have a local server that has been repurposed as a backup server also with CentOS 6.5 and is here ...
1
vote
2answers
32 views

Make CentOS 7.x a port forwarding NAT device

I would like to make CentOS a port forwarding NAT machine using iptables. This is the first time I've tried this and I think i might need a little help. This is the configuration i'm trying to ...
0
votes
1answer
16 views

Unblock All Ports in CSF? [on hold]

I have CSF installed on a cPanel server and know that I believe that I can unblock ports specifically for outgoing connections in the /etc/csf/csf.conf file. It looks like this line can just be ...
-2
votes
0answers
39 views

httpd service restarting automatically on centos [on hold]

I have a CentOS server (@ godaddy) and I have disabled the httpd with chkconfig httpd off enabled tomcat as a service But after some random time running (several days) the Tomcat service stops and ...
-1
votes
0answers
13 views

freshclam.log cron giving error [on hold]

I'm using vestacp control panel on centos 6.5 VPS. I'm getting the error below every day and when I try to start clamd it doesnt start /etc/cron.daily/freshclam: ERROR: Problem with internal logger ...
0
votes
1answer
56 views

Centos/directadmin Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Error connecting to MySQL: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) I get the following error on my CentOS VM with DirectAdmin. What I already tried: ...
-1
votes
0answers
32 views

Postfix 25 no route to host

I can't configure my postfix. My ISP didn't block 25 port, but in /var/log/maillog I receive this output: Nov 18 21:58:47 hostname postfix/smtp[21530]: connect to ...
0
votes
1answer
23 views

CentOS how to delete files in |MOUNT_POINT| [on hold]

When I was looking for big files that were using a lot of space on my CentOS VM, I noticed the following: /home/|MOUNT_POINT|/backup/11-17-14/custom/home/user1.tar.gz ...
0
votes
1answer
30 views

What does the status column mean when I run yum repolist

I'm trying to update my PHP version, using the webtatic repo. I've successfully done it (using the exact steps in the link) above on a test VM server running on my machine at home, but when I try and ...
-2
votes
0answers
33 views

MySQL tuning for dummies [on hold]

my.cnf needs to tune. Server RAM 64G. Below is the mysqltuner output. Please help me on this regard -------- Performance Metrics ------------------------------------------------- [--] Up for: 34s (2K ...
1
vote
0answers
22 views

httpd not starting because /run/httpd is missing

httpd fails to start on one of my servers running centos 7 because /run/httpd is missing, which means httpd can't create /run/httpd/httpd.pid and thus fails to start. My question is, why is ...
-4
votes
1answer
32 views

CentOS7 web server not accessible through LAN [on hold]

My web server not accessible through LAN These are the output i get from terminal. [root@server ~]# ifconfig eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet ...
-2
votes
2answers
45 views

How to uninstall nginx on CentOS7

I installed Nginx from src myself using this guide and now, I would like to get rid of it. But it seems there is nothing to do, aside from wiping out the src in usr/local/src I did yum list installed ...
0
votes
0answers
25 views

How to override the hostname that DHCP configures on a CentOS7 box in AWS?

The title nearly says it all. I have a VM in EC2 running CentOS 7. It uses DHCP, which seems to be a EC2 requirement. DHCP keeps overwriting the hostname on reboot, no matter what I try. I won't ...
0
votes
2answers
39 views

CentOS, How to allow SSH through only one server-ip [on hold]

I currently have a dedicated server with two pv4 IP addresses assigned to it. I want to make one public, and the other private for SSH/FTP related material. IP 1 (The public ip): 192.23.6.11 IP 2 ...
0
votes
0answers
58 views

how to install odoo (formerly OpenERP) 8 rpm on CentOS 7

I'm trying to install odoo on a freshly installed minimal CentOS 7 system. Every set of instructions I can find seems to say how to do something unusual. I'm not needing any of that, I just want a ...
-1
votes
0answers
16 views

Linux router under VMware can't contact physical gateway server intermittently

We're a site with upwards of 800 concurrent users with most services hosted on the Internet and a BYO service to facilitate access to these. Situation is some days - not everyday - we're seeing our ...
0
votes
2answers
20 views

Exim configuration for preventing emailing from non-local domains [on hold]

CentOS 6 with cPanel/WHM. Hackers kept getting into our cPanel mail accounts somehow and sending spam from our servers. They either spoofed the FROM address, or just used "reply to" to have their ...
0
votes
0answers
18 views

Accessing CentOS7 WebServer from public [closed]

Recently I switched to CentOS 7 OS and set up basic webserver with Apache. I had no problems configuring SSH, FTP and LAN access to the webpage. But accessing from other IP's won't work. I'm 99% sure ...
-3
votes
0answers
33 views

Somehow removed from sudoers [on hold]

So I logged into my web server today, and tried to sudo and for some reason I was removed from the sudoers file. I definitely did not make the change, and I don't see any other logins into the box ...
0
votes
0answers
18 views

PHP Change log Centos 7 [duplicate]

Might be a silly question but Im looking at the change log for PHP by running this command - rpm -q --changelog php | grep CVE See all the CVE's listed does that mean they have been patched in the ...
-1
votes
0answers
24 views

How to get á,ű,ú characters instead of ?? using JRuby IRB? [migrated]

I need to use the Hungarian chars mentioned in the title, but somehow JRuby doesn't seem to accept those, and shows ?? instead of them. The OS is Centos 7, but the same thing happens on 6.5. The ...
-2
votes
1answer
43 views

Apache httpd down sometimes [closed]

I am running Apache on Centos 64 bit , it downs sometimes (the apache only) not the server. When I restart httpd service it back up. Here is recent error_log when it was down [Sat Nov 15 00:35:20 ...
0
votes
0answers
18 views

scp a file from one server to another one, got “permission denied” [migrated]

source server IP 162.244.xxx.xxx file -rwxrwxr-x 1 user1 admin 36005278 Sep 10 2013 filename.tar at destination server scp user1@162.244.XXX.XXX:home/filename.tar ./ got a Permission ...
0
votes
1answer
40 views

centos single domain multiple server

I have a secondary development wordpress site. (Centos 6.6 x86 ,LAMP) Since the size of the site is growing. (300GB+). Now I have 3 server totally. domain: www.example.com server1 172.192.22.01 ...
0
votes
1answer
45 views

CentOS cifs mount point fails after reboot. permission denied error 13

I'm using CentOS release 5.10 I have a mount point setup in /etc/fstab that was working, but now it doesn't. After a reboot the mount point doesn't exist and running sudo mount -a results in: mount ...
0
votes
0answers
30 views

Yum Cache Service

I have a LAN where I currently use an instance of Sonatype Nexus to proxy several yum repositories. All the clients on the LAN are configured to install packages only from this service. The only ...
0
votes
2answers
117 views

Forensics on tons of file changes

It has come to my attention that my CentOS 5.6 5.11 VPS has over 16,000 files with a timestamp during a 3-day period in September this year. I can't figure out why that is, as I did not log in via SSH ...
0
votes
0answers
13 views

httpd keeps restarting (can't see it in upstart list) on centos vps

httpd keeps restarting on my centos 6 VPS. I am running nginx, it keeps interfering, and I don't need it. I shut it down with sudo chkconfig httpd off but it just starts again about 8 to 12 hours ...
0
votes
0answers
26 views

GnuTLS error -15: An unexpected TLS packet was received

I have been trying to set up VSFTPd on my CentOS 7 machine, and I have been running into an issue when connecting through FileZilla. I keep receiving error -15 regarding the TLS packet. The following ...
0
votes
3answers
70 views

Why won't yum install updates?

I am getting errors, I think with coreutils, where yum won't update. Here is a stripped down output from what I see when I run yum update: Resolving Dependencies There are unfinished transactions ...
0
votes
1answer
26 views

BIND9 and Zone configuration doesn't “bind” domain

Named.conf File: options { #listen-on port 53 { 127.0.0.1; }; listen-on-v6 port 53 { ::1; }; directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file ...
1
vote
0answers
34 views

Centos client authenticate against zentyal DC via ldap

I have a bit of a problem. 3 months ago we deployed a zentyal dc on my workplace because it was a good way of authenticating both windows, linux and mac against the same server. I got authentication ...
3
votes
1answer
36 views

I want to reset interface count

In centOS 5 is there anyway to reset /proc/net/dev count ? instead of reboot the server or reload NIC drivers ? I am using e1000e drivers for the same.
1
vote
1answer
40 views

Linux VPS settings to allow $_SERVER['REMOTE_ADDR'] to get client ip [closed]

I have unmanaged VPS server. I am trying to get client IP form PHP $_SERVER['REMOTE_ADDR'] but it's always gives me same for all users that is server internal IP. I have done some R & D and got ...
1
vote
1answer
48 views

Connection to URL using OpenSSL client works, but curl fails

I have a CentOS 5.9 server, from which I need to make SSL connections to another server. The remote server has a certificate ultimately signed by the GeoTrust Global CA. At the time of writing, this ...
0
votes
1answer
25 views

Internal Server Error when trying to upload cookbooks

I'm trying to migrate our Chef server to another box. I installed a new instance of Chef in the new box and I can access it using the default admin and password. I can also do knife node list and ...
0
votes
1answer
164 views

High CPU load on Centos with process sync_supers

My centos server has high cpu load right now. Please see the Htop output below. sync_supers is very suspected but I don't know how to kill it. Any suggestions?
0
votes
0answers
40 views

nginx shutting down periodically

I have a Centos 6.5 server that came with Apache pre-installed. I was having problems with Apache clashing with nginx, presumably because they both default to listening on port 80. I went through the ...