I need to recreate my /var/log directory

Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"

Top Level » System Level

I need to recreate my /var/log directoryLast Modified: May 17, 2010, 2:50 pm
If you've accidently removed your /var/log directory, or it was removed by someone else, to recreate it with all permissions, type:

mkdir -m 755 /var/log
cd /var/log
mkdir -m 700 directadmin httpd
mkdir -m 755 exim proftpd httpd/domains
chown diradmin:diradmin directadmin
chown mail:mail exim

/etc/init.d/httpd restart
/etc/init.d/directadmin restart
/etc/init.d/exim restart
/etc/init.d/proftpd restart
/etc/init.d/syslog restart

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST