Page 1 of 1

ZoneMinder Console - Stopped - v1.22.2

Posted: Tue Jun 27, 2006 3:24 pm
by federom
I Have a problem, i installed from scratch Zoneminder on CentOS , i started the zm service with zmpkg.pl start, and after that zmpkg.pl status, and shows that zm is running, but when I go to the web interface It says ZoneMinder Console - Stopped, and never start.
In /log/messages i found this , but i cant figure out whats going on.
any ideas ? thanks in advance !

Code: Select all

root@localhost tmp]# tail -f /var/log/messages
Jun 27 12:19:10 localhost kernel: audit(1151421550.200:88): avc:  denied  { write } for  pid=24652 comm="zmdc.pl" name="zmdc.sock" dev=sda1 ino=865265 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:tmp_t tclass=sock_file
Jun 27 12:19:11 localhost kernel: audit(1151421551.988:89): avc:  denied  { ioctl } for  pid=24654 comm="zmdc.pl" name="error_log" dev=sda1 ino=784545 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:httpd_log_t tclass=file
Jun 27 12:19:13 localhost kernel: audit(1151421553.079:90): avc:  denied  { write } for  pid=24654 comm="zmdc.pl" name="zmdc.sock" dev=sda1 ino=865265 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:tmp_t tclass=sock_file
Jun 27 12:19:14 localhost kernel: audit(1151421554.928:91): avc:  denied  { write } for  pid=24657 comm="zmpkg.pl" name="log" dev=tmpfs ino=4122 scontext=root:system_r:httpd_sys_script_t tcontext=user_u:object_r:devlog_t tclass=sock_file
Jun 27 12:19:14 localhost kernel: audit(1151421554.929:92): avc:  denied  { create } for  pid=24657 comm="zmpkg.pl" scontext=root:system_r:httpd_sys_script_t tcontext=root:system_r:httpd_sys_script_t tclass=unix_dgram_socket
Jun 27 12:19:14 localhost kernel: audit(1151421554.929:93): avc:  denied  { getattr } for  pid=24657 comm="zmpkg.pl" name="console" dev=tmpfs ino=352 scontext=root:system_r:httpd_sys_script_t tcontext=system_u:object_r:console_device_t tclass=chr_file
Jun 27 12:19:15 localhost kernel: audit(1151421555.259:94): avc:  denied  { ioctl } for  pid=24659 comm="zmdc.pl" name="error_log" dev=sda1 ino=784545 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:httpd_log_t tclass=file
Jun 27 12:19:16 localhost kernel: audit(1151421556.357:95): avc:  denied  { write } for  pid=24659 comm="zmdc.pl" name="zmdc.sock" dev=sda1 ino=865265 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:tmp_t tclass=sock_file
Jun 27 12:19:16 localhost kernel: audit(1151421556.398:96): avc:  denied  { read } for  pid=24661 comm="uptime" name="utmp" dev=sda1 ino=783370 scontext=root:system_r:httpd_sys_script_t tcontext=user_u:object_r:initrc_var_run_t tclass=file
Jun 27 12:19:16 localhost kernel: audit(1151421556.399:97): avc:  denied  { read } for  pid=24661 comm="uptime" name="utmp" dev=sda1 ino=783370 scontext=root:system_r:httpd_sys_script_t tcontext=user_u:object_r:initrc_var_run_t tclass=file
Jun 27 12:19:26 localhost kernel: audit(1151421566.394:98): avc:  denied  { ioctl } for  pid=24664 comm="zmdc.pl" name="error_log" dev=sda1 ino=784545 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:httpd_log_t tclass=file
Jun 27 12:19:27 localhost kernel: audit(1151421567.485:99): avc:  denied  { write } for  pid=24664 comm="zmdc.pl" name="zmdc.sock" dev=sda1 ino=865265 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:tmp_t tclass=sock_file
Jun 27 12:19:31 localhost kernel: audit(1151421571.853:100): avc:  denied  { ioctl } for  pid=24667 comm="zmdc.pl" name="error_log" dev=sda1 ino=784545 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:httpd_log_t tclass=file
Jun 27 12:19:32 localhost kernel: audit(1151421572.944:101): avc:  denied  { write } for  pid=24667 comm="zmdc.pl" name="zmdc.sock" dev=sda1 ino=865265 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:tmp_t tclass=sock_file
Jun 27 12:19:34 localhost kernel: audit(1151421574.773:102): avc:  denied  { write } for  pid=24670 comm="zmpkg.pl" name="log" dev=tmpfs ino=4122 scontext=root:system_r:httpd_sys_script_t tcontext=user_u:object_r:devlog_t tclass=sock_file
Jun 27 12:19:34 localhost kernel: audit(1151421574.773:103): avc:  denied  { create } for  pid=24670 comm="zmpkg.pl" scontext=root:system_r:httpd_sys_script_t tcontext=root:system_r:httpd_sys_script_t tclass=unix_dgram_socket
Jun 27 12:19:34 localhost kernel: audit(1151421574.774:104): avc:  denied  { getattr } for  pid=24670 comm="zmpkg.pl" name="console" dev=tmpfs ino=352 scontext=root:system_r:httpd_sys_script_t tcontext=system_u:object_r:console_device_t tclass=chr_file
Jun 27 12:19:35 localhost kernel: audit(1151421575.602:105): avc:  denied  { ioctl } for  pid=24672 comm="zmdc.pl" name="error_log" dev=sda1 ino=784545 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:httpd_log_t tclass=file
Jun 27 12:19:36 localhost kernel: audit(1151421576.692:106): avc:  denied  { write } for  pid=24672 comm="zmdc.pl" name="zmdc.sock" dev=sda1 ino=865265 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:tmp_t tclass=sock_file
Jun 27 12:19:36 localhost kernel: audit(1151421576.731:107): avc:  denied  { read } for  pid=24674 comm="uptime" name="utmp" dev=sda1 ino=783370 scontext=root:system_r:httpd_sys_script_t tcontext=user_u:object_r:initrc_var_run_t tclass=file
Jun 27 12:19:36 localhost kernel: audit(1151421576.732:108): avc:  denied  { read } for  pid=24674 comm="uptime" name="utmp" dev=sda1 ino=783370 scontext=root:system_r:httpd_sys_script_t tcontext=user_u:object_r:initrc_var_run_t tclass=file

Posted: Tue Jun 27, 2006 3:32 pm
by zoneminder
This looks like selinux, see the faq.

Posted: Tue Jun 27, 2006 4:32 pm
by federom
thanks so much Phill !!! That worked for me ! :D