Can't link zoneminder to apache.

Forum for questions and support relating to the 1.26.x releases only.
Locked
evilblackdog
Posts: 3
Joined: Mon Jan 06, 2014 1:24 am

Can't link zoneminder to apache.

Post by evilblackdog »

I apologize but I am a complete noob when it comes to linux/Ubuntu (13.1). I've tried searching around and wasn't able to find a solution. It's probably so easy that nobody typically has issues with it.

When I get to the "Link Apache to Zoneminder" of the setup directions (can't link due to being a new user)
I receive an error.
"
root@ubuntu:/home/evilblackdog# sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf
ln: failed to create symbolic link ‘/etc/apache2/conf.d/zoneminder.conf’: No such file or directory
"

I'm not sure how to fix it. I was just going through the steps to set it all up and everything seemed to be going fine.

Thank you guys,
pyroman
Posts: 25
Joined: Fri Jan 03, 2014 6:40 pm

Re: Can't link zoneminder to apache.

Post by pyroman »

Your command line seems ok, except for the fact that you seem to be root already, so no need for sudo.

I don't know if that has anything to do with it though.
evilblackdog
Posts: 3
Joined: Mon Jan 06, 2014 1:24 am

Re: Can't link zoneminder to apache.

Post by evilblackdog »

I tried it without it and got the same result. Thank you for the suggestion though.
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Can't link zoneminder to apache.

Post by bbunge »

If you are using Ubuntu 13.10 there have been some changes to Apache. Unfortunately, I've not been able to get ZM running on a fresh install of 13.10. I recommend you drop back to Ubuntu 12.04 LTS and follow these instructions:
http://www.zoneminder.com/wiki/index.ph ... e_easy_way

Oh to link to Apache in Ubuntu 13.10 use:
ln -s /etc/zm/apache.conf /etc/apache2/sites-enabled/zoneminder.conf
bb
evilblackdog
Posts: 3
Joined: Mon Jan 06, 2014 1:24 am

Re: Can't link zoneminder to apache.

Post by evilblackdog »

Thanks a ton.
If you didn't get it to work then I don't stand a chance. I'll go back to 12.04

Thanks again.
Locked