Host address, and loggin in from a "non localhost"
-
- Posts: 11
- Joined: Fri Dec 31, 2004 7:49 pm
Host address, and loggin in from a "non localhost"
Hello All. I loaded up the live CD and ZM worked flawlessly. I purchased a video input card from one of the ad's on the website, and that worked first time also. All functions are working from the ZM "server" or localhost.
When I try to access ZM from another PC on my network I get an error. I can access the apache page, but when I go to http://my_zm_hostname_or_ip/zm I get an error,
cannot access 127.0.0.1
My question is this: How can I setup my ZM on a PC other than localhost?
I have the following in my host file
127.0.0.1 localhost zm.mydomain.com zm
10.12.0.132 zm zm.mydomain.com
Thanks for any advice you can give!
CC
When I try to access ZM from another PC on my network I get an error. I can access the apache page, but when I go to http://my_zm_hostname_or_ip/zm I get an error,
cannot access 127.0.0.1
My question is this: How can I setup my ZM on a PC other than localhost?
I have the following in my host file
127.0.0.1 localhost zm.mydomain.com zm
10.12.0.132 zm zm.mydomain.com
Thanks for any advice you can give!
CC
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
-
- Posts: 11
- Joined: Fri Dec 31, 2004 7:49 pm
RE: Host address, and loggin in from a "non localhost&q
Thanks for the comment, but that is not a solution to the problem. As I had stated, I can access the machine via IP OR HOSTNAME. I cannot access the ZM system via IP or HOSTNAME. The error I get is
The connection is refused when attempting to contact 127.0.0.1
Thanks for your reply anyway.
CC
The connection is refused when attempting to contact 127.0.0.1
Thanks for your reply anyway.
CC
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
the fact that your seeing an errir message 127.0.0.1 means that whatever machine your using is trying to request the info from itself which obviously it wont be able to do. What i was saying is why do you need a host file unless your trying to use a name instead of ip. If you remove the host file and try to connect via ip address only what do you get then. Also id add the last / as sometimes it stops me connecting
James
James
-
- Posts: 11
- Joined: Fri Dec 31, 2004 7:49 pm
If I connect to the PC usine the IP address (which is 10.12.0.132) I get the Apache page, same as if I was at the console. Example
http://10.12.0.132
If I connect to ZM like this:
http://10.12.0.132/zm
I get the error. Thanks for replying, but trying to access directly is not working for me. I think this has something to do with some strange apache directive statement. I have looked throught the .conf file, but I'm not an apache expert. I would gladly pay for support, but the ZM website does not list any.
Thanks again for trying to help.
Chris Curtis
http://10.12.0.132
If I connect to ZM like this:
http://10.12.0.132/zm
I get the error. Thanks for replying, but trying to access directly is not working for me. I think this has something to do with some strange apache directive statement. I have looked throught the .conf file, but I'm not an apache expert. I would gladly pay for support, but the ZM website does not list any.
Thanks again for trying to help.
Chris Curtis
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 11
- Joined: Fri Dec 31, 2004 7:49 pm
Re: Host address, and loggin in from a "non localhost&a
If the host file has been placed on zm server try dropping zm from 127.0.0.1 since it should not be in two places for two ips inthe same host file.joemapango wrote: 127.0.0.1 localhost zm.mydomain.com zm
10.12.0.132 zm zm.mydomain.com
Also I have some more questions but I put those on the second thread you started for this same topic.
Regards,
Cordel
-
- Posts: 11
- Joined: Fri Dec 31, 2004 7:49 pm
Thanks to rdmelin (and all of you who responded). Sometims it's the most basic things. Adding the / at the end did the trick. I'm feeling pretty foolish right now. I won't make this same fobar again!!!!
[quote="rdmelin"]Try http://10.12.0.132/zm/
Note the trailing slash.[/quote]
[quote="rdmelin"]Try http://10.12.0.132/zm/
Note the trailing slash.[/quote]
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
Ahh, Okay if you would like to fix that problem, there is an alias in the apache config somewhere that has that trailing slash for the zm folder. If you remove it in the alias then it will not be required to add the trailing slash in your browser. This could and most likly be in /etc/httpd/conf.d/zm.conf as we had added this shortly after we started packaging zm.
Regards,
Cordel
Regards,
Cordel
Hi James,
Yes I see you did mention the / in an earlier post
Hey Corey, remember that the Mandrake RPM is diff from the FC versions. I leave zm under /var/www/html so I don't use any alias, or any zm.conf for apache. I went back to this configuration to make it easy to upgrade an installation from source with an RPM version.
Yes I see you did mention the / in an earlier post
Hey Corey, remember that the Mandrake RPM is diff from the FC versions. I leave zm under /var/www/html so I don't use any alias, or any zm.conf for apache. I went back to this configuration to make it easy to upgrade an installation from source with an RPM version.