those files are in fact, the socket files. We put them in /tmp because that
is where:

1: We are guaranteed write privs
2: It's temporary file, traditionally socket files are written there, take
xwindows for example, all of it sockets are written there. 

3: From a past email from TomJ:

"I certainly wouldn't think that any system would run very well if
the entire /tmp directory was removed.  I sometimes regret putting
the socket there (yes, it was me, way back in CF 3.1) and not in
the /opt/coldfusion directories, but at the time we did not have
any well known place to find things.  We later made it a requirement
that /opt/coldfusion has to point to the install directory, wherever
that really lives, but by this time it was difficult to change the 
location."

So, it's a combo "good thing" and "because we did it originally, and
couldn't change it". As it is, redhat 7.x introduced tmpwatch, a daemon like
cron that goes through and deletes "stale" files in /tmp. If your cf servers
been running for longer than the stale-time, tmpwatch will nuke the socket
files.

This is a bad thing. Technically, you should not be able to access cfserver
if the socket files are missing.


========================
Jesse Noller
Linux Fiend
Macromedia Server Development
[EMAIL PROTECTED]

[root@spidermonkey]$ chown -R us:us *yourbase

find / -name '*yourbase*' | xargs chown us:us

> -----Original Message-----
> From: Ryan [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 17, 2001 10:57 AM
> To: CF-Linux
> Subject: What is the /tmp/cfide file? I removed it
> 
> 
> I was cleaning up some of my files in the /tmp directory and 
> I accidentally 
> removed the cfide file (why to they put these in /tmp!).  
> I've managed to 
> find out on the Allaire forums that the cfide and cfserver 
> files in /tmp 
> are sockets.
> 
> Anyway, I stopped and restarted CF, and it removed the 
> cfserver file and 
> then recreated it, but cfide never showed back up.  
> Everything on my site 
> still seems to work fine, including the Administrator.  So 
> does anyone know 
> what this file is for and how I can get it back?  I checked on my 
> development servers and both files are there (but the dates 
> are 10 days 
> apart??). But on my other production machine only the 
> cfserver file is 
> there.  Thanks for any help.
> 
> -Ryan
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to