Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 May 2007 14:27:46 -0400 (EDT)
From:      doug@safeport.com
To:        Agus <agus.262@gmail.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Startup errors....su:/bin/csh Perm denied..
Message-ID:  <20070518125748.N63021@fledge.watson.org>
In-Reply-To: <fda61bb50705180618w6b15aaccg43afe4bf1a806603@mail.gmail.com>
References:  <fda61bb50705141650h446c3740r3267a012e71b90c8@mail.gmail.com> <20070515211759.GC27529@nemesis.frida.mouhaha.de> <fda61bb50705151524v6e12b53ew49e3986904a90bbb@mail.gmail.com> <20070516093610.GA34755@nemesis.frida.mouhaha.de> <fda61bb50705160510t5b734cedm78e2a6999fb24519@mail.gmail.com> <fda61bb50705161627h65a81ca1g8ba527a4cd0cb3ab@mail.gmail.com> <20070517140821.M63021@fledge.watson.org> <fda61bb50705180618w6b15aaccg43afe4bf1a806603@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Fri, 18 May 2007, Agus wrote:

> 2007/5/17, doug@safeport.com <doug@safeport.com>:
>> 
>> On Wed, 16 May 2007, Agus wrote:
>> 
>> > 2007/5/16, Agus <agus.262@gmail.com>:
>> >>
>> >> 2007/5/16, Oliver Peter <hoschi@mouhaha.de>:
>> >> >
>> >> > On Tue, May 15, 2007 at 07:24:27PM -0300, Agus wrote:
>> >> > > ...
>> >> > > Here is part of the boot..
>> >> > > Updating motd
>> >> > > Starting mysql.
>> >> > > su: /bin/csh: Permission denied
>> >> > > Configuring syscons: keymap blanktime.
>> >> > > Starting sshd.
>> >> > > can not chdir(/var/spool/clientmqueue/): Permission denied
>> >> > > Program mode requires special privileges...
>> >> > > Starting cron.
>> >> > > Local package initializations...
>> >> > > Starting inetd.
>> >> >
>> >> > Interesting.
>> >> > Do you see the same when you start/stop it manually?
>> >> >
>> >> >           # /usr/local/etc/rc.d/mysql-server restart
>> >> >
>> >> > --
>> >> > Oliver PETER, email: hoschi@mouhaha.de , ICQ# 113969174
>> >> > "Worker bees can leave. Even drones can fly away. The Queen is their
>> >> > slave."
>> >> >
>> >> > yes....thats how i realized that the problem was with mysql....first
>> >> i checked netstat and didnt see the port so i started up manually and get 
>> >> that error....
>> >>
>> >> Thanks..
>> >>
>> >
>> > Still the same error.....any hint where to look??
>> 
>> There are at least two things going on and one at least has nothing to do 
>> with mysql. /var/spool/clientmqueue is used by sendmail which you have 
>> running. If you have not, or did not mean to configure sendmail add 
>> 'sendmail_enable="NO"' to rc.conf and see what happens.
>> 
>> AFAIK nothing in the startup scripts uses csh. So there is also something 
>> 'funny' there. grep for csh in /etc and /usr/local/etc and see what you get. 
>> You could also do a 'verbose' boot and see if the additional messages point 
>> to anything
>> 
> Yes ...i am aware of that....i have already disable sendmail.....thanks... but 
> as i put previously....trying to start manually mysql-server comes up this 
> error /bin/csh...
>

You think the mysql start script is attempting to create a file in 
/var/spool/clientmqueue? If so that will not work. Run the script one command at 
a time by doing the following:

su
su -m mysql
then run the start up script one command at a time. Or just access  each of the 
files used.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070518125748.N63021>