IP changed, ZM doesn't work anymore

Support and queries relating to all previous versions of ZoneMinder
Locked
mangoo
Posts: 27
Joined: Tue May 10, 2005 2:33 pm

IP changed, ZM doesn't work anymore

Post by mangoo »

I just changed the IP address of my ZoneMinder server.

When I wasnt to access web interface, I get this error:

Warning: main(zm_wav.php): failed to open stream: No such file or directory in /var/www/html/zm/zm.php on line 162

Fatal error: main(): Failed opening required 'zm_wav.php' (include_path='.:/usr/lib/php/:/usr/share/pear/') in /var/www/html/zm/zm.php on line 162


What should I do?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Have you restarted the network service or rebooted the box?
mangoo
Posts: 27
Joined: Tue May 10, 2005 2:33 pm

Post by mangoo »

Yep, many times, didn't help.

Actually, what I noticed, it only happens on Firefox I last used with ZoneMinder... with other browsers it doesn't happen.

So it is probably browser-related.
On the other hand, I tried cleaning the cache, history etc., and it doesn't help.
More - I changed the path to zm (from /var/www/html/zm to /var/www/html/zm-new) to make sure nothing is cached - but still the same error.
I also tried looking for "wav" with grep -r wav ./* (error says something about missing 'zm_wav.php') - but it doesn't exist in ZM root.

So maybe it's ZM-related?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

I highly dought that it is zm.
I have changed the IP many times and have had no issues.
What is your configuration (What flavor of linux, Apache version, php version ect...)?
I would start by checking your config for apache, you may have it bound to the old IP.
Regards,
Cordel
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

There is no zm_wav.php in ZM. The only way it could possibly try and access a file by this name is if there is a session variable at the location that ZM now is that has a variable called 'format' that contains 'wav'. This sounds fairly contrived but I would first ensure that you have deleted all cookies for the server just to be on the safe side.

Phil
mangoo
Posts: 27
Joined: Tue May 10, 2005 2:33 pm

Post by mangoo »

I didn't clean my cookies!

So after clearing my whole Firefox profile, everything works again now... :)
Locked