Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Parse_RDF.pl problems

Quote Reply
Parse_RDF.pl problems
[edit]It always helps to uncompress the file first ;}[/edit]

I just used the handy LWP:: command to grab all of the dmoz Parse_RDF file. The file moved to my server as content.txt perfectly but when I run parse_rdf.pl from telnet, nothing happens.

Well, something happens with the script and perl but not mysql and nothing seems to get accomplished. Here's part of a ps aux when the command has been running for about a minute
Code:
USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND
admin 6661 0.0 0.8 2416 1040 p0 S 02:38 0:00 -bash
admin 7610 0.0 0.5 2384 732 ? S 03:59 0:00 sh -c (cd /usr/man ; /usr/bin/gtbl /usr/man/man1/ls.1 | /usr/bin/groff -T
admin 7611 0.0 0.6 2388 796 ? S 03:59 0:00 sh -c (cd /usr/man ; /usr/bin/gtbl /usr/man/man1/ls.1 | /usr/bin/groff -T
admin 7614 9.7 0.5 1776 684 ? R 03:59 3:59 /usr/bin/less -is
admin 8626 0.0 0.8 2420 1060 p2 S 04:22 0:00 -bash
admin 8790 0.1 0.9 3536 1272 ? S N 04:36 0:00 proftpd: admin - ip131.san-francisco31.ca.pub-ip.psi.net: IDLE
admin 8792 49.7 1.6 5448 2152 p2 R 04:36 1:39 perl Parse_RDF.pl
httpd 7436 0.0 1.7 7512 2184 ? S 03:45 0:00 /usr/sbin/httpd
httpd 7437 0.0 1.7 7544 2204 ? S 03:45 0:00 /usr/sbin/httpd
httpd 7438 0.0 1.7 7492 2176 ? S 03:45 0:00 /usr/sbin/httpd
httpd 7439 0.0 1.6 7492 2156 ? S 03:45 0:00 /usr/sbin/httpd
httpd 7442 0.0 1.6 7224 2120 ? S 03:45 0:00 /usr/sbin/httpd
httpd 7449 0.0 1.6 7492 2152 ? S 03:46 0:00 /usr/sbin/httpd
httpd 7450 0.0 1.6 7228 2116 ? S 03:46 0:00 /usr/sbin/httpd
httpd 7451 0.0 1.6 7228 2128 ? S 03:46 0:00 /usr/sbin/httpd
httpd 7593 0.0 1.6 7212 2088 ? S 03:57 0:00 /usr/sbin/httpd
mysql 411 0.0 1.2 12828 1568 ? S N 15:44 0:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-
mysql 423 0.0 1.2 12828 1568 ? S N 15:44 0:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-
mysql 425 0.0 1.2 12828 1568 ? S N 15:44 0:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-
mysql 8793 0.0 1.2 12828 1568 ? S N 04:36 0:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-

Any ideas why this is happening or what I should look at? No errors are coming back and this is a fresh install of 1.11

------------------
Ted Sindzinski
www.infinityinternet.com


[This message has been edited by infinity (edited December 30, 1999).]
Quote Reply
Re: Parse_RDF.pl problems In reply to
Just for anyone else who tries this, you need to name the file content.gz and then run 'gzip -d content.gz'. This creates a massive file named content which you can parse.
Quote Reply
Re: Parse_RDF.pl problems In reply to
Yes....

Its' a problem on dmoz's end, but the "content.txt" file you get is really content.txt.gz and you need to gunzip it.

The file is about 85 meg, and uncompresses to almost 500 meg...