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

learn more… | top users | synonyms (2)

3
votes
1answer
370 views

Make RPM Satisfy Dependency Requirements of Other Installed Packages

So, I am installing a java app that I wrote which uses jnetpcap. This requires libpcap of at least v1.0.0. My CentOS 5.8 only has libpcap 0.9.4, which is required by other installed packages. I've ...
0
votes
1answer
2k views

What caused my CentOS 6.4 box to reboot itself?

I noticed that the MySQL daemon running on my CentOS 6.4 machine was suddenly not running anymore. I checked the MySQL log, but didn't see anything relevant: 121229 22:17:45 mysqld_safe mysqld from ...
0
votes
2answers
788 views

Why can't I access to my ftp server with my local user account?

First of all I'm using Centos 6 server, putty and wordpress.org I followed the instructions from this link to set up vsftpd and ftp in centos server. For the vsftpd.conf file, these were the changes ...
5
votes
1answer
1k 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 ...
0
votes
1answer
1k views

Why FreeRADIUS service won't work on Centos?

I have installed FreeRADIUS server on centos via yum successfully, but I couldn't start radiusd service. when I run as root user and exec the following radiusd -X an error is occurred. [root@userAAA ...
1
vote
2answers
11 views

Faillog command on CentOS7

Although EPEL7 has been installed, faillog seems not to be recognized: [vagrant@vm-one ~]$ faillog bash: faillog: command not found... None of the packages seem to contain the faillog command: ...
1
vote
2answers
850 views

Create SSL certificate - Silent [closed]

I want to create a SSL certificate without get prompt for the data. The normal way to create the certificate would be: openssl req -x509 -nodes -days 7300 -newkey rsa:2048 -keyout ...
0
votes
0answers
6 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
21 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 ...
0
votes
1answer
11 views

Proper create user account with permissions on CentOS/Apache

I have setup a CentOS VPS to run apache, I am having trouble with permissions when creating an account. I have setup a virtual host host to point a domain to /home/user/public_html <VirtualHost ...
0
votes
1answer
20 views

How to install oddjob-mkhomedir repository on AMI box using command line

I'm trying to install oddjob-mkhomedir and it comes back with no package available nothing to do. I used sudo yum install oddjob-mkhomedir so I'm assuming the repository is not available. My ...
0
votes
0answers
18 views

CentOS rescue mode

After a power outage somehow my server is not finding the boot partition anymore. As far as I read about recovering a CentOS 6.4 I just need to pick "Rescue installed system" option from the boot ...
1
vote
3answers
8k views

Centos GUI not working

I installed centos 6.3 Final . But after rebooting it stuck and doesn't show GUI
1
vote
1answer
75 views

How to install Desktop Environments on CentOS 7?

I have recently installed CentOS 7(Minimal Install without GUI) and now I want to install a GUI environment in it. How can I install Desktop Environments on previously installed CentOS7 without ...
0
votes
2answers
32 views

Locate specific file from script

I've written a script file in which, one function searches for another script and if found, executes that script. Script extract #!/bin/bash ... service_status() { local my_script=`which ...
4
votes
3answers
20k views

CentOS - install using yum Apache 2.4

I need Apache 2.4 in CentOS because with Apache 2.2 mod_proxy_wstunnel is not possible. I have tried https://fedorahosted.org/SoftwareCollections/ but unfortunately its for RHEL after installing i ...
0
votes
1answer
110 views
+50

Can't start a ZNC service

I try to start ZNC using the following command service znc start I get this error Starting znc: /usr/bin/dirname: extra operand `2>&1.pid' Try `/usr/bin/dirname --help' for more ...
1
vote
1answer
19 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
2answers
799 views

Allow remote MySQL to a specific IP - using CentOS 6.4

I've spent a day now trying to find out how to allow remote MySQL to work for my other virtual server. This is proving very difficult so I'm hoping you guys could help me out ;( I've used the ...
1
vote
2answers
29 views

How to map a sata device name to a physical sata interface for RAID systems

I have a system with 10 SATA ports, and another SATA as the boot disk. The 10 SATA ports make up 5 software RAID1 arrays. The RAID disks may be removed between boots, and swapped in with arbitrary ...
0
votes
1answer
1k views

Apache fails to start after changing cert and key

The problem appeared after I changed https certificate and key. sudo /etc/init.d/httpd restart shows this: Stopping httpd: [FAILED] Starting httpd: [FAILED] Apache's error_log: [Tue Dec 03 ...
0
votes
0answers
18 views

OpenStack Cinder: iSCSI login negotiation failure after reboot

I have a Cinder storage and controller node running on the same CentOS 7 box as Nova compute. Everything worked fine, until I rebooted. Now my instances can't mount volumes and I get the errors below. ...
0
votes
1answer
37 views

How do I get debug information from rsyslog?

I followed the directions from: http://www.rsyslog.com/doc/debug.html I put the following in /etc/rsyslog.conf: $DebugLevel 2 $DebugFile /root/RSYSLOG.txt then I try: kill -USR1 `cat ...
0
votes
0answers
10 views

Unable to get kickstart file from locally hosted http

I'm trying to get a vm up using a kickstart file. However, whenever the virtual machine initalize, it says it is unable to located the kickstart file from the location provided. Code to build vm: ...
1
vote
1answer
26 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]: ...
0
votes
1answer
29 views

'No such file or directory' when I am trying to format Logical Volume

I am trying to create Logical Volume on CentOS 7 on EC2 instance. After attaching the volume I am creating partition using fdisk, then I am starting the Logical Volume creation: pvcreate /dev/xvda1 ...
0
votes
1answer
25 views

Can't Install php-mssql or freetds on Centos7

My goal is to connect to MS SQL Server 2005 using PHP. I have installed PHP and ODBC. I am running CentOS7. PHP Version => 5.4.16 .... (from php -i) .... odbc ODBC Support => enabled I am ...
0
votes
1answer
19 views

why my subdomain is not accessible from the Internet?

I am using virtualhost in Centos 6.6. This is my conf file: <VirtualHost *:80> ServerName test.mydomain.ca ServerAlias test.mydomain.ca DocumentRoot ...
1
vote
1answer
65 views

loadkeys has (almost) no effect

I'm running CentOS 6.4 on vagrant and then doing a vagrant SSH into the box. I've been trying to get backspace to work correctly for a while now (as chronicled here: Centos Terminal Configuring ...
0
votes
1answer
3k views

How to remove Oracle Wallet using orapki?

Hi i'm on Centos using oracle 11g And i've created a wallet using : $ orapki wallet create -wallet /u01/app/oracle/admin/DB11G/wallet -pwd WalletPasswd123 -auto_login Now i want to remove it to ...
0
votes
1answer
36 views

MySQL service doesn't start

I have a CentOS 6.6, on the system there was a working Mysql and a mysql server already installed and a running mysqld service, but i needed a fresh install, so i did the whole removal through yum, ...
0
votes
0answers
20 views

Secure Apache Root on CentOS 7 [on hold]

I'm setting up a new web server on CentOS 7. One of my tasks is securing the server. So I started wtth web root (apache httpd). First by following this tutorial: ...
0
votes
2answers
39 views

Apache httpd cannot parse php on CentOS 7

I'm setting up a new CentOS 7 server, I installed apache httpd successfully and get the html welcome page then I installed php 5.4 then tried to test it using test page: <?php phpinfo(); ?> ...
2
votes
0answers
33 views

Disable viewing/listing rights to users

I'm new to linux administration and I'm not sure how to search for this problem. When I create a new user, s/he can browse the filesystem. E.g. ll /. How can I restrict the user to a few select ...
0
votes
0answers
11 views

/installation of CentOS 7 - Anaconda Disappeared

Using VMWare and CentOS-7.0-1406-x86_64-DVD installer. I would like to install CentOS on this virtual machine. I did that successfully few weeks ago. but now, Anaconda screen disappeared so fast ...
0
votes
0answers
15 views

Using ks.cfg with virt-install?

I've been trying to get a virtual machine working with a cfg file on centos but unfortunately, I'm getting the error that ks.cfg file does not exist. Below is the command I ran to enable the VM. ...
2
votes
1answer
616 views

can't connect to samba drive in centos 6.3

#smbclient //ballzdeep/torrents Server not using user level security and no password supplied tree connect failed: NT_STATUS_BAD_NETWORK_NAME Does this mean i need to require username and password ...
4
votes
1answer
1k views

What's wrong with this udev rule?

I'm reading through this link in trying to make the appropriate rule to make the BSG device nodes have group ownership of wheel and permissions of 0660. This is the rule that I have: [user@mylinux ...
0
votes
0answers
34 views

Strange behaviour of application running from NFS

I have two VMs running, one with Fedora 20 and the other with CentOS 6.6. I have a remote home directory mounted under /home1/user with autofs. /etc/auto.home1: user -fstype=nfs ...
0
votes
1answer
40 views

lwp-request Fails After Upgrade to Centos 7

I have a bash script that runs well on centos 6, which has an lwp-request in it. I upgraded my system to Centos 7, and the request fails to run: # lwp-request -E https://localhost/admin/startup GET ...
3
votes
1answer
31 views

GNOME license not accepted issue when system has been rebooted

GNOME Desktop has been installed on CentOS7 using sudo yum -y groups install "GNOME Desktop" and when startx is executed the desktop starts. However, when the system reboots the following issue ...
1
vote
0answers
25 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
1answer
47 views

unix system with malware

I have a CENTOS server that is infected with malware: top shows there's an unknown process that's consuming all the CPUs, if you kill it, it respawns with a different name. what's the best way to ...
1
vote
1answer
37 views

Setting Up New CentOS server - Partitions Sizes and File Systems

I'm responsible for setting up a new CentOS 7 server. It's my first time so I want to make sure I'm on the right track. After some research, I chose to have 6 partitions: Partition | Type | Device ...
3
votes
1answer
1k views

dual booting centos5.5 and fedora

I already have CentOS 5.5 on my system whose hard disk is ~500GB. I have tried to dual boot with Fedora 16. while installing fedora 16 I have created a ~250GB and ~4GB partitions for "/" and swap. The ...
0
votes
1answer
21 views

How to enable Oracle JDK 8 patch upgrades on an existing JDK 8 installation in CentOS

How to enable Oracle JDK 8 patch upgrades on an existing JDK 8 installation in CentOS. Refer details in the original thread ...
0
votes
1answer
15 views

After installing java in linux , where the java will store what home path should i give? [closed]

After installing java in linux , where the java will store what home path should i give ?
2
votes
1answer
1k views

Setting up SMTP-AUTH & TLS in Postfix

So I have been in the process of installing a Postfix Server on my CentOS 6.2 Virtual Private Server. I have been following this tutorial: ...
2
votes
2answers
571 views

What is the most accurate way to measure disk read/write speed for an OpenVZ VPS host from within the host itself?

CentOS 6.x | OpenVZ I have an openvz VPS host and would like to measure disk read/write speed. Historically, on other physical systems, I've ran hdparm to collect this information. I haven't been ...
1
vote
3answers
2k views

Apache Tomcat not working

I am a Linux beginner and have CentOS 6.4 installed on VMware. Recently installed Java SE8 and Apache Tomcat server but I cant't connect to the server by using `localhost:8080' browser says Unable to ...