LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-25-2007, 02:50 PM   #1
iamcaper
LQ Newbie
 
Registered: Sep 2007
Posts: 13

Rep: Reputation: 0
RHEL 3 and PopRelay


Sorry for the double post but I figured my original post belonged here instead:

Hello All,

First time poster here so forgive me for my lack of knowledge or if this has been posted already.

I've recently been dumpted into a position where one of my duties is to maintain our RedHat ES 3 server, even though I have no formal training. Before my days our company server was hacked and has since been closed off to outside world, relaying completely turned off.

My boss, however, wants to have access to this email while on the road, sending and receiving. I did some surfing around and it appeared as though PopRelay was the least intrusive, and easiest, to get going. However, I got everything done, as per instructions, until I tried to start PopRelay, getting this error:

Can't locate DB_File.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at /sbin/poprelayd line 68.
BEGIN failed--compilation aborted at /sbin/poprelayd line 68.

Can anybody be of assistance, or provide ideas as to how else I can go about doing this?

I even tried the "allow_relay_from" but can't seem to get that going. I think my biggest problem is that I had no input or knowledge on how the server was set-up so I'm going to be a little slow in catching up.

Any help would be greatly appreciated.

Cheers
 
Old 09-25-2007, 03:11 PM   #2
rtspitz
Member
 
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 32
your server is missing a perl module.

have a look at www.cpan.org, and www.cpan.org/misc/cpan-faq.html for how to install modules an so forth.
 
Old 09-25-2007, 07:19 PM   #3
iamcaper
LQ Newbie
 
Registered: Sep 2007
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by rtspitz View Post
your server is missing a perl module.

have a look at www.cpan.org, and www.cpan.org/misc/cpan-faq.html for how to install modules an so forth.
Thanks rtspitz.

How intrusive is this as far as affecting other things on the server. Is it just a matter of installing the module and that's it? I don't have to change any settings in Sendmail or anything do I?

Thanks
 
Old 09-26-2007, 04:19 AM   #4
rtspitz
Member
 
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 32
the error message you've posted comes from perl only.

if you have a look at the file /sbin/poprelayd (which is perl code) you will find a line like:
Code:
use DB_File;
so all you need to do is install that module. maybe you'll find it in your redhat repository and can install it with the usual redhat tools. if not do it with cpan.

as perl is usually quite often used for all kinds of programs/scripts on linux machines messing with it is potentially dangerous, BUT we're not talking about updating/removing present modules, just adding a new one. if you find said module in the redhat repo you should be safe. cpan usually doesn't break things either, never happended to me.

Last edited by rtspitz; 09-26-2007 at 04:25 AM.
 
Old 09-26-2007, 06:09 AM   #5
iamcaper
LQ Newbie
 
Registered: Sep 2007
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks again, rtspitz! I appreciate your taking time to reply and help me out.

I'll see if I can find the module in the repository.

The reason I'm concerned with installations messing up other software is, one, I'm new to linux so I'm a little gun-shy. And, two, I work for an animation company so tripping up our box could result in tens of thousands of dollars of delays. I don't want to be responsible for that. hehe

Thanks again.
 
Old 09-26-2007, 06:22 AM   #6
rtspitz
Member
 
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 32
in that case I suggest you ask your boss to hand over some money for a test machine. any 300$ machine should be ok for that, maybe it just needs a 2nd network card. on that one you can test all kinds of scenarios before manipulating your production server.
 
Old 09-26-2007, 06:38 AM   #7
iamcaper
LQ Newbie
 
Registered: Sep 2007
Posts: 13

Original Poster
Rep: Reputation: 0
That's a great idea, I actually have another machine running redhat but it isn't a mirror of the one we use in production.

quick question, another newbie one, how do I check the redhat repository. I'm searching, seriously I am. hehe

Do I go to the Redhat site or do I just use the server itself?

Thanks
 
Old 09-26-2007, 06:41 AM   #8
iamcaper
LQ Newbie
 
Registered: Sep 2007
Posts: 13

Original Poster
Rep: Reputation: 0
I'm guessing this is what I need?

http://linuxsoft.cern.ch/cern/slc308....806-90.4.html

Sorry for taking more time from you.
 
Old 09-26-2007, 07:49 AM   #9
rtspitz
Member
 
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 32
looks like it.

Of course I don't know if that rpm is for RHES3, I'm a SUSE user ;-)

If you can find it on your installation cds/dvd it should work and get updated next time your system downloads security updates. Unfortunately I don't know if redhat comes with some text or X based software manager besides plain old rpm.
 
Old 09-26-2007, 07:56 AM   #10
iamcaper
LQ Newbie
 
Registered: Sep 2007
Posts: 13

Original Poster
Rep: Reputation: 0
Okay, cool. I found one for RHEL3, installed it, restarted PopRelay and it started fine. Now, I just need to find an outside source to test it to see if they can get in.

At least it's progress, thanks rtspitz
 
  


Reply

Tags
poprelay


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
Upgrade RHEL 3 AS to RHEL 4 AS louisb Linux - Enterprise 8 06-04-2009 02:57 PM
PopRelay error message on start iamcaper Linux - Software 1 09-26-2007 06:46 AM
difference between RHEL 4 and RHEL 3 linux_guru1 Linux - Enterprise 3 05-30-2007 09:10 AM
Login problems with XDMCP from a pre-RHEL-4 client to a RHEL-4 server running KDE cspao Red Hat 0 07-21-2006 06:30 AM
Is CentOS RHEL or RHEL Server? mikes63737 Linux - Distributions 1 02-28-2006 04:35 PM


All times are GMT -5. The time now is 10:08 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration