Create the directory and the default sub directories:
Navigate to /var/log/opt/:
# cd /var/log/opt/
Create the SmartLog directory:
# mkdir CPSmartLog-R<XX>
Create the sub directories for CPSmartLog-R<XX>:
# cd /var/log/opt/CPSmartLog-R<XX>/
# mkdir data
# mkdir log
Restart smartlog_server process:
# smartlogstop
# smartlogstart
Verify that the log files have generated in /var/log/opt/CPSmartLog-R<XX>/log/:
The following files should be present:
- smartlogRun.log
- smartlog_server.elg
# ls -l /var/log/opt/CPSmartLog-R<XX>/log/
Verify that the users_settings directory was created in /var/log/opt/CPSmartLog-R<XX>/data/:
There will be user sub-directories created in users_settings:
# ls -l /var/log/opt/CPSmartLog-R<XX>/data/