Browsing articles tagged with "centos - 2/167 - Admins Goodies"
Jan 15, 2013
tom

Apachectl Missing from Apache HTTPD Binary

I extracted the httpd…tar.gz from here, but I don’t see apachectl. [vagrant@centos48 opt]$ ls httpd-2.2.23 httpd-2.2.23.tar.gz [vagrant@centos48 httpd-2.2.23]$ find . -name apachectl [vagrant@centos48 httpd-2.2.23]$ Asked by Kevin This is because you did not build the code. You downloaded the source code. So, you need to build it first to create the binaries and libraries. Answered by Khaled Check more discussion of this question. Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit […]

Continue Reading »
Jan 15, 2013
tom

Yum Hangs on “Setting up repositories”

When running the following command, yum hangs on Setting up repositories. [vagrant@centos48 yum.repos.d]$ sudo yum install emacs Setting up Install Process Setting up repositories yum.conf [vagrant@centos48 ~]$ cat /etc/yum.conf [main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest installonlypkgs=kernel kernel-smp kernel-devel kernel-smp-devel kernel-largesmp kernel-largesmp-devel kernel-hugemem kernel-hugemem-devel distroverpkg=centos-release tolerant=1 exactarch=1 retries=20 obsoletes=1 gpgcheck=1 plugins=1proxy= [intentionally not listed]# PUT YOUR REPOS HERE OR IN separate files named file.repo # in /etc/yum.repos.d CentOS-Base.repo Note that I got the same error as before […]

Continue Reading »
Jan 8, 2013
tom

oidentd properly configured yet not properly working on CentOS 6

I’ve been experiencing this problem with oidentd for a couple of days and I can’t seem to be able to find a solution to this yet. oidentd seems to give me headaches every time I want to get it work on different servers. I have to mention I’ve installed oidentd using rpm package (oidentd-2.0.8-8.el6.i686 more exactly) because directly typing yum install oidentd didn’t work for some unknown reason. I want to use it in order […]

Continue Reading »
Jan 5, 2013
tom

SFTP Access on CentOS Server

I have a CentOS server with a plesk control panel installed, I used to login using SFTP with the root password to manage the files. However, and all of a sudden, I am not able to access the server using SFTP and I get this error when using CuteFTP ERROR:> [4/18/2012 5:18:31 PM] Connection to the server was lost, and the operation could not be performed. ERROR:> [4/18/2012 5:18:31 PM] Can’t connect to localkicks.com:22. SFTP21 […]

Continue Reading »
Jan 3, 2013
tom

stop Centos 6.3 loading ‘Text Mode Setup Utility’ at restart

I’ve just puppetted a virtual machine and from scratch (based on Centos 6.3 minimal). That install process does a variety of things, but one annoying side effect is that when the VM reboots, it automatically opens a tool called: Text Mode Setup Utility 1.19.9 (c) 1999-200 Red Hat, Inc. Is says “Choose a Tool” with options for “Authentication configuration”, “Firewall configuration”, “Keyboard configuration”, “Network configuration”. I don’t think it serves a purpose as the VM […]

Continue Reading »
Jan 1, 2013
tom

Centos access.conf setting not working well

I have centos machinesand below I set this in my access.conf – : root : ALL yet I can login via root and do all the stuff. So what is the job of access.conf then? Is there anything wrong done here? Asked by new14 Here you go and get to know how to activate access.conf I did add following in my access.conf file [root@lcoalhost ~]# tail -1 /etc/security/access.conf -:user1:ALL I added the following in the […]

Continue Reading »
Jan 1, 2013
tom

Monit from epel not able to start via upstart method

I have centos 6.3 machine and did a yum install monit (version monit 5.1.1-4.el6 from epel) and then I setup the up the http://mmonit.com/wiki/Monit/Upstart and tried to start monit initctl start monit initctl: Job failed to start. I did on another machine I download the .rpm file of monit-5.3.2-2.el6.rf.x86_64.rpm and did the the same and able to start via initctl method. What could be missing in the epel version ? Asked by new14 They’re entirely […]

Continue Reading »
Dec 27, 2012
tom

Is FreeBSD more suitable than CentOS for firing 40k concurrent connections (for Jmeter)?

I am trying to run Jmeter to simulate 40k concurrent users and stress test a particular system. Putting aside the possibility that Jmeter may not be able to push such a high number (although I have read that it is at least possible to handle 10k concurrent threads on a very powerful machine), is FreeBSD a more suitable OS as compare to CentOS to be used for my Jmeter machine for handling 40k (or as […]

Continue Reading »
Dec 26, 2012
tom

Running program that you just installed with rpm

I’ve just downloaded pgadmin from : http://yum.postgresql.org/repopackages.php#pg92 and I’ve installed it : rpm -ivh pgdg-centos92-9.2-6.noarch.rpm How do I open it? where can I find it or do I need some additional steps? Asked by London That rpm just contains the files for adding the postgresql 9.2 repo to CentOS. You will need to download and install the relevant package. A bit of digging suggests that the package you want is pgadmin3_92 so yum install pgadmin3_92 […]

Continue Reading »
Dec 22, 2012
tom

Getting error while trying to install Hyperic server

I am trying to install the latest version of Hyperic (4.6.6) on centos machine and getting this error. > /home/hq/agent-4.6.6/bin/hq-agent.sh start Installing the server… Unpacking server to: /home/hq… Creating server > configuration files… Using “small” installing profile… Copying > binaries and libraries to server installation… Copying server > configuration file… Copying server db-upgrade files… Copying > server libs… Setting up server database… Loading taskdefs… > Taskdefs loaded Loading taskdefs… Taskdefs loaded > ——————————————————————————– An ERROR […]

Continue Reading »
Pages:«1234567...167»