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

learn more… | top users | synonyms (2)

0
votes
1answer
100 views

Problem with routing tables network interface in Centos 6.6

I've problem with the routing tables, I've 2 network interface. (2 interfaces with 2 difference network address IP address: 112.xxx.xxx.xxx: static IP and 10.xxx.xxx.xxx local IP) 1: IP address is: ...
1
vote
3answers
47 views

What does || mean in bash? [duplicate]

Apologies if this is a duplicate post. I did try searching to see if someone already asked/answered this but didn't find anything. What does || mean in bash? For example, in researching steps to ...
0
votes
1answer
20 views

unable to block out-going traffic

I've run $ iptables -I OUTPUT -j DROP -d [ip address] and found that some processes are still connecting the destination ip I've blocked above: $ lsof -p [pid] it shows: ...
0
votes
0answers
29 views

openvpn enable to connect to the server

I have centOS 7 64 bits, When I try to connect with openvpn my client.conf I have this error: Mon Mar 16 09:11:26 2015 TLS_ERROR: BIO read tls_read_plaintext error: error:14090086:SSL ...
1
vote
1answer
188 views

How can I extend VMware Partition on Centos 7 using GParted?

I've a problem with increasing a partition from 20GB to 120GB, VMDK file. Here is what I've done: using vmware-diskmanager to increase vmdk file from 20 GB - 120 GB. It's ok. download and boot from ...
1
vote
1answer
50 views

Yum update is not working properly in centos

Yum update is not working.I am not able to ping the external networks too yum update Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile ...
1
vote
0answers
88 views

nginx: [emerg] “server” directive is not allowed here

I get the following error message when trying to configure server: []# nginx -s reload nginx: [emerg] "server" directive is not allowed here in /etc/nginx/conf.d/hello-world.conf:1 Configuration is ...
2
votes
0answers
86 views

Do I have a dead NIC?

OK so this is kind of a long one due to command output. Not necessarily in complexity as I'm only showing some basic t-shooting so any feedback would be appreciated. Basically, I have a fairly new ...
0
votes
1answer
260 views

warning: mysqli::real_connect(): Headers and client library minor version mismatch. Headers:50537 Library:50623

warning: mysqli::real_connect(): Headers and client library minor version mismatch. Headers:50537 Library:50623 How do I do with it? I think I have a different version between mysql client and ...
2
votes
1answer
46 views

What are gpg-pubkey* packages?

I compared the packages list reported by RPM and YUM on a CentOS 6 and 7. I noticed the lists were slightly different (same issue with RHEL). See Listing installed packages with yum and rpm mismatch ...
2
votes
0answers
48 views

Yum error in Centos : beginner

"Error Type: Error Value: File contains no section headers." I got this error that pops up regurarly. I am really new to centos and am using it for schools work. I must have tried to change ...
0
votes
0answers
28 views

How to resolve issue of misconfigured vnc server on centos 7

While configuring vncserver in centos 7,the < USER >field in the vnc file gave me quite a bit of thoughts.whether it was to be replaced with the login name for accessing the ssh or some other ...
1
vote
0answers
32 views

Is it possible to convert RHEL to CentOS?

The software vendor that we used has always specified that we should load RHEL on servers we've bought to run their software however they did start to accept CentOS and even now prefer it on new ...
0
votes
1answer
23 views

Standards for dealing with older/previous “.bak” backup of config file before new edit

Assume I have a config file "foo.conf." This file is rarely edited. At some point in the BeforeTime(tm) it was edited and "foo.conf.bak" was created to save the previous state. Now, I want to make ...
0
votes
0answers
64 views

How to disable local delivery in exim Vesta CP panel

How to disable local delivery in exim VestaCP Panel, I'm getting “Unrouteable address” error message in mail log.
1
vote
1answer
144 views

CentOS 6 interfaces bonding, round-robin instead of active-backup, duplicates frames

Two interfaces, eth0 and eth1 are part of a network bonding bond0 on CentOS 6. All worked well under CentOS 5, but after the upgrade to CentOS 6.6, keeping the same configuration, the network works ...
1
vote
1answer
82 views

NginX + PHP-FPM displays blank php pages

I have a problem where my server running NginX with php-fpm loads blank PHP pages (strangely except for my phpinfo.php file, which loads normally). If I put an index.html page in the same directory ...
0
votes
0answers
37 views

