Hi there
I’ve got some trouble with a growing log of my SCCM DB.
I checked the postings like “Cannot shrink log file because all logical log files are in use” but it doesn’t work for me.
I set the DB properties to :
- Recovery model - Simple (recommended for SCCM)
- Shrink action - Release unused space
It should be possible to shrink it (a lot)
Currently allocated space: 52608.38 MB
Available free space: 42890.80 MB (81%)
But running “DBCC SHRINKFILE (SMS_C01_Log, 2)” comes up with “Cannot shrink log file 2 (SMS_C01_Log) because all logical log files are in use.”
I tried “BACKUP LOG [SMS_C01] WITH TRUNCATE_ONLY” without any errors “Command(s) completed successfully.” but this didn’t change anything.
I stopped all SCCM services. The Activity Monitor only shows the SQL Management Studio as a running process.
Does someone has an idea how to figure which process could work on the log? I’m not an SQL-Guy at all.
Thanks
Alex