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

learn more… | top users | synonyms (2)

1
vote
1answer
49 views

Email evading my spam filter

I'm having trouble with email evading my Barracuda Spam firewall. I believe the spammers are using my A Record to bypass my MX Record which is what directs email to my Barracuda for processing. How ...
1
vote
0answers
42 views

Preventing automount in CentOS 7

How can I tell CentOS 7 not to mount a new IDE drive (new to the system, but with data I want to examine) the first time I plug it in, so that I can do forensic analysis on it knowing I won't have ...
1
vote
0answers
98 views

Timezone problems with CentOS under VirtualBox

I have the following problem on a CentOS 6.5 system running under VirtualBox v4.2.4 on Windows 7 Pro SP1. date always prints a UTC time but with the correct timezone shown, e.g. if I run date at ...
1
vote
0answers
68 views

32-bit package from a repo that should only contain the 64 bit packages

Trying to a do install of some packages and it seems that it is trying to pull a 32-bit package from a 64-bit repo. Installing for dependencies: cyrus-sasl-lib i686 ...
1
vote
1answer
1k 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
94 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
299 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 ...
1
vote
0answers
47 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 ...
1
vote
1answer
395 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
348 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 ...
1
vote
0answers
133 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: ...
1
vote
1answer
49 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
200 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
vote
0answers
9 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 ...
1
vote
1answer
150 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 ...
1
vote
0answers
42 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 ...
1
vote
0answers
40 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 ...
1
vote
0answers
15 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
210 views

Question about CentOS and KVM virtualization and PCI Passthrough

I want to replace Windows Server 2012 R2 and Hyper-V on my homeserver with CentOS and KVM. My plan is to virtualize one Windows 8.1 machine and several smaller Linux machines like on Hyper-V, there is ...
1
vote
0answers
32 views

Temporarily mounted filesystems suddenly unmount

On a CentOS 7 machine, I've had several instances recently where filesystems mounted manually (not using an entry in fstab) suddenly get unmounted. This always occurs when I/O is occurring on the ...
1
vote
1answer
410 views

LFTP mirror includes - including other directories other than what I've included

My question: How can I make sure LFTP only includes files AND directories using --include or --include-glob, and not download a bunch of extra directories from the root of the remote that aren't in ...
1
vote
0answers
180 views

GSettings / DConf settings not saved permanently

I have a problem with GSettings /Dconf on my Centos 7 + Gnome Classic box. I'd like to turn the desktop animations off with the following command: gsettings set org.gnome.desktop.interface ...
1
vote
0answers
95 views

launching fish shell to new terminal of tcsh on centos

I have downloaded fish shell on my centos, but when I switch command to /bin/fish or even try to run xterm -e /bin/fish I am getting following error: Standard input: echo $_ " "; __fish_pwd ...
1
vote
1answer
34 views

CentOS Black Screen after 4+ hours of indexing

I am running a CentOS virtual image on virtual box. It has liferay and solr installed on it and I am trying to index a Lar file that is 50+ MB of metadata. This is estimated to take more than 12 hours ...
1
vote
1answer
101 views

Frequently can't access Virtualmin via browser

I have a CentOS 5 server over at Digital Ocean which has Virtualmin installed (because I'm a newbie and still learning). Virtualmin is accessed by visiting https://ipaddress:10000 but that URL almost ...
1
vote
0answers
30 views

Automate a gratuitous ARP every x seconds

There may be another issue here, so any other questions or comments are welcome. I have a CentOS 6.6 VM running under VirtualBox. It is connected to a GNS3 topology using a UDPTunnel. Everything ...
1
vote
1answer
195 views

How to run specific architecture (32/64) of Python in Centos6 when both are installed?

I have a Centos 6.6 Docker image being used for an automated build. It has the default x64 Python 2.6.6 installed. I need to run some things in a 32-bit Python environment. I snagged the ...
1
vote
0answers
34 views

How do I stop recurring error messages from appearing in messages and auditd.log?

On my CentOS linux machine, in my auditd.conf file, I have set my max_log_file_action=keep_logs. However, in my /var/log/messages and /var/log/auditd.log, the following message appears multiple times ...
1
vote
1answer
174 views

Avahi commands not working in CentOS

I want to use Avahi tools for mDNS service discovery in CentOS 6.6. I have installed the following packages: avahi, avahi-tools, nss-mdns. I checked the Avahi daemon and it is running: $ service ...
1
vote
0answers
185 views

module scsi_wait_scan not found on CentOS kernel-ml causes kernel panic on boot

I am attempting to upgrade from kernel-lt to kernel-ml, following the instructions here, however on boot the console is flooded with module "scsi_wait_scan" not found This leads to a general kernel ...
1
vote
1answer
182 views

“not a valid package archive” when trying to install PHP extension?

I'm running CENTOS 6.6 on a VPS and am trying to install the ZMQ PHP extension and tried installing using the command shown in the instructions: sudo pecl install zmq-beta However, it fails, ...
1
vote
1answer
83 views

Initialise USB devices before hard disks during grub2 boot

I have a CentOS installation on a portable USB stick, with a grub2 installation on it's first partition. The system can boot when there are no internal hard drives plugged into a machine, but fails if ...
1
vote
0answers
174 views

Questions about whiptail and bash functions

I'm a bash newbie. Say I have this script #!/bin/bash function cpp-lang { yum install "Development Tools" } function updatesys { yum -y update yum -y upgrade } whiptail ...
1
vote
1answer
35 views

3 versions of BerkelyDB installed

I have 3 versions of BerkelyDB installed on my server following 2 versions Package db4-4.3.29-10.el5_5.2.x86_64 Package db4-4.3.29-10.el5_5.2.i386 which are included in the Centos 5 Distro and ...
1
vote
1answer
757 views

Sendmail stopped sending mails, “did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA”

All mails suddenly stopped sending, here is the maillog: Jan 26 17:02:20 vm2745 sendmail[3544]: My unqualified host name (Centos) unknown; sleeping for retry Jan 26 17:03:20 vm2745 sendmail[3544]: ...
1
vote
0answers
53 views

Linux home server hung last week - how to determine cause?

I have a lightly used home server (that is, I store back-ups on it, it syncs to CrashPlan, and it runs some media sharing services I use locally - it's not too active). Today I discovered that it was ...
1
vote
0answers
30 views

How to make sure to get the Main/External IP without regard to network device type/name

Hello, I need to make sure I have the external or at least the main IP address for a given machine, regardless to the device type/name. I quickly wrote that tiny script for that purpose, but I need ...
1
vote
0answers
62 views

Cron job running at 12.00 AM despite changing its time

I have only one cron configured in cPanel for WHMCS to run once per day at 12.00 AM. The cron sends daily activity logs to my email. A problem came up recently in which cron job activity logs sent ...
1
vote
1answer
49 views

How can I have a bridge that uses DHCP?

I have set up a linux box (centos 7) to use for virtualizing some servers. I have set up a bridge, but I need to do it with DHCP, but it doesn't seem to like it. The reason I need DHCP is because ...
1
vote
1answer
134 views

Cannot update new kernel for CentOS 7 although the server have space enough

I try to update kernel on my CentOS 7 but the yum say there is no space enough on /boot although /boot have 343 MB as show below: Filesystem Size Used Avail Use% Mounted on /dev/sda2 477M 105M 343M ...
1
vote
2answers
43 views

Common user to modify files owned by 'other' users

I would like to understand how to use the permission system in CentOS to achieve the following: The system has the following users: user1 user2 user3 And the following directory structure.. ...
1
vote
0answers
59 views

Why I am getting this dependency error?

I try to install Shibboleth service provider to Centos 7. However, I get this error: Error: Package: shibboleth-2.5.3-1.1.x86_64 (security_shibboleth) Requires: ...
1
vote
0answers
166 views

Apache2 'Server' header reports wrong openSSL version

Does anyone know where the Apache 'Server' header pulls the openSSL version from (file location/directory)? I am expecting openssl-1.0.1j but apache is reporting openssl-1.0.1g (system's openssl ...
1
vote
1answer
272 views

Enable 1440p on CentOS 6 (VirtualBox Guest)

I'm attempting to increase my resolution to 1440p on an existing CentOS VM. Currently, the display options only show up to 1080p under CentOS (guest OS, screenshot here), but I am able to run 1440p on ...
1
vote
0answers
691 views

Dual boot windows 8.1 and Centos 7 on seperate drives

I want to create a dual boot pc with Windows 8.1 and Centos 7. But i dont want to install both OS on the same drive. I have two SSD's. I want to install windows on the first SSD and Centos 7 on the ...
1
vote
1answer
910 views

Bridge does not get IP via DHCP at boot

I'm running CentOS 7. I'm not running NetworkManager, and I've actually uninstalled it. My system is supposed to acquire an IPv4 address via DHCP on br0 at boot. Howver, when I log in, it has no ...
1
vote
0answers
86 views

how are runlevels from CentOS 6 chkconfig translated for CentOS 7 systemctl?

How would I translate the following command from CentOS 6 to run in CentOS 7? chkconfig --level 345 dovecot on My first guess is to type the following instead: systemctl enable dovecot But ...
1
vote
1answer
77 views

can i get imap access using just postfix and mailx?

I have postfix and mailx installed on a CentOS 7 server. I am able to send and receive email from the command line using the mailx command. I am also able to read email in each user's inbox using ...
1
vote
0answers
144 views

Is there a “supported” way in RHEL/CentOS 7 to union-mount a directory tree on top of an NFS mount point?

I have an NFS share containing almost 500 chrooted (s)ftp user's home directories. This NFS share is mounted on several FTP servers forming a highly available FTP cluster. I would like to enable ...
1
vote
0answers
188 views

Creating ISO Bootable Image from a CentOS (Linux) system

I have a Linux machine (CentOS 5.8) on which I have installed multiple applications and tools (with yum and few others after compiling the source code) on it. As I have spent considerable time in ...