From: Allan M. <AM...@kc...> - 2003-12-29 20:00:28
|
Hi Rob I have fixed the problem yesterday by using the SetEnv directive in apache. Strange though cause I have set the environment variable in the .profile (user default shell is bash) file for the user apache runs as and also in /etc/profile. Also, yes it does work when I su to the user apache runs as and perform a cvs commit manually. Thanks for your response. Happy NY -----Original Message----- From: Robert Helmer [mailto:ro...@ro...] Sent: Monday, December 29, 2003 9:25 PM To: Allan Mak Cc: 'san...@li...' Subject: Re: [Sandweb-users] cvs commit error: Failed to create temporary file .... Hi Allan, Since this is a CVS error (and I haven't seen it with SandWeb on Solaris or Linux before) I would normally point you somewhere like: http://ccvs.cvshome.org/fom/cache/365.html However Apache's TMPDIR is already set, odd. What if you do "su - apache" (or nobody, whoever Apache runs as) and try to run the CVS command? Does that work? Also how is TMPDIR being set for Apache's account exactly? -- Rob On Thu, Dec 25, 2003 at 11:09:32PM +1100, Allan Mak wrote: > Hi All > > I am running Solaris 9 on x86 platform with cvs 1.11.5 and sandweb 1.0rc4 > I can manually commit files with the commit command and using the same user > apache 2.0.48 is running as. The error I recieve is > > An error occurred. A call to the shell gave us this error code : 1 > cvs [commit aborted] : Failed to create temporary file: No such file or > directory > > The user Apache runs as has a TMPDIR=/tmp and also has CVSROOT set and the > default shell is bash, user has a home directory and so forth. I guess most > of this doesnt matter as I can > commit using the cvs commit command when I am logged in locally at the shell > prompt as the user. Anyone come across this problem. My head is starting to > hurt now. > > One strange thing to note is that when I first came across this problem and > then reinstalled sandweb, it worked for the first commit. then fails again > with this same error. Havent tried to > perform this task again yet. > > Thanks > > Allan > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Sandweb-users mailing list > San...@li... > https://lists.sourceforge.net/lists/listinfo/sandweb-users > |