You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_dtcl@tcl.apache.org by yahalom emet <ya...@zvia.org.il> on 2002/02/28 12:28:04 UTC
Inappropriate ioctl for device
Hello
I installed redhad 7.2 and tried to move my project to the new computer.
when I start apache I get in error_log this message:
(25)Inappropriate ioctl for device: Problem running child init script: source /var/www/ChildInit-ttml.tcl
this is what in ChildInit:
package require sql
package require Tclx
package require cgi
set ::conn [sql connect 62.90.64.5 nobody nobody]
sql selectdb $::conn amadeus
when I run this in tcl command line it is ok.
what is the problem??
Thanks
Yahalom Emet
Software Developer
Xor Technologies Ltd.
Tel: +972 (0)4-6619164
E-mail: yahalom@zvia.org.il
Web: http://www.xortechnologies.com
Re: Inappropriate ioctl for device
Posted by yahalom emet <ya...@zvia.org.il>.
Hi
I found the problem. I loaded tclX in childInit. but the package was not
properly installed.
Thanks
Yahalom Emet
Software Developer
Xor Technologies Ltd.
Tel: +972 (0)4-6619164
E-mail: yahalom@zvia.org.il
Web: http://www.xortechnologies.com
----- Original Message -----
From: "David N. Welton" <da...@dedasys.com>
To: "yahalom emet" <ya...@zvia.org.il>
Cc: "Mod_dtcl" <mo...@tcl.apache.org>
Sent: Saturday, March 02, 2002 11:00 AM
Subject: Re: Inappropriate ioctl for device
> "yahalom emet" <ya...@zvia.org.il> writes:
>
> > Hello
> >
> > I installed redhad 7.2 and tried to move my project to the new
computer.
> > when I start apache I get in error_log this message:
> >
> > (25)Inappropriate ioctl for device: Problem running child init script:
source /var/www/ChildInit-ttml.tcl
>
> Sounds quite strange.
>
> > what is the problem??
>
> Well, try running it with some of the code commented out.
>
> Also, as usual, try strace'ing it:
>
> strace -o /tmp/straceout -s 5000 apache -X
>
> and send that to me (privately, if it's big).
>
> --
> David N. Welton
> Consulting: http://www.dedasys.com/
> Personal: http://www.dedasys.com/davidw/
> Free Software: http://www.dedasys.com/freesoftware/
> Apache Tcl: http://tcl.apache.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: mod_dtcl-unsubscribe@tcl.apache.org
For additional commands, e-mail: mod_dtcl-help@tcl.apache.org
Re: Inappropriate ioctl for device
Posted by "David N. Welton" <da...@dedasys.com>.
"yahalom emet" <ya...@zvia.org.il> writes:
> Hello
>
> I installed redhad 7.2 and tried to move my project to the new computer.
> when I start apache I get in error_log this message:
>
> (25)Inappropriate ioctl for device: Problem running child init script: source /var/www/ChildInit-ttml.tcl
Sounds quite strange.
> what is the problem??
Well, try running it with some of the code commented out.
Also, as usual, try strace'ing it:
strace -o /tmp/straceout -s 5000 apache -X
and send that to me (privately, if it's big).
--
David N. Welton
Consulting: http://www.dedasys.com/
Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
Apache Tcl: http://tcl.apache.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: mod_dtcl-unsubscribe@tcl.apache.org
For additional commands, e-mail: mod_dtcl-help@tcl.apache.org