Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] OH dear



******    message to minivend-users from "Christopher P. Lindsey" <lindsey@mallorn.com>     ******

> I just ran "expireall -r" and then, suddenly, all of my catalogs failed.  I've
> restarted the server, etc, but they all return "Runtime error: Could not tie to
> /home/minivend/catalogs/CATALOGNAME/session: Permission denied"
> 
> I touched and "chown minivend.minivend" all session file in a catalog's
> directory and restarted the server, but NOTHING seems to work!

You're on the right track.  What you've done is change ownership of
your session logs to root (expireall should only be run by the user
minivend).

Find what files are not owned by minivend (assuming /home/minivend is
your installation directory):

   find /home/minivend ! -user minivend

If you want to see the ones that have changed in the past day:

   find /home/minivend ! -user minivend -mtime -1

If you want to change the permissions:

   find /home/minivend ! -user minivend -mtime -1 -exec chown minivend.minivend {} \;

The last command isn't always a good idea, but if you're desperate...

Chris
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: