[smokeping-users] Re: 1.26 execution errors
Tobias Oetiker
oetiker at ee.ethz.ch
Thu Mar 11 08:13:33 MET 2004
Yesterday Scott Schappell wrote:
> I installed the 1.26 version from the FreeBSD ports collection.
> My previous version was working just fine, however, after
> installing the port, I receive the following error when trying to
> run it:
>
> [S: root at arthur: /home/archon] # /usr/local/etc/rc.d/smokeping.sh start
> Not enough arguments for mkdir at /usr/local/smokeping/lib/Smokeping.pm line 1971, near "$dir unless"
> BEGIN failed--compilation aborted at /usr/local/bin/smokeping line 6.
> [S: root at arthur: /home/archon] #
>
> Unfortunately, I'm way too Perl clueless to even begin to try to
> fix this. Any suggestions on what this error may be?
yes, perl 5.006 in freebsd wants a second argument for mkdir
along the lines ...
mkdir $file, 0755
or you could just use the latest release ...
tobi
--
______ __ _
/_ __/_ / / (_) Oetiker @ ISG.EE, ETZ J97, ETH, CH-8092 Zurich
/ // _ \/ _ \/ / System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/ http://people.ee.ethz.ch/~oetiker +41(0)1-632-5286
--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the smokeping-users
mailing list