Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st March 2007, 14:45
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default Problem on creating Virtual Users

Hi folks,

CentOS 4.4 x86_64

I followed;
Virtual Users With Postfix, PostfixAdmin, Courier, Mailscanner, ClamAV On CentOS
http://www.howtoforge.com/virtual_us..._clamav_centos

and was stuck on;
[vmail@localhost root]$ sudo yum install libtool postgresql-devel gdbm-devel pam-devel expect openldap-devel
Code:
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these two things:

        #1) Respect the privacy of others.
        #2) Think before you type.

Password:
I don't know the password. What shall I enter here.

I looked around "man visudo" and can't figure out how to add;
Code:
User_Alias ADMIN = satimis

ADMIN ALL=(ALL) NOPASSWD : ALL
Pls advise. TIA


B.R.
satimis
Reply With Quote
Sponsored Links
  #2  
Old 22nd March 2007, 05:14
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Hi folks,

I solved the password problem by re-editing /etc/sudoers as follows
Code:
vmail ALL=(ALL) NOPASSWD: ALL
Still encountered following problem;

[vmail@localhost satimi]$ sudo yum install libtool postgresql-devel gdbm-devel pam-devel expect openldap-devel
Code:
Setting up Install Process
Setting up repositories
kbs-CentOS-Extras         100% |=========================|  951 B    00:00     
update                    100% |=========================|  951 B    00:00     
base                      100% |=========================| 1.1 kB    00:00     
addons                    100% |=========================|  951 B    00:00     
extras                    100% |=========================| 1.1 kB    00:00     
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package expect.x86_64 0:5.42.1-1 set to be updated
---> Package postgresql-devel.x86_64 0:7.4.16-1.RHEL4.1 set to be updated
---> Package pam-devel.i386 0:0.77-66.17 set to be updated
--> Running transaction check
--> Processing Dependency: postgresql = 7.4.16-1.RHEL4.1 for package: postgresql-devel
--> Finished Dependency Resolution
Error: Missing Dependency: postgresql = 7.4.16-1.RHEL4.1 is needed by package postgresql-devel
# yum search postgresql | grep 7.4.16-1.RHEL4.1
Code:
postgresql-contrib.x86_64                7.4.16-1.RHEL4.1       update          
postgresql.x86_64                        7.4.16-1.RHEL4.1       update          
postgresql-python.x86_64                 7.4.16-1.RHEL4.1       update          
postgresql-devel.x86_64                  7.4.16-1.RHEL4.1       update          
postgresql-docs.x86_64                   7.4.16-1.RHEL4.1       update          
postgresql-jdbc.x86_64                   7.4.16-1.RHEL4.1       update          
postgresql-libs.x86_64                   7.4.16-1.RHEL4.1       update          
postgresql-pl.x86_64                     7.4.16-1.RHEL4.1       update          
postgresql-libs.i386                     7.4.16-1.RHEL4.1       update          
postgresql-server.x86_64                 7.4.16-1.RHEL4.1       update          
postgresql-tcl.x86_64                    7.4.16-1.RHEL4.1       update          
postgresql-test.x86_64                   7.4.16-1.RHEL4.1       update          
postgresql-libs.i386                     7.4.16-1.RHEL4.1       installed
# yum search postgresql.x86_64
Code:
Searching Packages: 
Setting up repositories
Reading repository metadata in from local files
No Matches found
I have been googling around but can't find which repo provides "postgresql = 7.4.16-1.RHEL4.1"

Any suggestion? TIA


B.R.
satimis
Reply With Quote
  #3  
Old 22nd March 2007, 17:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

What happens when you run
Code:
yum install postgresql postgresql-devel
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 23rd March 2007, 02:48
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by falko
What happens when you run
Code:
yum install postgresql postgresql-devel
?
Hi falko,

[vmail@localhost satimis]$ sudo yum install postgresql postresql-devel
Code:
Setting up Install Process
Setting up repositories
kbs-CentOS-Extras         100% |=========================|  951 B    00:00     
update                    100% |=========================|  951 B    00:00     
base                      100% |=========================| 1.1 kB    00:00     
addons                    100% |=========================|  951 B    00:00     
extras                    100% |=========================| 1.1 kB    00:00     
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: postresql-devel
Nothing to do
Can't find postresql-devel

# ls /etc/yum.repos.d/
Code:
CentOS-Base.repo   kbsingh-CentOS-Extras.repo  rpmforge.repo
CentOS-Media.repo  mirrors-rpmforge
Last time I tried installing dag.repo. The website pointed to rpmforge.repo

# cat /etc/yum.repos.d/rpmforge.repo
Code:
# Name: RPMforge RPM Repository for Red Hat Enterprise 5 - dag
# URL: http://rpmforge.net/
[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
baseurl = http://apt.sw.be/redhat/el5/en/$basearch/dag
#mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=0
Tried follow also w/o result
# yum install --enablerepo=rpmforge postgresql postgresql-devel
Code:
Setting up Install Process
Setting up repositories
rpmforge                  100% |=========================| 1.1 kB    00:00     
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package postgresql-devel.x86_64 0:7.4.16-1.RHEL4.1 set to be updated
--> Running transaction check
--> Processing Dependency: postgresql = 7.4.16-1.RHEL4.1 for package: postgresql-devel
--> Finished Dependency Resolution
Error: Missing Dependency: postgresql = 7.4.16-1.RHEL4.1 is needed by package postgresql-devel
Folks on postgresql advised me either complain to CentOS or download the packages on their website to proceed.

Now I have following packages download on their/mirror sites:-
Code:
1)
ftp://ftp.is.postgresql.org/pub/postgresql/binary/v7.4.16/linux/rpms/fedora/fedora-core-6-x86_64
Download following postgresql packages (FC6);
postgresql-7.4.16-1PGDG.x86_64.rpm
postgresql-devel-7.4.16-1PGDG.x86_64.rpm
postgresql-server-7.4.16-1PGDG.x86_64.rpm

published on 02.08.2007

2)
ftp://ftp.postgresql.org/postgresql/binary/v7.4.16/linux/rpms/redhat/rhel-es-4-x86_64
Download following postgresql packages (RH)
postgresql-7.4.16-1PGDG.x86_64.rpm
postgresql-devel-7.4.16-1PGDG.x86_64.rpm
postgresql-server-7.4.16-1PGDG.x86_64.rpm

published on 02.06.2007
I hesitate which of them will be the right packages for me. (I suppose "rhel-es-4-x86_64" packages will be more appropriate)

Secondly I don't know whether I have to run;
1)
# yum groupremove postgresql

OR

2)
# yum remove postgresql

I have been turning around here for 2 days. I got no advice on CentOS 4 forum.


B.R.
satimis
Reply With Quote
  #5  
Old 23rd March 2007, 17:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

It seems your package database is really messed up. Maybe you should try a clean reinstall...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 23rd March 2007, 18:07
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by falko
It seems your package database is really messed up. Maybe you should try a clean reinstall...
OK. I started already, erasing the complete HD and following following howto to install CentSO 4.4 x86_64;

http://www.howtoforge.com/perfect_setup_centos_4.4

I encountered some problems during installing CentOS 4.4. I'll post all problems here under a new topic after finish.

Tks.


B.R.
satimis
Reply With Quote
  #7  
Old 12th April 2007, 16:01
aogo aogo is offline
Junior Member
 
Join Date: Apr 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hate to bump and old thread, but you've installed the RPMForge (or Dag) repository for CentOS 5/RHEL 5, rather than CentOS 4/RHEL 4.

A clean install would be best, but you could edit out your repository list and enter in the correct version instead if you didn't want to reinstall.
Reply With Quote
  #8  
Old 13th April 2007, 10:49
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
 
Default

Quote:
Originally Posted by aogo
Hate to bump and old thread, but you've installed the RPMForge (or Dag) repository for CentOS 5/RHEL 5, rather than CentOS 4/RHEL 4.

A clean install would be best, but you could edit out your repository list and enter in the correct version instead if you didn't want to reinstall.
Hi aogo,

This OS has been erased. A clean new installation has been made. This thread has been replaced with another thread;

http://www.howtoforge.com/forums/showthread.php?t=11964

But still I can't complete the installation as described in the howto.

satimis
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
Junk mail and spamassassin... sthompson Installation/Configuration 4 27th December 2006 16:11
Autoreply problem using Virtual Users And Domains With Postfix, Courier And MySQL triak HOWTO-Related Questions 1 19th May 2006 15:25
Problem with Virtual Users And Domains With Postfix, Courier And MySQL Howto fenix Server Operation 4 11th March 2006 02:53
Another Problem: Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP bluegrass Installation/Configuration 24 8th March 2006 01:41


All times are GMT +2. The time now is 08:35.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.