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

learn more… | top users | synonyms

0
votes
0answers
17 views

CentOS Strange Adobe Flash Problem

I have a CentOS release 6.5 (Final) Kernel 3.10.40-1.el6.elrepo.x86_64 with Adobe Flash problem. "Firefox ESR 24.6.0 "and "Chromium 31.0.1650.63 Built from source is CentOS release 6.5 (Final)" ...
0
votes
1answer
49 views

How to set the prompt and tab-title on Gnome-Shell (Gnome 3, centos 7)

This is embarrassing, but I don't seem to be able to set the command-prompt or the shell title. I'm using Gnome3 on centos 7. PROMPT I've added the following to ~/.bashrc: export PS1="\w \$ " The ...
0
votes
1answer
102 views

Google App Engine alternative for CentOS, Fedora, Ubuntu?

I have written WebRTC Apps which is Python and Google App Engine. Google App Engine is not freely available to use for production release, so I am looking alternative of it for CentOS, Fedora. Can ...
0
votes
2answers
90 views

How to create a bootable USB with Windows?

How would I go about creating a CentOS 7 bootable USB drive with Windows? I've read the howto page for it and it says that Unetbootin and Universal USB installer won't work for CentOS 7. In addition, ...
2
votes
1answer
266 views

Configuring OpenVPN to use Firewalld instead of iptables on Centos 7

I need some help configuring OpenVPN on Centos 7 using firewalld. I used iptables on Centos 6.5 and only had to add the following lines to /etc/sysconfig/iptables: -A POSTROUTING -s "10.0.0.0/24" ...
3
votes
1answer
45 views

Common subroutines in RPM

I have some common code that I would like to execute in the %pre and %post section of my rpm spec file. When I place a subroutine in the %pre section, I need to add the same subroutine to the %post ...
0
votes
0answers
45 views

sudo service errors out with JAVA_HOME not found

I've used visudoer to set the keep_env for JAVA_HOME: $ sudo printenv | grep -i JAVA_HOME JAVA_HOME=/opt/java $ ls $JAVA_HOME bin db jre LICENSE README.html src.zip ...
0
votes
2answers
29 views

update ss utility on centos

My centos version is: 2.6.32-131.17.1.el6.x86_64 #1 SMP Thu Oct 6 19:24:09 BST 2011 x86_64 x86_64 x86_64 GNU/Linux And my ss version: ss --version ss utility, iproute2-ss091226 I need to ...
0
votes
1answer
32 views

Other Programs Cannot Connect To MySQL

So just recently when installing php-fpm, I had installed a few MySQL packages with it (I believe). I already had mysql installed. However now when any of my programs attempt to access the database, ...
0
votes
1answer
40 views

How to start application after login on CentOS?

I am trying to start GUI application with upstart script on CentOS. I have test script located /etc/init/ folder. start on desktop-session-start stop on desktop-shutdown respawn script export ...
2
votes
1answer
45 views

Can't acces DNS

I'm running CentOS as a Virtual Machine. I can access the VM's server (IP = 192.168.0.107, which displays a phpinfo() page as it should), but now I would like to acces a custom domain name: "imd.be" ...
1
vote
1answer
50 views

How to start GUI application with upstart?

I have struggled with this problem for three days and I have tried many ways to solve it but not successful yet. I hope you guys can help me... I have an GUI application. I want to start this ...
1
vote
0answers
17 views

Passing Environment Variable to NetworManager GUI

My VPN stoped working when I switched to Centos 7. I narrowed the problem to the lack of MD5 support (not strong enough). I followed this thread, and now I can use open-vpn on the command-line to ...
1
vote
1answer
76 views

building pidgin-otr-4.0.0 on CentOS 7: can't find pidgin and purple

I have built pidgin from source on CentOS 7. This is because there is no package available yet. This went well, however, pidgin-otr-4.0.0 cannot find the headers for pidgin and purple. They reside in ...
1
vote
0answers
20 views

Why Would Spacing Matter in grub.conf?

See my earlier question. GRUB wouldn't recognize the XEN kernel until extra blank lines were added and the title of the GRUB entry matched the version of XEN installed on the server. I've always ...
1
vote
0answers
120 views

How do I install Exim and Horde on Centos 7 with MariaDB 10?

I can't find a guide for this (they are old and don't work) and I can't seem to manage to install it. I can't install Postfix because of its dependencies, so I'm going with Exim, which I installed ...
1
vote
2answers
44 views

Using YUM for CentALT packages

Since CentALT isn't available anymore I can't upgrade some of my packages. Sure I can use a mirror for CentALT to get it working, but it only lists 'older' packages since it's not updated anymore. I ...
0
votes
1answer
27 views

Unable to start Virtual Box in Cent OS

[root@localhost sysadmin]# /etc/init.d/vboxdrv setup Stopping VirtualBox kernel modules [ OK ] Uninstalling old VirtualBox DKMS kernel modules [ OK ] Trying to ...
2
votes
0answers
119 views

How do I install postfix with MariaDB 10.1? …Or mailserver…?

I'm using CentOS 7 x64. Log: There isn't mariadb-libs for 10.1, not that I'm aware of. There is MariaDB-compat which as I found out seems to provide the same functionality and I have it installed, but ...
0
votes
1answer
57 views

Grub not Recognizing XEN Kernel on Boot

We are able to successfully install and boot to a XEN kernel on 5 of our 7 eucalyptus node controllers. The last two are having the same problems despite running an identical installation process. ...
0
votes
1answer
30 views

is “ServerAdmin email@domain.tld” required in the VirtualHost in Apache?

I rather not have ServerAdmin in my VirtualHost because all it does is attract spam. has no use what so ever. can it be ignored ?
0
votes
0answers
35 views

Firefox freezes with attachments or pdf

I am working on an old CentOs 5 machine. I am using Firefox as a browser. It worked fine until now, when every time I try to open a pdf or to attach something to the emails, it crashes. I tried to ...
0
votes
1answer
60 views

how to set crontab PATH variable

I had a problem running a script from crontab. After some research I understood the problem was because PATH parameter doesn't include /sbin. I looked what it does include in /etc/crontab: ...
0
votes
1answer
61 views

autorun a linux program on startup from a non-root user in centOS 6 64bit

I have a software that needs to be run via specific user "non-root" hence its home directory is /home/non-root/, I have to emphasize that the program must not be run via root and must only run after ...
1
vote
1answer
63 views

How to find the cpu and memory usage of child processes

Supervisord is running on centos server. If I do ps -e -o %mem,%cpu,cmd | grep supervisord | awk '{memory+=$1;cpu+=$2} END {print memory,cpu}' I get 0 0 just because supervisord is just an ...
0
votes
1answer
38 views

Installing CentOS to a flashdrive trouble

I have been using GParted and UNetBootin to install CentOS-6.5-x86_64-minimal.iso onto a flashdrive. I have partitioned the flashdrive as I have a seperate ISO installed on there. The other partition ...
3
votes
1answer
33 views

Get X to ignore specific mouse?

I have a program which needs control of a mouse. I have a specific mouse attached for this, and I would like X to leave it alone. Unfortunately whatever mechanism in X autodetects and configures input ...
2
votes
2answers
37 views

Chrooted SFTP user write permissions

I have a setup with sftp only users: Match Group sftponly ChrootDirectory %h ForceCommand internal-sftp AllowTcpForwarding no I get the following message in my secure.log: fatal: bad ...
3
votes
1answer
49 views

Not able to SSH into VM

I want to SSH from my host into my guest VM (CentOS). I can Ping. SSH is running. Port 22 is open. Looks like firewall is off / IPtables are all open. (this is not normal?) When I SSH into my ...
0
votes
3answers
162 views

eth0: ERROR while getting interface flags: No such device [duplicate]

I set up CentOS yet. it's no network connection. eth0 is not device list. I take a message network is unreachable while ping 192.168.0.1 the screen shot of device list How can I do reachable ...
2
votes
1answer
45 views

Bandwith Usage in PAM Authentication

Is there any way to check how much bandwidth a user used in OpenVPN (using PAM Authentication)
0
votes
2answers
39 views

change boot order

I have 2 partitions sda1 XP and sda2 CENTOS. I have reinstalled grub on /dev/sda but on rebooting, I experienced: error : 22 no such parition for Centos; while Windows boots charmingly on the other. ...
1
vote
1answer
88 views

How does one disable the floppy module from loading on boot in CentOs7?

I'm running a CentOS 7 install in VMWare Workstation 9. I have removed the floppy drive from the VM configuration (as my host machine does not have one, and I haven't used one in literally 12 years). ...
2
votes
0answers
71 views

DNS works half of the time in Oracle VirtualBox and I can't even maintain /etc/hosts file

I have installed three Linuxes on same laptop and same VirtualBox and this is my success ratio with DNS: HortonWorks & CentOS. Worked for 5 minutes and never after that again. VM image ...
0
votes
0answers
43 views

Why does “Connection Failed: 2002” display randomly on my PHP/MySQL website?

I'm running CentOS 6 with Apache/PHP/MySQL. PS. I'm sort of a novice at Linux, but I did my best to gather info before coming here. I'm now a bit stuck. I recently upgraded PHP to version 5.5.12. I ...
0
votes
1answer
119 views

CentOS ELRepo Kernel installing VMware

Already installed VMware Workstation 9 on my Linux CentOS 6.5 Final with 3.10.40-1.el6.elrepo.x86_64 running kernel. When I open VMware Workstation, it asks me to locate the Kernel Headers ...
0
votes
0answers
98 views

How to fix “cannot retrieve repository metadata” when installing CentOS 6.5 from Kickstart over FTP?

I am pulling my hair out trying to fix this. I am attempting to install CentOS 6.5 over an FTP server on KVM from the physical host. I have vsftpd installed, selinux set to permissive, and iptables ...
2
votes
1answer
80 views

SSH: public key authentication without authorized_keys file

I have a lot of ssh public key logins on a Linux server, e.g.: Jul 25 11:41:01 host sshd[24594]: Accepted publickey for root from xxx.xxx.xx.xx port 33374 ssh2 This is strange for me since there's ...
2
votes
1answer
126 views

Can't use my old my.cnf from MySQL 5.5.38 in newer 5.6.19

Ok so I have been trying to upgrade MySQL 5.5 to 5.6. I have been given this set my.cnf file (see below). I was able to uninstall the MySQL 5.5 rpms and install the 5.6. When I reload the back up ...
1
vote
0answers
65 views

Can I change uuid for network interface in ifcfg-eth* using uuidgen?

I'm creating a script which configuration the network interfaces. The script which generates /etc/udev/rules.d/70-persistent-net.rules and names interfaces to my preference. In CentOS 6.5, my ...
1
vote
2answers
61 views

Unable to get rid of root user and privileges

I am told that the most basic security to set up in Linux is to change the superuser name from root to something obscure so I run these steps to add new user $ /usr/sbin/adduser new_username $ ...
0
votes
2answers
34 views

Copy over existing files without confirmation?

I need to copy and over-write a large amount of files, I've used the following command: # cp -Rf * ../ But then whenever a file with the same name exists on the destination folder I get this ...
0
votes
1answer
133 views

how to install VMware vSphere Client on centos 6.5

How can I install "VMware vSphere Client" on CentOS 6.5?
0
votes
1answer
956 views

Commands not found: netstat, nmap on CentOS 7

The commands nmap, netstat and lsof are not found on CentOS7. Why? What should I do to make them work?
3
votes
3answers
73 views

Centos rpm -qa vs yum list installed

I want to have server b to have exactly the same setup as server a. My plan is to have a list of all installed things on server a and install it by using the list on server b something like : yum ...
0
votes
0answers
12 views

Why SAMP is not listening to the port

I have forwarded 38474 port to internal port 7778. Then I launched San Andreas Multiplayer on my CentOS server. When I'm typing netstat -npl I see this: Proto: tcp Recv-Q: 0 Send-Q: 0 Local Address: ...
0
votes
0answers
67 views

Avahi daemon can't launch due to dbus-daemon problems

I'm trying to run avahi-daemon on CentOS 6.5, but when I run it I get this error: bash-4.1# avahi-daemon Found user 'avahi' (UID 70) and group 'avahi' (GID 70). Successfully dropped root privileges. ...
1
vote
3answers
86 views

Possible corrupt passwd file

I did a recovery of the server and reset the root password to a new one because for some reason, the original was not being recognised. It still is refusing to accept the password in ssh for root. ...
3
votes
1answer
60 views

rpm macros on CentOS 6.5

Trying to create a spec file for a CentOS 6.5 system. The rpm should check release to add specific Requires: lines based on the OS version....and it doesn't work at all: Spec file snippet: %if ...
2
votes
1answer
38 views

Virtual Host only works when SELinux is set to permissive - why?

Wondering why my virtual hosts will only work when SELinux is set to "permissive". When SELinux is set to "enforce" my virtual hosts are ignored and default host is shown. Apache/2.2.15 (Unix) Here ...