On 2012-2-15 18:30, David Jaša wrote:
Shu Ming píše v St 15. 02. 2012 v 17:17 +0800:
> Hi,
> I deleted the engine.log under /var/log/ovirt-engine by mistake. It
> seems that the log file can not be recreated whatever engine-clean and
> engine-setup were run. Even rebooting the server didn't work. Is there
> any quick way to bring my engine.log back?
>
I would try to touch the file, modify permissions to match those of
other log files in directory and then restore its selinux context.
That is what I
did. But don't know hot to restore its selinux context,
do have have an example?
David
--
Shu Ming<shuming(a)linux.vnet.ibm.com>
IBM China Systems and Technology Laboratory