LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-13-2011, 09:54 AM   #1
trscookie
Member
 
Registered: Apr 2004
Location: oxford
Distribution: gentoo
Posts: 463

Rep: Reputation: 30
postconf missing mysql


Hello All,

I am missing mysql from postconf for my centos server and I cant seem to enable it no matter what I try, does anybody know how to enable it?

Code:
[root@server ~]# postconf -m
btree
cidr
environ
hash
ldap
nis
pcre
proxy
regexp
static
unix

[root@server ~]# lsb_release -a
LSB Version:	:core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarch
Distributor ID:	CentOS
Description:	CentOS release 5.6 (Final)
Release:	5.6
Codename:	Final
Thanks in advance.

trscookie
 
Old 04-13-2011, 10:09 AM   #2
trscookie
Member
 
Registered: Apr 2004
Location: oxford
Distribution: gentoo
Posts: 463

Original Poster
Rep: Reputation: 30
I have also installed rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm but still no joy
 
Old 04-13-2011, 10:35 AM   #3
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
i think it's in the centosplus repo:
Code:
yum --enablerepo=centosplus install postfix
 
Old 04-13-2011, 10:41 AM   #4
trscookie
Member
 
Registered: Apr 2004
Location: oxford
Distribution: gentoo
Posts: 463

Original Poster
Rep: Reputation: 30
Hello,

Thanks for the update, however it still doesn't seem to be working:

Code:
[root@server ~]# yum --enablerepo=centosplus install postfix
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.netrino.co.uk
 * centosplus: mirror.netrino.co.uk
 * contrib: mirror.netrino.co.uk
 * extras: mirror.netrino.co.uk
 * rpmforge: ftp-stud.fht-esslingen.de
 * updates: mirror.netrino.co.uk
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package postfix.x86_64 2:2.3.3-2.1.el5_2 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================================================================
 Package                                  Arch                                    Version                                            Repository                             Size
=================================================================================================================================================================================
Installing:
 postfix                                  x86_64                                  2:2.3.3-2.1.el5_2                                  base                                  3.7 M

Transaction Summary
=================================================================================================================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 3.7 M
Is this ok [y/N]: y
Downloading Packages:
postfix-2.3.3-2.1.el5_2.x86_64.rpm                                                                                                                        | 3.7 MB     00:00     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : postfix                                                                                                                                                   1/1 

Installed:
  postfix.x86_64 2:2.3.3-2.1.el5_2                                                                                                                                               

Complete!
[root@server ~]# postconf -m
btree
cidr
environ
hash
ldap
nis
pcre
proxy
regexp
static
unix

Any ideas?

thanks,
trscookie
 
Old 04-13-2011, 10:59 AM   #5
trscookie
Member
 
Registered: Apr 2004
Location: oxford
Distribution: gentoo
Posts: 463

Original Poster
Rep: Reputation: 30
had to add:

exclude=postfix

for the [base] repos, cheers
 
Old 04-13-2011, 11:01 AM   #6
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
you should delete the current version of postfix, and, for future safety,
exclude postfix from base and updates repo /etc/yum.repo.d/CentOS-Base.repo:
Code:
[base]
name=CentOS-$releasever - Base
...
exclude=postfix*

#released updates 
[updates]
name=CentOS-$releasever - Updates
...
exclude=postfix*
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix postconf unknown parameter data_directory annekaelber Linux - Software 2 08-13-2009 11:50 PM
POSTCONF -E /or/ SED & CAT? lovelord Linux - Server 6 04-07-2008 05:14 AM
Missing MySQL library...? tristanlee85 Linux - Software 1 04-10-2006 11:41 PM
MYSQL help - mysql database missing eloviyandhi Linux - Software 1 03-20-2004 09:20 PM
MySQL command prompt (/usr/local/mysql missing) sankar555 Linux - Software 3 03-22-2003 12:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration