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
31 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
14 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
39 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
55 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
50 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
76 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
106 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
12 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 ...
-2
votes
0answers
30 views

postfix take longtime to send mail

Hi today i was unable to send mail to gmail and some other adresses. when i check postfix i get this error: CA2ED74467 16345 Mon Mar 9 15:55:56 xxx@xxxx.com (host ...
0
votes
0answers
42 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
66 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
19 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
46 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
37 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
48 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 ...
-1
votes
0answers
27 views

CentOs LINUX Server CPU usage 100% [duplicate]

I have linux centos server and few days before it was working fine. But now my server is not responding. I logged into my server by SSH access and after analyzing the server I found a command which is ...
0
votes
1answer
411 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
44 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
59 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
81 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
56 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
34 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
21 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
43 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
5 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
31 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
75 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
231 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
96 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 ...
1
vote
2answers
56 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
votes
0answers
7 views

Grub Installation RAID 1 CentOs [duplicate]

I have configured two hard disk with Software RAID 1.The grub is not installed properly in the hard disk.I came to know this issue by booting the hard disk in separate process.The Centos 6.2 did not ...
1
vote
0answers
21 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 ...
2
votes
1answer
178 views

postfix smtp connection timed out, why?

A CentOS 7 web server has postfix, dovecot, and mailx installed. I have been able to make an IMAP connection to the server in order to read inbox mail using a remote Thunderbird client, but I am not ...
0
votes
1answer
43 views

Combine the output of while loop into tar

I'm trying to create a script that mysqldumps all my databases, creating an individual .sql file for each database and combines the output into backup-DATE.tar.gz. I've gotten as far as being able to ...
0
votes
0answers
15 views

CentOS install spanning 2 or more CDs

I have a custom CentOS install which used to fit on 1 CD. With recent additions, it takes up more space than can fit on 1 CD. Some of our customers have old systems that aren't DVD compatible so we ...
1
vote
0answers
24 views

Linux user ssh connection disabled after execution of setfacl command

I have very little linux administration experience, after searching a lot stuff online, finally I decided that I must hope that someone helps. The problem is, I needed to share an account with a ...
0
votes
0answers
32 views

No cursor/caret in Linux VMC under Windows Hyper-V?

I have just installed CentOS-7, Minimal Installation, into a Hyper-V VM under Windows Server 2008 R2. When I Start the VM from Hyper-V Manager it opens a window it calls Virtual Machine Connection, ...
0
votes
0answers
31 views

rich rules in firewalld to log imap and smtp attempts

How can I set up rich rules in firewalld that will record what is happening when a remote Thunderbird client tries to connect via imap and smtp? I imagine that two rules might be required, one for ...
0
votes
0answers
4 views

RHEL 5 box constantly displaying NIC statistics on console screen, how can I disable this?

I have a RHEL 5 box that is constantly displaying nic statistics on the console screen when using the KVM. This makes it very hard to do any troubleshooting when the box goes down as these statistics ...
1
vote
1answer
114 views

unable establish remote imap connection, why not?

A remote CentOS 7 web server is able to successfully receive email sent from elsewhere on the internet addressed to me@mydomain.com . An app running on the same CentOS 7 server is able to use ...
0
votes
1answer
52 views

Starting Services without Systemd?

Is it possible to start services on and post startup in CentOS/Fedora distributions without using systemd (systemctl)? If yes, how? Systemd does not work in non-privileged docker containers; ...
1
vote
0answers
11 views

Where can I find the server config that I am using to send emails with sendmail in CentOS 5.6?

I have a CentOS 5.6 VM and have been able to send emails from my PHP application up until two days ago. I am trying to find the SMTP server config details in my sendmail files somewhere, but I cannot ...
1
vote
1answer
51 views

What is the proper encoding name to use in locale for UTF-8?

Just wondering here as I have on this CentOS 7 system: $ locale -a <snip> en_US.utf8 <snip> and yet: $ localectl System Locale: LANG=en_US.UTF-8 To add to that, the preferred name ...
0
votes
0answers
15 views

Refresh/reinstall CentOS 7 in automatic mode remotely

Is it able to fully reinstall (with erasing disk data) CentOS 7 without physical access to the computer, only remotely SSH?
1
vote
1answer
38 views

Which unix / linux flavor should I learn looking at job opportunities in future? [closed]

I am a Computer Engineer and I want to start exploring the Unix & Linux environment. Which flavor of Unix and also Linux should I learn looking at a job opportunity in these two fields in future? ...
4
votes
2answers
275 views

Delete files older than specific file

I need to delete from a folder all files older than a specific file. Running bash on CentOS 7. I have a solution for this, but I think there should be a more elegant way do it: ...
0
votes
1answer
20 views

unix2dos not recogonizing outfile

I typed unix2dos /path/to/filename_unix.txt /path/to/filename_dos.txt in the CentOS 7 terminal, but I got the following in response: unix2dos: converting file /path/to/filename_unix.txt to DOS format ...
1
vote
1answer
46 views

Why scripts run as user but not as a cron?

I have a script that checks to see if port 4000 is open and listening, if it is return true, else start a service that also outputs a logfile. The script runs fine if I execute it as a user, but if I ...
1
vote
1answer
73 views

Desktop gone after upgrade to Centos 6.6

I upgraded a local Centos VM from 6.5 to 6.6. After the update, no restart is needed and the desktop works. When I restart, I see the blue startup bar and CentOS 6.6 on the right side of it. When the ...
4
votes
0answers
96 views

Centos 7 boot up with custom kernel problem

I have installed centos 7 on virtualbox machine which has kernel-3.10.0-123.20.1.el7.x86_64. I am trying to build Linux kernel from kernel sources. I downloaded the kernel source files from: ...