Modality Worklist - wlmscpfs wwwapp help - no Available Storage Areas

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
toddboyland
Posts: 3
Joined: Sat, 2011-07-23, 02:50
Location: Solon, OH
Contact:

Modality Worklist - wlmscpfs wwwapp help - no Available Storage Areas

#1 Post by toddboyland »

I'm trying to get dcmtk-www to work as a part of wlmscpfs (dcmtk: wlmscpfs v3.5.4 2005-12-20).
I found 2 users in the forum w/ the same symptoms, but no forum responses.
The wlmscpfs portion works fine as a standalone worklist SCP when queried from a worklist SCU.

I've followed all instructions in the wwwapp.txt file.
When I point my browser at ~/cgi-bin/dcmtk_wlm/main.pl, the page appears but I see no Available Storage Areas (see image below).
When I point my browser at ~/cgi-bin/dcmtk_wlm/worklist.pl (or any other .pl), I get a "Password Invalid" message (see image below).

I am using Ubuntu server 10 OS, Apache2, PHP5, Perl 5.10.1.
I did not compile the program myself (I installed on Ubuntu using "apt-get install dcmtk" and "apt-get install "dcmtk-www").
I get the same results (No Available Storage Areas) in Mozilla Firefox 5.0, and Internet Explorer 8.0, from multiple http client systems.

My directory structure (/usr/lib/dcmtk/cgi-bin/prefs.ph references each of these):
/var/www/cgi-bin/dcmtk_wlm/ (cgi-scripts are here, all users have full permissions [chmod -R 777]
/var/www/wlist/ (HTML/GIF folder, all users have full permissions [chmod -R 777])
/var/www/wlist/data/ (worklist storage folder, all users have full permissions [chmod -R 777])

Any help would be greatly appreciated.
Thank you.

Todd B.


Image

Image

J. Riesmeier
DCMTK Developer
Posts: 2504
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

#2 Post by J. Riesmeier »

Could you please provide the output of "ls -lR /var/www/wlist/data/" and "cat prefs.ph" (without the longish copyright header of course).

toddboyland
Posts: 3
Joined: Sat, 2011-07-23, 02:50
Location: Solon, OH
Contact:

#3 Post by toddboyland »

"ls -lR /var/www/wlist/data/" results in:
-rwxrwxrwx 1 root root 1 2011-07-22 21:18 lockfile
-rwxrwxrwx 1 root root 655 2011-07-22 21:17 wklist10.dump
-rwxrwxrwx 1 root root 664 2011-07-22 21:17 wklist1.dump
-rwxrwxrwx 1 root root 748 2011-07-22 21:19 wklist1.wl
-rwxrwxrwx 1 root root 681 2011-07-22 21:17 wklist2.dump
-rwxrwxrwx 1 root root 732 2011-07-22 21:19 wklist2.wl
-rwxrwxrwx 1 root root 652 2011-07-22 21:17 wklist3.dump
-rwxrwxrwx 1 root root 644 2011-07-22 21:17 wklist4.dump
-rwxrwxrwx 1 root root 652 2011-07-22 21:17 wklist5.dump
-rwxrwxrwx 1 root root 658 2011-07-22 21:17 wklist6.dump
-rwxrwxrwx 1 root root 658 2011-07-22 21:17 wklist7.dump
-rwxrwxrwx 1 root root 659 2011-07-22 21:17 wklist8.dump
-rwxrwxrwx 1 root root 661 2011-07-22 21:17 wklist9.dump


"sudo cat /usr/lib/dcmtk/cgi-bin/prefs.ph" results in:
# --------------------- WWW Server Configuration ---------------------
# RELATIVE path to the WWW script directory, as seen by httpd
$prefs{'cgi_path'} = '/cgi-bin/dcmtk_wlm/';
# RELATIVE path to the WWW html directory, as seen by httpd
$prefs{'html_path'} = '/usr/share/dcmtk/www/';
# ABSOLUTE path to the data directory
$prefs{'data_path'} = '/var/www/wlist/data/';
# ------------------ Constants - Please do not change! ------------------
# Paths for HTML links.
$prefs{'offis_gif'} = join('/',$prefs{'html_path'},'offis.gif');
$prefs{'main.pl'} = join('/',$prefs{'cgi_path'},'main.pl');
$prefs{'patient.pl'} = join('/',$prefs{'cgi_path'},'patient.pl');
$prefs{'patiedit.pl'} = join('/',$prefs{'cgi_path'},'patiedit.pl');
$prefs{'patidel.pl'} = join('/',$prefs{'cgi_path'},'patidel.pl');
$prefs{'station.pl'} = join('/',$prefs{'cgi_path'},'station.pl');
$prefs{'statedit.pl'} = join('/',$prefs{'cgi_path'},'statedit.pl');
$prefs{'statdel.pl'} = join('/',$prefs{'cgi_path'},'statdel.pl');
$prefs{'procedur.pl'} = join('/',$prefs{'cgi_path'},'procedur.pl');
$prefs{'procedit.pl'} = join('/',$prefs{'cgi_path'},'procedit.pl');
$prefs{'procdel.pl'} = join('/',$prefs{'cgi_path'},'procdel.pl');
$prefs{'procstep.pl'} = join('/',$prefs{'cgi_path'},'procstep.pl');
$prefs{'prstedit.pl'} = join('/',$prefs{'cgi_path'},'prstedit.pl');
$prefs{'prstdel.pl'} = join('/',$prefs{'cgi_path'},'prstdel.pl');
$prefs{'worklist.pl'} = join('/',$prefs{'cgi_path'},'worklist.pl');
$prefs{'workedit.pl'} = join('/',$prefs{'cgi_path'},'workedit.pl');
$prefs{'workdel.pl'} = join('/',$prefs{'cgi_path'},'workdel.pl');
$prefs{'changepw.pl'} = join('/',$prefs{'cgi_path'},'changepw.pl');

# Path to the C++ executables required by "lock.ph", "worklist.pl" etc.
$prefs{'preplock'} = './preplock';
$prefs{'readoviw'} = './readoviw';
$prefs{'readwlst'} = './readwlst';
$prefs{'writwlst'} = './writwlst';

# Name of the password file in each storage area
$prefs{'passwdfile'} = 'passwd.dat';
$prefs{'publicfile'} = 'public';

# Name of the perl data file in each storage area
$prefs{'datafile'} = 'worklist.dat';

# Name of the (common) log file, relative to $prefs{'data_path'}.
$prefs{'logfile'} = 'log.dat';

# Name of the file used for read/write locking.
# Attention: Must be identical to the filename used in the C++
# compontents of the dcmtk Basic Worklist Management utility.
$prefs{'lockfile'} = 'lockfile';

# Filename extension for DICOM files (worklist entries).
$prefs{'dicom_ext'} = 'wl';

#
$prefs{'series_UID'} = '1.2.276.0.7230010.3.5.3';

1;

J. Riesmeier
DCMTK Developer
Posts: 2504
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

#4 Post by J. Riesmeier »

Where are the sub-directories for each supported AE title? See section 5 (CREATE STORAGE AREAS) in "wwwapps.txt".
# RELATIVE path to the WWW html directory, as seen by httpd
$prefs{'html_path'} = '/usr/share/dcmtk/www/';
Also this does not seem to be a relative path and it is also different from the one in your previous posting ("/var/www/wlist/"). Nevertheless, the OFFIS logo was found (i.e. is visible), so this does not seem to be an issue ...

toddboyland
Posts: 3
Joined: Sat, 2011-07-23, 02:50
Location: Solon, OH
Contact:

#5 Post by toddboyland »

Somehow I had 2 prefs.ph files & it turns out I was editing the wrong one.
So the relative www path was pointing to the wrong path.
Working now.
Thank you for pointing that out, I appreciate the help.

Todd B.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest