Questions specific to the CentOS Linux distribution. Use this tag if your question relates to how the CentOS distribution affects your problem; do not use it if you just happen to be using CentOS and your question is about a specific configuration detail or syntax.

learn more… | top users | synonyms (2)

0
votes
1answer
17 views

How do I get s3cmd to install on CentOS 7.2?

Following the instructions from the link below don't work as expected since they are for CentOS 6.6 and I'm running 7.2. In the past I've installed s3cmd via yum and it works just fine. Now, however, ...
0
votes
3answers
37 views

centos minimal installation static ip address

I install centos-7 Minimal. Here is the capture of my ifcfg-enp0s3 file.. I edited from the online document that says it works, but in my case not. and I almost gonna cry :( didnt forget restarting ...
5
votes
1answer
3k views

How to create a git repo using Nginx?

I've a CentOS 5 server at domain.fr. I am trying to set a subdomain so that I can use it with git : git.domain.fr My repositories are in /home/git (example /home/git/repos.git) I've installed ...
1
vote
0answers
12 views

Can't get usb ethernet adapter running under CentOS 6 minimal

I have a cheap usb adapter and using it on a minmal CentOS 6.7 box, when I plug in the adapter it's recognized as usb device but not as ethernet adapter, although I've loaded these kernel modules: ...
0
votes
2answers
31 views

Why did sudo not work in CentOS? [duplicate]

I am using Centos and want to use sudo command to run as root. But after input the root password, it always prompt to ask me input the password again. I am pretty sure the password is correct since I ...
1
vote
2answers
999 views

install opencv-2.4-9 on centos 6.5 with cuda 5.5 support

I can't seem to install opencv 2.4.9 on centos 6.5 with cuda 5.5 support. This is my cmake output: [root@cadejos-0 opencv]# cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/opt/opencv -D ...
3
votes
2answers
405 views

Error after installing dnf on CentOS 7

Installed dnf according to these instructions: yum install epel-release -y yum install dnf after that dnf --version works fine but dnf repolist or anything else gives: Extra Packages for ...
0
votes
1answer
8 views

rsyslog not forwarding messages to remote rsyslog server

I'm debugging a strange issue with a logging SaaS solution. We appear to be duplicating logs sent to the SaaS. Logs are sent via an rsyslog forwarder over TLS. I'm trying to see if I can reproduce the ...
2
votes
2answers
309 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 ...
0
votes
0answers
13 views

Centos VMWare backup emergency mode password reset

I have recently backed up my remote virtual machine and downloaded the data into my local. I did the setup on my local with VMware workstation and tried starting the server. I realized I missed ...
0
votes
0answers
32 views

permission denied, cannot list files within a folder

I have a folder like: drwx--xrwx 9 user group 4096 May 1 11:17 160429_ST-E00110_0195_AHMFVNCCXX However my user other can't do ls: -bash-4.1$ ls 160429_ST-E00110_0195_AHMFVNCCXX ls: cannot open ...
2
votes
3answers
6k views

Cannot start NFS in Centos 7

I can't start an NFS server in CentOS7. The packages downloaded: yum -y install nfs-utils yum -y install nfs-utils-lib Enable/start services systemctl enable/start rpcbind systemctl enable/start ...
-1
votes
0answers
11 views

OpenSSL OCSP responder generates OCSP response of unknown status [on hold]

I created two certificates "rootCA.pem" and "dummy.pem". "Dummy.pem" is signed by "rootCA.pem". Now I want to generate OCSP response. I created index.txt and index.txt.attr files because OpenSSL ...
0
votes
2answers
42 views

Centos 7 and Windows 10 Dual Boot Grub Not Saving Last Choice

I have a dual boot system with CentOS 7 and Win10. My install was totally vanilla (CentOS then Win10) and went fine. Everything is great except that grub does not appear to save my "last" choice ...
0
votes
1answer
11 views

AIX lquerypv equivalent in Linux (RHEL/Cent OS)

In AIX we can view raw data of hdisk by issuing following comamand lquerypv -h /dev/hdisk0 This displays data in hexa decimal format. More of like hex editor. What is the equivalent command in ...
1
vote
1answer
28 views

can not install mysql-server on centos 6.7 32bit . Error: need rpm?

when I try to install mysql-server on centos with this command: yum install mysql-server server replies: Loaded plugins: fastestmirror, security Setting up Install Process Loading mirror speeds ...
1
vote
1answer
14 views

SSLSNIFF on CentOS 7

I tried to install sslsniff 0.8 on CentOS 7 but I can't install the following dependencies since they can't be found when I execute the "yum" command: libboost1.35-dev, libboost-filesystem1.35-dev, ...
0
votes
1answer
19 views

Trouble Creating Virtual_IP for PaceMaker + Corosync - CentOS 7

Ok so I have gotten fairly far into the configuration successfully, the two nodes have authenticated each other and all is well, but when I try to add the virtual_ip it never starts. What i've used ...
2
votes
1answer
769 views

CentOS 5 - hdparm - how to set DMA mode

I'm running CentOS 5 with a PATA hard drive. I've used hdparm to tune the hard disk for better performance, but there are 2 settings that don't work: hdparm -M 254 /dev/hda gives the error ...
1
vote
1answer
744 views

Cannot use EPEL repo, get NSS error -5990 (PR_IO_TIMEOUT_ERROR)

I'm using vagrant to start up a centOS 7.0 VM. My provisioner is trying to set up EPEL 7 via yum install epel-release -y and then trying to install ansible via yum install ansible -y It installs ...
1
vote
1answer
1k views

How to start my network in centos7?

I have edited the /etc/sysconfig/network-scripts/ifcfg-enpos2 : BOOTPROTO="static" IPADDR=192.168.1.105 NETMASK=255.255.255.0 NM_CONTROLLED=no I can't surf the web When to reboot,how to start my ...
0
votes
1answer
748 views

Start SSH in CentOS rescue mode

I am booted into rescue mode after inserting the DVD. OS is CentOS 6.7 64 I've tried cd /mnt/sysimage chroot /mnt/sysimage service sshd restart which gave back service command not found. What do ...
1
vote
1answer
884 views

How can I manually reset RX / TX counters in ifconfig output without impacting data delivery?

CentOS 5.9 I'd like to reset the RX/TX counters in ifconfig output for an interface. My understanding is that these counters get reset during a reboot but I'd like to avoid rebooting. Is there ...
1
vote
1answer
888 views

How to manually configure a monitor in CentOS7, attached via KVM?

I have a fresh desktop install of CentOS7 with Gnome 3. I need to use this machine with a KVM but for some reason CentOS7 cannot detect my monitor through the KVM I have, so it defaults to "Unknown ...
0
votes
0answers
15 views

Can't login after changing username in Webmin

After installing Webmin on my CentOS machine, I changed the root user to root2 using the Webmin interface (Users and Groups module). Now I can't login to Webmin either as root or as root2. How can I ...
2
votes
1answer
751 views

Plymouth Boot Splash - Turn off switching to text

I am working on an appliance system based on CentOS 6. I have created a custom boot splash, but I can't find any information on how I would disable the feature to switch to text mode (switching the ...
1
vote
2answers
69 views

CentOS 7: Strange directories appearing in /

On my CentOS 7 (64 bit) machine some strange directories are appearing in the root directory / I can't work out what's causing it, if I delete them they slowly start to reappear. Here is a sample: ...
0
votes
2answers
467 views

PPTP: Allow remote clients to communicate with each other

I have a PPTP server. Clients log in to the server, but can not ping each other. The clients are at different locations. The problem is with my IPTABLES forward chain .... here is my iptables: ...
0
votes
0answers
8 views

ssh warning banner on centos 6.7

I am using the kick start installation for my centos 6.7. After installation, the output of mount command looks like below: proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on ...
2
votes
1answer
2k views

Windows 7 boot option missing after installing CentOS 7, how can I get it back?

After installing Centos7, windows 7 is not showing at the boot time. Centos 7 is accessible. My boot folder entries: [root@localhost boot]# ls -ltr total 89176 -rw-------. 1 root root 2840084 Jun ...
29
votes
5answers
23k views

How can I limit the bandwidth used by a process?

I have a CentOS 5.7 server that will be backing up its files nightly. I am concerned that visitors to the various sites that the server hosts will experience degraded performance while the backup is ...
0
votes
0answers
19 views

Where is my 7za data being written to

I have a weird question about 7za on Centos 7. I am adding a file to a 7za archive using the following command (the total size of the directory is around 40GB) /usr/bin/7za a -ppassword -t7z -mmt=off ...
1
vote
2answers
947 views

script to add users to otrs

Im looking for a fast way to import customer users into otrs (ticket system) I have an export from Active Directory with: firstname lastname password email username There is a script in the otrs/bin ...
3
votes
1answer
6k views

CentOS 6.5 Login Screen GDM Issues

I have a few issues with the GDM login screen. I am using CentOS 6.5 and installed GNOME. I was able to change the background of the login screen by replacing the default.png image on the system. ...
3
votes
1answer
1k views

Apache (httpd) failing to start on boot - CentOS 7

i've just installed CentOS 7, so still getting to grips with it, but can't seem to figure out why Apache won't start on boot. I have enabled the service via systemctl, and if I start it manually then ...
22
votes
6answers
47k views

CentOS no network interface after installation in VirtualBox

I have Ubuntu 12.10 on which i installed virtual box on which I setup centos 6.4 i386. On Ubuntu I have: 3.5.0-17-generic kernal running. On virtual box I install centos 6.4 and everything works ...
3
votes
3answers
2k views

tomcat 8 will not start after initial install

I am trying to install tomcat on a new CentOS 7 virtual machine. I successfully installed apache httpd, and am able to get the apache test page when I type the ip of the virtual machine into a web ...
0
votes
1answer
791 views

Sendmail Attachment

I was wondering if it's possible to include an attachment with sendmail. I am generating the following emailfile.eml files with the following layout From: Company Name <example@nowhere.com> To: ...
0
votes
1answer
4k 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: ...
0
votes
2answers
961 views

Cant install gnutls.i686 on a x64 CentOS install

I need to install gnutls.i686 on CentOS 7 but I get this error in yum: Transaction check error: file /usr/share/man/man5/pkcs11.conf.5.gz from install of p11-kit-0.18.7-4.el7.i686 conflicts with ...
1
vote
3answers
2k views

How to do a fast convert of a .xls (MS Excel) file to .csv

How can I do a fast convert of excel to csv? I have tried with php, perl, JavaScript. but it takes too much time. For example, for a 5MB file it will take 3-5 minutes.
1
vote
0answers
21 views

can't save docker image: Error response from daemon: chtimes: invalid argument

i can't save my docker images, when i try to save a container, it fails: Error response from daemon: chtimes ...
3
votes
4answers
5k views

openvpn[]: Options error: In [CMD-LINE]:1: Error opening configuration file

when trying to service openvpn start Oct 12 14:02:01 ccushing1 openvpn[9091]: Options error: In [CMD-LINE]:1: Error opening configuration file: devnet-client-vm.conf running openvpn ...
0
votes
1answer
757 views

How to update squid proxy 3.5 in Centos 6?

I am using Centos 6.6 with 32 bit OS. Now I want to update squid proxy from 3.1 to 3.5. Is it possible to update in centos 6.6? If it is possible, please tell me how to update it.
3
votes
1answer
49 views

Can you use grub2 to boot a CentOS 7.x Live ISO from a hard drive (vmdk)

I have a requirement to generate a CentOS 7 bootable ISO that I can boot from a virtual hard disk drive inside a VMWare VM (i.e a bootable .vmdk). These are the requirements, and alternatives are not ...
2
votes
0answers
23 views

How do I get Consul to work so I can get Docker Overlay to work?

I am running CentOS 7 with Docker. I am trying to install Consul on the Docker server. Consul is unzipped. The binary file works for showing the version. I ran this: echo $CONSUL_RPC_ADDR This ...
0
votes
0answers
33 views

Permission/Ownership issue with secondary FTP account

I have Centos 6.5 final. I have chroot setup and working properly and I also installed vsftpd. I now need to create a new user named extDeveloper and give this user access to a specific account. I ...
2
votes
1answer
106 views

CentOS replace config error

I'm currently working on updating our CentOS server, however whenever I'm trying to use yum I get this error. Config Error: Plugin "replace" requires API 2.6. Supported API is 2.5. I'm new to ...
0
votes
1answer
121 views

I moved root partition by error

I'm on a VPS with CentOS 6.5 I was trying to install ASSP so by error i did this command mv -f /* /usr/share/assp and then I can't do anything when I try something like: [/]# dir -bash: /bin/ls: ...
2
votes
0answers
112 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 ...