NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) MVP & NMT MVPMCX2 and other NMT stuff v
« Previous 1 … 20 21 22 23 24 … 37 Next »
request cannot be processed again

 
  • 0 Vote(s) - 0 Average
request cannot be processed again
dave.t
Offline

Member

Posts: 202
Threads: 34
Joined: Jun 2008
#1
2009-04-28, 05:51 AM
Hi folks.
I have three popcorns all running an index.htm. From the index I call gbpvr.cgi to run gbpvr from the hard drive of the popcorn. They were all working fine. Now one of the popcorns gets the response "request cannot be processed". The other two still work fine.
I copied the mvpmc folder from the popcorn working over the top but still no luck.
This is the gbpvr.cgi file
Code:
!/bin/sh

echo "Content-Length: 80";
echo "Content-type: text/html";
echo "";

cd ~
mkdir /etc/mvpmc >/dev/NULL
echo "";

if [ -f /etc/mvpmc/mvpmcx2 ]
  then
  echo "Already Connected!";
else  
   mount --bind  /opt/sybhttpd/localhost.drives/HARD_DISK/mvpmc /etc/mvpmc
   mount -t cifs //192.168.1.1/MVPMC /etc/mvpmc/ -o username=guest,rw;
   cp /etc/mvpmc/utelnetd /usr/bin;
   chmod 777 /etc/mvpmc/*;
   utelnetd -l /bin/sh -p 23 &
   ln -s /lib/librmjpeg.so /lib/libjpeg.so.62
   ln -s /lib/librmzlib.so /lib/libz.so
   ln -s /lib/librmzlib.so /lib/libz.so.1
   ln -s /lib/librmzlib.so /lib/libz.so.123
   echo "Telnetd started on port 23............";
fi

killall gaya
sh -c /etc/mvpmc/startmeup 2>/dev/null >/dev/null &

I am using the mount on demand from journey1234 but that works fine on the others. I have read heaps but still lost.
thanks for any help
Dave
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#2
2009-04-28, 10:12 AM
I went through a period of this sort of problem and it is a real pain to fix as there are no diagnostics, logs or anything to pin down the cause Sad

I think the last time it happened, it was down to Windows and capitalisation (or not) of the filename when it got copied. Directory attributes on the PCH have also given me grief in the past.

Sorry, can't pinpoint your problem.
Turas
Offline

Member

Posts: 110
Threads: 18
Joined: Dec 2004
#3
2009-04-28, 11:12 AM
i had the same problem with the default install.
as far as i remember there are 2 problems with the script:

1)
mkdir /etc/mvpmc >/dev/NULL
=> must be changed to
mkdir /etc/mvpmc >/dev/null

2)
if [ -f /etc/mvpmc/mvpmcx2 ]
then
echo "Already Connected!";
else
...
fi

=> must be changed to
if [ -f /etc/mvpmc/mvpmcx2 ] then
echo "Already Connected!";
else
...
fi

hope i remember it right now (though i'm pretty sure i do Smile)
and maybe this could be changed in the default-install too...
+++ never buy the first version +++
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,183
Threads: 958
Joined: May 2006
#4
2009-04-28, 12:19 PM
Some diagnostic ideas are included here http://forums.nextpvr.com/showthread.php?t=40394

@Turas I will make the suggested changes for USB, they were user submitted and I was told it worked /dev/NULL won't cause a problem just a tiny file.

Martin
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#5
2009-04-28, 03:22 PM (This post was last modified: 2009-04-28, 03:45 PM by pBS.)
caution, as when i move the 'then' to next line, mine doesn't work anymore...
make sure it works for you before updating the main one as it's been working fine for people..
i agree about the /dev/null part tho...lowercase is correct..

might also want to add a couple of <BR> at top as i usually can't see very first line if there are any errors...[overscan] Sad
like:
echo "Content-type: text/html";
echo "";

echo "<BR><BR><BR>";
etc..etc..
[must leave that blank line between the 2 echos]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
dave.t
Offline

Member

Posts: 202
Threads: 34
Joined: Jun 2008
#6
2009-04-28, 10:25 PM
Thanks for the replies
tried all but still no luck. I even tried deleting the mvpmc folder and coping the mvpmc from the other popcorn that is working. Still no luck.
i do run the mono wrapper from journey and when I run gbpvr on the other popcorn's i do get an error but if I hit return and hit gbpvr again it works. This is what used to happen on them all. This pch-lounge is the main one I use as it has the kids movies on it.
I might try to # some lines out in gbpvr.cgi and see where it falls over.
Any other thoughts are appreciated.
thanks again
Dave
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,183
Threads: 958
Joined: May 2006
#7
2009-04-28, 10:34 PM
I don't support user scripts but that one is just so wrong that I am surprised no one else mentioned it. You can't mount two items to the same point (/etc/mvpmc), choose either the bind to the hard disk or the cifs share

Martin
dave.t
Offline

Member

Posts: 202
Threads: 34
Joined: Jun 2008
#8
2009-04-28, 10:48 PM
Hi Martin
Nice to here from you again.
I changed what you said and the same thing still happened.
I changed the index to run GB-PVR.html and that runs but as soon as I click on the options the same problem happens. I even changed the index to run a simple cgi file and the same problem happens. I'm wondering if the permissions have some how changed or I cant play cgi files on this popcorn anymore. I will keep playing around and see.
thanks again
Dave
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,183
Threads: 958
Joined: May 2006
#9
2009-04-28, 11:05 PM
Hi Dave. cgi files still run fine it is something unique to your setup. Perhaps you are editing your cgi file with a bad editor.

Ma
dave.t
Offline

Member

Posts: 202
Threads: 34
Joined: Jun 2008
#10
2009-04-28, 11:14 PM
Hi Martin
I'm using edit pad lite.
Just a little progress so far. I was able to run just an echo to the screen from a cgi. Then I moved it to the mvpmc folder and it still ran. I put the # sign in front of most of the lines in gbpvr.cgi but then the error came up. I think i'm starting to get close.
I do agree there is something strange with the cgi
Dave
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Oh no! Request cannot be processed! drbenjamin 4 15,786 2016-12-26, 11:11 PM
Last Post: mvallevand
  PCH-A110 Unable to install with Request cannot be processed jeffers 6 6,783 2014-04-01, 03:00 PM
Last Post: jeffers
  Trouble with 3rd PCH - "Request cannot be processed" jghanisco 4 5,027 2013-07-23, 03:49 AM
Last Post: jghanisco
  Networking problems and "Request Cannot be processed" Rory 2 3,250 2012-11-16, 08:53 PM
Last Post: Rory
  Request cannot be processed ottoguy 35 10,708 2012-01-02, 09:38 PM
Last Post: mvallevand
  New M34A on eixting GBPVR 1.4.7: GBPVR via NetworkBrowser: "Request cannot be proc" lucille84 3 2,120 2010-11-09, 12:30 AM
Last Post: mvallevand
  "Request Cannot be processed" error message TK12 12 5,093 2010-07-07, 03:32 AM
Last Post: TK12
  "Request Cannot be processed" dvasco 16 6,024 2010-01-10, 02:37 PM
Last Post: mvallevand
  Feature Request zaldwaik 1 1,526 2009-12-25, 03:46 PM
Last Post: mvallevand
  "Request cannot be processed" error after changing resolution on PCH tjb 12 4,945 2009-10-28, 12:55 PM
Last Post: tjb

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode