Re: [Bacula-users] Cannot bind port 9101

2007-12-04 Thread le dahut
It returns me this :

[EMAIL PROTECTED]:~# sysctl net.ipv4.ip_local_port_range
net.ipv4.ip_local_port_range = 3276861000


What do you mean with you have configured the machine like that ?


Martin Simmons a écrit :
 On Mon, 03 Dec 2007 14:06:15 +0100, le dahut said:
 Hello
 I experience a problem on bacula 2.0.3 (Ubuntu) with the error message 
 Warning: Cannot bind port 9101: ERR=Address already in use..
 This message appear randomly after several days/weeks of good work. Once 
 this appears, 'netstat -anpe' shows that for example smbd (it can be 
 something else) uses the port 9101. After samba restart, slapd uses it, 
 then mysql etc. I have to reboot the server for things returning in order.

 What's happening ?
 
 Maybe you have configured the machine like that?  Try checking
 
 sysctl net.ipv4.ip_local_port_range
 
 __Martin
 
 

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Cannot bind port 9101

2007-12-04 Thread Martin Simmons
 On Tue, 04 Dec 2007 10:11:25 +0100, le dahut said:
 
 It returns me this :
 
 [EMAIL PROTECTED]:~# sysctl net.ipv4.ip_local_port_range
 net.ipv4.ip_local_port_range = 3276861000
 

Ah, that looks OK.


 What do you mean with you have configured the machine like that ?

If net.ipv4.ip_local_port_range is set incorrectly then it might cause the
port problem.  Otherwise, port 9101 should never be used by samba or other
daemons because they listen on their own ports.

Can you post the netstat output after you get ERR=Address already in use?

__Martin


 
 
 Martin Simmons a écrit :
  On Mon, 03 Dec 2007 14:06:15 +0100, le dahut said:
  Hello
  I experience a problem on bacula 2.0.3 (Ubuntu) with the error message 
  Warning: Cannot bind port 9101: ERR=Address already in use..
  This message appear randomly after several days/weeks of good work. Once 
  this appears, 'netstat -anpe' shows that for example smbd (it can be 
  something else) uses the port 9101. After samba restart, slapd uses it, 
  then mysql etc. I have to reboot the server for things returning in order.
 
  What's happening ?
  
  Maybe you have configured the machine like that?  Try checking
  
  sysctl net.ipv4.ip_local_port_range
  
  __Martin
  
  
 
 -
 SF.Net email is sponsored by: The Future of Linux Business White Paper
 from Novell.  From the desktop to the data center, Linux is going
 mainstream.  Let it simplify your IT future.
 http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Cannot bind port 9101

2007-12-03 Thread Christof Klaus
le dahut schrieb:
 Hello
 I experience a problem on bacula 2.0.3 (Ubuntu) with the error message 
 Warning: Cannot bind port 9101: ERR=Address already in use..
 This message appear randomly after several days/weeks of good work. Once 
 this appears, 'netstat -anpe' shows that for example smbd (it can be 
 something else) uses the port 9101. After samba restart, slapd uses it, 
 then mysql etc. I have to reboot the server for things returning in order.

 What's happening ?

 K.


 P.S. : I already sent this message this morning but I've just seen I 
 hadn't subscribe to the list, sorry if you've received this mail twice.

   
sounds like the process which started bacula died and afterwards bacula
itself died..
ive only seen this phenomenon in correlation to zombie-processes.

you maybe have your own management tool to start / stop daemons ? (cause
init normally shouldnt die ;))
hope this helps.

greets, christof

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Cannot bind port 9101

2007-12-03 Thread le dahut
Bacula services (dir, fd, sd) are started at boot time and restarted 
using '/etc/init.d/bacula-X restart'.

I have a preexec job and a postexec job and I've found this 
http://osdir.com/ml/bacula.user/2003-10/msg00270.html
(unfortunately it is a little bit old : 2003)

Christof Klaus a écrit :
 le dahut schrieb:
 Hello
 I experience a problem on bacula 2.0.3 (Ubuntu) with the error message 
 Warning: Cannot bind port 9101: ERR=Address already in use..
 This message appear randomly after several days/weeks of good work. Once 
 this appears, 'netstat -anpe' shows that for example smbd (it can be 
 something else) uses the port 9101. After samba restart, slapd uses it, 
 then mysql etc. I have to reboot the server for things returning in order.

 What's happening ?

 K.


 P.S. : I already sent this message this morning but I've just seen I 
 hadn't subscribe to the list, sorry if you've received this mail twice.

   
 sounds like the process which started bacula died and afterwards bacula
 itself died..
 ive only seen this phenomenon in correlation to zombie-processes.
 
 you maybe have your own management tool to start / stop daemons ? (cause
 init normally shouldnt die ;))
 hope this helps.
 
 greets, christof
 
 
 

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Cannot bind port 9101

2007-12-03 Thread Martin Simmons
 On Mon, 03 Dec 2007 14:06:15 +0100, le dahut said:
 
 Hello
 I experience a problem on bacula 2.0.3 (Ubuntu) with the error message 
 Warning: Cannot bind port 9101: ERR=Address already in use..
 This message appear randomly after several days/weeks of good work. Once 
 this appears, 'netstat -anpe' shows that for example smbd (it can be 
 something else) uses the port 9101. After samba restart, slapd uses it, 
 then mysql etc. I have to reboot the server for things returning in order.
 
 What's happening ?

Maybe you have configured the machine like that?  Try checking

sysctl net.ipv4.ip_local_port_range

__Martin

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users