Re: tclkit fails on its own

"[email protected]" <[email protected]> Mon, 25 Oct 2010 17:55:35 +0530
Newsgroups gmane.comp.lang.tcl.starkit
Message-ID <[email protected]>
--001485f2c760d295b50493701664
Content-Type: text/plain; charset=ISO-8859-1

Checked the root crontab, no cron job which executes a 'strip'. I ran a
strip over fresh tclkit binary and tried to invoke the stripped one, it
 gives me the same error message which I mentioned, so can I say some
'strip' somewhere is the cause of the problem?
Anything do with apache/CGI?, please shed some light on this.

On Mon, Oct 25, 2010 at 2:19 PM, Steve Landers <[email protected]>wrote:

>
> On 25/10/2010, at 3:47 PM, Sudheer wrote:
>
> > Guys,
> >
> > I have tclkit and sdx.kit in /usr/bin directory over my RHEL 32 bit
> > platform. I have placed my starkits under /var directory and was using
> > the starkits in a CGI script (launched by Apache) by sourcing the
> > starkit, i.e something like this
> >
> > #!/usr/bin/tclkit
> > source /var/mystarkit.kit
> >
> > and then source the required libraries which are there in vfs.
> >
> > Everything was working fine for few days, but later if I try to invoke
> > tclkit shell I am getting error mentioned below
> >
> > [sudheerkk@daksh ~]$ tclkit
> > application-specific initialization failed: couldn't open "setup.tcl":
> > no such file or directory
> > %
> >
> > same when tried to invoke sdx.kit as well
> >
> > [sudheerkk@daksh ~]$ sdx.kit
> > application-specific initialization failed: couldn't open "setup.tcl":
> > no such file or directory
> > can't find package starkit
> >    while executing
> > "package require starkit"
> >    (file "/usr/bin/sdx.kit" line 4)
> > [sudheerkk@daksh ~]$
> >
> >
> > I noticed the size of tclkit was 1747467 bytes when the fresh copy was
> > put in /usr/bin and now its size has changed to 1099400 bytes. I
> > replaced the tclkit by a fresh copy in /usr/bin, things started
> > working fine but same problems repeated after a week.
> >
> > This is happening from day 1 since 2 months, tclkit is found to be not
> > lasting beyond a week and I don't have a clue what is going wrong.
> > Please help me
>
> My guess is that something or someone is running the "strip" command on the
> contents of /usr/bin, which causes the VFS to be stripped from the tclkit.
>  As a first step in resolving I'd check the date of last change is,  then
> correlate that with the contents of the root crontab.
>
> Steve
>
>


-- 
Sudhi

-- 
You received this message because you are subscribed to the "starkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/starkit?hl=en
--001485f2c760d295b50493701664
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Checked the root crontab, no cron job which executes a &#39;strip&#39;. I r=
an a strip over fresh tclkit binary and tried to invoke the stripped one, i=
t =A0gives me the same error message which I mentioned, so can I say some &=
#39;strip&#39; somewhere is the cause of the problem?<div>
Anything do with apache/CGI?, please shed some light on this.<br><br><div c=
lass=3D"gmail_quote">On Mon, Oct 25, 2010 at 2:19 PM, Steve Landers <span d=
ir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">steve@digitalsm=
arties.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;"><div><div></div><div class=3D"h5"><br>
On 25/10/2010, at 3:47 PM, Sudheer wrote:<br>
<br>
&gt; Guys,<br>
&gt;<br>
&gt; I have tclkit and sdx.kit in /usr/bin directory over my RHEL 32 bit<br=
>
&gt; platform. I have placed my starkits under /var directory and was using=
<br>
&gt; the starkits in a CGI script (launched by Apache) by sourcing the<br>
&gt; starkit, i.e something like this<br>
&gt;<br>
&gt; #!/usr/bin/tclkit<br>
&gt; source /var/mystarkit.kit<br>
&gt;<br>
&gt; and then source the required libraries which are there in vfs.<br>
&gt;<br>
&gt; Everything was working fine for few days, but later if I try to invoke=
<br>
&gt; tclkit shell I am getting error mentioned below<br>
&gt;<br>
&gt; [sudheerkk@daksh ~]$ tclkit<br>
&gt; application-specific initialization failed: couldn&#39;t open &quot;se=
tup.tcl&quot;:<br>
&gt; no such file or directory<br>
&gt; %<br>
&gt;<br>
&gt; same when tried to invoke sdx.kit as well<br>
&gt;<br>
&gt; [sudheerkk@daksh ~]$ sdx.kit<br>
&gt; application-specific initialization failed: couldn&#39;t open &quot;se=
tup.tcl&quot;:<br>
&gt; no such file or directory<br>
&gt; can&#39;t find package starkit<br>
&gt; =A0 =A0while executing<br>
&gt; &quot;package require starkit&quot;<br>
&gt; =A0 =A0(file &quot;/usr/bin/sdx.kit&quot; line 4)<br>
&gt; [sudheerkk@daksh ~]$<br>
&gt;<br>
&gt;<br>
&gt; I noticed the size of tclkit was 1747467 bytes when the fresh copy was=
<br>
&gt; put in /usr/bin and now its size has changed to 1099400 bytes. I<br>
&gt; replaced the tclkit by a fresh copy in /usr/bin, things started<br>
&gt; working fine but same problems repeated after a week.<br>
&gt;<br>
&gt; This is happening from day 1 since 2 months, tclkit is found to be not=
<br>
&gt; lasting beyond a week and I don&#39;t have a clue what is going wrong.=
<br>
&gt; Please help me<br>
<br>
</div></div>My guess is that something or someone is running the &quot;stri=
p&quot; command on the contents of /usr/bin, which causes the VFS to be str=
ipped from the tclkit. =A0As a first step in resolving I&#39;d check the da=
te of last change is, =A0then correlate that with the contents of the root =
crontab.<br>

<font color=3D"#888888"><br>
Steve<br>
<br>
</font></blockquote></div><br><br clear=3D"all"><br>-- <br>Sudhi<br>
</div>

<p></p>

-- <br />
You received this message because you are subscribed to the &quot;starkit&q=
uot; group.<br />
To post to this group, send email to [email protected]<br />
To unsubscribe from this group, send email to starkit-unsubscribe@googlegro=
ups.com<br />
For more options, visit this group at <a href=3D"http://groups.google.com/g=
roup/starkit?hl=3Den">http://groups.google.com/group/starkit?hl=3Den</a>
--001485f2c760d295b50493701664--