CFMX on Gentoo Linux
By Pete Freitag
We just installed CFMX 6.1 Pro Updator 1 on Gentoo Linux. We ran into a few issues but its working great now.
- Installation - created a symbolic link at
- ColdFusion Startup script was not working - the
/opt/coldfusionmx/bin/coldfusionstart up script was not working, but we could start the server using
/opt/coldfusionmx/bin/cfusion -start default. We found the problem to be in the
sucommand in the
coldfusionscript. It was using
su cfmxuser -s /bin/sh -c .... By removing the
-s /bin/shfrom the startup script and making sure that our
cfmxuserhad a default shell set, we resolved this problem.
- CFCHART not working - this is a common one with CFMX and unix, because CFCHART requires X11. We ran
emerge xfreeto solve that issue. We also had to give the
cfmxuserpermission to write in the
- CFMAIL not working - the
cfmxuserdid not have permission to write in the spool directory
- Other permissions issues - I also gave the
cfmxuserpermission to the
stubsdirectory. You may just want to run
chown -R cfmxuser /opt/coldfusionmxso the user has permission to everything.
CFMX on Gentoo Linux was first published on September 15, 2004.
The Fixinator Code Security Scanner for ColdFusion & CFML is an easy to use security tool that every CF developer can use. It can also easily integrate into CI for automatic scanning on every commit.