MiniVend Akopia Services

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

Re: Runtime Error: Couldn't Fork: Permission Denied



******    message to minivend-users from Steve Cockwell <stevec@sierra.lazarus.ca>     ******

mikeh@minivend.com wrote:

> This is an OS problem and has nothing to do with MiniVend. Basically
> it looks like you are not able to run sendmail due to lack of
> processes for that ID or something.

I'm sure you are correct that it's an OS problem, I'm just not sure what
Minivend is trying to do at that point in it's processes.

> Try setting:
> 
>         SendMailProgram  none
> 
> in catalog.cfg and seeing what happens.

Nothing apparently changes by doing this.  So I ran an strace on the box
with the following command:

strace -ff -o minivend -p 1126

In the file minivend.1219 I found the following:

munmap(0x40165000, 4096)                = 0
time(NULL)                              = 921593040
time([921593040])                       = 921593040
open("eZrKFVdW.cry", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES
(Permission denied)
sigprocmask(SIG_SETMASK, [], NULL)      = 0
time([921593040])                       = 921593040
time([921593040])                       = 921593040
open("/home/mvend/error.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 8
fstat(8, {st_mode=0, st_size=0, ...})   = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40165000

So:  It appears that some binary executed by Minivend (I don't know what
one) is trying to create a file called eZrKFVdW.cry and does not have
permission to do so.  Shortly afterwards this same binary opens the
/home/mvend/error.log file and writes the error message into it.

I just KNOW this is going to be something stupid.  No problem that takes
this long to solve is ever ligitimate.

The only other error messages that I can find look like:

close(1)                                = -1 EBADF (Bad file descriptor)

These don't seem to be too serious.

Assuming that the bletch.cry file is the problem, what is a .cry file? 
Does it have something to do with the PGP encryption (which is not
currently set at all).  Here are my encryption settings:

Variable    ENCRYPTOR    none
CreditCardAuto      Yes

So, I've edited my catalog.cfg file and commented out the CreditCardAuto
field and *all my problems went away*!

The sun is out, the birds are singing... :-)  Once I've got the
remainder of the site working, I'll work on the CC encryption.  With
SSLeay installed on these machines, is there something included with
that distribution that would be more appropriate than PGP?

Thanks all (I hope this helps someone else someday)

.src
-
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: