LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-23-2004, 02:26 PM   #1
Belize
Member
 
Registered: Jul 2003
Posts: 113

Rep: Reputation: 15
Question simple qmail question for RedHat9 server


Hello
I use the whereis and locate commands to see if qmail is already installed on my system
Code:
[kaloian@Cuba kaloian]$ whereis qmail
qmail:
[kaloian@Cuba kaloian]$ locate qmail
/var/mailman/tests/bounces/qmail_01.txt
/etc/log.d/conf/services/qmail.conf
/etc/log.d/scripts/services/qmail
[kaloian@Cuba kaloian]$
Does this mean it is installed or not? In the future, how can I check if I have a program installed? Thanks in advance.
Peace
Kaloian
 
Old 01-23-2004, 03:10 PM   #2
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 438

Rep: Reputation: 30
Hmmm I think your doing things fine, i'd do a locate -u as root and then see if you get different results but from what I can see it's not installed...

Have you read the INSTALL file, i had no problems at all installing QMail as that file was really helpful

Also, when you install QMail there are sometimes a couple of patches you need to install.. They are the errno patch and the ucspi patch...

Try reinstalling it following the INSTALL
 
Old 01-24-2004, 05:48 AM   #3
Belize
Member
 
Registered: Jul 2003
Posts: 113

Original Poster
Rep: Reputation: 15
Code:
[root@Cuba kaloian]# locate -u qmail
[root@Cuba kaloian]#
:P
hehe so I guess its not installed yet? I just want to understand if it is or not, so I know If I should download&configure it. Peace
 
Old 01-24-2004, 06:09 AM   #4
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 438

Rep: Reputation: 30
Ummmm no.....


Code:
[root@darkside root]# locate -u
[root@darkside root]#locate qmail
Other wise it's just updating the database
 
Old 01-24-2004, 10:20 AM   #5
Belize
Member
 
Registered: Jul 2003
Posts: 113

Original Poster
Rep: Reputation: 15
hehe I did it again and it shows the same results
It seems I dont have it but I wonder what are those files?
Peace
 
Old 01-24-2004, 03:26 PM   #6
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 438

Rep: Reputation: 30
The /var/mailman/tests/bounces/qmail_01.txt I have no idea about but tthe other 2 seem to be log rotation scripts - always handy when theres nothing to rotate huh

If locate -u doesn't find anything else i'm 99.9% sure you can delete them then install qmail.

Good luck and if ya need a hand setting up QMail just yell out
 
Old 01-25-2004, 12:31 AM   #7
marlaina1
Member
 
Registered: Jun 2001
Location: Houston
Distribution: CentOS 5.3
Posts: 139

Rep: Reputation: 15
For red hat, to see if anything is installed (and get the package number):
rpm -qa | grep packagename
Substitute the package name such as qmail for package name.

If you use locate, programs will not show up until the database is periodically updated by a cron job so could miss very recently installed programs.
 
Old 01-25-2004, 12:57 AM   #8
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 438

Rep: Reputation: 30
Quote:
For red hat, to see if anything is installed (and get the package number):
rpm -qa | grep packagename
Substitute the package name such as qmail for package name.
No, that's only correct if the package has been installed by RPM, I think Belize is building it from source so it won't work like that...

But yeah that's a good one to remember - also if you do the following you get the same result:

Code:

[root@darkside]# grep <PACKAGE> /var/log/rpmpkgs
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 11:29 AM
simple server question powadha Linux - Software 3 03-03-2004 12:41 PM
disable simple service on RedHat9... pablovschby Linux - Software 4 10-20-2003 02:58 PM
Counter Strike server - simple question Robert0380 Linux - Software 1 12-24-2002 10:20 AM
simple ftp server question BrianK Linux - General 3 07-31-2002 07:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:32 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