Cron / Calendar Integration
| Author |
Message |
|
ziopippo
Joined: Tue Sep 05, 2006 11:43 am Posts: 18 Location: Italy
|
Hi,
My distro is Ubuntu 6.10 Edgy Eft with PHP Version 5.1.6-1ubuntu2.1, and MySql version 5.0.24a-9 and Apache version 2.0.55-4ubuntu4.
ZM runs in \var\www\zm\ directory, calendar is copy to \var\www\ and calendar config in to \var\www\config\.
The \var\www\html\ directory is empty.
The \var\www\config\ and \var\www\config\lang have 755 permision and the files into this directory have 644 permission.
I've read your ReadMe.txt but i haven't understood this:
4. : Then you need to copy the file dvos.cron to your cron.d directory, on FC4 based systems that will be in /etc/cron.d/
The next thing you need to do is to edit the cron job with Webmin (or your favorite cron job editor) and change the
path to where you put the php scripts in your apache root, you may also need to change the path to the php command.
The one in the job is for FC4.
Thanks.
Ettore ________ XR125L
Last edited by ziopippo on Sun Feb 13, 2011 1:40 pm, edited 1 time in total.
|
| Sun Nov 26, 2006 2:25 pm |
|
|
|
 |
|
voronwe
Joined: Tue Jan 18, 2005 1:40 am Posts: 193 Location: Copenhagen Denmark
|
Hi ziopippo
From what i can see, there might be a problem with where you have installed the frontend / ZM, i would suspect that even on an Ubuntu distro apache is configured to look inside the /var/www/html directory to work proberly, but that you can see in the Apache config file.
The dvos.cron file is located in the tgz file you have downloaded with the frontend, the file is the one that tells cron how often and what the command is for the calendar function to work.
_________________ Best Regards
Tom Stage
|
| Mon Nov 27, 2006 2:28 pm |
|
 |
|
ziopippo
Joined: Tue Sep 05, 2006 11:43 am Posts: 18 Location: Italy
|
I've check the cinfig file, apache is configured to look inside the /var/www directory. I've the same error.
How i must see language permissions?
I know how are located the file dvos.cron, but i don't haven understood this:
"The next thing you need to do is to edit the cron job with Webmin (or your favorite cron job editor) and change the
path to where you put the php scripts in your apache root, you may also need to change the path to the php command.
The one in the job is for FC4."
Thanks.
Ettore. ________ CHRYSLER SEBRING (SEDAN) HISTORY
Last edited by ziopippo on Sun Feb 13, 2011 1:40 pm, edited 1 time in total.
|
| Tue Nov 28, 2006 12:48 am |
|
 |
|
voronwe
Joined: Tue Jan 18, 2005 1:40 am Posts: 193 Location: Copenhagen Denmark
|
Hi ziopippo
Ok so the Apache Config is correct, then it should work, an installation on a FC4 system would look like this.
/var/www/html/
This is where the frontend files will be located, then ZoneMinder is installed in a subdirectory named zm, that will make a structure that looks like this.
/var/www/html/ The Location of the frontend files and directorys.
/var/www/html/zm/ The location of the ZoneMinder Files and directorys.
Normally if the files are owned by the webuser there will be no problems at all, or if the permissions on the whole structure below /var/www/html are 755.
So in your case i would try to change the owner of the files to the webuser on the whole structure below /var/www/.
I hope this will resolve your problem.
_________________ Best Regards
Tom Stage
|
| Wed Nov 29, 2006 6:16 pm |
|
 |
|
ziopippo
Joined: Tue Sep 05, 2006 11:43 am Posts: 18 Location: Italy
|
I think to have resolved some problems. I have only had to cancel the cookie in my browser and change the default language into dvos database (User_Language at the admin table)
Now i have only problems to show my logs.  I have already modified the path into config.php file.
This is my error messages: ________ Sell vaporizers
Last edited by ziopippo on Sun Feb 13, 2011 1:40 pm, edited 1 time in total.
|
| Thu Nov 30, 2006 4:53 pm |
|
 |
|
voronwe
Joined: Tue Jan 18, 2005 1:40 am Posts: 193 Location: Copenhagen Denmark
|
Hi ziopippo
Hmm is the messages file the only one with the error or is it the only one you have tryed to open ??
_________________ Best Regards
Tom Stage
|
| Fri Dec 01, 2006 6:02 pm |
|
 |
|
ziopippo
Joined: Tue Sep 05, 2006 11:43 am Posts: 18 Location: Italy
|
All the log button give me error message.
This is my config.php file whith my configuration:
________ Buy Air One Vaporizer
Last edited by ziopippo on Sun Feb 13, 2011 1:41 pm, edited 1 time in total.
|
| Fri Dec 01, 2006 11:32 pm |
|
 |
|
voronwe
Joined: Tue Jan 18, 2005 1:40 am Posts: 193 Location: Copenhagen Denmark
|
Hi ziopippo
Ok i would suspect that you have a problem with Sudo changes that is discribed in section 7 in the ReadMe.txt file.
The changes are needed to allow the webuser to copy, remove and chown the files in the temporary log file directory, the way this log function works is that we take a copy off the original log file, to make sure that we are not messing up the system while we read the files for the displaying in the web interface, and unless we give the user the right access in the sudo config file in /etc/sudoers it wont work, this is on an FC4 system done thru the command visudo.
In short follow the instructions in the ReadMe.txt file section 7.
_________________ Best Regards
Tom Stage
|
| Sat Dec 02, 2006 3:08 pm |
|
 |
|
ziopippo
Joined: Tue Sep 05, 2006 11:43 am Posts: 18 Location: Italy
|
Can you post your config file in /etc/sudoers? Also in ubuntu distro i have command visudo.
Thank's. ________ Kawasaki Zg1000
Last edited by ziopippo on Sun Feb 13, 2011 1:41 pm, edited 1 time in total.
|
| Mon Dec 04, 2006 6:05 pm |
|
 |
|
voronwe
Joined: Tue Jan 18, 2005 1:40 am Posts: 193 Location: Copenhagen Denmark
|
Hi ziopippo
Mine looks like this.
_________________ Best Regards
Tom Stage
|
| Mon Dec 04, 2006 8:44 pm |
|
 |
|
ziopippo
Joined: Tue Sep 05, 2006 11:43 am Posts: 18 Location: Italy
|
This is mine:
I have also try with this
but the error messages don't change.  ________ FERRARI 348 SPECIFICATIONS
Last edited by ziopippo on Sun Feb 13, 2011 1:41 pm, edited 1 time in total.
|
| Tue Dec 05, 2006 10:02 am |
|
 |
|
voronwe
Joined: Tue Jan 18, 2005 1:40 am Posts: 193 Location: Copenhagen Denmark
|
Hi ziopippo
Hmm now iam blank, i have no idea why it wont work on your system, but then again all my testing is done on a FC4 system, but then again i would not think that it would make a diffrence.
I need to think about this one.
_________________ Best Regards
Tom Stage
|
| Tue Dec 05, 2006 10:39 am |
|
 |
|
ziopippo
Joined: Tue Sep 05, 2006 11:43 am Posts: 18 Location: Italy
|
Ok thank's a lot. ________ Vapir No2
Last edited by ziopippo on Sun Feb 13, 2011 1:41 pm, edited 1 time in total.
|
| Tue Dec 05, 2006 11:32 am |
|
 |
|
voronwe
Joined: Tue Jan 18, 2005 1:40 am Posts: 193 Location: Copenhagen Denmark
|
Hi ziopippo
I have found the following on the net, and it would seem that ubuntu have a more strict policy with Sodu than FC4 have.
http://www.psychocats.net/ubuntu/sudo
From what i can see on this page only the users who are in the admin group may use the Sudo command, so in my eyes there are 2 ways u can solve the problem.
1. Have the web user be a member of the admin group (should only be done for testing purpose), so start out with this, and see if it solves your problem.
2. Make an entry where the webuser group may allso use the sudo command, on this isue i cannot offer any help other than what is listed on the web site i linked to.
_________________ Best Regards
Tom Stage
|
| Tue Dec 05, 2006 12:43 pm |
|
 |
|
ziopippo
Joined: Tue Sep 05, 2006 11:43 am Posts: 18 Location: Italy
|
Ok thanks anyway  ________ How To Roll A Joint
Last edited by ziopippo on Sun Feb 13, 2011 1:41 pm, edited 1 time in total.
|
| Tue Dec 05, 2006 4:11 pm |
|
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|