House of Fusion
Home of the ColdFusion Community

Search cf-linux

October 07, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Subscribe Now
Fusion Authority Quarterly Update - ColdFusion 8 Special Edition
Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  ColdFusion Linux (CF-Linux)

ColdFusion MX 7 0 1 on RHEL 3 updater weirdness

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Does the following code work for you?
Steven Erat
11/08/05 07:57 P

11/08/2005 07:01 PM
Author:
Stewart Harrison

After doing the 7.0.1 updater on a CFMX 7 multiserver install that is on a RHEL3 server, I go to Enterprise Manager -> Instance Manager, and I get the following error message at the bottom of the page.  Any ideas? I had to copy the CFIDE dir to my /var/www/html dir to get into CF Administrator.    Thanks. The following information is meant for the website developer for debugging purposes. Error Occurred While Processing Request   Variable GETLOCALHOST is undefined. The error occurred in *C:\blackstone_updates\cfusion\wwwroot\CFIDE\administrator\entman\serverlist.cfm: line 259* *Called from* C:\blackstone_updates\cfusion\wwwroot\CFIDE\administrator\entman\serverlist.cfm: line 238 *Called from* C:\blackstone_updates\cfusion\wwwroot\CFIDE\administrator\entman\serverlist.cfm: line 187 *Called from* C:\blackstone_updates\cfusion\wwwroot\CFIDE\administrator\entman\serverlist.cfm: line 176 *Called from* C:\blackstone_updates\cfusion\wwwroot\CFIDE\administrator\entman\serverlist.cfm: line 41 *Called from* C:\blackstone_updates\cfusion\wwwroot\CFIDE\administrator\entman\serverlist.cfm: line 1 *Called from* C:\blackstone_updates\cfusion\wwwroot\CFIDE\administrator\entman\index.cfm: line 191 *Called from* C:\blackstone_updates\cfusion\wwwroot\CFIDE\administrator\entman\index.cfm: line 1 -1 : Unable to display error's location in a CFML template.              ------------------------------------------------------------------------ Resources:     * Check the ColdFusion documentation       <http://www.macromedia.com/go/proddoc_getdoc>; to verify that you       are using the correct syntax.     * Search the Knowledge Base       <http://www.macromedia.com/support/coldfusion/>; to find a solution       to your problem. -- Stewart Harrison IT Professional Specialist Office of Institutional Research, UGA 706-425-3183 Phone stewharr@uga.edu

11/08/2005 07:52 PM
Author:
Steven Erat

Does the following code produce work for you? <cfscript> inetAddress = createObject("java", "java.net.InetAddress"); localhost = inetAddress.getLocalHost(); localhostAddress = localhost.getHostAddress(); </cfscript> <cfoutput>#localhostAddress#</cfoutput> When running the command ifconfig as root, do you get a result block for each interface including lo (loopback or localhost) ? Here's what I get: [root@RHEL4DEV1 ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:09:6B:E1:80:98 inet addr:10.60.84.59 <http://10.60.84.59> Bcast:10.60.84.255<http://10.60.84.255>Mask: 255.255.255.0 <http://255.255.255.0> inet6 addr: fe80::209:6bff:fee1:8098/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1188345 errors:0 dropped:0 overruns:0 frame:0 TX packets:527366 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:333068657 (317.6 MiB) TX bytes:132946475 (126.7 MiB) lo Link encap:Local Loopback inet addr:127.0.0.1 <http://127.0.0.1> Mask:255.0.0.0 <http://255.0.0.0> inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:1228189 errors:0 dropped:0 overruns:0 frame:0 TX packets:1228189 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:82237946 (78.4 MiB) TX bytes:82237946 (78.4 MiB) If you don't see lo here, then you should check the loopback address config file to be sure its configured to start on boot (ONBOOT=yes): [root@RHEL4DEV1 /]# cd /etc/sysconfig/network-scripts [root@RHEL4DEV1 network-scripts]# cat ifcfg-lo DEVICE=lo IPADDR=127.0.0.1 <http://127.0.0.1> NETMASK=255.0.0.0 <http://255.0.0.0> NETWORK=127.0.0.0 <http://127.0.0.0> # If you're having problems with gated making 127.0.0.0/8<http://127.0.0.0/8>a martian, # you can change this to something else (255.255.255.255<http://255.255.255.255>, for example) BROADCAST=127.255.255.255 <http://127.255.255.255> ONBOOT=yes NAME=loopback [root@RHEL4DEV1 network-scripts]# Then restart the network with 'service network restart' or maybe just 'ifup lo'. -Steven Erat On 11/8/05, Stewart Harrison <stewharr@uga.edu> wrote:

11/08/2005 07:57 PM
Author:
Steven Erat

Does the following code work for you? <cfscript> inetAddress = createObject("java", "java.net.InetAddress"); localhost = inetAddress.getLocalHost(); localhostAddress = localhost.getHostAddress(); </cfscript> <cfoutput>#localhostAddress#< /cfoutput> When running the command ifconfig as root, do you get a result block for each interface including lo (loopback or localhost) ? Here's what I get: [root@RHEL4DEV1 ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:09:6B:E1:80:98 inet addr:10.60.84.59 <http://10.60.84.59/> <http://10.60.84.59> Bcast:10.60.84.255 <http://10.60.84.255/><http://10.60.84.255>Mask: 255.255.255.0 <http://255.255.255.0/> <http://255.255.255.0> inet6 addr: fe80::209:6bff:fee1:8098/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1188345 errors:0 dropped:0 overruns:0 frame:0 TX packets:527366 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:333068657 (317.6 MiB) TX bytes:132946475 (126.7 MiB) lo Link encap:Local Loopback inet addr:127.0.0.1 <http://127.0.0.1/> <http://127.0.0.1> Mask:255.0.0.0<http://255.0.0.0/>< http://255.0.0.0> inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:1228189 errors:0 dropped:0 overruns:0 frame:0 TX packets:1228189 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:82237946 (78.4 MiB) TX bytes:82237946 (78.4 MiB) If you don't see lo here, then you should check the loopback address config file to be sure its configured to start on boot (ONBOOT=yes): [root@RHEL4DEV1 /]# cd /etc/sysconfig/network-scripts [root@RHEL4DEV1 network-scripts]# cat ifcfg-lo DEVICE=lo IPADDR=127.0.0.1 <http://127.0.0.1/> <http://127.0.0.1> NETMASK=255.0.0.0 <http://255.0.0.0/> <http://255.0.0.0> NETWORK=127.0.0.0 <http://127.0.0.0/> <http://127.0.0.0> # If you're having problems with gated making 127.0.0.0/8 <http://127.0.0.0/8><http://127.0.0.0/8>a martian, # you can change this to something else (255.255.255.255 <http://255.255.255.255/><http://255.255.255.255>, for example) BROADCAST=127.255.255.255 <http://127.255.255.255/> <http://127.255.255.255> ONBOOT=yes NAME=loopback [root@RHEL4DEV1 network-scripts]# Then restart the network with 'service network restart' or maybe just 'ifup lo'. -Steven Erat

11/09/2005 09:41 AM
Author:
Stewart Harrison

I do see lo, eth0, and eth1.  All have valid info. And that code output 127.0.0.1 . Thanks. Steven Erat wrote: -- Stewart Harrison IT Professional Specialist Office of Institutional Research, UGA 706-425-3183 Phone stewharr@uga.edu


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists