Page 1 of 2

zm now asks me login and pass...and nothing happens...

Posted: Sun Feb 17, 2013 8:40 pm
by DRAGSTER_TUNER
Im using firefox and now when i go to http://localhost/zm/ it asks me login and pass... it nevers happened before...

the login and pass is already filled, but even if i click in login, it redirects me to http://localhost/zm/index.php and nothing happens.


what it could be?

Re: zm now asks me login and pass...and nothing happens...

Posted: Sun Feb 17, 2013 8:50 pm
by PacoLM
Wrong user or password?

Re: zm now asks me login and pass...and nothing happens...

Posted: Sun Feb 17, 2013 9:20 pm
by DRAGSTER_TUNER
Escuse my ignorane, but how i figured out my user/pass? I never used it before...i just used enter http://localhost/zm/?view=montage&group=0 and its already goes to monitor screens automatically...

Re: zm now asks me login and pass...and nothing happens...

Posted: Tue Feb 19, 2013 6:21 am
by PacoLM
Try User= admin, pwd= zmpass

Re: zm now asks me login and pass...and nothing happens...

Posted: Tue Feb 19, 2013 9:55 pm
by DRAGSTER_TUNER
PacoLM: this pass works, but here is the result:


"the requested URL /zm/undefined was not found on this server."

If i try access "http://localhost/zm/?view=montage&group=0" the webpage starts to give some errors and it freezes and i have to kill the browser...


My browser is iceweasel 10.0.2.

all my 4 Webcams stills works fine on xawtv.

I put a attach file with a printscreen of my browser.

Re: zm now asks me login and pass...and nothing happens...

Posted: Sat Mar 02, 2013 6:19 pm
by DRAGSTER_TUNER
no one can help me? when i click on the webcam windws java gimme this:

Plug-in Java 1.6.0_26
Usando versão JRE 1.6.0_26-b03 Java HotSpot(TM) 64-Bit Server VM
Diretório base do usuário = /home/supercharger
----------------------------------------------------
c: limpar janela do console
f: concluir objetos da fila de finalização
g: coleta de lixo
h: exibir esta mensagem de ajuda
l: descartar lista de carregadores de classes
m: imprimir uso de memória
o: registro do disparador
q: ocultar console
r: recarregar configuração da política
s: descartar propriedades do sistema e de implantação
t: descartar lista de threads
v: descartar pilha de threads
x: limpar cache do carregador de classes
0-5: definir nível de rastreamento como <n>
----------------------------------------------------


carregar: classe com.charliemouse.cambozola.Viewer não encontrada.
java.lang.ClassNotFoundException: com.charliemouse.cambozola.Viewer
at sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:252)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Plugin2ClassLoader.java:250)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:180)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:161)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Plugin2ClassLoader.java:687)
at sun.plugin2.applet.Plugin2Manager.createApplet(Plugin2Manager.java:3025)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1498)
at java.lang.Thread.run(Thread.java:662)
Exceção: java.lang.ClassNotFoundException: com.charliemouse.cambozola.Viewer
carregar: classe com.charliemouse.cambozola.Viewer não encontrada.
java.lang.ClassNotFoundException: com.charliemouse.cambozola.Viewer
at sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:252)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Plugin2ClassLoader.java:250)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:180)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:161)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Plugin2ClassLoader.java:687)
at sun.plugin2.applet.Plugin2Manager.createApplet(Plugin2Manager.java:3025)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1498)
at java.lang.Thread.run(Thread.java:662)
Exceção: java.lang.ClassNotFoundException: com.charliemouse.cambozola.Viewer
carregar: classe com.charliemouse.cambozola.Viewer não encontrada.
java.lang.ClassNotFoundException: com.charliemouse.cambozola.Viewer
at sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:252)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Plugin2ClassLoader.java:250)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:180)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:161)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Plugin2ClassLoader.java:687)
at sun.plugin2.applet.Plugin2Manager.createApplet(Plugin2Manager.java:3025)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1498)
at java.lang.Thread.run(Thread.java:662)
Exceção: java.lang.ClassNotFoundException: com.charliemouse.cambozola.Viewer
carregar: classe com.charliemouse.cambozola.Viewer não encontrada.
java.lang.ClassNotFoundException: com.charliemouse.cambozola.Viewer
at sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:252)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Plugin2ClassLoader.java:250)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:180)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:161)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Plugin2ClassLoader.java:687)
at sun.plugin2.applet.Plugin2Manager.createApplet(Plugin2Manager.java:3025)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1498)
at java.lang.Thread.run(Thread.java:662)
Exceção: java.lang.ClassNotFoundException: com.charliemouse.cambozola.Viewer


Any clue?

Re: zm now asks me login and pass...and nothing happens...

Posted: Sat Mar 02, 2013 8:34 pm
by jameswilson
default user name is admin and password is admin

what if you try that.

Re: zm now asks me login and pass...and nothing happens...

Posted: Sun Mar 03, 2013 4:18 am
by DRAGSTER_TUNER
same thing...i figured out the zoneminder is not starting:


home/supercharger# /etc/init.d/zoneminder restart
Stopping ZoneMinder: Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/local/share/perl/5.14.2/ZoneMinder/Logger.pm line 153.
BEGIN not safe after errors--compilation aborted at /usr/local/share/perl/5.14.2/ZoneMinder/Logger.pm line 168.
Compilation failed in require at /usr/local/share/perl/5.14.2/ZoneMinder.pm line 34.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.14.2/ZoneMinder.pm line 34.
Compilation failed in require at /usr/bin/zmpkg.pl line 37.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 37.
Zoneminder already stopped

Starting ZoneMinder: Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/local/share/perl/5.14.2/ZoneMinder/Logger.pm line 153.
BEGIN not safe after errors--compilation aborted at /usr/local/share/perl/5.14.2/ZoneMinder/Logger.pm line 168.
Compilation failed in require at /usr/local/share/perl/5.14.2/ZoneMinder.pm line 34.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.14.2/ZoneMinder.pm line 34.
Compilation failed in require at /usr/bin/zmpkg.pl line 37.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 37.
failure

Some clue?

Re: zm now asks me login and pass...and nothing happens...

Posted: Sun Mar 03, 2013 11:44 am
by axelm
Drop the database and create it again with the correct db creation script.

Re: zm now asks me login and pass...and nothing happens...

Posted: Sun Mar 03, 2013 6:02 pm
by DRAGSTER_TUNER
dumb question...how i recreate the correct db?

Re: zm now asks me login and pass...and nothing happens...

Posted: Sun Mar 03, 2013 7:20 pm
by axelm
DRAGSTER_TUNER wrote:dumb question...how i recreate the correct db?
On my Fedora 18 box I have /usr/share/zoneminder/db/zm_create.sql. You can feed it to the database server via commandline doing mysql < zm_create.mysql

Re: zm now asks me login and pass...and nothing happens...

Posted: Sun Mar 03, 2013 7:36 pm
by DRAGSTER_TUNER
well i think now all is screwed up...i tried install all again from the last version of website, and when i try do the make, i have this:

"zm_local_camera.cpp: In static member function ‘static bool LocalCamera::GetCurrentSettings(const char*, char*, int, bool)’:
zm_local_camera.cpp:774:22: error: ‘PATH_MAX’ was not declared in this scope
zm_local_camera.cpp:779:21: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:781:22: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:782:29: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:799:67: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:801:54: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:811:92: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:936:91: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:961:82: error: ‘queryDevice’ was not declared in this scope
make[2]: ** [zm_local_camera.o] Erro 1
make[2]: Saindo do diretório `/home/supercharger/arquivos/ZoneMinder-1.25.0/src'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/home/supercharger/arquivos/ZoneMinder-1.25.0'
make: ** [all] Erro 2
"

REALLY DUDES, sometimes linux piss me off! How a damned thing that was working simply crash and does not works anymore? everything was fine, i didnt touch in anything, and suddenly zoneminder stops working, and now its all messed to the bottom!

Re: zm now asks me login and pass...and nothing happens...

Posted: Mon Mar 04, 2013 12:30 am
by axelm
Sounds like you are trying to compile from source and you are missing C header files.

Re: zm now asks me login and pass...and nothing happens...

Posted: Mon Mar 04, 2013 12:24 pm
by DRAGSTER_TUNER
axelm: sorry about the dumb question, but how i fix this?

Re: zm now asks me login and pass...and nothing happens...

Posted: Tue Mar 05, 2013 1:01 am
by jameswilson
Do you need to compile it would you be better using a ore built. What distro you on