Page 1 of 1

newb - debian wheezy install

Posted: Fri Jun 07, 2013 12:05 am
by qu1nn
Hello,

I am a newb who has used under opensuse brielfy in the past who is attempting to learn debian.
have downloaded the latest debian cd (7.0.0_i386) and used synaptics to install zoneminder (1.25.0-4) . I am getting a 404 error when trying to log into http://localhost/zm/. There is no messages in the /var/log/zm.
If I do a su terminal and type service zoneminder stop, then service zoneminder restart, I get no errors.
I can ping -c5 localhost with no problems

I did several google keyword searches for wheezy, zoneminder, and 404 but came up empty.

Any suggestions for this newb?

regards.
qu1nn

Re: newb - debian wheezy install

Posted: Fri Jun 07, 2013 2:15 am
by themasam
just a thought, do you have Apache and Mysql running?

Re: newb - debian wheezy install

Posted: Fri Jun 07, 2013 2:57 am
by qu1nn
I am pretty sure. See Highlight.


root@debian:/home/jason# ps -aux
warning: bad ps syntax, perhaps a bogus '-'?
See http://gitorious.org/procps/procps/blob ... tation/FAQ
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 2280 724 ? Ss 19:23 0:01 init [2]
root 2 0.0 0.0 0 0 ? S 19:23 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S 19:23 0:00 [ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S 19:23 0:00 [kworker/u:0]
root 6 0.0 0.0 0 0 ? S 19:23 0:00 [migration/0]
root 7 0.0 0.0 0 0 ? S 19:23 0:00 [watchdog/0]
root 8 0.0 0.0 0 0 ? S< 19:23 0:00 [cpuset]
root 9 0.0 0.0 0 0 ? S< 19:23 0:00 [khelper]
root 10 0.0 0.0 0 0 ? S 19:23 0:00 [kdevtmpfs]
root 11 0.0 0.0 0 0 ? S< 19:23 0:00 [netns]
root 12 0.0 0.0 0 0 ? S 19:23 0:00 [sync_supers]
root 13 0.0 0.0 0 0 ? S 19:23 0:00 [bdi-default]
root 14 0.0 0.0 0 0 ? S< 19:23 0:00 [kintegrityd]
root 15 0.0 0.0 0 0 ? S< 19:23 0:00 [kblockd]
root 17 0.0 0.0 0 0 ? S 19:23 0:00 [khungtaskd]
root 18 0.0 0.0 0 0 ? S 19:23 0:00 [kswapd0]
root 19 0.0 0.0 0 0 ? SN 19:23 0:00 [ksmd]
root 20 0.0 0.0 0 0 ? SN 19:23 0:00 [khugepaged]
root 21 0.0 0.0 0 0 ? S 19:23 0:00 [fsnotify_mark]
root 22 0.0 0.0 0 0 ? S< 19:23 0:00 [crypto]
root 84 0.0 0.0 0 0 ? S 19:23 0:00 [khubd]
root 111 0.0 0.0 0 0 ? S< 19:23 0:00 [ata_sff]
root 112 0.0 0.0 0 0 ? S 19:23 0:00 [scsi_eh_0]
root 113 0.0 0.0 0 0 ? S 19:23 0:01 [scsi_eh_1]
root 114 0.0 0.0 0 0 ? S 19:23 0:00 [kworker/u:1]
root 151 0.0 0.0 0 0 ? S 19:23 0:00 [jbd2/sda1-8]
root 152 0.0 0.0 0 0 ? S< 19:23 0:00 [ext4-dio-unwri
root 296 0.0 0.1 2936 1484 ? Ss 19:23 0:00 udevd --daemon
root 419 0.0 0.1 2932 1204 ? S 19:23 0:00 udevd --daemon
root 420 0.0 0.1 2932 1056 ? S 19:23 0:00 udevd --daemon
root 435 0.0 0.0 0 0 ? S< 19:23 0:00 [kpsmoused]
root 453 0.0 0.0 0 0 ? S< 19:23 0:00 [ttm_swap]
root 1688 0.0 0.0 2376 772 ? Ss 19:23 0:00 /sbin/rpcbind -
statd 1720 0.0 0.1 2648 1232 ? Ss 19:23 0:00 /sbin/rpc.statd
root 1725 0.0 0.0 0 0 ? S< 19:23 0:00 [rpciod]
root 1738 0.0 0.0 0 0 ? S< 19:23 0:00 [nfsiod]
root 1748 0.0 0.0 2576 388 ? Ss 19:23 0:00 /usr/sbin/rpc.i
root 2032 0.0 0.1 28072 1624 ? Sl 19:23 0:00 /usr/sbin/rsysl
root 2145 0.0 0.1 5180 1848 ? Ss 19:23 0:00 dhclient -v -pf
root 2154 0.0 0.0 0 0 ? S 19:23 0:00 [flush-8:0]
101 2166 0.0 0.1 3796 1912 ? Ss 19:23 0:00 /usr/bin/dbus-d
root 2193 0.0 0.0 1876 612 ? Ss 19:23 0:00 /usr/sbin/acpid
root 2221 0.0 0.4 18388 5008 ? Ssl 19:23 0:00 /usr/sbin/Netwo
root 2261 0.0 0.4 25984 4188 ? Sl 19:23 0:01 /usr/lib/policy
root 2272 0.0 0.2 18024 2816 ? Sl 19:23 0:00 /usr/sbin/gdm3
root 2291 0.0 0.3 20572 4088 ? Sl 19:23 0:00 /usr/lib/gdm3/g
root 2300 1.1 7.5 99788 78580 tty7 Ss+ 19:23 2:28 /usr/bin/Xorg :
root 2319 0.0 0.2 6888 2712 ? S 19:23 0:00 /usr/sbin/modem
root 2342 0.0 0.7 36792 7612 ? Ss 19:23 0:00 /usr/sbin/apach
daemon 2368 0.0 0.0 2152 120 ? Ss 19:23 0:00 /usr/sbin/atd
avahi 2395 0.0 0.1 3160 1436 ? S 19:23 0:00 avahi-daemon: r
avahi 2396 0.0 0.0 3160 432 ? S 19:23 0:00 avahi-daemon: c
www-data 2418 0.0 0.4 37040 4984 ? S 19:23 0:00 /usr/sbin/apach
www-data 2419 0.0 0.4 37040 5084 ? S 19:23 0:00 /usr/sbin/apach
www-data 2420 0.0 0.4 37040 4984 ? S 19:23 0:00 /usr/sbin/apach
www-data 2421 0.0 0.4 37040 5080 ? S 19:23 0:00 /usr/sbin/apach
www-data 2422 0.0 0.4 37040 4984 ? S 19:23 0:00 /usr/sbin/apach

root 2429 0.0 0.1 4484 1368 ? Ss 19:23 0:00 /usr/sbin/bluet
root 2499 0.0 0.0 3836 964 ? Ss 19:23 0:00 /usr/sbin/cron
root 2560 0.0 0.0 1932 564 ? S 19:23 0:00 /bin/sh /usr/bi
root 2586 0.0 0.2 22368 2984 ? Sl 19:23 0:00 /usr/lib/accoun
root 2687 0.0 0.3 27060 3460 ? Sl 19:23 0:00 /usr/sbin/conso
mysql 2972 0.0 3.2 326660 33824 ? Sl 19:23 0:09 /usr/sbin/mysql
root 2973 0.0 0.0 1852 552 ? S 19:23 0:00 logger -t mysql
root 3034 0.0 0.3 26376 3768 ? Sl 19:23 0:00 /usr/lib/upower
root 3244 0.0 0.0 2052 616 ? Ss 19:23 0:00 /usr/sbin/inetd
rtkit 3316 0.0 0.1 18980 1188 ? SNl 19:23 0:00 /usr/lib/rtkit/
postgres 3435 0.0 0.7 46644 7444 ? S 19:23 0:01 /usr/lib/postgr
root 3446 0.0 0.3 27060 4060 ? Sl 19:23 0:00 gdm-session-wor
postgres 3449 0.0 0.1 46644 1536 ? Ss 19:23 0:01 postgres: write
postgres 3450 0.0 0.1 46644 1292 ? Ss 19:23 0:01 postgres: wal w
postgres 3451 0.0 0.2 47076 2356 ? Ss 19:23 0:00 postgres: autov
postgres 3452 0.0 0.1 16844 1344 ? Ss 19:23 0:00 postgres: stats
root 3494 0.0 0.1 10192 1672 ? Ss 19:23 0:00 /usr/sbin/nmbd
root 3497 0.0 0.3 19792 3128 ? Ss 19:23 0:00 /usr/sbin/smbd
root 3519 0.0 0.1 20308 1092 ? S 19:23 0:00 /usr/sbin/smbd
root 3537 0.0 0.1 6464 1040 ? Ss 19:23 0:00 /usr/sbin/sshd
104 3834 0.0 0.0 7424 944 ? Ss 19:23 0:00 /usr/sbin/exim4
root 3865 0.0 0.2 15760 2080 ? Ss 19:23 0:00 /usr/sbin/winbi
root 3884 0.0 0.1 15760 1192 ? S 19:23 0:00 /usr/sbin/winbi
jason 3910 0.0 0.3 59324 3812 ? Sl 19:23 0:00 /usr/bin/gnome-
root 3912 0.0 0.0 0 0 ? S 19:23 0:00 [kauditd]
jason 3928 0.0 0.8 48992 9120 ? Ssl 19:23 0:00 x-session-manag
jason 3978 0.0 0.0 3868 216 ? Ss 19:23 0:00 /usr/bin/ssh-ag
jason 3981 0.0 0.0 3516 512 ? S 19:23 0:00 /usr/bin/dbus-l
jason 3982 0.0 0.1 5024 2056 ? Ss 19:23 0:01 /usr/bin/dbus-d
jason 3990 0.0 1.4 153500 14944 ? Sl 19:23 0:02 /usr/lib/gnome-
jason 4012 0.0 0.2 8588 2336 ? S 19:23 0:00 /usr/lib/gvfs/g
jason 4018 0.0 0.5 106156 6084 ? S<l 19:23 0:00 /usr/bin/pulsea
jason 4027 0.0 0.3 9320 3280 ? S 19:23 0:00 /usr/lib/gvfs/g
root 4029 0.0 0.3 23020 3564 ? Sl 19:23 0:00 /usr/lib/udisks
root 4030 0.0 0.0 6352 724 ? S 19:23 0:00 udisks-daemon:
jason 4033 0.0 0.2 19100 2224 ? Sl 19:23 0:00 /usr/lib/gvfs/g
jason 4037 0.0 0.2 8664 2108 ? S 19:23 0:00 /usr/lib/gvfs/g
colord 4041 0.0 0.4 24560 4232 ? Sl 19:23 0:00 /usr/lib/i386-l
jason 4046 0.0 1.0 115340 10856 ? Sl 19:24 0:04 /usr/bin/metaci
colord 4056 0.0 0.7 42000 7600 ? Sl 19:24 0:00 /usr/lib/i386-l
jason 4057 0.1 2.0 175928 21632 ? Sl 19:24 0:15 gnome-panel
jason 4069 0.0 0.3 46328 3788 ? Sl 19:24 0:00 /usr/lib/gnome-
jason 4075 0.0 0.2 8600 2848 ? S 19:24 0:00 /usr/lib/i386-l
root 4088 0.0 0.0 1848 432 ? Ss 19:24 0:00 /usr/sbin/minis
root 4096 0.0 0.0 3780 840 tty1 Ss+ 19:24 0:00 /sbin/getty 384
root 4097 0.0 0.0 3780 844 tty2 Ss+ 19:24 0:00 /sbin/getty 384
root 4098 0.0 0.0 3780 852 tty3 Ss+ 19:24 0:00 /sbin/getty 384
root 4099 0.0 0.0 3780 844 tty4 Ss+ 19:24 0:00 /sbin/getty 384
root 4100 0.0 0.0 3780 844 tty5 Ss+ 19:24 0:00 /sbin/getty 384
root 4101 0.0 0.0 3780 844 tty6 Ss+ 19:24 0:00 /sbin/getty 384
jason 4103 0.0 0.2 30332 2376 ? Sl 19:24 0:00 /usr/lib/dconf/
jason 4108 0.0 0.7 24768 8176 ? S 19:24 0:00 /usr/lib/gnome-
jason 4109 0.0 1.1 59156 12216 ? Sl 19:24 0:00 /usr/lib/evolut
jason 4113 0.0 0.7 48988 7352 ? SNl 19:24 0:00 /usr/lib/tracke
jason 4115 0.0 0.7 56160 8084 ? Sl 19:24 0:00 /usr/lib/gnome-
jason 4116 0.0 0.9 132944 9916 ? Sl 19:24 0:00 bluetooth-apple
jason 4123 0.0 1.1 133908 11712 ? Sl 19:24 0:03 gnome-screensav
jason 4124 0.0 0.8 64104 8280 ? Sl 19:24 0:00 /usr/lib/tracke
jason 4129 0.0 0.8 39492 8348 ? Sl 19:24 0:00 /usr/lib/notifi
jason 4132 0.0 1.1 133984 12052 ? Sl 19:24 0:00 /usr/lib/policy
jason 4133 0.0 1.1 194012 11920 ? Sl 19:24 0:00 gnome-sound-app
jason 4138 0.0 1.1 229516 12204 ? Sl 19:24 0:00 nm-applet
jason 4162 0.0 0.4 36508 4908 ? Sl 19:24 0:00 /usr/lib/telepa
jason 4166 0.0 0.9 91908 9540 ? Sl 19:24 0:00 /usr/lib/gnome-
jason 4189 0.0 0.3 32000 3112 ? Sl 19:24 0:00 /usr/lib/at-spi
www-data 4228 0.0 0.4 37040 4984 ? S 19:24 0:00 /usr/sbin/apach
root 4255 0.0 0.0 3516 516 ? S 19:26 0:00 dbus-launch --a
root 4256 0.0 0.0 3020 924 ? Ss 19:26 0:00 /usr/bin/dbus-d
root 4261 0.0 0.2 8496 2824 ? S 19:26 0:00 /usr/lib/i386-l
jason 4333 0.0 0.2 9008 2948 ? S 19:35 0:00 /usr/lib/gvfs/g
jason 4335 0.0 0.2 8176 2648 ? S 19:35 0:00 /usr/lib/gvfs/g
jason 4337 0.0 0.2 8616 2456 ? S 19:35 0:00 /usr/lib/gvfs/g
jason 4362 0.0 1.8 160140 19648 ? Sl 19:36 0:02 gedit /usr/shar
root 4471 0.0 0.1 4952 1564 ? S 19:42 0:00 su
root 4479 0.0 0.1 4704 1780 ? S 19:42 0:00 bash
www-data 4556 0.0 0.7 24136 7324 ? S 19:43 0:06 /usr/bin/perl -
www-data 4557 0.0 0.0 0 0 ? Z 19:43 0:00 [killall] <defu
www-data 4580 0.0 1.3 29476 14020 ? S 19:44 0:00 /usr/bin/perl -
www-data 4585 0.0 0.9 24852 9408 ? S 19:44 0:00 /usr/bin/perl -
www-data 4590 0.0 0.8 23892 8420 ? S 19:44 0:00 /usr/bin/perl -
jason 4601 0.2 15.3 570872 158684 ? Sl 19:45 0:33 iceweasel
jason 4651 4.5 16.0 632740 165612 ? Sl 19:48 8:17 /usr/lib/iceape
root 4685 0.0 0.1 4952 1512 ? S 19:49 0:00 su
root 4693 0.0 0.1 4704 1764 ? S 19:49 0:00 bash
root 4695 0.0 0.1 4952 1516 ? S 19:49 0:00 su
root 4703 0.0 0.1 4704 1760 ? S 19:49 0:00 bash
jason 4732 0.0 0.2 17248 3048 ? S 19:56 0:00 /usr/lib/gvfs/g
root 4759 0.0 0.0 1940 504 ? S 20:02 0:01 ping 192.168.1.
jason 4760 0.0 1.3 153260 14044 ? Sl 20:03 0:00 gnome-terminal
jason 4766 0.0 0.0 2080 692 ? S 20:03 0:00 gnome-pty-helpe
jason 4767 0.0 0.2 5236 2404 pts/1 Ss 20:03 0:00 bash
root 4904 0.0 0.0 0 0 ? S 20:41 0:02 [kworker/0:0]
root 5196 0.0 0.0 0 0 ? S 22:42 0:00 [kworker/0:1]
root 5203 0.0 0.0 0 0 ? S 22:47 0:00 [kworker/0:2]
root 5224 0.2 0.1 4952 1568 pts/1 S 22:51 0:00 su
root 5232 0.0 0.1 4704 1760 pts/1 S 22:51 0:00 bash
root 5234 0.0 0.1 4344 1132 pts/1 R+ 22:51 0:00 ps -aux

Re: newb - debian wheezy install

Posted: Sat Jun 08, 2013 3:54 pm
by gedger
I've almost got ZM working on Wheezy....

Have you set-up Apache?

cp /etc/zm/apache.conf /etc/apache2/sites-available/zm.conf

then symbolic link to enable the site

ln -s /etc/apache2/sites-available/zm.conf /etc/apache2/sites-enabled/zm.conf

I also needed to add the www-data user into the Video groups

usermod -a -G video www-data

I've just got to sort out why I can't stream the events....

Richard

Re: newb - debian wheezy install

Posted: Sat Jun 08, 2013 10:18 pm
by qu1nn
Thank you for your help.

I reinstalled debian wheezy with the kde desktop instead of gnome and retried. (I prefer kde anyways)
then I reinstalled zoneminder through synaptics
rebooted
did your 3 commands
then rebooted again
apache testing: terminal: ip addr show and plunked that ip into iceape browser = "It works"


and now I see the http://localhost/zm

Thanks a ton!!!
Now I get to play with some old android phones for a ip webcam network

later
qu1nn