View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Jun 18, 2005 11:21 am 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
Somehow avimanager didn't install properly when I installed knoppmyth R5A16 so I did the following:

1. Untar'ed the tar file to /myth/avimanager

2. Edited the configuration file, per directions.

When I try to run avimanager, I get the following error message:

Quote:
Forbidden
You don't have permission to access /cgi-bin/aviman/aviman.pl on this server.


--------------------------------------------------------------------------------

Apache/1.3.33 Server at mythtv Port 80


I've tried some of the obvious changes like adding "a+rw" to the various files, but no success. Any suggestions?

marc


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 18, 2005 11:57 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Maybe you needed a+rx on that file instead?

As with any access permission problem, first you need to understand it then you can fix it.

Apache runs as "www-data" so that is the user that needs access and should own the files under /myth/avimanager. There is also a symlink which needs to point to the right directory:
Code:
mythtv@black2:~$ ls -al /usr/lib/cgi-bin/aviman
lrwxrwxrwx  1 www-data www-data 24 Jun  4 18:16 /usr/lib/cgi-bin/aviman -> /myth/avimanager/cgi-bin


Frankly it sounds like your install is roached in some important way, probably because of a bad CD. I'd suggest downloading it again, checking the md5sum of the ISO image, burning a new CD at the slowest speed, making a backup, and doing an auto upgrade.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 19, 2005 9:32 am 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
tjc:

"a+x" was already on the files and the sym link was already there, but you hit the nail on the head with the ownership issue. I installed them as root, so a simple

Code:
chown -R www-data.www-data /myth/avimanager

solved the problem -- thank you!

In terms of a bad install -- I now understand why it looks like "avimanager" and "nuv2disc" were not properly installed. Sometime back I made the decision to use a different disk layout for my /myth partition than the install images assume. (At that time I made this decision I didn't understand the complexity it would add to my upgrades.) As a consequence, when I did my upgrade I experienced the following:

1. I ran "auto upgrade" from the CD.

2. The system rebooted, as expected, and the configuration utility stated up. I exited the config utility.

3. When I looked at /myth & /myth/tv it did not contain any of my R4V9 content. It looked like a fresh install. I assume this is because the upgrade scripts didn't know about my non-standard layout, so it could not automatically mount my R4V9 content at /myth.

4. I then edited "fstab", mounted my old content and manually ran a restore. Things worked well, but in doing this, any changes made to "/myth" by the upgrade scripts prior to this were "burried" under the new mount. This included the creation of the directories "/myth/avimanager" and "/myth/nuv2disc".

To confirm that this is what happened, I just unmounted /myth, and sure enough, I uncovered the copy of /myth with the "avimanager" and "nuv2disc" subdirectories created during the upgrade process.

Everything else on my install seems to work well, so my guess is that I am OK, but given this experience, at some point I need to migrate my layout to the standard layout used for an LVM configuration.


Marc


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 23 guests


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

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu