Startup errors....su:/bin/csh Perm denied..

doug at safeport.com doug at safeport.com
Fri May 18 18:27:48 UTC 2007



On Fri, 18 May 2007, Agus wrote:

> 2007/5/17, doug at safeport.com <doug at safeport.com>:
>> 
>> On Wed, 16 May 2007, Agus wrote:
>> 
>> > 2007/5/16, Agus <agus.262 at gmail.com>:
>> >>
>> >> 2007/5/16, Oliver Peter <hoschi at 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 at 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.


More information about the freebsd-questions mailing list