Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: FreeBSD 4.8

  1. #11
    so far using the suggestion in this thread It hasn't worked Even the script didn't work

    Guus. I tried to edit inetd.conf and that didn't work either.

  2. #12
    Just Another Geek
    Join Date
    Jul 2002
    Location
    Rotterdam, Netherlands
    Posts
    3,401
    Originally posted here by ratman3
    so far using the suggestion in this thread It hasn't worked Even the script didn't work

    Guus. I tried to edit inetd.conf and that didn't work either.
    Any error messages?

  3. #13
    Originally posted here by SirDice


    Any error messages?
    nope, just boot, login and type netstat -an and no port 6667 open

  4. #14
    Hi mom!
    Join Date
    Aug 2001
    Posts
    1,103
    the script SirDice suggested has to be runnable by root. Try doing

    Code:
    chown root:wheel /usr/local/etc/rc.d/ircd.sh 
    chmod 755 /usr/local/etc/rc.d/ircd.sh
    afterwards, doing

    Code:
    /usr/local/etc/rc.d/ircd.sh start
    should start the deamon.
    I wish to express my gratitude to the people of Italy. Thank you for inventing pizza.

  5. #15
    Originally posted here by sweet_angel


    Ratman have you try modify /etc/rc.local or /usr/local/etc/rc.d and then /etc/rc.conf.....or maybe I missunderstood your question?.

    cheerss
    what line to I put in rc.conf to get it to look at rc.local? I think it's not looking in there and that's why it won't start.

  6. #16
    Hi mom!
    Join Date
    Aug 2001
    Posts
    1,103
    /usr/local/etc/rc.d is a directory, not a file, so editing that makes no sense.

    All .sh script in that dir, runnable by root and having a /start/stop/* interface like SirDice showed are run after each boot. You won't have to make changes in /etc/rc.conf for that.

    Look at section 6.5 of the FreeBSD handbook for more information.
    I wish to express my gratitude to the people of Italy. Thank you for inventing pizza.

  7. #17
    Kwiep
    Join Date
    Aug 2001
    Posts
    924
    Well... a bit of topic :
    I stay with my point that an os's security bottleneck is still the admin. You can make any os as secure as you want, wether it's unix or windows or menuetos. It's true some os's have better potential, but if you know **** about bsd, you won't be able to ever make it real secure. O personally love openbsd though because of it's beautifull exploit history (insider joke ?).
    Double Dutch

  8. #18
    "I was wondering about something and since you have FreeBSD then I will ask
    you or anyone else who reads my post, What do you think are the advantages of
    FreeBSD?"

    As others have said it's advantages are quality& sticking power vs linux distros
    who cut support after say only a year in order to get people to upgrade and
    pony up money for a new version of there software which may or may
    not be quality. When I buy my bsd cd's and install the software I am not
    greeted immediatly with problems like "broken supermount" or worse a serious
    denial of service security hole in the Kernel my apps always run
    correctly they don't coredump or crash badly.

  9. #19
    Just Another Geek
    Join Date
    Jul 2002
    Location
    Rotterdam, Netherlands
    Posts
    3,401
    As for finding the problem with ircd try the following. Open up 2 consoles (or xterm, gnome-terminals or whatever). In one of them run tail -f /var/log/messages and keep an eye on this. On the other terminal/console logon as root (or use su) then:
    # su ircd
    this will switch user to ircd. Use this to check if the account is properly setup. If it complains about the account not existing run this:
    # pw useradd ircd -d /nonexistant -s /sbin/nologin
    This will create a useraccount ircd that cannot logon and has no homedir.
    Then try to su ircd again. After that you can try to start ircd:
    # ircd <- start ircd.
    Then check the /var/log/messages on the other terminal/console to see if there are any problems. Common problems would be
    a) user ircd is not able to write it's log to /var/log
    b) user ircd is not able to create a pid file in /var/run

    If it starts kill it again and (as root) run /usr/local/etc/rc.d/ircd.sh start

  10. #20
    Senior Member
    Join Date
    Oct 2001
    Posts
    638
    I was wondering about something and since you have FreeBSD then I will ask you or anyone else who reads my post, What do you think are the advantages of FreeBSD over Mandrake or Redhat? I know that they are all really great and all use unix but I just was wondering what your input on this would be. Thanks to anyone that replies to this post.
    Performance. If you want performance and security...there's always OpenBSD.
    OpenBSD - The proactively secure operating system.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •