sudo vim /etc/syslog.conf
add
cron.* /var/log/cron.log
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.syslogd.plist
sudo launchctl load /System/Library/LaunchDaemons/com.apple.syslogd.plist
This will enable logging for cronjobs.
sudo vim /etc/syslog.conf
add
cron.* /var/log/cron.log
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.syslogd.plist
sudo launchctl load /System/Library/LaunchDaemons/com.apple.syslogd.plist
This will enable logging for cronjobs.
During the snmp daemon enabling in vmware esxi 5.5.0 the following error appears.
We have to enable snmp service in /etc/vmware/snmp.xml , log through in ssh and
~ # vi /etc/vmware/snmp.xml
this is the default content
<config><snmpSettings><enable>false</enable><communities></communities><targets></targets></snmpSettings></config>
change
<enable>false</enable>
to
<enable>true</enable>
also we can add and snmp community
<communities>public</communities>
restart all the services
/sbin/services.sh restart
Stop ssh daemon
sudo launchctl unload /System/Library/LaunchDaemons/ssh.plist
Start ssh daemon
sudo launchctl load /System/Library/LaunchDaemons/ssh.plist