[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Server Stopping
****** message to minivend-users from "Thompson-Jordan" <Thompson-Jordan@mindspring.com> ******
I'm getting an error that is causing my server to die. I had renamed the
catalog's error.log file a day ago because it was getting big. A new
Minivend error.log was created automatically, but no catalog error.log. I
am not even sure if having no error.log is what caused the server to die.
Any ideas?
Here are the iniitial error messages in minivend/error.log
- - - [01/May/1999:15:08:09 -0500] - - Runtime error: read: closed at
/home/mysite/minivend/lib/Vend/Server.pm line 202.
- - - [01/May/1999:15:08:10 -0500] - - Could not open error file : No such
file or directory to report this error:
Followed by a bunch of these four errors:
- - - [01/May/1999:16:30:07 -0500] - - attempt to connect from
unauthorized host UNRESOLVED_NAME/128.138.129.243.
- - - [01/May/1999:16:30:07 -0500] - - Runtime error: attempt to connect
from unauthorized host UNRESOLVED_NAME/128.138.129.243
- - - [01/May/1999:16:30:07 -0500] - - Could not open error file : No such
file or directory to report this error:
- - - [01/May/1999:16:30:07 -0500] - - Runtime error: attempt to connect
from unauthorized host UNRESOLVED_NAME/128.138.129.243.
Here is the code in Server.pm around line 202. _read() looks like a pretty
basic function.
sub _read {
my ($in) = @_;
my ($r);
do {
$r = sysread(Vend::Server::MESSAGE, $$in, 512, length($$in));
} while (!defined $r and $! =~ m/^Interrupted/);
die "read: $!" unless defined $r;
-> die "read: closed" unless $r > 0; <- line 202
}
Any ideas or help would be appreciated.
Christopher Thompson
-
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