LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   404 Not Found The requested URL '/zm' was not found on this server. (https://www.linuxquestions.org/questions/ubuntu-63/404-not-found-the-requested-url-zm-was-not-found-on-this-server-4175418431/)

mickeyboa 07-24-2012 11:29 AM

404 Not Found The requested URL '/zm' was not found on this server.
 
kubuntu-12.04

Trying to get Zoneminder working, if I do in Firefox a :

http://192.168.1.106

I get:

404 Not Found
The requested URL '/zm' was not found on this server.

What could be the problem ?

dmdeb 07-24-2012 11:40 AM

Quote:

Originally Posted by mickeyboa (Post 4736876)
kubuntu-12.04

Trying to get Zoneminder working, if I do in Firefox a :

http://192.168.1.106

I get:

404 Not Found
The requested URL '/zm' was not found on this server.

What could be the problem ?

Hey mickeyboa,

does this help: http://ubuntuforums.org/showthread.php?t=1379559
?

Regards
dmdeb

mickeyboa 07-24-2012 02:01 PM

I have already tried :

sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf

and then:
Code:

sudo /etc/init.d/apache2 reload


And it did not work.

Thanks for responding

dmdeb 07-25-2012 10:05 AM

Quote:

Originally Posted by mickeyboa (Post 4736967)
I have already tried :

sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf

and then:
Code:

sudo /etc/init.d/apache2 reload


And it did not work.

Thanks for responding

Did you check all the basic infrastructural aspects - such as:
- Is the zoneminder service running? (Does it appear in the process list?)
- Is the IP correct? You mentioned 192.168.1.106 but the documentation suggests that 192.168.2.100 might be the default (I'm not sure about that).
- Can you access http://<zoneminder IP>/ (without the /zm path)?
- Did you check your httpd/apache and zoneminder logs after trying to view that page?
- When you get the 404, does the error page also describe which server you were talking to?

Sorry that these are just some general ideas where to look...

mickeyboa 07-25-2012 12:29 PM

Did you check all the basic infrastructural aspects - such as:
- Is the zoneminder service running? (Does it appear in the process list

What process list and how ?

192.168.1.106 is on the display of the Webcam.

192.168.1.106 will let me access the Settings setup in the webcam.

Linksys WVC210.zm

When running http://192.168.1.106/zm in firefox browser.

in the Apache2 error log is;
[Wed Jul 25 13:19:02 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch configured -- resuming normal operations.

There is nothing in the zm log folder.

dmdeb 07-25-2012 01:30 PM

Quote:

Originally Posted by mickeyboa (Post 4737820)
Did you check all the basic infrastructural aspects - such as:
- Is the zoneminder service running? (Does it appear in the process list

What process list and how ?

192.168.1.106 is on the display of the Webcam.

192.168.1.106 will let me access the Settings setup in the webcam.

Linksys WVC210.zm

When running http://192.168.1.106/zm in firefox browser.

in the Apache2 error log is;
[Wed Jul 25 13:19:02 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch configured -- resuming normal operations.

There is nothing in the zm log folder.

As far as I know, zoneminder is a service that needs to run (in the background, like any good service would) so you can access any zoneminder web pages. See the zoneminder documentation wiki for details.

I don't know your webcam and I don't know why it displays 192.168.1.106. That's probably an IP address the webcam got via DHCP?

What device are you running zoneminder on? I don't think you have httpd/apache and zoneminder running on the webcam, do you? Then why should the webcam provide the /zm path?

The important rule here is: Understand the system. Yeah, I know it sounds boring...

mickeyboa 07-25-2012 03:47 PM

jim@Asus-1000:~$ sudo /etc/init.d/apache2 restart
* Restarting web server apache2 ... waiting [ OK ]


jim@Asus-1000:~$ sudo /etc/init.d/zoneminder start
Starting ZoneMinder: failure


As you can see ZoneMinder won't start. Why?, Zoneminder is installed.

Is there a GUI for services in Ubuntu ?
I'm new to Ubuntu .

THE LINKSYS WVC210 Webcam Settings as shown in Camera settings
DHCP 192.168.1.106.
The camera's internal settings are as they should be.
And the WVC210 is compatible with ZoneMinder.

dmdeb 07-26-2012 10:38 AM

Quote:

Originally Posted by mickeyboa (Post 4737933)
jim@Asus-1000:~$ sudo /etc/init.d/zoneminder start
Starting ZoneMinder: failure

As you can see ZoneMinder won't start. Why?

Good question. I never used Ubuntu - maybe someone else can give you some hints regarding service management in Ubuntu.

Either way, I wonder... When zoneminder reports "failure" on startup, shouldn't it log the error cause somewhere? Did you check the logs once more?

eSelix 07-26-2012 11:02 AM

Quote:

Originally Posted by mickeyboa (Post 4737933)
Webcam Settings as shown in Camera settings
DHCP 192.168.1.106

So the camera has that IP. Zoneminder is available on your PC, through Apache. You need to enter in Firefox "http://localhost/zm/". Why it not start? - check logs as dmdeb sugested. Maybe it is already running, what you see after "sudo /etc/init.d/zoneminder restart"?


All times are GMT -5. The time now is 07:34 AM.