VB: SV: SV: SV: SV: SV: VB: After upgrading to RH8 neomail wont work!
"Mikael Karmalm" <[email protected]>
| Newsgroups | gmane.mail.neomail.general |
|---|---|
| Message-ID | <000301c26e9c$c23f7f50$920914ac@vengeance> |
Hi thanx for your help [root@spectre neomail-1.25]# ls -la /var/www/cgi-bin/ total 360 drwxr-xr-x 2 root root 4096 Oct 8 09:14 . drwxr-xr-x 6 root root 4096 Oct 7 19:15 .. -rwxr-sr-x 1 root mail 120429 Oct 8 09:14 neomail.pl -rwxr-sr-x 1 root mail 46792 Oct 8 09:14 neomail-prefs.pl [root@spectre neomail-1.25]# ls -la /var total 128 drwxr-xr-x 29 root root 4096 Oct 7 19:18 . drwxr-xr-x 19 root root 4096 Oct 7 19:09 .. drwxr-xr-x 2 pcap pcap 4096 Oct 5 18:11 arpwatch drwxr-xr-x 7 root root 4096 Oct 5 18:11 cache drwxr-xr-x 2 root root 4096 Aug 5 1998 db drwxr-xr-x 3 root root 4096 Oct 5 17:57 empty drwxr-xr-x 6 root root 4096 Jun 23 15:50 ftp drwxr-x--- 2 gdm gdm 4096 Oct 7 19:10 gdm drwxr-xr-x 17 root root 4096 Oct 5 18:10 lib drwxr-xr-x 2 root root 4096 Feb 6 1996 local drwxrwxr-x 3 root lock 4096 Oct 7 19:10 lock drwxr-xr-x 9 root root 4096 Oct 7 19:09 log drwxr-xr-x 2 root root 16384 Jun 16 2001 lost+found lrwxrwxrwx 1 root root 10 Oct 5 17:54 mail -> spool/mail drwxr-xr-x 6 root root 4096 Jan 18 2002 man drwxr-xr-x 2 named named 4096 Oct 7 09:52 named drwxrwx--- 6 root mail 4096 Oct 7 19:18 neo drwxrwx--- 6 root mail 4096 Oct 8 09:14 neomail drwxr-xr-x 2 root root 4096 Feb 6 1996 nis drwxr-xr-x 2 root root 4096 Apr 13 2000 opt drwxr-xr-x 2 root root 4096 Feb 6 1996 preserve drwxr-xr-x 8 root root 4096 Oct 7 19:13 run drwxr-xr-x 164 root root 4096 Oct 7 19:05 share drwxr-xr-x 14 root root 4096 Oct 5 17:58 spool[root@spectre neomail-1.25]# ls -la /var/neomail/ total 1484 drwxrwx--- 6 root mail 4096 Oct 8 09:14 . drwxr-xr-x 29 root root 4096 Oct 7 19:18 .. -rwsr-xr-x 1 root root 710 Oct 8 09:14 checklogin.pl -rw-rw---- 1 root apache 13 Oct 5 15:00 isa-session-0.777091167009534 -rw-rw---- 1 root apache 13 Dec 13 2001 josefin-session-1.24874441453926e-06 drwxr-x--- 2 root mail 4096 Jun 20 2001 lang -rwxr-x--- 1 root mail 7407 Oct 8 09:14 neomail.conf -rwxr-x--- 1 root root 7432 Jun 20 2001 neomail.conf~ -rw-rw---- 1 root mail 1461774 Oct 5 15:00 neomail.log drwxr-x--- 2 root mail 4096 Jun 20 2001 styles drwxr-x--- 23 root mail 4096 Jun 20 2001 templates drwxrwx--- 20 root mail 4096 Sep 3 10:48 users drwxr-xr-x 3 root root 4096 Jan 18 2002 state drwxrwxrwt 2 root root 4096 Oct 7 19:15 tmp drwx------ 2 root root 4096 Jun 24 02:42 tux drwx------ 2 root bin 4096 Sep 23 11:02 webmin drwxr-xr-x 6 root root 4096 Oct 7 19:15 www drwxr-xr-x 3 root root 4096 Oct 5 18:10 yp -----Ursprungligt meddelande----- Fran: [email protected] [mailto:[email protected]] For Torsten Mueller Skickat: den 7 oktober 2002 22:22 Till: [email protected] Amne: Re: SV: SV: SV: SV: SV: VB: [Neomail-users] After upgrading to RH8 neomail wont work! Give us the output of the commands ls -la /pathtoyourcgi/bin/withneomail ls -la /var/ ls -la /var/neomail/ Torsten ls -la of the cgi-bin dir and /var/neomail Mikael Karmalm schrieb: > > Sorry about my lack of expertise ;) > How do I do that and what's the correct value? > > /M > > -----Ursprungligt meddelande----- > Fran: [email protected] > [mailto:[email protected]] For Andy Herrero > Skickat: den 7 oktober 2002 16:12 > Till: [email protected] > Amne: Re: SV: SV: SV: SV: VB: [Neomail-users] After upgrading to RH8 > neomail wont work! > > I managed to replicate this behavior when the first script doesn't have > access to the second (which it "requires" and is found in the path). > Could > this (inspite of the suid-nature of neomail) be a matter of > FS-permissions? > > Double-check the setuid-bit on neomail.pl! > > -- Andy > > --On den 7 oktober 2002 15:32 +0200 Mikael Karmalm <[email protected]> > wrote: > > > Hi! > > > > That?s the funny part about that error message neommail.conf is in > > /var/neomail/ > > > > /M > > > > -----Ursprungligt meddelande----- > > Fran: [email protected] > > [mailto:[email protected]] For Andy Herrero > > Skickat: den 7 oktober 2002 15:25 > > Till: [email protected] > > Amne: Re: SV: SV: SV: VB: [Neomail-users] After upgrading to RH8 > neomail > > wont work! > > > > > > Make sure that the directory specified in the beginning of neomail.pl > > is the directory in which neomail.conf resides. > > > > According to the output of apache, the installation program has > inserted > > the path "/var/neomail" to your neomail.pl. Isn't neomail.conf located > > in that directory? > > > > The line to which I'm referring (line 23 in my neomail.pl) looks like > > this: > > ---cut--- > > push (@INC, '/var/neomail'); > > ---cut--- > > > > What this does is it adds /var/neomail to the include-path array which > > perl uses to find external modules and scripts. > > > > With kind regards, > > > > -- Andy > > > > PS. Lycka till :) > > > > --On den 7 oktober 2002 13:58 +0200 Mikael Karmalm <[email protected]> > > wrote: > > > >> Hi again! > >> > >> Thaks for that, I have now installed that module and reinstalled > >> neomail, this time I got no error message. > >> But still I have the sme problem! > >> > >> > >> [Mon Oct 07 13:55:21 2002] [error] [client 212.73.0.237] [Mon Oct 7 > >> 13:55:21 2002] neomail.pl: Can't locate neomail.conf in @INC (@INC > >> contains: /usr/local/lib/perl5/5.8.0/i686-linux > >> /usr/local/lib/perl5/5.8.0 > >> /usr/local/lib/perl5/site_perl/5.8.0/i686-linux > >> /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl > >> /var/neomail) at /var/www/cgi-bin/neomail.pl line 37., referer: > >> http://www.cpf.nu/menu.htm > >> > >> -----Ursprungligt meddelande----- > >> Fran: [email protected] > >> [mailto:[email protected]] For Torsten > Mueller > >> Skickat: den 7 oktober 2002 10:42 > >> Till: [email protected] > >> Amne: Re: SV: SV: VB: [Neomail-users] After upgrading to RH8 neomail > >> wont work! > >> > >> > >> Look in the message archive for the thread > >> "no suidperl on 5.6.1" from august 2002 > >> > >> Same problem, he founds a rpm. > >> > >> Torsten > >> > >> Mikael Karmalm schrieb: > >>> > >>> Where do I find suidperl, and how do I install it? > >>> > >>> I cant find it. > >>> > >>> /M > >>> > >>> -----Ursprungligt meddelande----- > >>> Fran: [email protected] > >>> [mailto:[email protected]] For Torsten > > Mueller > >>> Skickat: den 7 oktober 2002 02:26 > >>> Till: [email protected] > >>> Amne: Re: SV: VB: [Neomail-users] After upgrading to RH8 neomail > wont > >>> work! > >>> > >>> Yes, this could be a problem. > >>> Neomail needs direct access to the mail spool files > >>> of the users. > >>> If neomail runs as your apache user, it haven't. > >>> That's why neomail needs to change it's identity or better > >>> gets more rights via suidperl to access the mail spools. > >>> > >>> Torsten > >>> > >>> Mikael Karmalm schrieb: > >>> > > >>> > Hi again! > >>> > > >>> > When I tried to reinstall neomail it looks like this, look at the > >>> > warning could this be my problem? > >>> > I can run the neomail.pl from shell but not from a browser. > >>> > > >>> > ********************************** > >>> > ****** COMPATIBILITY CHECKS ****** > >>> > ********************************** > >>> > > >>> > IF ANY OF THESE CHECKS FAIL, INSTALLATION WILL NOT CONTINUE. > >>> > PLEASE INSTALL THE APPROPRIATE DBM LIBRARY OR MODULE AND TRY > AGAIN. > >>> > > >>> > Checking for installation of Berkely DB or GNU DB capability... > >>> > Looks OK. > >>> > Checking for up-to-date CGI.pm... > >>> > Looks OK. > >>> > Checking for MD5.pm... > >>> > Looks OK. > >>> > > >>> > Hit <ENTER> to continue. > >>> > > >>> > NEOMAIL SETUP > >>> > ============= > >>> > Welcome to the NeoMail install script! This script will prompt > you > >>> for > >>> > some > >>> > basic information about your desired setup, then install NeoMail > >>> > according to > >>> > your specifications. To accept the default value for any > question, > >>> > simply hit > >>> > Enter at the prompt. Don't forget to run feedback.pl once you've > >>> > installed > >>> > NeoMail and have some opinions to share! > >>> > > >>> > WARNING > >>> > ======= > >>> > WARNING: I couldn't find suidperl on your system. NeoMail won't > >>> function > >>> > properly without suidperl installed. > >>> > > >>> > Hit <ENTER> to continue. > >>> > > >>> > -----Ursprungligt meddelande----- > >>> > Fran: Torsten Mueller [mailto:[email protected]] > >>> > Skickat: den 6 oktober 2002 21:58 > >>> > Till: Mikael Karmalm > >>> > Amne: Re: VB: [Neomail-users] After upgrading to RH8 neomail wont > >>> work! > >>> > > >>> > Check your permissions on neomail.pl > >>> > > >>> > Torsten > >>> > > >>> > Mikael Karmalm schrieb: > >>> > > > >>> > > Hi again! > >>> > > > >>> > > The neomail.conf file is in /var/neomail/neomail.conf > >>> > > So what could the problem be? > >>> > > > >>> > > -----Ursprungligt meddelande----- > >>> > > Fran: Mikael Karmalm [mailto:[email protected]] > >>> > > Skickat: den 6 oktober 2002 14:12 > >>> > > Till: '[email protected]' > >>> > > Amne: SV: [Neomail-users] After upgrading to RH8 neomail wont > >> work! > >>> > > > >>> > > Hi and thanx! > >>> > > > >>> > > I now have another problem! > >>> > > Please help > >>> > > > >>> > > Software error: > >>> > > Can't locate neomail.conf in @INC (@INC contains: > >>> > > /usr/local/lib/perl5/5.8.0/i686-linux /usr/local/lib/perl5/5.8.0 > >>> > > /usr/local/lib/perl5/site_perl/5.8.0/i686-linux > >>> > > /usr/local/lib/perl5/site_perl/5.8.0 > >> /usr/local/lib/perl5/site_perl > >>> > > /var/neomail) at /var/www/cgi-bin/neomail.pl line 37. > >>> > > > >>> > > -----Ursprungligt meddelande----- > >>> > > Fran: [email protected] > >>> > > [mailto:[email protected]] For Torsten > >>> Mueller > >>> > > Skickat: den 6 oktober 2002 02:59 > >>> > > Till: [email protected] > >>> > > Amne: Re: [Neomail-users] After upgrading to RH8 neomail wont > >> work! > >>> > > > >>> > > The message says, what the problem is: > >>> > > Can't do setuid > >>> > > > >>> > > As i don't run redhat, i can't give you an advice, how > >>> > > to fix that, however the setuid thing is your problem. > >>> > > (Possibly an rpm for suid or suid-perl ?) > >>> > > > >>> > > Torsten > >>> > > > >>> > > Mikael Karmalm schrieb: > >>> > > > > >>> > > > Hi! > >>> > > > > >>> > > > I have run Neomail for a long time on RedHat 7.1 and Postfix, > > no > >>> > > > problem. > >>> > > > Today I upgraded RedHat to 8.0 and Neomail stopped working. > >>> > > > In the browser I get the error 500 and in error log I get what > >> you > >>> > > > below. > >>> > > > > >>> > > > Please help I love my Neomail. > >>> > > > > >>> > > > /M > >>> > > > > >>> > > > [Sat Oct 05 23:59:44 2002] [error] [client 212.109.5.70] Can't > >> do > >>> > > > setuid, referer: http://www.cpf.nu/menu.htm > >>> > > > [Sat Oct 05 23:59:59 2002] [error] [client 212.109.5.70] > >> Premature > >>> > end > >>> > > > of script headers: neomail.pl, referer: > >> http://www.cpf.nu/menu.htm > >>> > > > > >>> > > > ------------------------------------------------------- > >>> > > > This sf.net email is sponsored by:ThinkGeek > >>> > > > Welcome to geek heaven. > >>> > > > http://thinkgeek.com/sf > >>> > > > _______________________________________________ > >>> > > > NeoMail-users mailing list > >>> > > > [email protected] > >>> > > > https://lists.sourceforge.net/lists/listinfo/neomail-users > >>> > > > >>> > > ------------------------------------------------------- > >>> > > This sf.net email is sponsored by:ThinkGeek > >>> > > Welcome to geek heaven. > >>> > > http://thinkgeek.com/sf > >>> > > _______________________________________________ > >>> > > NeoMail-users mailing list > >>> > > [email protected] > >>> > > https://lists.sourceforge.net/lists/listinfo/neomail-users > >>> > > > >>> > > ------------------------------------------------------- > >>> > > This sf.net email is sponsored by:ThinkGeek > >>> > > Welcome to geek heaven. > >>> > > http://thinkgeek.com/sf > >>> > > _______________________________________________ > >>> > > NeoMail-users mailing list > >>> > > [email protected] > >>> > > https://lists.sourceforge.net/lists/listinfo/neomail-users > >>> > > >>> > ------------------------------------------------------- > >>> > This sf.net email is sponsored by:ThinkGeek > >>> > Welcome to geek heaven. > >>> > http://thinkgeek.com/sf > >>> > _______________________________________________ > >>> > NeoMail-users mailing list > >>> > [email protected] > >>> > https://lists.sourceforge.net/lists/listinfo/neomail-users > >>> > >>> ------------------------------------------------------- > >>> This sf.net email is sponsored by:ThinkGeek > >>> Welcome to geek heaven. > >>> http://thinkgeek.com/sf > >>> _______________________________________________ > >>> NeoMail-users mailing list > >>> [email protected] > >>> https://lists.sourceforge.net/lists/listinfo/neomail-users > >>> > >>> ------------------------------------------------------- > >>> This sf.net email is sponsored by:ThinkGeek > >>> Welcome to geek heaven. > >>> http://thinkgeek.com/sf > >>> _______________________________________________ > >>> NeoMail-users mailing list > >>> [email protected] > >>> https://lists.sourceforge.net/lists/listinfo/neomail-users > >> > >> > >> ------------------------------------------------------- > >> This sf.net email is sponsored by:ThinkGeek > >> Welcome to geek heaven. > >> http://thinkgeek.com/sf > >> _______________________________________________ > >> NeoMail-users mailing list > >> [email protected] > >> https://lists.sourceforge.net/lists/listinfo/neomail-users > >> > >> > >> > >> ------------------------------------------------------- > >> This sf.net email is sponsored by:ThinkGeek > >> Welcome to geek heaven. > >> http://thinkgeek.com/sf > >> _______________________________________________ > >> NeoMail-users mailing list > >> [email protected] > >> https://lists.sourceforge.net/lists/listinfo/neomail-users > > > > > > > > _____________________________________________ __ _ > > > > GENUiTY Sweden > > > > Norra Stationsgatan 93, 5tr > > S-113 64, Stockholm, Sweden > > > > [Phone] +46-8-55555 617 > > [Fax] +46-8-55555 201 > > [Cellular] +46-70-5585 617 > > [SMTP] [email protected] > > [HTTP] http://www.genuity.se > > [ICQ] 891755 > > _____________________________________________ __ _ > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > NeoMail-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/neomail-users > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > NeoMail-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/neomail-users > > _____________________________________________ __ _ > > GENUiTY Sweden > > Norra Stationsgatan 93, 5tr > S-113 64, Stockholm, Sweden > > [Phone] +46-8-55555 617 > [Fax] +46-8-55555 201 > [Cellular] +46-70-5585 617 > [SMTP] [email protected] > [HTTP] http://www.genuity.se > [ICQ] 891755 > _____________________________________________ __ _ > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > NeoMail-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/neomail-users > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > NeoMail-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/neomail-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ NeoMail-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/neomail-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf