Re: [Omail-webmail-news] suexec and perl problems
Brought to you by:
swix
From: Carter S. <der...@de...> - 2003-07-30 02:30:59
|
On Fri, 2003-07-25 at 12:11, Jairo Tcatchenco wrote: > Hey stupid! Why don't you RTFM!!! > > Your second point could be solved simply installing the perl > modules Date::Parse (TimeDate-1.08.tar.gz), optional Jcode (for > japanese support) and another optional MIME::Words > (MIME-tools-4.124.tar.gz). You can use the cpan tool to do this, or, > install by yourself the dependencies for this modules (IO-stringy, > MIME-Base, Test-Harness, Test-Simple, MailTools, File-Spec), that you > can find at http://search.cpan.org/. > > About your third point, the critical message that you found in > apache's log, verify what user is running the httpd processes. If you > are using nobody user instead of the www user, that you probably > compiled the suexec with, change the user in the httpd.conf. > > And, finally, the first point. If you followed the steps above, > another problem will appear, that I couldn't solve. In the access log of > apache you will see the following: > > > > 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: > > [Fri Jul 25 13:41:11 2003] [error] [client xxx.xxx.xxx.xxx] Premature > > end of script headers: /usr/local/apache/htdocs/webmail/omail.pl > > > And nothing more happens, the error in the page continues. > Could someone give me a reason for this? >From the INSTALL doc from webmail2 (which is in CVS) 6) add an entry in the /etc/sudoers for perl & user webmail (cut & paste from below) (use command "visudo" to edit! that's the way it works... :) Cmnd_Alias PERL=/usr/bin/perl webmail ALL=NOPASSWD: PERL This should allow your webmail user to sudo without entering a password! Carter > Thanks. > > Jairo Tcatchenco > ja...@cd... > > > Jairo Tcatchenco wrote: > > > Hello all! > > > > I'm in trouble with the basis of the instalation. When I enter the > > webmail, the following error ocurrs: > > Premature end of script headers: > > /usr/local/apache/htdocs/webmail/omail.pl > > > > When I run manually (as root user) the omail.pl file, the following > > error ocurrs: > > omail.pl: Can't locate Date/Parse.pm in @INC > > And I have looked for this file in my box and I haven't found it > > yet. Should I need to install any librarie? > > > > And, the last one, I have the following error with the suexec, > > anytime that I try to access my webmail: > > crit: calling user mismatch (nobody instead of www) > > > > Any help or documentation are welcome! > > > > Thanks. > > > > Jairo Tcatchenco > > ja...@ad... > > |