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

Forum for questions and support relating to the 1.25.x releases only.
DRAGSTER_TUNER
Posts: 39
Joined: Fri Apr 17, 2009 1:42 am

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

Post 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?
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

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

Post by PacoLM »

Wrong user or password?

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
DRAGSTER_TUNER
Posts: 39
Joined: Fri Apr 17, 2009 1:42 am

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

Post 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...
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

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

Post by PacoLM »

Try User= admin, pwd= zmpass

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
DRAGSTER_TUNER
Posts: 39
Joined: Fri Apr 17, 2009 1:42 am

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

Post 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.
Attachments
zmbrowsererror
zmbrowsererror
errozone.png (76.54 KiB) Viewed 7549 times
DRAGSTER_TUNER
Posts: 39
Joined: Fri Apr 17, 2009 1:42 am

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

Post 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?
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

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

Post by jameswilson »

default user name is admin and password is admin

what if you try that.
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
DRAGSTER_TUNER
Posts: 39
Joined: Fri Apr 17, 2009 1:42 am

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

Post 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?
axelm
Posts: 46
Joined: Wed Feb 06, 2013 1:50 pm

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

Post by axelm »

Drop the database and create it again with the correct db creation script.
DRAGSTER_TUNER
Posts: 39
Joined: Fri Apr 17, 2009 1:42 am

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

Post by DRAGSTER_TUNER »

dumb question...how i recreate the correct db?
axelm
Posts: 46
Joined: Wed Feb 06, 2013 1:50 pm

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

Post 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
DRAGSTER_TUNER
Posts: 39
Joined: Fri Apr 17, 2009 1:42 am

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

Post 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!
axelm
Posts: 46
Joined: Wed Feb 06, 2013 1:50 pm

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

Post by axelm »

Sounds like you are trying to compile from source and you are missing C header files.
DRAGSTER_TUNER
Posts: 39
Joined: Fri Apr 17, 2009 1:42 am

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

Post by DRAGSTER_TUNER »

axelm: sorry about the dumb question, but how i fix this?
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

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

Post by jameswilson »

Do you need to compile it would you be better using a ore built. What distro you on
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Locked