putty does not allow me to input special chars

I am having trouble accessing a folder with a very long name with • in its name. seems like every time I try to input • the putty window is not parsing the character successfully. Any ideas?
0
votes
0answers
36 views

How can I disable FTP access/login for users

I want to temporarily disable the FTP Access of the FTP users I have tried following commands for user "aadmi" but still able to login sudo passwd -l aadmi which said Locking password for user ...
0
votes
0answers
134 views

Install Apache https 2.2 under Centos 7

I would like to install httpd 2.2 (httpd-2.2.15-39.el6.x86_64) under centos 7. The default repositories only have httpd 2.4 available. Does anyone know where there is a centos 7 repository that has ...
0
votes
1answer
53 views

CentOS 7 VNC users dont share desktop session

I installed VNC server on a CentOS machine. I set up a user, and then enabled the VNC server for them on startup following these steps: ...
0
votes
1answer
47 views

NFS File Mounting error in centOS

I'm trying to mount server filesystem using NFS in centos. But I'm getting Connection timed out error. Below are the steps I followed. At server side: [centos@ip-172-31-46-199 landingzone]$ sudo vi ...
0
votes
0answers
26 views

quorum disk and heuristic checking in CentOS7 Cluster

In CentOS6,we use to configure qdisk for two nodes cluster to quorate. How about in CentOS 7? I can't find any clue to do the same for it. Help will be much appreciated. Thanks,
0
votes
0answers
93 views

Two Nodes CentOS 7 Cluster clvmd

I am trying to set up two nodes CentOS 7 cluster with clvmd. I added dlmd and clvmd as clone resources in cluster using pcs command. When both nodes are up, dlmd and clvmd can start properly. But ...
0
votes
0answers
156 views

Centos 7, Postgresql 9.4 Failed to Read Permission Data Directory in mounted Partition

I've a problem with start PostgreSQL 9.4 on Centos 7 Server. Because the partition /var/lib/pgsql/9.4/data/ (which contains PostgreSQL data is full) so I want to change to another partition. ...
1
vote
0answers
66 views

md5 password hash

I'm looking to create a md5 hash to use in /etc/shadow. Someone suggested using grub-crypt. Every time I put the same password in I get a different hash. [root@endpoint ~]# grub-crypt --md5 Password: ...
2
votes
1answer
102 views

firewalld rules to route two user groups to different apps in OpenVPN

I have OpenVPN successfully configured on a remote CentOS 7 server to allow https access to employees and administrators, while also blocking ssh access to everyone who is NOT an administrator. This ...
2
votes
3answers
273 views

Yum says a package is installed, and not installed, and it's blocking other packages from being installed

I am trying to install a new package (glibc-static), and I get the following error ---> Package nss-softokn-freebl.i686 0:3.14.3-18.el6_6 will be installed --> Finished Dependency Resolution ...
0
votes
0answers
19 views

Zimbra - Can't open Zimbra Admin in Digital Ocean

I'm using Centos 7 and package $40 for this setup. The problem that I face it right now is I can't access my Zimbra admin. I already install it properly , especially for DNS setting in Digital Ocean ...
0
votes
0answers
80 views

Where can I find a yum repo with couchdb for CentOS 6.5?

I've been beating my head against the wall for a couple of days now. Most CouchDB installation directions say to use yum and install from the epel.repo. Unfortunately, for me I can't seem to find ...
1
vote
1answer
154 views

CentOS 7 No package … available

(CentOS 7 64 Bits) Following these steps: http://freevps.us/thread-2789.html I get errors, anyone can help me please? STEP 2, running this command yum install libICE.so.6 libImlib.so.1 ...
0
votes
0answers
24 views

Hadoop cluster and wifi

I have a three node hadoop cluster with out internet. I have WiFi. Can I connect to wifi and hadoop cluster simultaneously?
0
votes
2answers
51 views

Learning resources for people interested in learning Linux [closed]

I am a B.Tech student and I would like to study Linux but don't know what I should study nor how to. The current priority of my college degree is C/C++, Java and .Net. They don't provide me with any ...
1
vote
1answer
42 views

Cannot update password policy for user

I am trying to update the password policy for a user. It should be as follows: Must be changed every 30 days Once changed, cannot be changed for 3 days Must be disabled after 45 days of inactivity ...
1
vote
1answer
85 views

