Re: tclkit fails on its own

Steve Landers <[email protected]> Mon, 25 Oct 2010 16:49:35 +0800
Newsgroups gmane.comp.lang.tcl.starkit
Message-ID <[email protected]>
On 25/10/2010, at 3:47 PM, Sudheer wrote:

> Guys,
>=20
> 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
>=20
> #!/usr/bin/tclkit
> source /var/mystarkit.kit
>=20
> and then source the required libraries which are there in vfs.
>=20
> Everything was working fine for few days, but later if I try to invoke
> tclkit shell I am getting error mentioned below
>=20
> [sudheerkk@daksh ~]$ tclkit
> application-specific initialization failed: couldn't open "setup.tcl":
> no such file or directory
> %
>=20
> same when tried to invoke sdx.kit as well
>=20
> [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 ~]$
>=20
>=20
> 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.
>=20
> 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

--=20
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 starkit-unsubscribe@googlegro=
ups.com
For more options, visit this group at http://groups.google.com/group/starki=
t?hl=3Den