Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Was ist damit eig. genau gemeint?ein virtuelles Verzeichnis ist konfiguriert.
|
|
Source code |
1 |
/var/www/localhost/cgi-bin/ivdr/ |
Der SVDRP Fehler ist glaube ich nur eine Folgeerscheinung der vorhergehenden Fehler.
This post has been edited 1 times, last edit by "Phill" (Oct 21st 2011, 9:54am)
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<Files ~ "\.(pl|cgi)$">
SetHandler perl-script
PerlResponseHandler ModPerl::PerlRun
Options +ExecCGI
PerlSendHeader On
</Files>
Alias /ivdr "/var/www/localhost/cgi-bin/ivdr"
<Directory "/var/www/localhost/cgi-bin/ivdr">
Options +ExecCGI
AllowOverride None
DirectoryIndex ivdr.pl
allow from all
Options +Indexes
</Directory>
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 |
ls -la /var/www/localhost/cgi-bin/ivdr insgesamt 72 drwxrwxr-x 4 apache apache 4096 22. Okt 08:56 . drwxr-xr-x 4 root root 4096 8. Okt 18:49 .. drwxr-xr-x 2 apache apache 4096 8. Okt 23:03 components -rwxr-xr-x 1 apache apache 2123 18. Apr 2011 istream.sh drwxr-xr-x 3 apache apache 4096 22. Okt 08:56 ivdr -rwxr-xr-x 1 apache apache 35874 8. Okt 20:05 ivdr.pl -rw-rw-rw- 1 apache apache 0 8. Okt 12:43 markedfiles.log -rwxr-xr-x 1 apache apache 16150 26. Apr 19:55 mdb.pl |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
ls -la /var/www/localhost/cgi-bin/ivdr/components/ insgesamt 252 drwxr-xr-x 2 apache apache 4096 8. Okt 23:03 . drwxrwxr-x 4 apache apache 4096 22. Okt 08:56 .. -rw-r--r-- 1 apache apache 11965 1. Mai 00:11 config.pl -rw-r--r-- 1 apache apache 447 8. Okt 22:09 config.pm -rw-r--r-- 1 apache apache 28658 8. Okt 21:03 config.xml -rw-r--r-- 1 apache apache 6053 2. Mai 22:04 de.lang.pack -rw-r--r-- 1 apache apache 5640 2. Mai 22:04 en.lang.pack -rw-r--r-- 1 apache apache 3000 1. Mai 00:09 htmlelement.pm -rw-r--r-- 1 apache apache 12187 2. Mai 22:10 istream.pl -rw-rw-rw- 1 apache apache 0 8. Okt 12:42 ivdr.db -rw-rw-rw- 1 apache apache 2059 2. Mai 21:14 ivdr.db.default -rw-r--r-- 1 apache apache 18822 1. Mai 00:53 main.pl -rw-r--r-- 1 apache apache 9478 1. Mai 10:56 mediastream.pl -rw-r--r-- 1 apache apache 17963 30. Apr 23:44 mediathek.pl -rw-r--r-- 1 apache apache 4909 29. Apr 16:09 packages.pm -rw-r--r-- 1 apache apache 15805 1. Mai 10:41 rc.pl -rw-r--r-- 1 apache apache 2179 19. Apr 2011 svdrp.pm -rw-r--r-- 1 apache apache 53082 1. Mai 00:34 vdrhandler.pl -rw-r--r-- 1 apache apache 15152 1. Mai 22:24 vdr.pm -rw-r--r-- 1 apache apache 8517 2. Mai 19:00 vdrremote.pl |
|
|
Source code |
1 2 3 4 5 6 7 |
$weburl="/ivdrdata"; # URL of ivdrdata $debug=1; # debug or not debug; $tempdir = "/tmp/iVDR/"; # Temporary directory $atprocess = "/usr/bin/at"; # at process @schedtime = qw(1300 1330 1400 1430 1500 1530 1600 1630 1700 1730 1800 1830 1900 1930 2000 2030 2100 2130 2230 2330 0000 0030 0100 0130); @menusort = qw(vdr_ul stream_ul media_ul vdrinfo_ul epgs_ul conf_ul own_ul set_ul); $jscript = "$weburl/iui.js"; |
|
|
Source code |
1 2 3 4 5 |
[Sat Oct 22 12:03:11 2011] [error] [client 88.117.127.104] File does not exist: /var/www/localhost/htdocs/favicon.ico [Sat Oct 22 12:03:11 2011] [error] [client 88.117.127.104] File does not exist: /var/www/localhost/htdocs/favicon.ico [Sat Oct 22 12:03:12 2011] [error] [client 88.117.127.104] File does not exist: /var/www/localhost/htdocs/favicon.ico [Sat Oct 22 12:03:17 2011] [error] [client 88.117.127.104] Attempt to serve directory: /var/www/localhost/cgi-bin/ivdr/ [Sat Oct 22 12:03:24 2011] [error] [client 88.117.127.104] Attempt to serve directory: /var/www/localhost/cgi-bin/ivdr/ |
Hallo Christian,Hi,
ich bringe iVDR nicht zum laufen :-(
Perl und ein virtuelles Verzeichnis ist konfiguriert.
die Hauptseite wird angezeigt, allerdings sobald ich die Einstellungen neu anlegen will bekomme ich nur Software Error: im Browser (beim 2. Klick auf Einstellungen, beim 1. tut sich gar nix).
im iVDR Log sind dann folgende Zeilen vorhanden:
[Sun Oct 9 14:19:56 2011] main.pl: couldn't parse main.pl: [Sun Oct 9 14:19:56 2011] main.pl: Null filename used at /var/www/localhost/cgi-bin/ivdr/ivdr.pl line 706.
[Sun Oct 9 14:46:36 2011] config.pm: Error while loading ./components/ivdr.db! at /var/www/localhost/cgi-bin/ivdr/ivdr.pl line 655.
[Sun Oct 9 14:46:36 2011] config.pm: Error while loading Configuration! at /var/www/localhost/cgi-bin/ivdr/ivdr.pl line 77.
[IVDR LOG: 09.10.2011 14:46:36]88.117.103.35:/ivdr/ - Method: GET - Length: - CONFIG: ]
SVDRP: connect Verbindungsaufbau abgelehnt
Closing Socket
Der SVDRP Fehler ist glaube ich nur eine Folgeerscheinung der vorhergehenden Fehler.
Hat jemand einen Tip für mich?
(Google hat keinen)
danke&lg
christian
Hallo Frank,
nö.
ich setzte alle Hoffnung auf Phill, dass er mir weiterhelfen kann.
lg
christian
bitte nochmal überprüfen!
Quoted
3.Setup
You can take your previous configurationfile, located at components/ivdr.db since 0.3.0.
[list=1] On first installation, you have to create an empty components/ivdr.db file or copy ivdr.db.default to ivdr.db
cd /usr/lib/cgi-bin/ivdr/components
touch ivdr.db; chmod 666 ivdr.db
or
cp -p ivdr.db.default ivdr.db
Quoted
NOTE: The ivdr.db.default doesn't work for 64bit systems.
4. Create markedfiles.log
touch /usr/lib/cgi-bin/ivdr/markedfiles.log
chmod 666 /usr/lib/cgi-bin/ivdr/markedfiles.log
[/list]
|
|
Source code |
1 |
-rw-rw-rw- 1 apache apache 2,1K 27. Okt 23:44 /var/www/localhost/cgi-bin/ivdr/components/ivdr.db |
|
|
Source code |
1 |
-rw-rw-rw- 1 apache apache 0 8. Okt 12:43 /var/www/localhost/cgi-bin/ivdr/markedfiles.log |
|
|
Source code |
1 2 3 4 5 |
[Fri Oct 28 09:57:28 2011] main.pl: couldn't parse main.pl: [Fri Oct 28 09:57:28 2011] main.pl: Null filename used at /var/www/localhost/cgi-bin/ivdr/ivdr.pl line 706. [Fri Oct 28 09:57:50 2011] config.pm: Error while loading ./components/ivdr.db! at /var/www/localhost/cgi-bin/ivdr/ivdr.pl line 655. [Fri Oct 28 09:57:50 2011] config.pm: Error while loading Configuration! at /var/www/localhost/cgi-bin/ivdr/ivdr.pl line 77. [IVDR LOG: 28.10.2011 09:57:50]88.117.121.146:/ivdr/ivdr.pl?confighandler=load&set=new - Method: GET - Length: - CONFIG: ] [Fri Oct 28 09:57:50 2011] config.pl: couldn't parse config.pl: [Fri Oct 28 09:57:50 2011] Simple.pm: File does not exist: ./components/config.xml at /var/www/localhost/cgi-bin/ivdr/components/config.pl line 336 |
Quoted
File does not exist: ./components/config.xml
Quoted
http://ipadresse/cgi-bin/ivdr/ivdr.pl#_main
|
|
Source code |
1 |
$files = "./components/";; |
|
|
Source code |
1 |
$files = "/var/www/localhost/cgi-bin/ivdr/components/";; |
This post has been edited 1 times, last edit by "Phill" (Oct 28th 2011, 10:56am)
|
|
Source code |
1 |
Can't acces iVDR-Workdir at /var/www/localhost/cgi-bin/ivdr/ivdr.pl line 67. |
|
|
Source code |
1 2 3 |
[Fri Oct 28 11:57:28 2011] main.pl: couldn't parse main.pl: ModPerl::Util::exit: (120000) exit was called at /var/www/localhost/cgi-bin/ivdr/components/main.pl line 141 at /var/www/localhost/cgi-bin/ivdr/ivdr.pl line 524. [IVDR LOG: 28.10.2011 11:58:42]88.117.121.146:/ivdr/ivdr.pl?confighandler=load&set=0 - Method: GET - Length: - CONFIG: iVDR] [Fri Oct 28 11:58:42 2011] config.pl: couldn't parse config.pl: ModPerl::Util::exit: (120000) exit was called at /var/www/localhost/cgi-bin/ivdr/components/config.pl line 173 at /var/www/localhost/cgi-bin/ivdr/ivdr.pl line 165. |
|
|
Source code |
1 |
[IVDR LOG: 01.11.2011 20:09:00]192.168.1.21:/cgi-bin/ivdr/ivdr.pl?REC=LIST - Method: GET - Length: - CONFIG: zotac] |
|
|
Source code |
1 2 3 4 5 |
s# ls -ls /srv/vdr/video.00/ 0 lrwxrwxrwx 1 vdr vdr 16 2011-10-31 14:41 6C7C-C71B -> /media/6C7C-C71B 4 drwxr-xr-x 3 vdr vdr 4096 2011-11-01 18:42 @Der_Weinmeister_Der_Duft_der_Weine 4 drwxr-xr-x 3 vdr vdr 4096 2011-11-01 19:35 Harald_Glööckler 4 drwxr-xr-x 3 vdr vdr 4096 2011-11-01 19:40 THEMA |
|
|
Source code |
1 2 3 4 5 |
s# svdrpsend LSTR 220 zotac SVDRP VideoDiskRecorder 1.7.21; Tue Nov 1 20:13:01 2011; UTF-8 250-1 01.11.11 18:42 0:00î @Der Weinmeister Der Duft der Weine 250-2 01.11.11 08:58 0:00î THEMA 250 3 01.11.11 19:28 0:00î Harald Glööckler |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
# ./ivdr.pl -c
iVDR - Webfrontend for touch devices. Version 0.3.2
-----------> Mainconfig <------------
$weburl="/ivdrdata"; # URL of ivdrdata
$debug=1; # debug or not debug;
$tempdir = "/tmp/iVDR/"; # Temporary directory
$atprocess = "/usr/bin/at"; # at process
@schedtime = qw(1300 1330 1400 1430 1500 1530 1600 1630 1700 1730 1800 1830 1900 1930 2000 2030 2100 2130 2230 2330 0000 0030 0100 0130);
@menusort = qw(vdr_ul stream_ul media_ul vdrinfo_ul epgs_ul conf_ul own_ul set_ul);
$jscript = "$weburl/iui.js";
1;
----------> Configuration <----------
binmodetoutf8 1
chaimages
change quicksearch
channels /var/lib/vdr/channels.conf
charset utf-8
clientdir
confighandler save
configid 0
configname zotac
configversion 0.3.2
epgimages /var/lib/vdr/epgimages
exportdir /var/www/ivdrdata/export
fav_hours 48
ffmpeg /usr/lib/cgi-bin/ivdr/ffmpeg/bin/ffmpeg
ffmpeglib /usr/lib/cgi-bin/ivdr/ffmpeg/lib/
fps 25
language en
lifetime 99
localdir /tmp/ram
maxchannels 499
media_music_dir
media_music_on 0
media_music_pat mp3
media_music_rek 1
media_radio_dir
media_radio_on 0
media_radio_pat pls|m3u
media_radio_rek 0
media_video_dir /srv/vdr/video.00
media_video_on 1
media_video_pat 3gp{1,2}|mp[g4v]|mpeg|ogg|wmv|avi|iso|mp3|mov|mkv|m4v|ts
media_video_rek 1
mediathek 0
panic_script
player mplayer
player_adress
pre_switch_time 30
predefineddirs
pretime 120
priority 60
remoteimage 1
seg /usr/lib/cgi-bin/ivdr/ffmpeg/bin/segmenter
serverdir
slide 0
special_links_link
special_links_name
special_links_target _changewindow
stddir iVDR~
stream 1
stream_ab 160k
stream_nm low
stream_res 144x96
stream_vb 128k
suftime 600
timeformat 24
usecategory 1
user_1 USER1
user_2 USER2
user_3 USER3
user_4 USER4
user_5 USER5
user_6 USER6
user_7 USER7
user_8 USER8
user_9 USER9
vdr 1
vdr_adress localhost
vdr_mpplay 0
vdr_port 6419
vdr_streamdev
videodir /srv/vdr/video.00
volumemax 255
volumemin 0
wwwdir /ram
|
Quoted
in der Datei components/istream.pl Zeile 254 ändern:
![]()
Source code
1$command = join(" ", $istream, "-", '"'.$form_input ->{'map'}.'"', $OPT{stream_vb}[$type], $OPT{stream_ab}[$type], $OPT{stream_res}[$type], $OPT{wwwdir}.$session, 1260, $OPT{ffmpeg}, $OPT{seg}, $OPT{localdir}."/".$session, "'$rec{path}/0*'");
Quoted
Zeile 38: Fix für VDR Version > 1.7.21und Zeile 81:
![]()
Source code
1while ($string =~ /250.(\d*?) (\d{2}).(\d{2}).(\d{2}).(\d{2}).(\d{2}).\d*:\d{2}(.) (.*)\r\n/g) {
![]()
Source code
1while ($svdrprequest =~ /250.(\d*)\ (\d{2}).(\d{2}).(\d{2})\ (\d{2}):(\d{2}).\d*:\d{2}.{2}(.*)\r\n/g) {
Quoted
Zeile 85 auskommentieren:
![]()
Source code
1# $dir =~ s/\_|\"|\\|\/|\:|\*|\?|\||\>|\<|\#/sprintf(uc("#%2x"), ord $&)/eg;
This post has been edited 2 times, last edit by "Phill" (Nov 2nd 2011, 10:51am)
Quoted
On upgrading you are ready now.
cp -p ivdr.db.default ivdr.db
Quoted
NOTE: The ivdr.db.default doesn't work for 64bit systems.
vorgegangen bin ich nach folgender Anleitung:
Quoted
Note: This guide requires the installation of an webserver like Apache or lighttp!