How to enable systemd user sessions for remote logins on CentOS 7?

I am trying to enable systemd user sessions on my CentOS 7 server. All the pieces seem to be there, and I have also run loginctl enable-linger <user>, but I don't have a systemd user session (or ...
0
votes
1answer
951 views

How to install Owncloud on CentOS 6.5

I wanted to install Owncloud on my VPS running CentOS 6.5. I followed the instructions on the official owncloud website but when I run the command yum install owncloud it says Error: Package: ...
1
vote
2answers
59 views

FTP straight to directory, rather than making it relative to FTP users home directory?

I've set up an FTP server using vsftpd on a Centos 5.10 machine. This is my target directory on the server: /var/www/supercoolstuff I can connect from a Windows XP machine using WinSCP then ...
1
vote
2answers
104 views

What is the correct way to set up sw RAID1 so either drive boots?

I've set up a non-UEFI CentOS 6.6 "blank" install with /boot and / each in a separate RAID 1 (3 drives/1 spare). I removed one drive, rebooted, and let it sync to the spare. When I saw this was ...
0
votes
1answer
180 views

CentOS 7 - Cannot start OpenVPN Access Server

I have been trying to install the OpenVPN Access Server on my CentOS 7 VPS. However, I have been running into a number of problems. Initially, I had followed this DigitalOcean guide, but after I had ...
1
vote
1answer
87 views

shell script to auto kill processes matching certain criteria

when running top it shows a couple of processes got nearly 100% cpu usage of the command 'perl' PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 21287 simon 15 0 4141 ...
1
vote
1answer
41 views

how to block only certain outgoing ip connection with iptables

(Centos 5.5) to block xxx.xxx.xxx.xxx: # iptables -A OUTPUT -j DROP -d xxx.xxx.xxx.xxx then verify by: # iptables -L OUTPUT --line-numbers Chain OUTPUT (policy DROP) num target prot opt ...
0
votes
0answers
30 views

Help filtering logs - auditd

System: RHEL release 6.3 (santiago) Issue: Once I start the audit service I'm starting to get thousands of logs in /var/log/audit/audit.log Most of the logs received are of - sshd Log sample: ...
2
votes
0answers
45 views

Why is traffic matching the public zone instead of the desired zone?

Trying to self-train on firewalld I set up apache and configured the zones as follows: [root@localhost ~]# firewall-cmd --get-active-zones work sources: 192.168.122.1 public interfaces: ens3 ...
1
vote
0answers
7 views

How can I cause cvs update to use the destination folder's default posix acl mask?

I have a directory and file with these permissions: # file: blue/ # owner: user-a # group: group-a user::rwx user:user-b:rwx group::rwx mask::rwx other::r-x default:user::rwx default:user:user-b:rwx ...
2
votes
1answer
50 views

assigning two ports to one service in firewalld

Is there a way to assign two ports to the same service in firewalld? For example, I would like for the SMTP service to listen on both port 25 and port 465. My first instinct is to change ...
1
vote
1answer
108 views

Bash script problem in RPM postinstall

I created an rpm package that extract a Node.js project into a specific folder and then I created a postinstall script that cd into that folder and perform an "npm install --production" #!/bin/bash ...
0
votes
1answer
401 views

setting up a relay port for postfix smtp on CentOS 7

A CentOS 7 server has postfix, dovecot, and mailx installed. I am able to make an IMAP connection to the server from my remote Thunderbird client running on my local devbox. But I am not able to ...
0
votes
1answer
145 views

ip6tables allow IPv6 traffic from OpenVPN through my VPS

I've established a fully working IPv4 OpenVPN setup and wanted to go one step further and experiment with setting up IPv6. My VPS server does not get a native IPv6 block but does have a 6in4 tunnel ...
2
votes
2answers
83 views

How do I enable remote desktop of the GUI?

I can ssh into my machine. I want to be able to login to the GUI to do dev work. I went go Applications > System Tools > settings > Sharing > and I have Remote login and Screen Sharing both on. I ...
1
vote
0answers
24 views

Libpcap share directory method missing

so im trying to run a c program but everytime i try to run it i get this message error while loading shared libraries: libpcap.so.0.8: cannot open shared object file: No such file or directory ...