[Security Firewall] Re: Problems after installation of naat-packages from CVS - Needs help

florin <[email protected]> Tue, 19 Jul 2005 14:45:19 +0200
Newsgroups gmane.linux.mandrake.security.firewall
Message-ID <[email protected]>
Hi Stephan, 

please post this kind of message on the mailing list and do not
address it directly tome. Your increase your changes to get more help.
I also read the messages on the ML, you know :-)

First, you should know that you don't need to install everything from the CVS.
You don't need, for example: 
- httpd-naat (but only httpd2-naat)
- naat-backend-devel
- naat-frontend-www-devel
- naat-frontend-www-doc

I'm not sure I understand. Do you get the login screen through the web
mnf2 interface ?
If not, you seem to have a problem running the httpd2-naat script
after running the service httpd2-naat restart command do you see the
8443 port in netstat -an |grep 8443 ? also, what do you get with
service httpd2-naat status ?
 
If yes, did you install the mod-auth-external package for apache 2 ?
This package deals with the authentication ...

that's all for now,

cheers,

On 7/17/05, Stephan Eck <[email protected]> wrote:
> Hi Florin,
> 
> I've tried to install MNF2 using the MNF2 specific naat-files from CVS and a
> Mandrake 10.1 basic installation doing the following steps:
> 1. Download the MNF2 specific source code from CVS in my home directory
> /home/user/src with
>         export CVS_RSH=ssh
>         export CVSROOT=:ext:[email protected]:/cooker
>         cvs co firewall2
> 2. Built the rpm specific build tree (i.e. BUILD, SOURCES, SPECS, RPMS,
> SRPMS)in my home directory under the directory rpm.
> 3. Created the file .rpmmacros in my home directory with %_topdir
> /home/user/rpm
> 4. Running make rpm (make rpm2 for httpd2-naat) in every source directory
> ending with following files:
>         httpd2-naat-0.8-13mdk.noarch.rpm
>         httpd-naat-0.8-13mdk.noarch.rpm
>         mnf-en-10.0-16mdk.noarch.rpm
>         naat-backend-0.8-76mdk.i586.rpm
>         naat-backend-devel-0.8-76mdk.i586.rpm
>         naat-frontend-www-common-0.8-76mdk.noarch.rpm
>         naat-frontend-www-devel-0.8-76mdk.noarch.rpm
>         naat-frontend-www-doc-0.8-76mdk.noarch.rpm
>         naat-frontend-www-en-0.8-76mdk.noarch.rpm
>         naat-monitoring-0.8-9mdk.noarch.rpm
> 5. I did a basic installation of Mandrake 10.1 and a subsequent installation
> of the MNF2 specific rpms and all their dependencies
>         using the instruction from www.flexbeta.net and the slightly outdated but
> very detailed description from amaury.
> 
> Everything went fine. After a "shorewall clear" I could access the machine
> using ssh and my admin password which contains
> no special characters.
> 
> But (of course there is a but) I can't access the machine using the web
> frontend.
> I've tried it from a WIN and a Linux Machine but every time I get a "wrong
> account/password" message.
> 
> I don't know enough about the logon mechanism to figure out what's going
> wrong.
> 
> I've found something strange in the
> /var/log/httpd2-naat/httpd2-naat.error_log file
> 
> After a "service httpd2-naat restart" I can find the following lines:
> [Sun Jul 17 15:46:35 2005] [notice] caught SIGTERM, shutting down
> [Sun Jul 17 15:46:35 2005] [notice] Digest: generating secret for digest
> authentication ...
> [Sun Jul 17 15:46:35 2005] [notice] Digest: done
> [Sun Jul 17 15:46:35 2005] [notice] Apache-AdvancedExtranetServer/2.0.53
> (Mandrakelinux/PREFORK-9mdk) PHP/4.3.10 mod_ssl/2.0.5
> 3 OpenSSL/0.9.7e configured -- resuming normal operations
> 
> so everything seems to be ok, but every time I try to logon via the web
> interface there appears the following message in the
> httpd2-naat.error_log file.
> 
> sh: -c: line 3: syntax error: unexpected end of file
> sh: -c: line 3: syntax error: unexpected end of file
> looks like that there is a shell script broken.
> 
> I hope, with your guidance, I can solve the problem.
> 
> Regards
> 
> Stephan
> 
> 
> 


-- 
Florin
message.footer (text/plain, 232 B)
____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________