| |
New Users: Home | Quick Install | Problems | Security | Information Snippets |
|
Common Problems and Issues (3.5 - Apollo) |
It really is a shame you are reading this page, you have obviously encountered problems either during installation or normal operation. In general these problems are common to running any other WAMP installation on a home PC. I have tailored this page specifically for new users unsing UniServer 3.5-Apollo .
Invariably installation problems are conflicts with existing software hence I list these first and attempt to point you in the right direction. Other problems are application specific these I cover as best as I can.
If port 80 is being used by another service or server Uniform Server will not start. Before starting Uniserver make sure you do not have another service running on Port 80. The following check works on XP home and XP Pro:
This produces a list of what ports are being occupied. Any IP followed by :80 means port 80 is being used. You now have the following options:
You can kill the processes that use port 80 on XP Pro as follows:
{By Mr X}
XP home does not support the tasklist command. A better alternative for both xp pro and home is to use:
procexp.exe from Sysinternals
While checking to see if it still existed I was surprised to find that Microsoft acquired Sysinternals in July, 2006.
I was even more surprised that these tools can still be downloaded for free: Process Explorer for Windows
It is a single file and well worth poping on your memory stick.
Using
The easiest way to use this tool is to obtain a list of what is running on port 80 using:
All you need to do now is decide what you want to do with the offending programs (they will restart next time you reboot) either delete or change the listening ports.
XP Pro comes with Windows IIS (Windows Internet Information Server) pre-installed, the following details how to remove it.
Note: XP Home does not have IIS installed hence not a problem.
To uninstall IIS using Add or Remove a Windows Component in Control Panel
Alternative method
To uninstall IIS using the Configure Your Server Wizard
If you must have IIS on your machine you have two alternatives as follows:
You can disable IIS by using the Internet Information Services applet in the Administrative tools area of Control panel.
Alternatively change Uniserver Listening Port
Skype is a little piece of software that lets you make free telephone calls anywhere in the world to another Skype user. They like Uniserver have their own problems with firewalls check out this link. Skype may and does use port 80 this conflicts with Uniserver however it is quite an obliging piece of software in that it can share port 80 or be moved on.
Shared port
I have not confirmed this works but worth a try:
If this solution works let me know! However the preferred solution is that recommended by Olajide:
Move it on
Move Skype to another port
PS I trust you have killed off... IIS that's another story.
If you must! you can change Uniform Server's listening port as follows:
If you are changing the port because of a conflict and Apache cannot be started you need to open the file httpd.conf located in folder:
*\Uniform Server\udrive\usr\local\apache2\conf
Check out notes 1-4 below.
If Apache is running you can use the following method:
Check out notes 1-4 below
Note 1:
Your server will now use port 8080 to access apanel. When the server re-starts the port is automatically inserted for you. After redirection your browser will display http://localhost:8080/apanel/ in your browser address bar. When you start apanel manually remember to include the port number.
Note 2:
Remember this also applies to your web site for example to access your index page use http://localhost:8080/index.html Note 3:
If your servers are on line and registered for example a domain www.fred.com to access your site a user needs to type into their browser address bar http://www.fred.com:8080/index.html Note 4:
If you must change your server port only do it for testing purposes. Never run a real website on any other port other than port 80, remember all browsers default to this standard port 80.
After changing Apache listening port attempting to either start or stop the MySQL server from apanel will result in the following warning:
» Security Alert! Possible Attack HTTP_REFERER is not localhost, but 'http://localhost:8080/apanel/navigation.php'. To disable this warning go: /home/admin/www/cgi-bin/includes/lang/en/secure.pm
It’s not just a warning it prevents you starting or stopping the server.
Solution:
Note: You could comment the lines as stated however return 1 saves typing.
What is it
What is this referrer thing? When you click a link to go to a new Internet page, your browser secretly (normal operation) sends along with the request the domain address of the current page. This is called the referrer. Among other things it can be used for data logging to find out where a user came from. Uniform Server uses the referrer to check the validly of a domain that can access the admin area. Only localhost has this privilege all external access are denied.
Security
When you receive this error message HTTP_REFERER is not localhost; confirms the security check is working. You are told to disable the security check by commenting out the offending lines in /home/admin/www/cgi-bin/secure.pm. This is masking the real problem.
Scenarios
There are two scenarios that cause the error message:
Scenario 1)' There are two possible causes
Scenario 2) Self inflicted
If for some reason HTTP_REFER has been filtered out by either your Firewall or browser it will activate Uniform server's security and block access to admin. The solution is to allow HTTP_REFER by setting your firewall or browser accordingly. This page includes some of the common browsers and fire walls to get you started.
Note: To check if it is a firewall issue DISCONNECT FROM THE INTERNET and turn your firewall off.
Check to see if you still get the error message.
If you do it is most likely a browser issue and not a firewall problem.
To Create a Rule
Open Norton Internet Security or Norton Personal Firewall and choose one of the following:
In Norton Internet Security/Norton Personal Firewall 2003
In Norton Internet Security/Norton Personal Firewall 2004 and 2005
Go to Privacy > Surf > Information Hiding, and uncheck the "Last Web site visited" box. Sygate Firewall: The free version of this firewall does not block sending referrers.
The Pro version: Click Tools > Options > Security Ensure that 'enable stealth mode browsing' is unchecked.
There is a "+hide-referrer" option that defaults to "forge a url" in the referral header; either disable this option in default.action (-hide-referrer) or simply place your domain in the { fragile } section of user.action. Another option is to exclude your domain from being proxied in your web browser's settings.
(Why are you using this! IE7 no way not on my machine) This can be done from the computer's Control Panel > Internet Options, or from within the browser Tools > Internet Options.
Note 1: Have you tried the portable version of Firefox 2 excellent browser. Note 1: Have you tried the FireBug extension
Sending referrers is enabled by default. If you have disabled it, go to Tools > Preferences > Advanced > Network > Enable Referrer Logging.
General note:
Upgrade to the latest version of Opera or Firefox they are ace browsers. More than likely I have not covered what you use, no problem search the net for a solution or better still visit their forums.
These are items that get left behind after uninstalling programs either because the uninstaller is inefficient or you are informed they are shared files and leaving them will do no harm!.
If you have ever installed individual installation of Apache or MySQL and uninstalled them two files are likely to remain on your PC these are PHP.ini and LIBMYSQL.DLL and remain on the system path.
A conflict occurs when UniServer’s PHP or MySQL programs search for these files.
These programs are designed to work in this manner and the solution is to run a search and delete all copies that are not associated with Uniform Server.
Note: You can have as many copies of UniServer each with their local copies of these files and have no conflicts.
This is one of those areas that is not a general problem but specific when testing. If you have more than one installation of UniServer and run tests an error in one percolates to the other! Even more thought provoking download a new copy and the problem still persists. In the forum I believe I have seen this theme run through many threads.
The problem arises because a browser caches pages, when a page is re-loaded invariably the browser does not update that page unless specifically requested but loads it from cache. If that page or related pages contain errors and you fire up a new server these page can be loaded in place of the new ones as expected. You may have resolved the problem but still see the errors from your previous server tests.
The answer is to clear all caches before doing any new tests you could always disable caching but that has problems in its own right.
Fore Firefox clear the caches as follows:
Tools > options > advanced > network > cache clear now Restart to clear the memory cache.
Note: To clear a single page in Firefox hold down the shift key down click the page refresh button
Windows defender - Windows Vista Ultimate - Running as a service
Quote MS “Windows Defender is a new security program that helps to protect your PC from spyware and other unwanted software.” The trouble is it may also block Uniform Server when run as a service preventing it running.
These images show this blocking in action: {Images by “Star” lifted from forum}
Run as servive
Prevent the program being scanned at start-up using the following sequence:
This page is worth a visit TechRepublic
NTVDM has encountered an illegal instruction
If you are running Comodo AntiVirus software and receive the following error message:
"NTVDM has encountered an illegal instruction"
{Thanks to Alan See forum}
Bug fix to stop database from starting when using Disk Start.vbs
Disk Start.vbs located in folder (*\Uniform Server)
No database on startup, Bug fix to stop database from starting when using Disk Start.vbs
Open the file in a text editor,
|
Change the following:
|
|
t=MsgBox("Start the MySQL Database Server?", vbYesNo + vbQuestion, "Database Support") |
|
To this:
|
|
t=MsgBox("Start the MySQL Database Server?", vbYesNo + vbQuestion, "Database Support") |
{Thanks to Marshy see forum}
| | Ric |