Samba slow to start on bootup

2004-05-17 Thread Gareth Bailey
Hi there,

Recently, Samba has started to take about 30secs to start
on system boot. Output to console says:
...
SambaStarting
...
The 30 (or more) second break takes place between the
Samba and Starting output. What could this be?, it
never used to take so long. 

I have recently upgraded to version samba-2.2.8a_2 on my
5.2 Release server. Is it possible that something else is
causing the pause? There aren't any error messages.

Thanks,
Gareth
_
For super low premiums ,click here http://www.dialdirect.co.za/quote
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Samba slow to start on bootup

2004-05-17 Thread Nelis Lamprecht
On Mon, 2004-05-17 at 10:48, Gareth Bailey wrote:
 Hi there,
 
 Recently, Samba has started to take about 30secs to start
 on system boot. Output to console says:
 ...
 SambaStarting
 ...
 The 30 (or more) second break takes place between the
 Samba and Starting output. What could this be?, it
 never used to take so long. 
 
 I have recently upgraded to version samba-2.2.8a_2 on my
 5.2 Release server. Is it possible that something else is
 causing the pause? There aren't any error messages.

Hi,

I doubt it is samba that is the cause of your problem. The reason I say
this is because you mention the 30 sec break between Samba and Starting
and the latest Samba script doesn't echo Starting. You should be able to
tell by running the script manually.

/usr/local/etc/rc.d/samba.sh stop/start

I suggest you look at what loads after Samba. Check the above directory. 

Cheers,
-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgpkey/nelis.asc
Unix IS user friendly.. It's just selective about who its friends are.


signature.asc
Description: This is a digitally signed message part


Re: Samba slow to start on bootup

2004-05-17 Thread Gareth Bailey
I stopped samba using samba.sh stop, then started it again
with samba.sh start. You are correct as far as the output
goes, only Samba is written to console. But Samba took 30
- 40 seconds to load! It seems Samba is actually causing
the pause.

Why would this be?

Thanks
Gareth

On Mon, 17 May 2004 11:43:58 +0200
 Nelis Lamprecht [EMAIL PROTECTED] wrote:
 On Mon, 2004-05-17 at 10:48, Gareth Bailey wrote:
  Hi there,
  
  Recently, Samba has started to take about 30secs to
 start
  on system boot. Output to console says:
  ...
  SambaStarting
  ...
  The 30 (or more) second break takes place between the
  Samba and Starting output. What could this be?, it
  never used to take so long. 
  
  I have recently upgraded to version samba-2.2.8a_2 on
 my
  5.2 Release server. Is it possible that something else
 is
  causing the pause? There aren't any error messages.
 
 Hi,
 
 I doubt it is samba that is the cause of your problem.
 The reason I say
 this is because you mention the 30 sec break between
 Samba and Starting
 and the latest Samba script doesn't echo Starting. You
 should be able to
 tell by running the script manually.
 
 /usr/local/etc/rc.d/samba.sh stop/start
 
 I suggest you look at what loads after Samba. Check the
 above directory. 
 
 Cheers,
 -- 
 Nelis Lamprecht
 PGP: http://www.8ball.co.za/pgpkey/nelis.asc
 Unix IS user friendly.. It's just selective about who
 its friends are.

_
For super low premiums ,click here http://www.dialdirect.co.za/quote
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Samba slow to start on bootup

2004-05-17 Thread Nelis Lamprecht
On Mon, 2004-05-17 at 11:56, Gareth Bailey wrote:
 I stopped samba using samba.sh stop, then started it again
 with samba.sh start. You are correct as far as the output
 goes, only Samba is written to console. But Samba took 30
 - 40 seconds to load! It seems Samba is actually causing
 the pause.
 
 Why would this be?
 
 Thanks
 Gareth

Try running smbd in debug mode smbd -F -S -d3 and see if anything stands
out. Perhaps a server you have specified in your configuration file is
unavailable or not responding. Do the same for nmbd.

Cheers,
-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgpkey/nelis.asc
Unix IS user friendly.. It's just selective about who its friends are.


signature.asc
Description: This is a digitally signed message part


Re: Samba slow to start on bootup

2004-05-17 Thread Gareth Bailey
Aah! Thanks for pointing me in the right direction. In
debug mode the problem was revealed:

Unable to connect to CUPS server localhost - Operation
timed out

Cheers,
Gareth

On Mon, 17 May 2004 12:30:56 +0200
 Nelis Lamprecht [EMAIL PROTECTED] wrote:
 On Mon, 2004-05-17 at 11:56, Gareth Bailey wrote:
  I stopped samba using samba.sh stop, then started it
 again
  with samba.sh start. You are correct as far as the
 output
  goes, only Samba is written to console. But Samba
 took 30
  - 40 seconds to load! It seems Samba is actually
 causing
  the pause.
  
  Why would this be?
  
  Thanks
  Gareth
 
 Try running smbd in debug mode smbd -F -S -d3 and see if
 anything stands
 out. Perhaps a server you have specified in your
 configuration file is
 unavailable or not responding. Do the same for nmbd.
 
 Cheers,
 -- 
 Nelis Lamprecht
 PGP: http://www.8ball.co.za/pgpkey/nelis.asc
 Unix IS user friendly.. It's just selective about who
 its friends are.

_
For super low premiums ,click here http://www.dialdirect.co.za/quote
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]