From owner-freebsd-net Fri Mar 2 9: 2:55 2001 Delivered-To: freebsd-net@freebsd.org Received: from homer.softweyr.com (bsdconspiracy.net [208.187.122.220]) by hub.freebsd.org (Postfix) with ESMTP id 5F83C37B71B for ; Fri, 2 Mar 2001 09:02:53 -0800 (PST) (envelope-from wes@softweyr.com) Received: from [127.0.0.1] (helo=softweyr.com ident=Fools trust ident!) by homer.softweyr.com with esmtp (Exim 3.16 #1) id 14Yt7e-0000AT-00; Fri, 02 Mar 2001 10:13:42 -0700 Message-ID: <3A9FD4C6.230D7EB7@softweyr.com> Date: Fri, 02 Mar 2001 10:13:42 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Paulo Fragoso Cc: freebsd-net@freebsd.org Subject: Re: Deamon with perl References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Paulo Fragoso wrote: > > Hi, > > I've written a little server using perl, it's working fine using FBSD 4.x > but when I try with FBSD 3.x it don't work: > > bind: Can't assign requested address at ... > > I've ever changed all /usr/libdata/perl directory to same used on FBSD > 4.x, but I've got same error. > > Are there any problem with socket and perl on FBSD 3.x? Is your daemon trying to bind to a privileged port - i.e. port < 1024? If so, you're probably running suidperl on 4.x. You have to have root privs to bind to a port < 1024. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message