Jump to content
The Uniform Server Community

UniServer not working on Vista Home Premium.


Knives
 Share

Recommended Posts

Hey,

 

I'm new here and have been trying to use uniform server on my computer but when I start apache, I get the uniform server page then it redirects and firefox says the that localhost/apanel has no data.

 

I have skype on this computer and everytime I run it, i make sure skype is off etc. It assigns a harddrive letter but don't go let me do anything else.

 

i'm running Vista home Premium with ESET business edition (anti virus/firewall)

 

Please help me :D

 

- Thanks!

Link to comment
Share on other sites

I was just wondering if this post would help:

 

http://forum.uniformserver.com/index.php?showtopic=1558

 

Implement the change it may resolve the issue.

 

If it does not check Apache’s error.log file located in folder:

\Uniform Server\udrive\usr\local\apache2\logs

 

It may shed some light on the problem.

 

All the best

Ric :D

Link to comment
Share on other sites

Hey Ric,

 

I done what you said but firefox still just says 'The network link was interrupted while negotiating a connection. Please try again.'

 

 

[Thu Dec 18 13:13:50 2008] [notice] Apache/2.0.59 (Win32) DAV/2 PHP/5.2.3 configured -- resuming normal operations

[Thu Dec 18 13:13:50 2008] [notice] Server built: Jul 27 2006 15:55:03

[Thu Dec 18 13:13:50 2008] [notice] Parent: Created child process 17628

[Thu Dec 18 13:13:50 2008] [notice] Child 17628: Child process is running

[Thu Dec 18 13:13:50 2008] [notice] Child 17628: Acquired the start mutex.

[Thu Dec 18 13:13:50 2008] [notice] Child 17628: Starting 250 worker threads.

[Thu Dec 18 13:15:19 2008] [notice] Apache/2.0.59 (Win32) DAV/2 PHP/5.2.3 configured -- resuming normal operations

[Thu Dec 18 13:15:19 2008] [notice] Server built: Jul 27 2006 15:55:03

[Thu Dec 18 13:15:19 2008] [notice] Parent: Created child process 15436

[Thu Dec 18 13:15:19 2008] [notice] Child 15436: Child process is running

[Thu Dec 18 13:15:19 2008] [notice] Child 15436: Acquired the start mutex.

[Thu Dec 18 13:15:19 2008] [notice] Child 15436: Starting 250 worker threads.

 

That's my run log.

Link to comment
Share on other sites

Your log file confirms Apache is running and appears to have no problems.

 

This line points to the real problem:

'The network link was interrupted while negotiating a connection. Please try again.'

 

I have never experienced this type of problem however it is not uncommon.

I performed a quick search but could not find a definitive solution.

 

These links may be of use:

 

http://kb.mozillazine.org/Error_loading_any_website

 

http://www.techsupportforum.com/alternativ...nterrupted.html

 

Check you get the same issue using IE if you do the chances are it’s not a browser problem.

 

The problem may be either a firewall or anti-virus program issue. A quick check is to temporally disable them (make sure your PC is not connected to the Internet). Trouble is these programs may not be fully disabled hence cannot be fully ruled out unless they are completely removed.

 

Its difficult to be specific the nature of the problem means it’s a process of elimination until you find the route cause. :D

 

All the best

Ric B)

Link to comment
Share on other sites

I think the answer is in this line:

Holy crap... If I load it from http://127.0.0.1/apanel/ (the localhost IP) it works..

You need to add a line in your hosts file:

 

1) Browse to Start -> All Programs -> Accessories

2) Right click "Notepad" and select "Run as administrator"

3) Click "Continue" on the UAC prompt

4) Click File -> Open

5) Browse to "C:\Windows\System32\Drivers\etc"

6) Change the file filter drop down box from "Text Documents (*.txt)" to "All Files (*.*)"

7) Select "hosts" and click "Open"

8) Add the following lines:

127.0.0.1 localhost

127.0.0.1 localhost:80

9) Close Notepad, when prompted click save.

 

Note: The first line is required while the second line prevents an error message being displayed in the Vhost section of Apanel.

 

To access Apanel type the following into your browser:

http://localhost/apanel or http://localhost/a

 

 

All the best

Ric :D

Link to comment
Share on other sites

Well that really is a pain one consolation you know the server works and you can access Apanel using:

 

http://127.0.0.1/apanel/

 

In addition http://127.0.01/ allows you to access your web site in folder www

 

Note: Both http://127.0.0.1/apanel/ and http://127.0.01/ are valid IP addresses hence will not effect anything you can use these.

 

The whole point of using the “hosts” file is to resolve a name to an IP address e.g localhost resolves to 127.0.0.1

 

If you had placed this in your “hosts” file 127.0.0.1 www.fred.com

Typing www.fred.com into your browser will resolve to 127.0.0.1

 

Now http://localhost/apanel does not work while http://127.0.0.1/apanel/ does (this second address you have effectively manually resolved hence the “hosts” file is not used). This suggests there is other entries in the host file that may be in conflict or the changes you made were not written to the “hosts” file.

 

There may be entries relating to IPv6 they look similar to this:

:. localhost

or

:. 127.0.0.1

 

If you have these lines comment them out by adding a # (hash) at the beginning of each line for example:

 

# :. localhost

or

# :. 127.0.0.1

 

The "hosts" file should contain only these lines for IP 127.0.0.1

127.0.0.1 localhost

127.0.0.1 localhost:80

 

If that fails to resolve the problem there is one more thing to try:

Since you are running ESET (anti virus/firewall) this may be the problem area!

 

1) From ESET open Control Centre

2) Go to the Setup tab and click “Enter entire advanced setup tree”

3) Click “Web access protection”

4) Uncheck the checkbox labelled “Enable web access protection”

 

Check their Web site and forum to see if this is a known issue.

 

I have assumed you are not running more than one anti-virus and firewall because running two in parallel can cause conflicts.

 

Hope the above provides some pointers.

 

All the best

Ric :D

Link to comment
Share on other sites

Thanks for the feedback; I have updated the Wiki quick-guide to reflect this issue.

 

Although the “hosts” file is little used by the average user these days it still remains extremely powerful. All browsers check this file first before making an external request to resolve a name to an IP address.

 

Using the “hosts” file you can point any name to any IP address, hence ideal for a small Intranet.

 

All the best

Ric

Link to comment
Share on other sites

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...