From owner-freebsd-questions@FreeBSD.ORG Sun Jan 7 11:50:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 62C6E16A412 for ; Sun, 7 Jan 2007 11:50:35 +0000 (UTC) (envelope-from maanjee@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.240]) by mx1.freebsd.org (Postfix) with ESMTP id 2715C13C474 for ; Sun, 7 Jan 2007 11:50:35 +0000 (UTC) (envelope-from maanjee@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so2014866ana for ; Sun, 07 Jan 2007 03:50:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=rJAbsMnEOJrGMvdFJSVYvCrU5ZKVnBc5xKSwHU6etgbyHQqNjD/8PaVeLacOWHMbqAJUGSKsf72mHa0eEPyuvKMNUUeH9M9ZQ6ctDTzhb9Bxeh9udJ7+XujZivZZUh//ZkcIbmsgs7AeHQiscIAF+76uRyq2GSTRlEQaIpbzk/c= Received: by 10.100.166.14 with SMTP id o14mr9256157ane.1168170634495; Sun, 07 Jan 2007 03:50:34 -0800 (PST) Received: by 10.100.33.13 with HTTP; Sun, 7 Jan 2007 03:50:34 -0800 (PST) Message-ID: <2cd0a0da0701070350s2237f410ib79ef4c5fd73d5d@mail.gmail.com> Date: Sun, 7 Jan 2007 12:50:34 +0100 From: VeeJay To: FreeBSD-Questions , maanjee@gmail.com, mysql@lists.mysql.com MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: FreeBSD chroot problem...Please help!!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2007 11:50:35 -0000 Hello there I was wondering if someone having great knowledge of FreeBSD chroot system could give me some help. I trying to run MySQL and Apache under a chroot envoirnment. But I am getting these errors. Could you please help me to solve these problems. I have googled a lot but did't find any solution. Please help! 1. When running MySQL 5.0 in a chroot envoirnment, I get following error: # chrootuid /chroot/mysql mysql /usr/local/mysql/libexec/mysqld & [1] 599 # /usr/local/mysql/libexec/mysqld: Can't create/write to file '/var/tmp/ibPM3e0d' (Errcode: 13) 070107 10:43:49 InnoDB: Error: unable to create temporary file; errno: 13 070107 10:43:49 [Note] /usr/local/mysql/libexec/mysqld: ready for connections. Version: '5.0.27' socket: '/tmp/mysql.sock' port: 0 FreeBSD port: mysql-server-5.0.27 2. When running Apache in chroot envoirnment, I get following error: # chroot /chroot/httpd /usr/local/apache/bin/httpd fopen: Operation not supported httpd: could not open document config file /dev/null I will really appreciate your kind help! -- Thanks! BR / vj