#zoneminder

/

      • barjac joined the channel
      • barjac-pi joined the channel
      • barjac has quit
      • shibboleth has quit
      • _Twice joined the channel
      • twice1 has quit
      • rob_h has quit
      • _Twice is now known as twice1
      • rhce7320 joined the channel
      • maximi89 joined the channel
      • maximi89 has quit
      • shuggans joined the channel
      • shuggans
        Ahh - was looking at the stock themes, click mobile - now cant get to settings page to witch back
      • switch*
      • says settings view does not exist
      • anyone have any magic for me?
      • twice1
        /zm?skin=flat or classic
      • maximi89 joined the channel
      • genii joined the channel
      • shuggans has quit
      • genii has quit
      • bhuddah
        moin
      • zombu2 has quit
      • BManojlovic joined the channel
      • BManojlovic has quit
      • BManojlovic joined the channel
      • zombu2 joined the channel
      • maximi89 has quit
      • zimzima joined the channel
      • zimzima
        Hellp
      • Hello*
      • bhuddah
        hey
      • digdilem_ is now known as digdilem
      • UukGoblin has quit
      • rob_h joined the channel
      • UukGoblin joined the channel
      • zimzima
        Do you know if there is a specific reason that the zoneminder console has no authentication by default?
      • bhuddah
        it's up to you to configure that.
      • zimzima
        Yeah I know, and that is the first thing I did
      • I was just wondering if there was a reason for that
      • bhuddah
        i don't know. it may be the usual way of doing things
      • it doesn't feel like it's a huge problem.
      • but it sure could be streamlined one way or the other
      • zimzima
        Not a HUGE problem sure, but a quick google search for intitle:"zm - console" is pretty scary
      • bhuddah
        ^^
      • okay. THAT is a good argument.
      • keeping people from exposing it would be very much better.
      • zimzima
        It surprises me how often software users overlook basic security measures
      • bhuddah
        yeah. and it's something i usually wouldn't have thought of.
      • zimzima
        That being said, I'm kinda guilty of that too sometimes
      • I'm setting up zoneminder for my company so I'm having a good look at security issues while I'm at it ^^
      • bhuddah
        very good. if you have findings do not hesitate to share them. best via github.
      • zimzima
        I most definately will, I rather like the project
      • definitely*
      • I can't seem to access the rpms hosted on bauerhaus.dyndns.org, but I got them yesterday. Anything change since then?
      • bhuddah
        maybe it's offline.. because it's dyndns...
      • it doesn't look like a regular server
      • barjac joined the channel
      • Slackology has quit
      • knnniggett joined the channel
      • Sagitt has quit
      • zimzima
        back up
      • Having another problem now.. I'm trying to set up zoneminder 1.27 on centos6, I'm getting a whole load of "Memory map file '/dev/shm/zm.mmap.3' should have been 896 but was instead 0"
      • bhuddah
        look in the wiki. i think there was something for that.. i think i had that error message too but i can't remember atm.
      • zimzima
        Ok thanks
      • bhuddah
        zimzima: have you found something?
      • zimzima
        not yet, I'm trying to get the latest version of fmpeg
      • just finished compiling, I'll let you know what happens
      • hum, still the same error
      • Could it possibly be a firewall issue? Seems like a longshot to me but the company firewall might be blocking the stream
      • I'm not sure I'd be getting that error though
      • Apparently a known issue with the git version of ffmpeg, trying with the recommended one
      • Complicated!
      • bhuddah
        very.
      • zimzima
        I got version 1.25 working fine on a debian server, can't seem to get 1.27 to work correctly though :(
      • bhuddah
        that's sad
      • zimzima
        Worst case I'll just fall back to 1.25
      • bhuddah
        nah.
      • i'd guess it is still an issue with the shmmax and so on.
      • what type of input are you using?
      • zimzima
        1.25? I think that was fixed as soon as I put the shared memory up to 128
      • IP camera stream
      • bhuddah
        what zm source type...
      • zimzima
        remote? Not sure what you mean
      • bhuddah
        yeah. because you care about ffmpeg...
      • if you use the remote source you don't need that.
      • zimzima
        Oh, ok. I found a few messages saying that the error I was having came from ffmpeg
      • Damn, really don't know what the problem is then
      • bhuddah
        at least this is what i think.
      • i would try with a smaller jpeg cam source.
      • and then test out the features 1 by 1 to see what works and what does not work.
      • zimzima
        The problem arises as soon as I try to add a monitor, after clicking save on the little monitor creating popup I get flooded with the error
      • But yeah, I'll try varying sources, functions etc
      • bhuddah
        have you tried it with a jpeg remote source with a low resolution?
      • zimzima
        nope, I'll try
      • same error
      • bhuddah
        hmmm okay.
      • zimzima
        I have the nagging sensation that I forgot something important
      • bhuddah
        can you confirm that your zm-user has access to /dev/shm?
      • probably yes.
      • zimzima
        /dev/shm is has 777 permissions
      • bhuddah
        can you create a file there with the respective user? in the right size...
      • zimzima
        I'll try
      • bhuddah
        i'm just poking at it like you atm.
      • i now found out that it might be an issue with an underlying error.
      • so go and check the various logs for a different error. that might actually be the source of your problems.
      • zimzima
        I'll take a look thanks
      • I couldn't seem to find the log files earlier, /var/log/zoneminder exists but is empty, and I didn't look further
      • bhuddah
        usually in the database you can access through the frontend.
      • top right corner.. "logs" or something
      • zimzima
        Yeah I can get to those fine, the only error I get in there is the one I posted
      • The same one as the link you sent
      • bhuddah
        absolutely sure?
      • have you then looked for that libav thing mentioned in the link above?
      • zimzima
        yeah, don't have it
      • bhuddah
        we seem to be out of luck -.-
      • zimzima
      • Bodkin_
        Titler: 2014-07-29 15:54:29.781390zmwatch1478ERRMemory map file '/dev/shm/zm.mmap.6' - Pastebin.com
      • knnniggett
        Are you running 32bit os?
      • zimzima
        nope (I'll double check though)
      • Double checked, nope
      • knnniggett
        Then it is not a bug then - must be something with your configuration
      • zimzima
        crap
      • ic0n_
        I normally see those errors when zmc is not running or is crashing.
      • elias_a
        Here's what I do mainly with Zoneminder: https://www.youtube.com/watch?v=pxEI2DRdhEw&...
      • ic0n_
        you need to check zmc logs
      • zimzima
        Any idea where I can find them? /var/log/zoneminder is empty
      • knnniggett
        make sure apache can write to your ramdisk, /dev/shm and make sure it is large enough
      • zimzima
        I'll try making it bigger, not sure I did that yet
      • ic0n_
        if you are getting those errors, then the files exist, but are 0 bytes. See it's not a permissions problem.
      • elias_a
        Apart from the squirrel there are some videos of nordic bats. The place is the attic of an old house where the bats have a breeding colony.
      • knnniggett
        By default /dev/shm can expand to 1/2 your memroy - how mugh memroy do you have?
      • ic0n_
        Check your logging settings as to where things are logged. Sometimes just logging to syslog is your friend.
      • knnniggett
        /var/log/zoneminder will always be empty by default - you have to turn it on under options
      • ic0n_
        I don't recommend using the db logging as it will really slow down the web interface
      • zimzima
        I'll check syslog and turn on logging in /var/log/zoneminder, it will probably come in handy
      • knnniggett
        You turn on logging to syslog under zoeminder options from the web UI
      • zimzima
        got it, thanks
      • ic0n_
        Hey all... I'm going to bump the db update script version numbers to something like 1.27.99.0 since our next release wll be 1.28. Then as we add db updates, we should increment that 4th dgit....
      • knnniggett
        Sounds good. Would be neat if we could get zoneminder to bump the 4th digit for us automatically somehow.
      • ic0n_
        um... what do you mean? the zmupdate script should pick it up just fine... when else would it need to be updated?
      • knnniggett
        I meant bump the 4th digit following any merge to master that included a dB change... don't know how we would do it. It's just a random thought.
      • zimzima
        Tried changing the shared memory size, no change.
      • The files are created, and are owned by the apache user
      • 11M each in size
      • rw by apache only
      • fixxxermet
        good morning
      • ic0n_: I wrote a little script for bumping versions, its in utils/
      • ic0n_
        So we are ok with this idea? I've run the upate here, seems to handle the extra digits fine...