lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev Lynx error with metamail


From: Qingning Huo
Subject: lynx-dev Lynx error with metamail
Date: Mon, 08 Jan 2001 16:46:05 +0000

I am trying to use lynx in a perl cgi script to format a HTML page.  Like this:

  open(LYNX, "/usr/bin/lynx -dump -nolist http://www.yahoo.com|")
    or die "Unable to open lynx: $!";
  # read <LYNX> here
  close(LYNX) or die("Unable to close lynx: $?");

But, I can't get anything from it.  The error message is 

  Unable to close lynx: 65280

And, in apache error_log I found:

  metamail: Can't open temporary file!

Then, I thied the following:

1: run lynx from command line as normal user: ok.
2: run lynx from command line as nobody(apache user): failed, same message.
3: change the home of nobody to /tmp in /etc/passwd, then run lynx from command 
line as nobody: succeed!
4: after 3, test the script from web browser: failed, same message. (I did 
restart apache.)

I don't know where to go then,  can anybody give a hint?

I am using Apache/1.3.9, mod_perl/1.21, lynx 2.8.2rel.1, and metamail 2.7.

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]