Page 1 of 1
Please Help Permission Denied
Posted: Wed Oct 13, 2004 7:49 pm
by slanky
Im just having trouble with the first part of the configuration->
"./configure --with-mysql=/usr/bin/mysql --with webdir=/var/www/html/zm --with-cdidir=var/www/cgi-bin"
All of the Directories seem to be correct when i look on gui
But I get an error ->
"./configure:line 958: config.log: permission denied"
I looked up the line it refers to in config.log ->
"configure:2297: checking whether we are cross compiling"
( I am running from the mandrake package from this site)
Would really appreciate some advice, thankyou.
Posted: Thu Oct 14, 2004 9:56 am
by zoneminder
When doing a configure the only place it should be writing in in your current directory. I assume you have permissions to put files in there and that there's no old files left over from a previous run (perhaps by root).
Phil,
Posted: Thu Oct 14, 2004 1:29 pm
by slanky
oops there could be old files there from a previous run because i jumped to the make install section at one point hoping it would work by a miracle.
More than likley that is the problem, now how to find them maybe ill search by time and date and do a delete on any new files.
Thanx for your help.
Posted: Thu Oct 14, 2004 2:22 pm
by rdmelin
( I am running from the mandrake package from this site)
Could you please clarify what you mean? Did you install from the livecd? If so perhaps I can help.
Best regards,
Ross
Posted: Thu Oct 14, 2004 4:09 pm
by slanky
hi ross great live cd!
Well i explained exactlly the text i was confronted with above but even after clarifying all permissions and specificly setting them it was not working.
all of that time i was in " /usr/src/zm-1.19.5" directory... and when i tried it in root by typing "su" it could not find the specified files.
I tried deleting any new files i made but i got the same results so then i tried a fresh format and install and still the same results.
So even after putting security to lowest and trying to set the write read and execute in current user in permissions on the config log file i still got the same error.
What i just did now was go into root by typing "su" and i unlocked the password by typing
"passwd user --unlock" in the root directory "/usr/src/zm-1.19.5"
then i tried the command ".configure mysql..etc" and this time it worked!!
Now i will try install the rest of it, I think im doing ok for a newbie in linux
I like it because u learn a lot, although i still have no idea the reason behind my error but im sure i will have many more before the nights out..lol
Posted: Thu Oct 14, 2004 4:25 pm
by rdmelin
If I'm getting the picture correctly, you are making this harder than it really is. If you installed from the livecd, zoneminder is already built, installed, and running on your system. Just click the link on the mozilla-firefox bookmark toolbar that says "ZM-Console" and you are ready to configure your monitors.
If you are rebuilding ZM from the source for some reason that I'm not clear on, then you will need to do so as root. I moved the source to /usr/src in this version to free up the ramdisk on the livecd. So all files are owned by root. But you will only need to use the source if you are experimenting with development or similar.
Regards,
Ross
Posted: Thu Oct 14, 2004 4:49 pm
by slanky
DOH! i didnt know that was actually zoneminder i was expecting a lot of screens etc...
oops yep i defenatley made that harder than already now im just trying to get the composite in signeal working from my board and recognised.
aww well look on the bright side ive seen parts of zm some with live cd never have..lol
Thanx for your help