Re: [Bacula-users] cassette icon disappears

2007-09-14 Thread SITKEI Attila
* John Drescher [20070911 19:59]:
 On 9/11/07, Dimitrios [EMAIL PROTECTED] wrote:
  On Tue, 11 Sep 2007 11:17:38 -0400 John Drescher [EMAIL PROTECTED] 
  wrote:
 
   What version of bacula?
 
  v2.2.3 i believe (windows installer, downloaded from sourceforge).
 
 If I do indeed get some time this week I plan to get some serious work
 done on this so I will try to test the latest source in the process. I
 have an idea why this could be the case but I am unsure if there were
 changes in the current version that caused that.
 
BTW, this is the time I ask for a thing I wondered of for months.
Suppose you have Windows servers. The servers are typically licenced as
application servers so only two remote desktop accesses plus a console are
available to access them. Normally the two administrative logons are used by
the customers, so the admins only can use the console to log on. Here the
problem is, I mean this belongs to the tray application, that once somebody
leaves the console with a user (a domain admin member) logged in to be able
later reconnect the session for some reasons, and someone else needs access
hence console, she/he may choose to let log out the one currently logged in
admin that stops bacula service from running from then on. Not knowing the
internals I can not say it is due to tray icon but feel some correspondence
with.

Thoughts?

Thank you

--tef

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] cassette icon disappears

2007-09-12 Thread Dimitrios
On Tue, 11 Sep 2007 15:02:13 -0400 John Drescher [EMAIL PROTECTED] wrote:

 Also a quick workaround may be the following:
 1) Change Bacula File Server service startup type to be Manual instead
 of Automatic.
 2) Then in a batch file in the startup folder of user issue a net
 start Bacula File Server
 However this may not work if the logged in user does not have
 permissions to start/stop services.

Thank you very much, i really appreciate your help and the effort to furthur 
develop bacula. No wonder bacula has been enhanced so much over the years, 
along with the best manual we've seen on an open source project, there are 
superb people behind the project!

I'll try the suggested workaround!

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] cassette icon disappears

2007-09-11 Thread Dimitrios
We've got a Windoze 2003 server and i'm using the bacula file daemon to backup 
files from it. Since the system is actively used by a person, we rely on the 
cassette icon in the system tray to check when the backup is running (so as the 
person on the system doesn't do anything stupid when the cassette is green).

Our problem is, that once the machine is rebooted, the cassette icon 
disappears, even though the daemon service is running in the background (as can 
be seen in the Services).

Interestingly, if we re-start the service, the cassette icon reappears, but 
only untill we reset the machine.

Does anyone know how to make the cassette icon to always appear in the system 
tray?

Thank you.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] cassette icon disappears

2007-09-11 Thread John Drescher
 We've got a Windoze 2003 server and i'm using the bacula file daemon to 
 backup files from it. Since the system is actively used by a person, we rely 
 on the cassette icon in the system tray to check when the backup is running 
 (so as the person on the system doesn't do anything stupid when the cassette 
 is green).

 Our problem is, that once the machine is rebooted, the cassette icon 
 disappears, even though the daemon service is running in the background (as 
 can be seen in the Services).

 Interestingly, if we re-start the service, the cassette icon reappears, but 
 only untill we reset the machine.

 Does anyone know how to make the cassette icon to always appear in the system 
 tray?

What version of bacula?

Hmm. I have been in my spare time working to remove the tray icon
completely from the filedaemon and replace it with a standalone tray
application. One reason for this is that it is problem with security
on vista. And also others have asked to remove the tray completely for
several reasons.

John

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] cassette icon disappears

2007-09-11 Thread Dimitrios
On Tue, 11 Sep 2007 11:17:38 -0400 John Drescher [EMAIL PROTECTED] wrote:

 What version of bacula?

v2.2.3 i believe (windows installer, downloaded from sourceforge).


 Hmm. I have been in my spare time working to remove the tray icon
 completely from the filedaemon and replace it with a standalone tray
 application. One reason for this is that it is problem with security
 on vista. And also others have asked to remove the tray completely for
 several reasons.

uh oh, that would be a real problem for us, we really need the tray icon. We 
wouldn't mind a stand along application, it doesn't make any difference for
our purposes, but it would really be a problem if it was completely removed.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] cassette icon disappears

2007-09-11 Thread Dan Langille
On 11 Sep 2007 at 20:50, Dimitrios wrote:

 On Tue, 11 Sep 2007 11:17:38 -0400 John Drescher [EMAIL PROTECTED] wrote:
 
  What version of bacula?
 
 v2.2.3 i believe (windows installer, downloaded from sourceforge).
 
 
  Hmm. I have been in my spare time working to remove the tray icon
  completely from the filedaemon and replace it with a standalone tray
  application. One reason for this is that it is problem with security
  on vista. And also others have asked to remove the tray completely for
  several reasons.
 
 uh oh, that would be a real problem for us, we really need the tray
 icon. 

I think if you explained why you really need the tray icon it would 
help everyone better understand the situation.  What would you be 
unable to do?   

 We wouldn't mind a stand along application, it doesn't make any
 difference for our purposes, but it would really be a problem if it was
 completely removed. 

When you say complete removed, are you referring to the functions now 
available through the tray icon?  I understand all existing 
functionality will be retained.  It will no longer be available 
through the tray icon, but through another interface.




-- 
Dan Langille - http://www.langille.org/
Available for hire: http://www.freebsddiary.org/dan_langille.php



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] cassette icon disappears

2007-09-11 Thread John Drescher
On 9/11/07, Dimitrios [EMAIL PROTECTED] wrote:
 On Tue, 11 Sep 2007 11:17:38 -0400 John Drescher [EMAIL PROTECTED] wrote:

  What version of bacula?

 v2.2.3 i believe (windows installer, downloaded from sourceforge).

If I do indeed get some time this week I plan to get some serious work
done on this so I will try to test the latest source in the process. I
have an idea why this could be the case but I am unsure if there were
changes in the current version that caused that.

John

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] cassette icon disappears

2007-09-11 Thread John Drescher
 When you say complete removed, are you referring to the functions now
 available through the tray icon?  I understand all existing
 functionality will be retained.  It will no longer be available
 through the tray icon, but through another interface.

Kern had me working on taking the tray icon code out of bacula-fd.exe
and making a new application that (may or may not contain a tray icon)
but still has all the functionality of the old tray icon. In this
process I was working on combining the bulk of the current unix
bacula-tray-monitor code with the win32 code so that they would share
as much of the code as possible but have different gui code. I hope to
get back to this sometime this week. I know this is taking me forever
and I hope Kern has not totally given up on me for this task. My main
problem is that both of the programmers I work with at the day job are
leaving and I need to hire a replacement as soon as I can at the same
time I am behind a deadline so the little time that I thought I had
became zero time.

John

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] cassette icon disappears

2007-09-11 Thread Dan Langille
On 11 Sep 2007 at 14:06, John Drescher wrote:

  When you say complete removed, are you referring to the functions now
  available through the tray icon?  I understand all existing
  functionality will be retained.  It will no longer be available
  through the tray icon, but through another interface.
 
 Kern had me working on taking the tray icon code out of bacula-fd.exe
 and making a new application that (may or may not contain a tray icon)
 but still has all the functionality of the old tray icon. In this
 process I was working on combining the bulk of the current unix
 bacula-tray-monitor code with the win32 code so that they would share
 as much of the code as possible but have different gui code. I hope to
 get back to this sometime this week. I know this is taking me forever
 and I hope Kern has not totally given up on me for this task. My main
 problem is that both of the programmers I work with at the day job are
 leaving and I need to hire a replacement as soon as I can at the same
 time I am behind a deadline so the little time that I thought I had
 became zero time.

John: Real life always comes first. Do not worry about Bacula.  It is 
 done in our spare [and volunteer] time.  Bacula can wait.  Your real 
paid job cannot.  You're making the right choices.



-- 
Dan Langille - http://www.langille.org/
Available for hire: http://www.freebsddiary.org/dan_langille.php



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] cassette icon disappears

2007-09-11 Thread Dimitrios
On Tue, 11 Sep 2007 13:56:40 -0400 Dan Langille [EMAIL PROTECTED] wrote:

 I think if you explained why you really need the tray icon it would 
 help everyone better understand the situation.  What would you be 
 unable to do?   

The machine runs a special type of control software that manages a printing 
press. In that same machine we store special files which deal with the 
configuration of the press machine, along with whatever is there to be printed.

Thus the computer requires several people to be working on it, while i'm trying 
to do backups (none of the systems are allowed to be on power after the press 
is shut down, the electricity of the whole floor is shut down, thus backups are 
done while we work).

As a result, its important for the people working on the system to look at the 
cassette icon because some printing jobs may require the server to run at 
full utilization and thus the backup shouldn't be running. So they just wait 
for a few minutes before running any such job for the backup process to 
complete (doesn't take too long, just a few minutes, but its important not to 
run in parallel with any printing job).

If you need more details please let me know.

 
 When you say complete removed, are you referring to the functions now 
 available through the tray icon?  I understand all existing 
 functionality will be retained.  It will no longer be available 
 through the tray icon, but through another interface.

Well, we don't use the log that can be accessed via right-clicking on the 
icon, we only need to know when bacula-fd is running a backup or not (a time 
estimate for completition of the job would have been even better, but thats 
just cosmetic).


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] cassette icon disappears

2007-09-11 Thread John Drescher
 Interestingly, if we re-start the service, the cassette icon reappears, but 
 only untill we reset the machine.

I am a little confused at that statement. How long is it up after
restarting the service? Are you logging out? Is it possible that
explorer.exe crashed during this time?

John

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] cassette icon disappears

2007-09-11 Thread Dimitrios
On Tue, 11 Sep 2007 14:30:19 -0400 John Drescher [EMAIL PROTECTED] wrote:

 I am a little confused at that statement. How long is it up after
 restarting the service? Are you logging out? Is it possible that
 explorer.exe crashed during this time?

i'm sorry, i may not have explained it correctly.

1) install bacula-fd on win2003 server, installation completes and the cassette 
icon appears on the system tray.

2) system is kept running while the people work on the printing press (backup 
starts and the green lights turn on and off once backup is complete).

3) at the end of the shift, all systems are shutdown and power is cut from the 
whole floor.

4) next day in the morning, all systems are powered and the shift starts work 
on the printing press, at which point we realise that the cassette icon is not 
in the system tray, although the bacula-fd is running in the background (as 
Services reports).

5) we manually stop and restart the service and the cassette icon now appears 
on the system tray.


i believe the tray icon appears when we are logged in on the system and manualy 
start the service, but it doesn't appear when the machine has booted and 
started the bacula-fd on its own.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] cassette icon disappears

2007-09-11 Thread John Drescher
On 9/11/07, Dimitrios [EMAIL PROTECTED] wrote:
 On Tue, 11 Sep 2007 14:30:19 -0400 John Drescher [EMAIL PROTECTED] wrote:

  I am a little confused at that statement. How long is it up after
  restarting the service? Are you logging out? Is it possible that
  explorer.exe crashed during this time?

 i'm sorry, i may not have explained it correctly.

 1) install bacula-fd on win2003 server, installation completes and the 
 cassette icon appears on the system tray.

 2) system is kept running while the people work on the printing press (backup 
 starts and the green lights turn on and off once backup is complete).

 3) at the end of the shift, all systems are shutdown and power is cut from 
 the whole floor.

 4) next day in the morning, all systems are powered and the shift starts work 
 on the printing press, at which point we realise that the cassette icon is 
 not in the system tray, although the bacula-fd is running in the background 
 (as Services reports).

 5) we manually stop and restart the service and the cassette icon now appears 
 on the system tray.


 i believe the tray icon appears when we are logged in on the system and 
 manualy start the service, but it doesn't appear when the machine has booted 
 and started the bacula-fd on its own.

Thanks. I will see if I can replicate that.

Also a quick workaround may be the following:
1) Change Bacula File Server service startup type to be Manual instead
of Automatic.

2) Then in a batch file in the startup folder of user issue a net
start Bacula File Server

However this may not work if the logged in user does not have
permissions to start/stop services.

John

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users