crontab-smb probs

eirini renas13 at yahoo.com
Wed Oct 19 07:07:52 PDT 2005


Hello to all fellow freebsd users :)
I am new in unix and BSD and I have encoured some
problems
trying to "play" with all it's features. :)
The problem I have is that I tried configuring mrtg in
my 
freebsd 5.4 stable machine, as well as smb.  And
that's where 
my problems start!
first mrtg. mrtg works fine except one minor problem
with cron.
It will not start! I edit it with crontab -e and added
the line 
*/5 * * * * root /usr/local/www/mrtg/run.sh with vi
editor. 
The path refers to the right directory and script.
When I run it manually 
everything works.  But I keep getting the the mail
(every 5 min it was supposed 
to run the run.sh) :

Message 18:
>From root at BSD.BSD.org Wed Oct 12 14:30:00 2005
Date: Wed, 12 Oct 2005 14:30:00 +0300 (EEST)
From: root at BSD.BSD.org (Cron Daemon)
To: root at BSD.BSD.org
Subject: Cron <root at BSD> root
/usr/local/www/mrtg/run.sh  > /dev/null  #olgas
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>

root: not found

I have changed the permissions to 777. I can't think
of anything else.
If there is anything someone can think of.. 

As the smb concerning I encounter another weired (for
me at least!) problem
i installed from the ports samba3 and edited the
smb.conf.
I had access to the BSD machine via windows but i kept
getting this message in 
dmeg: 
pid 8541 (smbd), uid 2: exited on signal 6
pid 13220 (smbd), uid 2: exited on signal 6
pid 13338 (smbd), uid 2: exited on signal 6
pid 13364 (smbd), uid 2: exited on signal 6
pid 13399 (smbd), uid 2: exited on signal 6
pid 13438 (smbd), uid 2: exited on signal 6
pid 13492 (smbd), uid 2: exited on signal 6
pid 25004 (conftest), uid 0: exited on signal 12 (core
dumped)
pid 45607 (smbd), uid 2: exited on signal 6
pid 70202 (smbd), uid 2: exited on signal 6
pid 70249 (smbd), uid 2: exited on signal 6
pid 70346 (smbd), uid 2: exited on signal 6
pid 70388 (smbd), uid 2: exited on signal 6
pid 70433 (smbd), uid 2: exited on signal 6
pid 70472 (smbd), uid 1003: exited on signal 6
pid 70478 (smbd), uid 1003: exited on signal 6
pid 70515 (smbd), uid 1003: exited on signal 6
pid 70524 (smbd), uid 1003: exited on signal 6
pid 70535 (smbd), uid 1003: exited on signal 6

and so on...
I also had mail to root with a prob with smbd, nmbd.
so I deinstalled samba to start over again and now
continiusly keep getting the same message 
in dmesg. But not in mail anymore.
I hope I was clear enough about the two probs I have.

Thank you and hope this is the right mailing list.

SpacEirene


		
__________________________________ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/


More information about the freebsd-performance mailing list