Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Markus on May 02, 2003, 07:55:49 PM

Title: CVS: pserver on SME 5.6. solution?
Post by: Markus on May 02, 2003, 07:55:49 PM
cvs [login aborted]: connect to 192.168.0.143:2401 failed: Connection refused

There are a lot of topics about this. But i want "pserver" to work on my server; NO ssh. Any solutions?

thx
Title: Re: CVS: pserver on SME 5.6. solution?
Post by: Jaco Bongers on October 05, 2003, 08:10:00 PM
Markus wrote:
>
> cvs [login aborted]: connect to 192.168.0.143:2401 failed:
> Connection refused
>
> There are a lot of topics about this. But i want "pserver" to
> work on my server; NO ssh. Any solutions?

I managed to get it working on 6B3:

Have a look at http://www.caw.co.za/modules.php?name=Forums&file=viewtopic&p=18#18

I cannot see why it would not work on 5.6.

Any feedback will be welcome :)

Jaco
Title: Re: CVS: pserver on SME 5.6. solution?
Post by: Randall Pfeifer on October 17, 2003, 12:25:29 AM
Thanks for the pointer to the article. The problem appears to be that the config files have changed. Replace the template code for hosts.allow with the following:
{
    use esmith::NetworksDB;

        my ($network, $broadcast) =
            esmith::util::computeNetworkAndBroadcast ($LocalIP, $LocalNetmask);
        my $localAccess = "127.0.0.1, $network/$LocalNetmask";

        $OUT .= "\n";
        $OUT .= "# cvs pserver\n";
        $OUT .= "cvs : $localAccess\n";
}

This was 'borrowed from the appletalk section, with conditional stuff removed. Only presents to local network (probably what you want - pserver is not very secure).

Also, don't forget to re-start xinetd:
kill -s SIGHUP cat /var/run/xinetd.pid