Draft of usual commands required in the #centos irc channel
Contents
You have been directed to this page because you have called for help on a CentOS irc channel. This is a set of commands that are usually required in order to resolve your issue. Please use http://pastebin.centos.org to publish the results and post the pastebin link in the channel.
1. Before you ask
Please don't ask things like: Can nobody help?
We recommended you to read How To Ask Questions The Smart Way.
2. IRC Topic
Read it! as of 2010/09/21
Welcome to #centos (http://wiki.centos.org/irc) current: 5.5,4.8,3.9 Dont paste in here, use a pastebin Backports: http://tinyurl.com/r77l2 We prefer helping people with a better CentOS experience rather than spoon feeding Using a 'productised' CentOS install or using apps from other repo's ? Try their support mechanism first
see also http://wiki.centos.org/SpoonFeed
3. Kernel Version and CentOS Release
$ uname -a $ rpm -q centos-release
from (http://wiki.centos.org/TipsAndTricks/BrokenVserver):
Check your yum config files:
$ rpm -V yum centos-release ; ls /etc/yum.repos.d/ ; yum repolist; grep -ir exclude /etc/yum.*
4. Multiarch packages
32 bits compatibility libraries on 64 bits machines.
rpm -qa --qf "%{name}-%{version}-%{release}.%{arch}\n" glibc\*
5. CPAN and source compiles related
Installing perl modules by CPAN is NOT SUPPORTED, use the 3rd parties repositories to install perl modules.
$ which perl; rpm -q perl; rpm -V perl
Example missing perl module message and yum command line to search for it:
Can't locate LWP/UserAgent.pm in @INC ... $ yum provides "perl(LWP::UserAgent)" perl-libwww-perl.noarch : A Perl interface to the World-Wide Web # yum install perl-libwww-perl
This is because CPAN ignores the packaging system, and will overwrite existing CentOS files, some core to making perl work properly.
In a broader sense, replacing some core system library, such as 'zlib', with binaries from a version compiled from sources, bypasses the protections of SOname checking for incompatibility, which RPM provides. The result after doing so is something, but it is certainly no longer CentOS
6. Additional Ressources
...you should also take a look at the following resources, FAQs and hints:
technical resources
the man and info pages on your system; search them: man -k topic | less
http://wiki.centos.org/TipsAndTricks/YumAndRPM (about package management on CentOS)
http://wiki.centos.org/AdditionalResources/Repositories (if you need packages not provided by CentOS)
the SEARCH button on http://wiki.centos.org
google on centos.org -> http://www.google.com/search?q=site%3Acentos.org+
7. Common Errors
you are not running CentOS: see http://wiki.centos.org/AdditionalResources/OtherVoices
you are "root" or you think you are... http://wiki.centos.org/TipsAndTricks/BecomingRoot (path issues by becoming root without cleaning away a potentially dangerous end user path)
