crontab-smb probs

From: eirini (renas13_at_yahoo.com)
Date: 10/19/05

  • Next message: albi: "Re: crontab-smb probs"
    Date: Wed, 19 Oct 2005 07:07:47 -0700 (PDT)
    To: freebsd-performance@freebsd.org
    
    

    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@BSD.BSD.org Wed Oct 12 14:30:00 2005
    Date: Wed, 12 Oct 2005 14:30:00 +0300 (EEST)
    From: root@BSD.BSD.org (Cron Daemon)
    To: root@BSD.BSD.org
    Subject: Cron <root@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/
    _______________________________________________
    freebsd-performance@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-performance
    To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org"


  • Next message: albi: "Re: crontab-smb probs"

    Relevant Pages

    • Forbid root to connect via ssh
      ... I'm new in OpenBSD world, i've installed a gateway, witch run NAT and PF. ... I now try to forbid root access on this gateway via ssh. ... bsd# userinfo administrateur ...
      (comp.unix.bsd.openbsd.misc)
    • Re: Default root password
      ... > I didn't mean to imply that BSD had root disabled by default. ... > root from a regular user account. ... On Freebsd sudo is not installed as a default, but you can add it from ...
      (Ubuntu)
    • Re: The use of the auth-group (and auth-user) ?
      ... It's BSD that has the 'wheel' group. ... in the *BSDs is just another name for 'root' as there is NO 'root' ... no good reasons why it isn't more secure. ...
      (comp.unix.sco.misc)
    • Re: Things Linux Can Do Without
      ... By default, in Ubuntu, no password is set for root, so su by itself may ... It depends on the version of BSD. ... pkgsrc will also install packages for non-NetBSD systems, ...
      (comp.os.linux.misc)
    • Running mrtg on FreeBSD
      ... it to the MRTG list.... ... I don't want MRTG run as root, however creating a crontab in /var/cron for ... the mrtg user yeilds errors every time it tries to run. ... If I run the same cron job as root, ...
      (freebsd-questions)