cancel
Showing results for 
Search instead for 
Did you mean: 

How to overwrite/remove log files?

Former Member
0 Kudos

MaxDB Version: 7.5.0.0(That comes with WebAS6.4 - EP6 sp9 test version)

OS : Windows XP Pro.

I logined to the webdbm.

http://<host>:9999/webdbm

It shows that log is 100%(When it is <I>online</I>). So I want to either delete the log file or to overwrite. AUTOLOG shows it is OFF.

I could not change log mode from left navigation links.

I alloted only 1000MB for logs while installation.

Any Thoughts?

Thanks

Ajay

Accepted Solutions (1)

Accepted Solutions (1)

roland_mallmann
Advisor
Advisor
0 Kudos

Hi,

if your Log is full, then one should:

1. Make a Log backup. This will free up the Log.

2. In order to make a Log backup, a Full Data backup is needed. So in case you didn't make a Data backup yet, you'll need one.

3. Additionally, one can switch off the Log-writing generally, which we normally wouldn't recommend in 'serious' environments: set logwriter off.

Kind regards,

Roland

Former Member
0 Kudos

Roland,

Thanks for ur immediate response.

I am just working on test version on my local system. I don't care abt the log files. Just I need someway to free the log area.

C:Documents and Settingsone>dbmcli -d j2e -u control,control set logwriter off

ERR
-24977,ERR_COMMAND: unknown command "set"

Can u please give me the steps for (atleast) one method?

Thanks

Ajay

roland_mallmann
Advisor
Advisor
0 Kudos

Hi Ajay,

additionally, you can choose to have the log being overwritten automatically.

Both commands are executed with dbmcli like:

dbmcli [-n <hostname>] -d <databasename> -u <dbmuser>,<dbmuserpw> util_execute set log auto overwrite on

Auto overwrite can be executed in both online and admin mode, but 'log writer off' can only be execute in admin mode.

Regards,

Roland

Former Member
0 Kudos

Roland,

Yes. It worked.

Thanks

Ajay

Answers (1)

Answers (1)

Former Member
0 Kudos

Thank you very much. It worked.