Announcement

Collapse
No announcement yet.

FreeBSD?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • grB
    replied
    Big thanks 4 all!!
    my problem was - that script contain instruction
    Code:
    #!/bin/sh
    and it uses sh even i try run script in bash..
    lil changes in code solve the problem!
    lets get started to work!

    Leave a comment:


  • monsieurcanard
    replied
    Hey grB,

    You could try modifying the first line in the script to:

    Code:
    #!/usr/local/bin/bash
    or I just ran;

    Code:
    shell> bash install.sh
    Hope that helps
    Matt

    PS There's quite a lot of effort involved in installing Oreon on FreeBSD using the Nagios port etc, but it's possible. I might make a port of Oreont to make it easier.

    Leave a comment:


  • BZ
    replied
    # dos2unix install.sh

    Leave a comment:


  • Menno
    replied
    Originally posted by grB
    Hi, guys!

    my platform is also FreeBSD (6.0) and i got problem when i tried execute install.sh
    attempts were made under various shells: csh(default), bash, sh, tcsh.. and always i get the same problem:
    Code:
    functions: 21: Syntax error: "(" unexpected
    after post of monsieurcanard i even reinstall bash, but error is still present..
    i`ll be very glad to see solution, after all of my unsuccessful attempts.. i want to make work oreon on my machine!! :roll:

    thanks
    Just to be sure, in install.sh the first line is #/bin/sh, did you change that line?
    Otherwise /bin/sh will still be used to execute the script.

    Leave a comment:


  • grB
    replied
    Hi, guys!

    my platform is also FreeBSD (6.0) and i got problem when i tried execute install.sh
    attempts were made under various shells: csh(default), bash, sh, tcsh.. and always i get the same problem:
    Code:
    functions: 21: Syntax error: "(" unexpected
    after post of monsieurcanard i even reinstall bash, but error is still present..
    i`ll be very glad to see solution, after all of my unsuccessful attempts.. i want to make work oreon on my machine!! :roll:

    thanks

    Leave a comment:


  • monsieurcanard
    replied
    Ahh... running the script with bash (/usr/local/bin/bash on FreeBSD) worked.

    Thanks!
    Matt

    Leave a comment:


  • monsieurcanard
    replied
    Code:
    [[email protected] ~]ls -la /bin/sh
    -r-xr-xr-x  1 root  wheel  102752 Jun  2 04:01 /bin/sh
    [[email protected] ~]

    Leave a comment:


  • YodaNC
    replied
    what does `ls -la /bin/sh` say ?

    Leave a comment:


  • monsieurcanard
    started a topic FreeBSD?

    FreeBSD?

    Hi,

    Is Oreon known to work on FreeBSD? I tried running ./install.sh and got:

    Code:
    [[email protected] oreon-1.3-beta]./install.sh
    functions: 21: Syntax error: "(" unexpected
    Many thanks,
    Matt[/code]
Working...
X