New lucee install cpanel vps


#1

Hi All,

I am new to lucee. Long time CF user.
I am in the process of migrating from Cold Fusion on Windows to Lucee Cold
Fusion on linux vps running CentOS 6 + cPanel
Installed Lucee successfully using

./lucee-4.5.2.018-pl0-linux-x64-installer.run

Please wait while Setup installs Lucee on your computer.

Installing
0% ______________ 50% ______________ 100%
########################################Warning: Problem running
post-install step. Installation may not complete
correctly
Error fetching URL http://127.0.0.1:8888/lucee/admin/server.cfm
Press [Enter] to continue:#

Setup has finished installing Lucee on your computer.

Ran:

./install_mod_cfml.sh -f/etc/httpd/conf/httpd.conf
-d/usr/lib64/httpd/modules -c/usr/sbin/apachectl -k “biglongkey” -m install

./install_mod_proxy.sh -m install -f /etc/httpd/conf/httpd.conf -t 8888 -c
/usr/sbin/apachectl

Added this to the end of /opt/lucee/tomcat/conf/server.xml

www.domain1.com domain1.com
<Host name="domain2.com" appBase="webapps">
         <Context path="" docBase="/home/domain2/public_html" />
         <Alias>www.domain2.com</Alias>
         <Alias>domain2.com</Alias>
</Host>

Restarted Lucee to pick up changes new server entry’s

Mon Mar 07 10:12:06 2016 Loaded Lucee Version 4.5.2.018

===================================================================
WEB CONTEXT (1d7cc5c9dfb9488b4939f27b87fc90a4)

  • config:/home/domain2/public_html/WEB-INF/lucee
  • webroot:/home/domain23/public_html/
  • hash:1d7cc5c9dfb9488b4939f27b87fc90a4
- label:1d7cc5c9dfb9488b4939f27b87fc90a4 ===================================================================

07-Mar-2016 10:12:14.342 INFO [domain2.com-startStop-1]
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned
for TLDs yet contained no TLDs. Enable debug logging for this logger for a
complete list of JARs that were scanned bu
t no TLDs were found in them. Skipping unneeded JARs during scanning can
improve startup time and JSP compilation time.

When started the /home/domain2/public_html contained

drwxr-x— 4 domain2 nobody 4096 Mar 7 10:37 ./
drwx–x--x 12 domain2 domain2 4096 Mar 7 08:42 …/
drwxr-xr-x 3 root root 4096 Mar 6 14:39 WEB-INF/
-rwxrw-r-- 1 domain2 domain2 170 Mar 6 13:27 test.cfm*
drwxr-xr-x 2 domain2 domain2 4096 Mar 6 13:25 cgi-bin/

Cat test.cfm

cat test.cfm

My first page

Hello World!

The time is #now()#

When i go to www.domain2.com/test.cfm

The source above comes back in the web page looking as it des above.

If I run the same test.cfm page in /opt/lucee/tomcat/webapps/ROOT All
works fine:

000 replaced with ip address of server in format of
http://000.000.000.000:8888/test.cfm

Returns:
Hello World!

The time is {ts ‘2016-03-07 10:42:30’}

Not sure where I need to go next to resolve issue. Any advice would be
helpful.

Bill


#2

Bill,

Interesting timing. I was working on this just last week.

When installing Lucee on cPanel there are quite a few things that need to happen and unique processes that need to take place for things to run smoothly inside cPanel. Throw in things like CloudLinux into the mix and you have potential for a confusing mess. The Lucee4cPanel project was started to help address these issues, and to develop cPanel hooks and processes that make Lucee run smoothly in a cPanel shared-hosting environment. The project was started as ‘railo4cPanel’ and still mostly works, but the code is a bit aged and things don’t always work the way they should.

My advice is to wait a little bit, until I have a fully updated version of Lucee4cPanel that you can use. I’ll be using the latest Lucee 5 installer and the latest version of cPanel, so you should be able to get up and going right away once I have things updated.

You can see what’s currently available here:

However, again, this is aged and doesn’t work 100% as intended. I’m working on it!–
Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “Bill B” <@Bill_B>
To: “Lucee” lucee@googlegroups.com
Sent: Monday, March 7, 2016 9:51:06 AM
Subject: [Lucee] new lucee install cpanel vps

Hi All,

I am new to lucee. Long time CF user.
I am in the process of migrating from Cold Fusion on Windows to Lucee Cold
Fusion on linux vps running CentOS 6 + cPanel
Installed Lucee successfully using

./lucee-4.5.2.018-pl0-linux-x64-installer.run

Please wait while Setup installs Lucee on your computer.

Installing
0% ______________ 50% ______________ 100%
########################################Warning: Problem running
post-install step. Installation may not complete
correctly
Error fetching URL http://127.0.0.1:8888/lucee/admin/server.cfm
Press [Enter] to continue:


Setup has finished installing Lucee on your computer.

Ran:

./install_mod_cfml.sh -f/etc/httpd/conf/httpd.conf
-d/usr/lib64/httpd/modules -c/usr/sbin/apachectl -k “biglongkey” -m install

./install_mod_proxy.sh -m install -f /etc/httpd/conf/httpd.conf -t 8888 -c
/usr/sbin/apachectl

Added this to the end of /opt/lucee/tomcat/conf/server.xml

www.domain1.com domain1.com
<Host name="domain2.com" appBase="webapps">
         <Context path="" docBase="/home/domain2/public_html" />
         <Alias>www.domain2.com</Alias>
         <Alias>domain2.com</Alias>
</Host>

Restarted Lucee to pick up changes new server entry’s

Mon Mar 07 10:12:06 2016 Loaded Lucee Version 4.5.2.018

===================================================================
WEB CONTEXT (1d7cc5c9dfb9488b4939f27b87fc90a4)

  • config:/home/domain2/public_html/WEB-INF/lucee
  • webroot:/home/domain23/public_html/
  • hash:1d7cc5c9dfb9488b4939f27b87fc90a4
- label:1d7cc5c9dfb9488b4939f27b87fc90a4 ===================================================================

07-Mar-2016 10:12:14.342 INFO [domain2.com-startStop-1]
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned
for TLDs yet contained no TLDs. Enable debug logging for this logger for a
complete list of JARs that were scanned bu
t no TLDs were found in them. Skipping unneeded JARs during scanning can
improve startup time and JSP compilation time.

When started the /home/domain2/public_html contained

drwxr-x— 4 domain2 nobody 4096 Mar 7 10:37 ./
drwx–x--x 12 domain2 domain2 4096 Mar 7 08:42 …/
drwxr-xr-x 3 root root 4096 Mar 6 14:39 WEB-INF/
-rwxrw-r-- 1 domain2 domain2 170 Mar 6 13:27 test.cfm*
drwxr-xr-x 2 domain2 domain2 4096 Mar 6 13:25 cgi-bin/

Cat test.cfm

cat test.cfm

My first page

Hello World!

The time is #now()#

When i go to www.domain2.com/test.cfm

The source above comes back in the web page looking as it des above.

If I run the same test.cfm page in /opt/lucee/tomcat/webapps/ROOT All
works fine:

000 replaced with ip address of server in format of
http://000.000.000.000:8888/test.cfm

Returns:
Hello World!

The time is {ts ‘2016-03-07 10:42:30’}

Not sure where I need to go next to resolve issue. Any advice would be
helpful.

Bill


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/a2d011f3-aecb-47f0-8fc7-3c5887e42d3c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


#3

Hi Jordan,

Thanks for getting in touch.

I came across the https://github.com/utdream/Lucee4cPanel repo yesterday.
I noticed it wasn’t up to date.

Let me know if you need help with testing or coding.

I am starting to walk through the scripts now to understand what I need to
do to get things moving forward on the vps I am testing out.

BillOn Monday, March 7, 2016 at 1:51:43 PM UTC-7, Jordan Michaels wrote:

Bill,

Interesting timing. I was working on this just last week.

When installing Lucee on cPanel there are quite a few things that need to
happen and unique processes that need to take place for things to run
smoothly inside cPanel. Throw in things like CloudLinux into the mix and
you have potential for a confusing mess. The Lucee4cPanel project was
started to help address these issues, and to develop cPanel hooks and
processes that make Lucee run smoothly in a cPanel shared-hosting
environment. The project was started as ‘railo4cPanel’ and still mostly
works, but the code is a bit aged and things don’t always work the way they
should.

My advice is to wait a little bit, until I have a fully updated version of
Lucee4cPanel that you can use. I’ll be using the latest Lucee 5 installer
and the latest version of cPanel, so you should be able to get up and going
right away once I have things updated.

You can see what’s currently available here:
https://github.com/utdream/Lucee4cPanel

However, again, this is aged and doesn’t work 100% as intended. I’m
working on it!


Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “Bill B” <brow...@gmail.com <javascript:>>
To: “Lucee” <lu...@googlegroups.com <javascript:>>
Sent: Monday, March 7, 2016 9:51:06 AM
Subject: [Lucee] new lucee install cpanel vps

Hi All,

I am new to lucee. Long time CF user.
I am in the process of migrating from Cold Fusion on Windows to Lucee Cold
Fusion on linux vps running CentOS 6 + cPanel
Installed Lucee successfully using

./lucee-4.5.2.018-pl0-linux-x64-installer.run

Please wait while Setup installs Lucee on your computer.

Installing
0% ______________ 50% ______________ 100%
########################################Warning: Problem running
post-install step. Installation may not complete
correctly
Error fetching URL http://127.0.0.1:8888/lucee/admin/server.cfm
Press [Enter] to continue:


Setup has finished installing Lucee on your computer.

Ran:

./install_mod_cfml.sh -f/etc/httpd/conf/httpd.conf
-d/usr/lib64/httpd/modules -c/usr/sbin/apachectl -k “biglongkey” -m
install

./install_mod_proxy.sh -m install -f /etc/httpd/conf/httpd.conf -t 8888
-c
/usr/sbin/apachectl

Added this to the end of /opt/lucee/tomcat/conf/server.xml

www.domain1.com domain1.com
<Host name="domain2.com" appBase="webapps"> 
         <Context path="" docBase="/home/domain2/public_html" /> 
         <Alias>www.domain2.com</Alias> 
         <Alias>domain2.com</Alias> 
</Host> 

Restarted Lucee to pick up changes new server entry’s

Mon Mar 07 10:12:06 2016 Loaded Lucee Version 4.5.2.018

===================================================================
WEB CONTEXT (1d7cc5c9dfb9488b4939f27b87fc90a4)

  • config:/home/domain2/public_html/WEB-INF/lucee
  • webroot:/home/domain23/public_html/
  • hash:1d7cc5c9dfb9488b4939f27b87fc90a4
- label:1d7cc5c9dfb9488b4939f27b87fc90a4 ===================================================================

07-Mar-2016 10:12:14.342 INFO [domain2.com-startStop-1]
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned
for TLDs yet contained no TLDs. Enable debug logging for this logger for a
complete list of JARs that were scanned bu
t no TLDs were found in them. Skipping unneeded JARs during scanning can
improve startup time and JSP compilation time.

When started the /home/domain2/public_html contained

drwxr-x— 4 domain2 nobody 4096 Mar 7 10:37 ./
drwx–x--x 12 domain2 domain2 4096 Mar 7 08:42 …/
drwxr-xr-x 3 root root 4096 Mar 6 14:39 WEB-INF/
-rwxrw-r-- 1 domain2 domain2 170 Mar 6 13:27 test.cfm*
drwxr-xr-x 2 domain2 domain2 4096 Mar 6 13:25 cgi-bin/

Cat test.cfm

cat test.cfm

My first page

Hello World!

The time is #now()#

When i go to www.domain2.com/test.cfm

The source above comes back in the web page looking as it des above.

If I run the same test.cfm page in /opt/lucee/tomcat/webapps/ROOT All
works fine:

000 replaced with ip address of server in format of
http://000.000.000.000:8888/test.cfm

Returns:
Hello World!

The time is {ts ‘2016-03-07 10:42:30’}

Not sure where I need to go next to resolve issue. Any advice would be
helpful.

Bill


Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>.

To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/a2d011f3-aecb-47f0-8fc7-3c5887e42d3c%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


#4

Hey Jordan – Is Lucee4Cpanel dead or is there a better alternative we can
use?On Monday, March 7, 2016 at 2:51:43 PM UTC-6, Jordan Michaels wrote:

Bill,

Interesting timing. I was working on this just last week.

When installing Lucee on cPanel there are quite a few things that need to
happen and unique processes that need to take place for things to run
smoothly inside cPanel. Throw in things like CloudLinux into the mix and
you have potential for a confusing mess. The Lucee4cPanel project was
started to help address these issues, and to develop cPanel hooks and
processes that make Lucee run smoothly in a cPanel shared-hosting
environment. The project was started as ‘railo4cPanel’ and still mostly
works, but the code is a bit aged and things don’t always work the way they
should.

My advice is to wait a little bit, until I have a fully updated version of
Lucee4cPanel that you can use. I’ll be using the latest Lucee 5 installer
and the latest version of cPanel, so you should be able to get up and going
right away once I have things updated.

You can see what’s currently available here:
https://github.com/utdream/Lucee4cPanel

However, again, this is aged and doesn’t work 100% as intended. I’m
working on it!


Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “Bill B” <brow...@gmail.com <javascript:>>
To: “Lucee” <lu...@googlegroups.com <javascript:>>
Sent: Monday, March 7, 2016 9:51:06 AM
Subject: [Lucee] new lucee install cpanel vps

Hi All,

I am new to lucee. Long time CF user.
I am in the process of migrating from Cold Fusion on Windows to Lucee Cold
Fusion on linux vps running CentOS 6 + cPanel
Installed Lucee successfully using

./lucee-4.5.2.018-pl0-linux-x64-installer.run

Please wait while Setup installs Lucee on your computer.

Installing
0% ______________ 50% ______________ 100%
########################################Warning: Problem running
post-install step. Installation may not complete
correctly
Error fetching URL http://127.0.0.1:8888/lucee/admin/server.cfm
Press [Enter] to continue:


Setup has finished installing Lucee on your computer.

Ran:

./install_mod_cfml.sh -f/etc/httpd/conf/httpd.conf
-d/usr/lib64/httpd/modules -c/usr/sbin/apachectl -k “biglongkey” -m
install

./install_mod_proxy.sh -m install -f /etc/httpd/conf/httpd.conf -t 8888
-c
/usr/sbin/apachectl

Added this to the end of /opt/lucee/tomcat/conf/server.xml

www.domain1.com domain1.com
<Host name="domain2.com" appBase="webapps"> 
         <Context path="" docBase="/home/domain2/public_html" /> 
         <Alias>www.domain2.com</Alias> 
         <Alias>domain2.com</Alias> 
</Host> 

Restarted Lucee to pick up changes new server entry’s

Mon Mar 07 10:12:06 2016 Loaded Lucee Version 4.5.2.018

===================================================================
WEB CONTEXT (1d7cc5c9dfb9488b4939f27b87fc90a4)

  • config:/home/domain2/public_html/WEB-INF/lucee
  • webroot:/home/domain23/public_html/
  • hash:1d7cc5c9dfb9488b4939f27b87fc90a4
- label:1d7cc5c9dfb9488b4939f27b87fc90a4 ===================================================================

07-Mar-2016 10:12:14.342 INFO [domain2.com-startStop-1]
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned
for TLDs yet contained no TLDs. Enable debug logging for this logger for a
complete list of JARs that were scanned bu
t no TLDs were found in them. Skipping unneeded JARs during scanning can
improve startup time and JSP compilation time.

When started the /home/domain2/public_html contained

drwxr-x— 4 domain2 nobody 4096 Mar 7 10:37 ./
drwx–x--x 12 domain2 domain2 4096 Mar 7 08:42 …/
drwxr-xr-x 3 root root 4096 Mar 6 14:39 WEB-INF/
-rwxrw-r-- 1 domain2 domain2 170 Mar 6 13:27 test.cfm*
drwxr-xr-x 2 domain2 domain2 4096 Mar 6 13:25 cgi-bin/

Cat test.cfm

cat test.cfm

My first page

Hello World!

The time is #now()#

When i go to www.domain2.com/test.cfm

The source above comes back in the web page looking as it des above.

If I run the same test.cfm page in /opt/lucee/tomcat/webapps/ROOT All
works fine:

000 replaced with ip address of server in format of
http://000.000.000.000:8888/test.cfm

Returns:
Hello World!

The time is {ts ‘2016-03-07 10:42:30’}

Not sure where I need to go next to resolve issue. Any advice would be
helpful.

Bill


Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>.

To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/a2d011f3-aecb-47f0-8fc7-3c5887e42d3c%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


#5

I tried using the other mod_cfml.so files that came with Lucee and received
the following errors when trying to start httpd with 2 different
mod_cfml.so files:

  • Cannot load /etc/apache2/modules/mod_cfml.so: undefined symbol:
    ap_log_error
  • Cannot load modules/mod_cfml.so into server: /lib64/libc.so.6: version
    `GLIBC_2.14’ not found (required by /etc/apache2/modules/mod_cfml.so)

In one case GLIBC_2.14 is not supported by CentOS 6 so we can ignore that
one.

In the other case, I’m not sure what causes ap_log_error, any ideas?

Also note, I am trying to do this with the latest Cpanel with EasyApache4On Wednesday, March 1, 2017 at 2:25:25 AM UTC-6, Tim B wrote:

Hey Jordan – Is Lucee4Cpanel dead or is there a better alternative we can
use?

On Monday, March 7, 2016 at 2:51:43 PM UTC-6, Jordan Michaels wrote:

Bill,

Interesting timing. I was working on this just last week.

When installing Lucee on cPanel there are quite a few things that need to
happen and unique processes that need to take place for things to run
smoothly inside cPanel. Throw in things like CloudLinux into the mix and
you have potential for a confusing mess. The Lucee4cPanel project was
started to help address these issues, and to develop cPanel hooks and
processes that make Lucee run smoothly in a cPanel shared-hosting
environment. The project was started as ‘railo4cPanel’ and still mostly
works, but the code is a bit aged and things don’t always work the way they
should.

My advice is to wait a little bit, until I have a fully updated version
of Lucee4cPanel that you can use. I’ll be using the latest Lucee 5
installer and the latest version of cPanel, so you should be able to get up
and going right away once I have things updated.

You can see what’s currently available here:
https://github.com/utdream/Lucee4cPanel

However, again, this is aged and doesn’t work 100% as intended. I’m
working on it!


Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “Bill B” brow...@gmail.com
To: “Lucee” lu...@googlegroups.com
Sent: Monday, March 7, 2016 9:51:06 AM
Subject: [Lucee] new lucee install cpanel vps

Hi All,

I am new to lucee. Long time CF user.
I am in the process of migrating from Cold Fusion on Windows to Lucee
Cold
Fusion on linux vps running CentOS 6 + cPanel
Installed Lucee successfully using

./lucee-4.5.2.018-pl0-linux-x64-installer.run

Please wait while Setup installs Lucee on your computer.

Installing
0% ______________ 50% ______________ 100%
########################################Warning: Problem running
post-install step. Installation may not complete
correctly
Error fetching URL http://127.0.0.1:8888/lucee/admin/server.cfm
Press [Enter] to continue:


Setup has finished installing Lucee on your computer.

Ran:

./install_mod_cfml.sh -f/etc/httpd/conf/httpd.conf
-d/usr/lib64/httpd/modules -c/usr/sbin/apachectl -k “biglongkey” -m
install

./install_mod_proxy.sh -m install -f /etc/httpd/conf/httpd.conf -t 8888
-c
/usr/sbin/apachectl

Added this to the end of /opt/lucee/tomcat/conf/server.xml

www.domain1.com domain1.com
<Host name="domain2.com" appBase="webapps"> 
         <Context path="" docBase="/home/domain2/public_html" /> 
         <Alias>www.domain2.com</Alias> 
         <Alias>domain2.com</Alias> 
</Host> 

Restarted Lucee to pick up changes new server entry’s

Mon Mar 07 10:12:06 2016 Loaded Lucee Version 4.5.2.018

===================================================================
WEB CONTEXT (1d7cc5c9dfb9488b4939f27b87fc90a4)

  • config:/home/domain2/public_html/WEB-INF/lucee
  • webroot:/home/domain23/public_html/
  • hash:1d7cc5c9dfb9488b4939f27b87fc90a4
- label:1d7cc5c9dfb9488b4939f27b87fc90a4 ===================================================================

07-Mar-2016 10:12:14.342 INFO [domain2.com-startStop-1]
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was
scanned
for TLDs yet contained no TLDs. Enable debug logging for this logger for
a
complete list of JARs that were scanned bu
t no TLDs were found in them. Skipping unneeded JARs during scanning can
improve startup time and JSP compilation time.

When started the /home/domain2/public_html contained

drwxr-x— 4 domain2 nobody 4096 Mar 7 10:37 ./
drwx–x--x 12 domain2 domain2 4096 Mar 7 08:42 …/
drwxr-xr-x 3 root root 4096 Mar 6 14:39 WEB-INF/
-rwxrw-r-- 1 domain2 domain2 170 Mar 6 13:27 test.cfm*
drwxr-xr-x 2 domain2 domain2 4096 Mar 6 13:25 cgi-bin/

Cat test.cfm

cat test.cfm

My first page

Hello World!

The time is #now()#

When i go to www.domain2.com/test.cfm

The source above comes back in the web page looking as it des above.

If I run the same test.cfm page in /opt/lucee/tomcat/webapps/ROOT All
works fine:

000 replaced with ip address of server in format of
http://000.000.000.000:8888/test.cfm

Returns:
Hello World!

The time is {ts ‘2016-03-07 10:42:30’}

Not sure where I need to go next to resolve issue. Any advice would be
helpful.

Bill


Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/a2d011f3-aecb-47f0-8fc7-3c5887e42d3c%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


#6

I don’t think any of those were compiled specifically for cPanel, so you’ll probably need to compile it directly. Basic instructions are at the bottom of this page:

http://www.modcfml.org/index.cfm/install/web-server-components/apache-on-centos/--
Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “Tim Badolato” <@Tim_B>
To: “Lucee” lucee@googlegroups.com
Sent: Wednesday, March 1, 2017 7:34:00 AM
Subject: Re: [Lucee] new lucee install cpanel vps

I tried using the other mod_cfml.so files that came with Lucee and received
the following errors when trying to start httpd with 2 different
mod_cfml.so files:

  • Cannot load /etc/apache2/modules/mod_cfml.so: undefined symbol:
    ap_log_error
  • Cannot load modules/mod_cfml.so into server: /lib64/libc.so.6: version
    `GLIBC_2.14’ not found (required by /etc/apache2/modules/mod_cfml.so)

In one case GLIBC_2.14 is not supported by CentOS 6 so we can ignore that
one.

In the other case, I’m not sure what causes ap_log_error, any ideas?

Also note, I am trying to do this with the latest Cpanel with EasyApache4

On Wednesday, March 1, 2017 at 2:25:25 AM UTC-6, Tim B wrote:

Hey Jordan – Is Lucee4Cpanel dead or is there a better alternative we can
use?

On Monday, March 7, 2016 at 2:51:43 PM UTC-6, Jordan Michaels wrote:

Bill,

Interesting timing. I was working on this just last week.

When installing Lucee on cPanel there are quite a few things that need to
happen and unique processes that need to take place for things to run
smoothly inside cPanel. Throw in things like CloudLinux into the mix and
you have potential for a confusing mess. The Lucee4cPanel project was
started to help address these issues, and to develop cPanel hooks and
processes that make Lucee run smoothly in a cPanel shared-hosting
environment. The project was started as ‘railo4cPanel’ and still mostly
works, but the code is a bit aged and things don’t always work the way they
should.

My advice is to wait a little bit, until I have a fully updated version
of Lucee4cPanel that you can use. I’ll be using the latest Lucee 5
installer and the latest version of cPanel, so you should be able to get up
and going right away once I have things updated.

You can see what’s currently available here:
https://github.com/utdream/Lucee4cPanel

However, again, this is aged and doesn’t work 100% as intended. I’m
working on it!


Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “Bill B” brow...@gmail.com
To: “Lucee” lu...@googlegroups.com
Sent: Monday, March 7, 2016 9:51:06 AM
Subject: [Lucee] new lucee install cpanel vps

Hi All,

I am new to lucee. Long time CF user.
I am in the process of migrating from Cold Fusion on Windows to Lucee
Cold
Fusion on linux vps running CentOS 6 + cPanel
Installed Lucee successfully using

./lucee-4.5.2.018-pl0-linux-x64-installer.run

Please wait while Setup installs Lucee on your computer.

Installing
0% ______________ 50% ______________ 100%
########################################Warning: Problem running
post-install step. Installation may not complete
correctly
Error fetching URL http://127.0.0.1:8888/lucee/admin/server.cfm
Press [Enter] to continue:


Setup has finished installing Lucee on your computer.

Ran:

./install_mod_cfml.sh -f/etc/httpd/conf/httpd.conf
-d/usr/lib64/httpd/modules -c/usr/sbin/apachectl -k “biglongkey” -m
install

./install_mod_proxy.sh -m install -f /etc/httpd/conf/httpd.conf -t 8888
-c
/usr/sbin/apachectl

Added this to the end of /opt/lucee/tomcat/conf/server.xml

www.domain1.com domain1.com
<Host name="domain2.com" appBase="webapps"> 
         <Context path="" docBase="/home/domain2/public_html" /> 
         <Alias>www.domain2.com</Alias> 
         <Alias>domain2.com</Alias> 
</Host> 

Restarted Lucee to pick up changes new server entry’s

Mon Mar 07 10:12:06 2016 Loaded Lucee Version 4.5.2.018

===================================================================
WEB CONTEXT (1d7cc5c9dfb9488b4939f27b87fc90a4)

  • config:/home/domain2/public_html/WEB-INF/lucee
  • webroot:/home/domain23/public_html/
  • hash:1d7cc5c9dfb9488b4939f27b87fc90a4
- label:1d7cc5c9dfb9488b4939f27b87fc90a4 ===================================================================

07-Mar-2016 10:12:14.342 INFO [domain2.com-startStop-1]
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was
scanned
for TLDs yet contained no TLDs. Enable debug logging for this logger for
a
complete list of JARs that were scanned bu
t no TLDs were found in them. Skipping unneeded JARs during scanning can
improve startup time and JSP compilation time.

When started the /home/domain2/public_html contained

drwxr-x— 4 domain2 nobody 4096 Mar 7 10:37 ./
drwx–x--x 12 domain2 domain2 4096 Mar 7 08:42 …/
drwxr-xr-x 3 root root 4096 Mar 6 14:39 WEB-INF/
-rwxrw-r-- 1 domain2 domain2 170 Mar 6 13:27 test.cfm*
drwxr-xr-x 2 domain2 domain2 4096 Mar 6 13:25 cgi-bin/

Cat test.cfm

cat test.cfm

My first page

Hello World!

The time is #now()#

When i go to www.domain2.com/test.cfm

The source above comes back in the web page looking as it des above.

If I run the same test.cfm page in /opt/lucee/tomcat/webapps/ROOT All
works fine:

000 replaced with ip address of server in format of
http://000.000.000.000:8888/test.cfm

Returns:
Hello World!

The time is {ts ‘2016-03-07 10:42:30’}

Not sure where I need to go next to resolve issue. Any advice would be
helpful.

Bill


Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/a2d011f3-aecb-47f0-8fc7-3c5887e42d3c%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/45cac2d1-b725-4914-81dd-37246ed08390%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


#7

Hey Tim,

Not dead, just on hold for the moment. What our own team has been doing is using the lucee4cPanel project and then just upgrading it all. Kinda stinks, but it works.

Sorry for the delay on this.–
Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “Tim Badolato” <@Tim_B>
To: “Lucee” lucee@googlegroups.com
Sent: Tuesday, February 28, 2017 2:24:39 PM
Subject: Re: [Lucee] new lucee install cpanel vps

Hey Jordan – Is Lucee4Cpanel dead or is there a better alternative we can
use?

On Monday, March 7, 2016 at 2:51:43 PM UTC-6, Jordan Michaels wrote:

Bill,

Interesting timing. I was working on this just last week.

When installing Lucee on cPanel there are quite a few things that need to
happen and unique processes that need to take place for things to run
smoothly inside cPanel. Throw in things like CloudLinux into the mix and
you have potential for a confusing mess. The Lucee4cPanel project was
started to help address these issues, and to develop cPanel hooks and
processes that make Lucee run smoothly in a cPanel shared-hosting
environment. The project was started as ‘railo4cPanel’ and still mostly
works, but the code is a bit aged and things don’t always work the way they
should.

My advice is to wait a little bit, until I have a fully updated version of
Lucee4cPanel that you can use. I’ll be using the latest Lucee 5 installer
and the latest version of cPanel, so you should be able to get up and going
right away once I have things updated.

You can see what’s currently available here:
https://github.com/utdream/Lucee4cPanel

However, again, this is aged and doesn’t work 100% as intended. I’m
working on it!


Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “Bill B” <brow...@gmail.com <javascript:>>
To: “Lucee” <lu...@googlegroups.com <javascript:>>
Sent: Monday, March 7, 2016 9:51:06 AM
Subject: [Lucee] new lucee install cpanel vps

Hi All,

I am new to lucee. Long time CF user.
I am in the process of migrating from Cold Fusion on Windows to Lucee Cold
Fusion on linux vps running CentOS 6 + cPanel
Installed Lucee successfully using

./lucee-4.5.2.018-pl0-linux-x64-installer.run

Please wait while Setup installs Lucee on your computer.

Installing
0% ______________ 50% ______________ 100%
########################################Warning: Problem running
post-install step. Installation may not complete
correctly
Error fetching URL http://127.0.0.1:8888/lucee/admin/server.cfm
Press [Enter] to continue:


Setup has finished installing Lucee on your computer.

Ran:

./install_mod_cfml.sh -f/etc/httpd/conf/httpd.conf
-d/usr/lib64/httpd/modules -c/usr/sbin/apachectl -k “biglongkey” -m
install

./install_mod_proxy.sh -m install -f /etc/httpd/conf/httpd.conf -t 8888
-c
/usr/sbin/apachectl

Added this to the end of /opt/lucee/tomcat/conf/server.xml

www.domain1.com domain1.com
<Host name="domain2.com" appBase="webapps"> 
         <Context path="" docBase="/home/domain2/public_html" /> 
         <Alias>www.domain2.com</Alias> 
         <Alias>domain2.com</Alias> 
</Host> 

Restarted Lucee to pick up changes new server entry’s

Mon Mar 07 10:12:06 2016 Loaded Lucee Version 4.5.2.018

===================================================================
WEB CONTEXT (1d7cc5c9dfb9488b4939f27b87fc90a4)

  • config:/home/domain2/public_html/WEB-INF/lucee
  • webroot:/home/domain23/public_html/
  • hash:1d7cc5c9dfb9488b4939f27b87fc90a4
- label:1d7cc5c9dfb9488b4939f27b87fc90a4 ===================================================================

07-Mar-2016 10:12:14.342 INFO [domain2.com-startStop-1]
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned
for TLDs yet contained no TLDs. Enable debug logging for this logger for a
complete list of JARs that were scanned bu
t no TLDs were found in them. Skipping unneeded JARs during scanning can
improve startup time and JSP compilation time.

When started the /home/domain2/public_html contained

drwxr-x— 4 domain2 nobody 4096 Mar 7 10:37 ./
drwx–x--x 12 domain2 domain2 4096 Mar 7 08:42 …/
drwxr-xr-x 3 root root 4096 Mar 6 14:39 WEB-INF/
-rwxrw-r-- 1 domain2 domain2 170 Mar 6 13:27 test.cfm*
drwxr-xr-x 2 domain2 domain2 4096 Mar 6 13:25 cgi-bin/

Cat test.cfm

cat test.cfm

My first page

Hello World!

The time is #now()#

When i go to www.domain2.com/test.cfm

The source above comes back in the web page looking as it des above.

If I run the same test.cfm page in /opt/lucee/tomcat/webapps/ROOT All
works fine:

000 replaced with ip address of server in format of
http://000.000.000.000:8888/test.cfm

Returns:
Hello World!

The time is {ts ‘2016-03-07 10:42:30’}

Not sure where I need to go next to resolve issue. Any advice would be
helpful.

Bill


Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>.

To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/a2d011f3-aecb-47f0-8fc7-3c5887e42d3c%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/43c822cb-8bd5-4725-9d41-d005a786ff71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


#8

@Jordan_Michaels do you happen to have any updated scripts for this? We are looking to host Lucee on CPanel and CloudLinux and would love some help. Thanks!


#9

@scottmberry In my experience, CloudLinux is a double-edged sword. The isolation between users is awesome, but if you work within the CloudLinux LVE’s then you will need to have a separate JRE running for each user, which will require unique listening ports, unique connector scripts, etc - not to mention the excessive amount of memory it would take.

The Lucee4cPanel project used the classic method of setting up a single instance of a JRE, then let Lucee take care of the isolation between accounts using its unique approach to “server admins” and “web admins”. CloudLinux has to stay out of the picture in that setup. This takes much less memory overall, but doesn’t isolate users as well.

If you’re open to working with that, the current project does still work… mostly. It just might need some hand-holding along the way.

There are others who are interested in freshening up this project too. If you’d be willing to support that effort, I’d recommend contacting Rasia and seeing how you could help. I’d be happy to lend my knowledge and experience to the person that works on it.