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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-25-2007, 03:50 PM
|
#1
|
LQ Newbie
Registered: Sep 2007
Posts: 13
Rep:
|
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
|
|
|
09-25-2007, 04:11 PM
|
#2
|
Member
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307
Rep:
|
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.
|
|
|
09-25-2007, 08:19 PM
|
#3
|
LQ Newbie
Registered: Sep 2007
Posts: 13
Original Poster
Rep:
|
Quote:
Originally Posted by rtspitz
|
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
|
|
|
09-26-2007, 05:19 AM
|
#4
|
Member
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307
Rep:
|
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:
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 05:25 AM.
|
|
|
09-26-2007, 07:09 AM
|
#5
|
LQ Newbie
Registered: Sep 2007
Posts: 13
Original Poster
Rep:
|
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.
|
|
|
09-26-2007, 07:22 AM
|
#6
|
Member
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307
Rep:
|
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.
|
|
|
09-26-2007, 07:38 AM
|
#7
|
LQ Newbie
Registered: Sep 2007
Posts: 13
Original Poster
Rep:
|
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
|
|
|
09-26-2007, 08:49 AM
|
#9
|
Member
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307
Rep:
|
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.
|
|
|
09-26-2007, 08:56 AM
|
#10
|
LQ Newbie
Registered: Sep 2007
Posts: 13
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 03:08 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|