Akopia Akopia Services

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

Re: [mv] MV down and can't get up



******    message to minivend-users from Mike Heins <mike@minivend.com>     ******

Quoting Chris Daniel (krskrem@speedfactory.net):
> 
> Sorry for my earlier panic, but I have been runnin MV for almost two
> years and never encountered this ever.
> 
> I am running this MV on a FreeBSD server.
> Its been running on it since july. no major problems.
> 
> I was running 3.14  , I uninstalled it and reinstalled MV 3.14-5.
> It runs as simple template config.
> Then I uploaded all my pages for current MV config.
> No problem,still running.
> 
> Then I upload my products.asc  , it crashes. 500 error.
> I then switched to mysql database. No luck  still 500 error.
> 
> I completely removed all MV stuff before I began the reinstall.
> I have removed all products.*   before uploading anything,
> I have ./stop   ./start   , killed all processes.
> 
> In error logs I see
> Spurious PID file for process 15518 supposedly running 303 seconds
> - - - [07/February/2000:00:10:06 +0000] - - Spurious PID file for
> process 15520 supposedly running 303 seconds
> - - - [07/February/2000:00:10:06 +0000] - - Spurious PID file for
> process 15522 supposedly running 303 seconds
> - - - [07/February/2000:00:10:44 +0000] - - Spurious PID file for
> process 15542 supposedly running 303 seconds
> - - - [07/February/2000:00:11:12 +0000] - - Spurious PID file for
> process 15550 supposedly running 302 seconds
> 
> Also I saw once a file in my catalog dir. perl.core
> I read in docs about a SafeSignals  No
> 
> But it says it does not apply to versions after 3.12?
> I don't see it in minivend.cfg anyway,
> 
> There is quite a bit of perl activity on the server doing something
> else,
> but thats been doing the same thing for awhile as well.

Try the fix Brian Bullen posted the other day. Or this:

diff -xRCS -b -I # *.Id:\|VER.*Revision: -c -r minivend-3.14-5/lib/Vend/Session.pm minivend-3.14-6/lib/Vend/Session.pm
*** minivend-3.14-5/lib/Vend/Session.pm	Sun Aug 22 06:33:01 1999
--- minivend-3.14-6/lib/Vend/Session.pm	Mon Feb  7 03:56:30 2000
***************
*** 170,177 ****
  	open_session();
      for (;;) {
  		$Vend::SessionID = random_string() unless defined $seed;
- 		next if $Vend::RetireDBM{$Vend::SessionID};
  		undef $seed;
  		$name = session_name();
  		unless ($File_sessions) { 
  			last unless defined $Vend::SessionDBM{$name};
--- 170,177 ----
  	open_session();
      for (;;) {
  		$Vend::SessionID = random_string() unless defined $seed;
  		undef $seed;
+ 		next if $Vend::RetireDBM{$Vend::SessionID};
  		$name = session_name();
  		unless ($File_sessions) { 
  			last unless defined $Vend::SessionDBM{$name};
***************
*** 325,331 ****
  #("Session:\n$s\n")
  #	if ::debug(0x20);
  # END DEBUG
! 	return new_session($Vend::SessionID) unless $s;
      $Vend::Session = evalr($s);
      die "Could not eval '$s' from session dbm: $@\n" if $@;
  
--- 325,331 ----
  #("Session:\n$s\n")
  #	if ::debug(0x20);
  # END DEBUG
! 	return new_session() unless $s;
      $Vend::Session = evalr($s);
      die "Could not eval '$s' from session dbm: $@\n" if $@;
  
-- 
Mike Heins                          http://www.minivend.com/  ___ 
                                    Internet Robotics        |_ _|____
Research is what I'm doing when     131 Willow Lane, Floor 2  | ||  _ \
I don't know what I'm doing.        Oxford, OH  45056         | || |_) |
-- Wernher Von Braun                <mikeh@minivend.com>     |___|  _ <
                                    513.523.7621 FAX 7501        |_| \_\
-
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: