Hi,

I appreciate that this problem is OS specific (Windows 2003 Server) and has
nothing to do with Log4j. I was hoping someone could maybe help out anyway,
because it's really wierd. The disk is definately not full, so this is
(probably) a permission problem.

Since we control the host completely I've assigned permissions as widely as
I can.  

E:\BaseCamp\Production\MBX (and sub-containers) is read/write/executable etc
for Administrators, Users, and System. The NT-Service service running the
Java program not able to roll, run as the System user (default). The funny
thing is, that I have another service (also installed as an NT service and
running as user System), installed under the same root
(E:\BaseCamp\Production\MBX) - this service, also using Log4j is rolling
logs just fine every midnight. The only notable differences configuration
wise are these:

* The system rolling logs fine is using a public JRE installed on the host
* The system rolling logs fine is using the default policy file

* The system failing to roll logs is using a private JRE (same version
though)
* The system failing to roll logs is using a custom policy file, which in
addition to default permissions, also grants permission
'java.security.AllPermission'

Any input would be much appreciated.

--

Thomas



|  Permissions, disk space, etc.  Under the same login can you 
|  do the rename?
|  
|  On 9/8/06, Thomas Muller <[EMAIL PROTECTED]> wrote:
|  > Hi,
|  >
|  > Out of the blue, a lot of our applications fail to roll 
|  logs at midnight.
|  >
|  > OS: Win2003 Server
|  > Log4j version 1.2.13
|  >
|  > Se config file attached.
|  >
|  >
|  > 08 Sep 2006 00:00:04,225 [hread-12] log4j:ERROR Failed to rename
|  > [E:\BaseCamp\Production\MBX\Gateway/log/tic-session.log] to
|  > 
|  [E:\BaseCamp\Production\MBX\Gateway/log/tic-session.log.2006-09-07].
|  > 08 Sep 2006 00:00:04,225 [Thread-9] log4j:ERROR Failed to rename
|  > 
|  [E:\BaseCamp\Production\MBX\Gateway/log/smpp-session-manager.log] to
|  > 
|  [E:\BaseCamp\Production\MBX\Gateway/log/smpp-session-manager.
|  log.2006-09-07]
|  > .
|  > 08 Sep 2006 00:00:04,600 [thread-4] log4j:ERROR Failed to rename
|  > [E:\BaseCamp\Production\MBX\Gateway/log/tic-authentication.log] to
|  > 
|  [E:\BaseCamp\Production\MBX\Gateway/log/tic-authentication.lo
|  g.2006-09-07].
|  > 08 Sep 2006 00:00:04,600 [hread-13] log4j:ERROR Failed to rename
|  > [E:\BaseCamp\Production\MBX\Gateway/log/main.log] to
|  > [E:\BaseCamp\Production\MBX\Gateway/log/main.log.2006-09-07].
|  > 08 Sep 2006 00:00:04,631 [hread-15] log4j:ERROR Failed to rename
|  > [E:\BaseCamp\Production\MBX\Gateway/log/management.log] to
|  > [E:\BaseCamp\Production\MBX\Gateway/log/management.log.2006-09-07].
|  > 08 Sep 2006 00:00:18,318 [hread-10] log4j:ERROR Failed to rename
|  > [E:\BaseCamp\Production\MBX\Gateway/log/smpp-session.log] to
|  > 
|  [E:\BaseCamp\Production\MBX\Gateway/log/smpp-session.log.2006-09-07].
|  > 08 Sep 2006 00:01:10,287 [hread-15] log4j:ERROR Failed to rename
|  > [E:\BaseCamp\Production\MBX\Gateway/log/ldap.log] to
|  > [E:\BaseCamp\Production\MBX\Gateway/log/ldap.log.2006-09-07].
|  > 08 Sep 2006 00:04:33,990 [ls=[{}]]] log4j:ERROR Failed to rename
|  > [E:\BaseCamp\Production\MBX\Gateway/log/ssh.log] to
|  > [E:\BaseCamp\Production\MBX\Gateway/log/ssh.log.2006-09-07].
|  > 08 Sep 2006 00:04:34,225 [ls=[{}]]] log4j:ERROR Failed to rename
|  > [E:\BaseCamp\Production\MBX\Gateway/log/ssh.log] to
|  > [E:\BaseCamp\Production\MBX\Gateway/log/ssh.log.2006-09-07].
|  > 08 Sep 2006 00:06:49,990 [Thread-7] log4j:ERROR Failed to rename
|  > [E:\BaseCamp\Production\MBX\Gateway/log/mediator.log] to
|  > [E:\BaseCamp\Production\MBX\Gateway/log/mediator.log.2006-09-07].
|  > 08 Sep 2006 00:06:50,021 [Thread-8] log4j:ERROR Failed to rename
|  > [E:\BaseCamp\Production\MBX\Gateway/log/cluster-manager.log] to
|  > 
|  [E:\BaseCamp\Production\MBX\Gateway/log/cluster-manager.log.2
|  006-09-07].
|  > 08 Sep 2006 00:06:50,162 [thread-4] log4j:ERROR Failed to rename
|  > [E:\BaseCamp\Production\MBX\Gateway/log/signals.log] to
|  > [E:\BaseCamp\Production\MBX\Gateway/log/signals.log.2006-09-07].
|  >
|  > Any ideas?
|  >
|  > --
|  >
|  > Thomas
|  >
|  >
|  > 
|  ---------------------------------------------------------------------
|  > To unsubscribe, e-mail: [EMAIL PROTECTED]
|  > For additional commands, e-mail: [EMAIL PROTECTED]
|  >
|  >
|  >
|  
|  
|  -- 
|  James Stauffer        http://www.geocities.com/stauffer_james/
|  Are you good? Take the test at http://www.livingwaters.com/good/
|  
|  
|  


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to