Welcome, Guest. Please login or register.

Author Topic: SaMBa V2.2.5  (Read 1867 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline KennyR

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 8081
    • Show all replies
    • http://wrongpla.net
Re: SaMBa V2.2.5
« on: January 12, 2005, 04:51:35 PM »
smbd is a inetd service, so you are right: it really is stopped and restarted, according to the requests it gets.

To prevent this you can run it in daemon mode if you like, although I'm not sure Amiga samba supports this properly; to do this, first disable it in Miami/Genesis inetd pages. Then run it like this:

Run >NIL: smbd -D

If it works, you can set it to in a script thats automatically executed when you go online.

However, all that won't stop it eating your CPU time. I advise you to use some tool or scheduler to reduce the priority of the smbd task to -1.
 

Offline KennyR

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 8081
    • Show all replies
    • http://wrongpla.net
Re: SaMBa V2.2.5
« Reply #1 on: January 12, 2005, 05:31:04 PM »
Quote
Colmiga wrote:
Did you download Samba 2.2.5 from this site: http://www.amigasamba.org ? You may have noticed the comment next to the link for that file on the downloads page, it says the following: "Last 2.2.5 GCC based port. BETA!!".


Yes, this version never worked. But there's a new port for 2.2.5 for 68k, at amigaos.dk. I've just installed it and it works great.
 

Offline KennyR

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 8081
    • Show all replies
    • http://wrongpla.net
Re: SaMBa V2.2.5
« Reply #2 on: January 13, 2005, 09:55:16 PM »
Hmm, strange. pid files are used in unix for a program to know whether it's already running or not. They are created when smbd or nmbd are run and deleted when they are quit. If a .pid exists on the disk a second instance of the program isn't run.

So restoring the .pid files shouldn't have fixed your problem. But then again, Amiga compiles of Samba are strange, so...