From owner-freebsd-questions Tue May 11 18:46:28 1999 Delivered-To: freebsd-questions@freebsd.org Received: from out2.ibm.net (out2.ibm.net [165.87.194.229]) by hub.freebsd.org (Postfix) with ESMTP id 634F1150E7 for ; Tue, 11 May 1999 18:46:26 -0700 (PDT) (envelope-from kalmadg@banet.net) Received: from banet.net (slip-32-100-114-240.ny.us.ibm.net [32.100.114.240]) by out2.ibm.net (8.8.5/8.6.9) with ESMTP id BAA128278; Wed, 12 May 1999 01:46:16 GMT Message-ID: <3738DD4B.87413648@banet.net> Date: Tue, 11 May 1999 21:45:48 -0400 From: James Kalmadge X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 2.2.8-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Jerry Raynor Cc: freebsd-questions@FreeBSD.ORG Subject: Re: CGI file handling missing package? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jerry Raynor wrote: > I have 2 servers which APPEARS to be identical running FreeBSD 2.2.5-R, > Apache 1.2.4, p5-CGI-2.76 and perl-5.00401 . > > I have a web form that calls a cgi program and takes submmitted > information and appends/creates a file. I created the program on the > first machine and have since put the second machine together dedicated to > running this program and copied the program over. It does everything but > write to the file. > > I don't think this has anything to do with FreeBSD but I'm grasping for > straws! I've gonna over it a 100 times, checked permissions 200 times, I > had the program looked at in perl groups and it seems to be fine. Is > there a package which could be missing? I'm hopeing for a FreeBSD/CGI > guru! > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message Jerry, This sort of thing usually turns out to be permissions. I know you checked them. To Rule them out change the script to create the file in /tmp. If that works, it's likely permissions. So what owner is running the perl script? Is the file system local or remote mounted? Can the script append to the file if you first create it with 'touch'. If it doesn't create a file in /tmp the script is failling. Try dumping stderr to a file in /tmp. And look for clues. Without any other info., That's all I can suggest. Luck, James To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message