FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 04-10-2011, 03:23 PM
"Todd A. Jacobs"
Default Problems running antiword as an xinetd service

I'm unable to get antiword to process standard input over a network
connection using xinetd. I've got the following in /etc/xinetd.d:

service antiword
disable = no
flags += IPv4
socket_type = stream
protocol = tcp
user = nobody
group = nogroup
wait = no
nice = 10
env = PATH=/bin:/usr/bin ANTIWORDHOME=/usr/share/antiword
port = 2100
server = /usr/bin/antiword
server_args = -
log_type = FILE /tmp/antiword.log
log_on_success += PID EXIT DURATION
log_on_failure += HOST ATTEMPT
banner_success = /etc/motd
only_from =

However, attempting to write to the socket just gets me the MOTD:

exec 4<>/dev/tcp/
cat foo.doc >&4
cat <&4
exec 4>&-
exec 4<&-

Watching tcpdump, I can see that the Word document gets sent, but
antiword never reads standard input, as far as I can tell. I've also
tried putting antiword into a bash script, and calling that instead
from xinetd, but get the same results: no input from stdin.

Am I doing something wrong, or is there a bug in antiword?

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: BANLkTikjT4yycyWzsdoqOgQUHudyMMDzEw@mail.gmail.com ">http://lists.debian.org/BANLkTikjT4yycyWzsdoqOgQUHudyMMDzEw@mail.gmail.com

Thread Tools

All times are GMT. The time now is 09:45 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org