Tagged: startup install error failed
April 15, 2012 at 7:11 pm #4245
I just recently installed Desktop Server on OSX 10.7.3, but I am only able to reach step 8 of “Getting Started” and then I receive a page from Safari that states “Safari can’t open the page http://www.example.dev/ because Safari can’t connect to server ‘www.example.dev’.” A similar page is also prompted by Firefox and Opera. I have restarted my computer and the process several times, but I have had no luck in that department.
Any suggestions would be much appreciated.April 15, 2012 at 7:16 pm #4246
Thank you for writing. I’m sorry to hear this! Please take a moment to visit http://localhost, do you see the bright orange XAMPP logo? If you see a blank page or the infamous “It Works!”, prompt instead, you could have a known conflict mentioned in our troubleshooting section at How to Install DesktopServer.
Feel free to give us a ring at 619.800.8478 or please let us know what you see after visiting http://localhost.
StephenApril 15, 2012 at 7:21 pm #4247
Thank you for the reply Stephen. There is a small XAMPP logo where I enter the url in the browser, but not on the page itself. The rest of the page is exactly as mentioned when I visit the .dev url.
KeithApril 15, 2012 at 7:25 pm #4248
And if you visit the MySQL utility page at http://localhost/phpmyadmin, could you tell us what you see there? Do you have any other web server installed?
Lastly, could you post a screenshot here (use Command+Shift+4) to turn your mouse pointer into a cropping tool to drag a rectangle of what you see. You can then select the file from your desktop using the Choose File button under ‘Attachments’ below.April 15, 2012 at 7:33 pm #4249
I pretty much get the same thing with that link as well. And I do not have any other web server installed.
Here are some screen shots to help visualize the problem.
KeithApril 15, 2012 at 7:41 pm #4252
We’re not sure why you’ve got ~keithmacdonald appended to the URL address line, did Safari do that for you? None the less, the http://www.example.dev should have worked. Please take a moment start the include XAMPP control panel under the Applications:XAMPP folder. Do you see two green lights for both Apache and MySQL (the third ‘FTP’ is not used). If not, please turn on both the green lights for Apache and MySQL (see attachment). Then try visiting http://localhost again. We should see more then just that little XAMPP orange bookmark icon.
Please note any errors if you receive them. If the problem persists, please take a moment to include your error_log file from your Applications:XAMPP:logs folder. Thank you for your patience!
StephenApril 15, 2012 at 7:50 pm #4254
Safari did automatically append ~keithmacdonald for some reason, but it doesn’t seem to do it every time. When I open the XAMPP App MySQL is running, but I receive a “Syntax error” when I try to start Apache. I attached the error and the error log.
ThanksApril 15, 2012 at 8:03 pm #4256
It looks like their might be a permissions problem. Were you prompted for your user credential when starting DesktopServer? Also, is this an upgrade or factory install of Lion? Please take a moment to shutdown MySQL using the control panel, and close DesktopServer, along with the XAMPP control panel. Next, you should run the ‘repair disc permissions’ feature in the Disk Utility app in your Applications:Utility folder. Then try to start Apache again. If the problem persists again, be sure to attach that error_log file (please copy it to your desktop and rename it with a .txt extension as I think it won’t attach here otherwise).
StephenApril 15, 2012 at 8:59 pm #4257
I was prompted for credentials when I started DestopServer and I am using Lion as an upgrade.
So I ran the Repair Disk Permissions feature and there were a few entries that it fixed. However, I am still receiving all of the same errors, plus now when I start DesktopServer I receive a new error that states “Error – Unable to write preferences file.” (image attached) This is given right before I am asked for user credentials.
Lastly, I checked the error log to attach it again and I noticed that it is entirely empty, so I didn’t figure it was worth attaching.
Thank you very much for your time so far,
KeithApril 15, 2012 at 10:02 pm #4259
I’m sorry to hear that you are experiencing this. We’ll need to remove the preferences file to resolve this issue. Once again, lets make sure DesktopServer and XAMPP are closed. You’ll then need to follow these steps:
1) Open the terminal application from your Applications:Utility folder.
2) On the command prompt, type this command by followed by pressing the enter/return key (you will be prompted for your login password):
sudo rm ../Shared/.com.serverpress.desktopserver.json
3) Be sure to type your login password and press the enter key.
4) Quit Terminal via the pull down menu Terminal -> Quit (or by pressing Command+Q)
Because file permissions have been fixed, please take a moment to re-install by opening your Applications folder and dragging the XAMPP folder to the trash. Note that MySQL and Apache (which isn’t loading anyway) should be turned off. Use the Control Panel prior to trashing the XAMPP folder. If in doubt, simply reboot prior to trashing the XAMPP folder. Be sure you can empty the contents first and then re-install DesktopServer from the instructions at How to Install DesktopServer.
This *should* resolve the issue. Thank you for your patience, and please let us know if the problem persists.
StephenApril 16, 2012 at 11:22 am #4263
The command in terminal seems to have solved the problem! I am still asked for permissions when starting DesktopServer, but everything now appears to be running successfully and my .dev loads properly.
Thank you again for all your help!
You must be logged in to reply to this topic.