Webserver不能在OSX Mavericks上工作 [英] Webserver not working on OSX Mavericks

查看:216
本文介绍了Webserver不能在OSX Mavericks上工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行网络服务器,Coldfusion也很好,直到我升级到Mountain Lion,然后停止工作。我得到它工作再次通过转动一切恢复升级禁用,但现在我已经升级到小牛没有什么是工作。我已经遵循了各种网络文章中的所有步骤,但它不会工作。 PHP已启用,之前启用的所有设置,包括虚拟主机和所有文件夹都在同一位置。

I was running a webserver and also Coldfusion just fine until I upgraded to Mountain Lion, then it stopped working. I got it working again by turning everything back on that the upgrade disabled, but now I have upgraded to Mavericks nothing is working. I have followed all the steps in various web articles but it won't work. PHP is enabled, everything that was enabled before is set up, including virtual hosts, and all the folders are in the same place.

我得到错误:Firefox可以' t在127.0.0.1建立与服务器的连接。 [或本地主机或我的任何虚拟主机]

I get the error: Firefox can't establish a connection to the server at 127.0.0.1. [or localhost, or any of my virtual hosts]

我经历了一切时间,我不知道为什么它不工作。我已经开始,停止,重新启动Web服务器多次,它设置为启动启动太。我甚至无法完成ColdFusion安装,因为我无法在浏览器中加载管理员。

I've gone over everything time after time and I can't figure out why it won't work. I have started, stopped, restarted the webserver numerous times, it is set to start on bootup too. I couldn't even complete the Coldfusion install because I couldn't load the administrator in a browser.

问题是什么?我应该在哪里?

What could the problem be? Where should I look?

推荐答案

这不是一个完整的答案,但这应该有助于开始

This is not a complete answer, but this should help get things started

尝试使用命令行启动。它可能会抱怨Java 7未安装。我最近需要安装Java 7 JDK(不是JRE来运行)

Try using the command line start. It will probably be complaining about Java 7 not being installed. I recently needed to install Java 7 JDK (not JRE to get things running)

我知道要使其余部分运行,我需要在合适的JVM上指向ColdFusion。您可以在 /Applications/ColdFusion10/cfusion/bin/jvm.xml 中找到JVM设置。你应该有一些设置像

I know to get the rest of it running, I need to point ColdFusion at the proper JVM. You can find the JVM settings at /Applications/ColdFusion10/cfusion/bin/jvm.xml. You should have some setting like

# VM configuration
#
# Where to find JVM, if {java.home}/jre exists then that JVM is used
# if not then it must be the path to the JRE itself

java.home=/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
application.home=/Applications/ColdFusion10/cfusion

你安装Java 7,JRE在

When you install Java 7, the JRE is at

/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre

备份并编辑jvm.config文件到

Backup, and edit the jvm.config file to

#
# VM configuration
#
# Where to find JVM, if {java.home}/jre exists then that JVM is used
# if not then it must be the path to the JRE itself

java.home=/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre
# java.home=/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
application.home=/Applications/ColdFusion10/cfusion

如果一切正常,您应该可以启动ColdFusion

If all goes well, you should be able to start ColdFusion

其他帮助

在OS X 10.9(Mavericks)上安装Java

安装Java 7

这篇关于Webserver不能在OSX Mavericks上工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