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 … 10 11 12 13 14 … 37 Next »
trouble with gbpvr.cgi

 
  • 0 Vote(s) - 0 Average
trouble with gbpvr.cgi
ryanmc
Offline

Member

Posts: 234
Threads: 52
Joined: May 2005
#1
2010-04-14, 12:37 AM
i have afresh install and am having trouble with my gbpvr.cgi. the first time i load it i get "mkdir cannot create director" if i go to source and reload the cgi for a second time it works then. not sure why it takes two tries.

#!/bin/sh

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

cd ~
if [ -f /etc/mvpmc/mvpmcx2 ]
then
echo "mvmcx2 is loaded";
else


mkdir /etc/mvpmc
mount -t cifs //192.168.1.7/mvpmc /etc/mvpmc -o username=root,rw
mkdir /mnt/O:\\DVD
mount -t cifs //192.168.1.7/DVD /mnt/O:\\DVD -o username=root,rw
cp /etc/mvpmc/utelnetd /usr/bin
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
utelnetd -l /bin/sh -p 23 &
echo "Telnetd started on port 23............";
fi
killall gaya
sh -c /etc/mvpmc/startmeup 2>/dev/null >/dev/null &
exit 0;
2.6quadcore,4gbddr2,(2)hvr1600,(2)pvr150,a-100,mvp, windows7
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,849
Threads: 954
Joined: May 2006
#2
2010-04-14, 01:11 AM
You've got two mkdir commands, my guess is there is an error in the second one or it wouldn't run, Maybe your cgi is bad ie edited with a non-linux editor or the syntax is wrong, try

mkdir /mnt/O\:\\DVD
mount -t cifs //192.168.1.7/DVD /mnt/O\:\\DVD -o username=root,rw

Martin
ryanmc
Offline

Member

Posts: 234
Threads: 52
Joined: May 2005
#3
2010-04-14, 01:26 AM (This post was last modified: 2010-04-14, 01:30 AM by ryanmc.)
if i take out the the dvd mount it works so i was thinking syntax too. funny thing is that the 2nd time it loads and im able to play the dvds from the dvd mount. i use editpad lite. i tried changing the syntax as above same result. ive somewhat gotten use to having to load 2 times but would be nice if i could figure it out. thanks
2.6quadcore,4gbddr2,(2)hvr1600,(2)pvr150,a-100,mvp, windows7
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,849
Threads: 954
Joined: May 2006
#4
2010-04-14, 02:08 AM
Compress and upload your cgi file and I will have a look

Martin
ryanmc
Offline

Member

Posts: 234
Threads: 52
Joined: May 2005
#5
2010-04-14, 10:16 AM
thanks martin
2.6quadcore,4gbddr2,(2)hvr1600,(2)pvr150,a-100,mvp, windows7
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,849
Threads: 954
Joined: May 2006
#6
2010-04-14, 03:59 PM
I tried this on my system (only changing the IP and the source sharename from DVD to one I have) and it works without any errors. If you run with a hard disk, maybe you need to clear the cache? Otherwise I don't have any logical explanation of why this isn't working or the rather odd error

Martin
ryanmc
Offline

Member

Posts: 234
Threads: 52
Joined: May 2005
#7
2010-04-14, 05:34 PM
thanks again martin for taking the time. i dont think i tried clearing the cache yet, if not il try changing the path or something like that. i also tried changing the order of the mounts and it had same trouble.
2.6quadcore,4gbddr2,(2)hvr1600,(2)pvr150,a-100,mvp, windows7
ryanmc
Offline

Member

Posts: 234
Threads: 52
Joined: May 2005
#8
2010-04-14, 08:32 PM
cleared the cache same thing . i changed the path from O to Q and it worked . weird. thanks again
2.6quadcore,4gbddr2,(2)hvr1600,(2)pvr150,a-100,mvp, windows7
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Trouble with 3rd PCH - "Request cannot be processed" jghanisco 4 4,906 2013-07-23, 03:49 AM
Last Post: jghanisco
  Videos won't play on PCH A-100 with GBPVR arkennedy75 6 3,489 2012-01-20, 12:53 AM
Last Post: mvallevand
  More than one server - one NPVR and one GBPVR? baj1 4 2,486 2012-01-17, 06:49 PM
Last Post: martint123
  Trouble getting startmeup to wake the Server jksmurf 9 4,472 2012-01-07, 12:07 AM
Last Post: mvallevand
  NMTinstall for GBPVR no longer working? caz 6 3,045 2011-07-09, 01:07 PM
Last Post: caz
  Can't play recorded video files on PCH-A100 using GBPVR dvasco 4 2,387 2011-01-04, 01:19 PM
Last Post: dvasco
  New mvpmcx2o update for GBPVR and NPVR 2010-12-24 mvallevand 3 1,901 2010-12-27, 01:51 PM
Last Post: mvallevand
  New M34A on eixting GBPVR 1.4.7: GBPVR via NetworkBrowser: "Request cannot be proc" lucille84 3 1,980 2010-11-09, 12:30 AM
Last Post: mvallevand
  New mvpmcx2n update for GBPVR and NPVR 2010-09-05 mvallevand 14 6,371 2010-10-16, 05:03 AM
Last Post: zaldwaik
  Running GBPVR & NPVR Blue Racer 4 2,270 2010-10-01, 09:51 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode