ORA-24408: could not generate unique server group name - php

system:
Linux web 2.6.27.21-0.1-pae #1 SMP 2009-03-31 14:50:44 +0200 i686 i686 i386 GNU/Linux
PHP Version 5.3.8
Apache Version Apache/2.2.21 (Linux/SUSE)
OCI8 Support enabled
Version 1.4.7
Revision $Revision: 321634 $
Active Persistent Connections 0
Active Connections 0
Oracle Run-time Client Library Version 11.2.0.3.0
Oracle Instant Client Version 11.2
when calling oci_connect - receiv
ORA-24408: could not generate unique server group name
can`t understand what the kind error is this and howto fix it.

You can downgrade to 10g if you want (it evidently doesn't care about this) but that's not necessary...
The 11g instant client requires a /etc/hosts file entry for your hostname pointing to 127.0.0.1. The normal "localhost" entry is not sufficient on it's own.
Assuming your host name is foomachine, there are two places you'll need to check:
In /etc/hosts, make sure you have any entry like - add it if it's not there:
127.0.0.1 foomachine
And also make sure the /etc/sysconfig/network file also has HOSTNAME=foomachine
That should do the trick.

Kind of an old question, but I just stumbled on it after upgrading my Mac to Sierra. Until then I hadn't had the problem.
The trick is definitely to add your hostname to /etc/hosts, but you have to have the right hostname. That's easy on linux, it's in /etc/sysconfig/network. On Mac find it in System Preferences > Sharing. Under where it says Computer name will be something like computer-name.local. In /etc/hosts put
127.0.0.1 computer-name.local
Replacing computer-name with your computer name of course :). It needs this regardless of whether the database is a remote one or a local one.
I had plenty of other aliases for 127.0.0.1 but not that one. As soon as I added that one my apps started working again.

In my situation, the OracleDB server I was trying to connect to was a remote one, not a local one, so the above 127.0.0.1 localhost trick didn't work.
Previously, I had temporarily fixed a DNS problem by adding an entry for my Oracle DB server into my hosts file.
This IP in my hosts file was still correct - it still pointed to the correct OracleDB server IP.
By removing the entry from my hosts file, the problem went away.
I have no idea why this is a problem for OracleDB, or why the error message is so obtuse, but I hope this helps someone else.
(This was using InstantClient v12.1.0.2 on MacOS v10.11.5)

I had exactly the same problem. I fixed my /etc/hosts and /etc/sysconfig/network file and RESTARTED THE NETWORK and it works fine now. Here are some quick and dirty instructions:
http://ahmadzainuddinzakaria.blogspot.com/2012/06/warning-ociconnect-functionoci-connect.html

In CentOS 6.5 I changed the value of the file: /etc/sysconfig/network
Original value:
HOSTNAME=localhost.localdomain
New value:
HOSTNAME=127.0.0.1

You actually do not need to go with 127.0.0.1 in /etc/hosts with something like
echo -e "127.0.0.1\t$HOSTNAME" >> /etc/hosts
which is against common sense (and formally against RFC 6761 only from February 2013 😲).
Luckily it will also work if you only have your real IP address registered - something like
192.0.2.5 mymachine.example.net
which is btw frequently missing in virtual machines created with DHCP.
or - the last resort scenario - use some other IP address from 127.0.0.0/8
127.0.1.1 mymachine.example.net
Tested with Oracle Instant Client 11.2 .
Sysadmins dealing with weird stuff like Legato Backup will thank you for not messing with /etc/hosts.

Adding this to /etc/hosts resolved the issue.
127.0.0.1 someHostName
To find your computer's host name, just type hostname in Terminal. Use a text editor such as vim to edit hosts.
~ hostname
someHostName
~ cd /etc
/etc sudo vim hosts

Related

MAMP - localhost is redirect to an unknow IP address

I started Apache, when I visited with http://locahost, it's been redirected to http://123.57.14.229 (this IP once configured in DB, but I changed it to 127.0.0.1 in my local database).
As I checked with lsof -i:80, it shows below.
What does it mean in the green frame?
I even tried droping the database and restarted the computer, but this issue remains.
I found about Bogon-s on wikipedia:
https://en.wikipedia.org/wiki/Bogon_filtering
And also that IP looks like a real live IP when pinging it,
PING 123.57.14.229 (123.57.14.229): 56 data bytes
64 bytes from 123.57.14.229: icmp_seq=0 ttl=99 time=336.692 ms
So I would probably say you have some kind of software installed that cause this redirection. Did you tried running apache on different port maybe? Just for testing?

Php code not executing on web browsers [duplicate]

I just did a fresh install of Apache server 2.2.
Everything works. When I go to localhost I get: "It Works!"
I just installed mySQL5.5 and when I go to localhost:3306 I just get gibberish:
J���
5.5.22�'���4[LM{D~p�ÿ÷!�€����������6[I=4/+,9z{|�mysql_native_password�!��ÿ„#08S01Got
packets out of order
I see many posts on the internet with users with similar problems, but I can't figure out a solution.
Can anyone help?
The mysql service is not a web interface - you cannot connect using a browser. You will need to install a mysql client of some kind.
If you try to start phpmyadmin then do it like this:
localhost/phpmyadmin
I'm a jsp beginner.
I have a same problem with you.
I guess it's kind of port problem.
For me, I had set the port for Apache server connector as 9090.
Later, when I installed mysql, the port for mysql was 3306 as its default port.
In my jsp file,
i loaded jdbc driver like 'jdbc:mysql://localhost:9090/dbname'
and then i call 'http://localhost:9090/my.jsp' on my web browser.
That's when I got the same problem with you.
I fixed the port part in my jsp file like 'jdbc:mysql://localhost:3306/dbname'
and I could get it all right.
I think you need to check the port for your Apache server.
You can check out \conf\server.xml file in your Apache directory.
The part starts with "Connector port=8080...." in server.xml file.
If so, you need to put 'http://localhost:8080... on your browser.
Try just to write http://localhost/ without the port and it will work , Or go to your phpmyadmin and click on My websites and it will take you immediately to your localhost
I'm having exactly the same problem, so far I have :
1)Manually changed the Collation (it seemed to be defaulting to cp850)
2)altered the ini/cnf file (located under services.msc -> MySQL)
3)Changed the max_packet_size to 2G
3)rebooted the server.
As a start to this please run this script from MySQL
'SHOW VARIABLES WHERE Variable_name LIKE 'character_set_%' OR Variable_name LIKE 'collation%';'
It should bring up a table of your collations, they should all read utf8
Possible causes

How to fix WAMP page access when using IP Address instead of localhost in the URL

I have recently built my local test server WAMP by using Windows 7 Pro 64bit OS. I have also chosen to use the 32bit programs (Apache, MySQL & PHP) so my WAMP spec would be x86 V11 binary Thread Safe (TS). I want to keep all development related items into the C:\dev folder or directory, so my file system looks like this:
C:\dev\bin\apache24\
C:\dev\bin\MySQL5.6\
C:\dev\bin\PHP5.6\
C:\dev\www\phpMysqlAdmin
C:\dev\www\HollyGhost.com\login.php
Settings: my.ini
# Path to the installation directory.
basedir = "C:/dev/bin/MySQL5.6/"
# Path to the database data directory
datadir = "C:/dev/bin/MySQL5.6/data/"
# The TCP/IP Port the MySQL Server will listen on
port = 3306
# Server Id.
server_id = 1
C:\Winows\System32\drivers\etc\hosts
127.0.0.1 localhost
If I need to view the web site: http://localhost/HollyGhost.com/login.php the site comes up without any issues and works great; but if I rewrite the URL on the same box to: http://127.0.0.1/HollyGhost.com/login.php the site renders the login page but I cannot log into the system. All I am getting when I attempt to log in is the login page keeps refreshing. I tried to do the same from another PC and I am getting the same result. I need to do this so I can test other devices locally.
Any help is greatly appreciated. I am not sure if this issue is a permission problem based on the fact that MySQL data is stored in the \MySQl5.6\data directory. If so, how do I go about fixing it.
The problem was in the Windows Firewall -> Advance setting -> Inbound Rules. The Inbound Rules for MySQL Profile was set to Private and the Program was set to Any. I change Profile to "Domain, Private" and set Program to point to MySQL installation directory "MySQL.exe" this works for me after rebooting all network devices and PCs.

XAMPP: Couldn't start Apache (Windows 10)

I'm using XAMPP, and I can start Apache, but, MySQL (phpMyAdmin) start!
When I start, I get this error;
10:07:49 [Apache] Error: Apache shutdown unexpectedly.
10:07:49 [Apache] This may be due to a blocked port, missing dependencies,
10:07:49 [Apache] improper privileges, a crash, or a shutdown by another method.
10:07:49 [Apache] Press the Logs button to view error logs and check
10:07:49 [Apache] the Windows Event Viewer for more clues
10:07:49 [Apache] If you need more help, copy and post this
10:07:49 [Apache] entire log window on the forums
I search on it, and, change the port of Apache in Config -> Service and Port setting. I have;
Service name: Apache 2.4
Main port: 122
SSL port: 444
I also uninstall Skype (Windows 8/10/Metro version). Nothing is working. In the httpd.conf file I have;
Listen 122
ServerName localhost:122
I start it via apache_start.bat and get;
(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address [::]:445
(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address 0.0.0.0:445
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs
Please note that all the log files don’t exists!
Skype is uninstalled.
Update: 15th May, 2018:
The latest Windows 10 update (re-)activated the World Wide Web Publishing Service (in German: WWW-Publishingdienst). This might depend on the options you select during the configuration of the update you can make afterwards.
Update: 4th August, 2015:
If you have done clean installation of Windows 10, you may not have the Word Wide Web Publishing Service. In that case, simple WAMP/XAMPP installation should work fine.
If it doesn't, try installing Visual C++ Redistributable and then re-install WAMP/XAMPP.
I was facing a similar problem with WAMP. In Windows 10 TP, the Word Wide Web Publishing Service comes pre-installed. This is related to IIS and you can remove it if you don't need it.
This blocks the port 80, making Apache act weirdly. You can do the following and try again.
Go to Start, type in services.msc
Scroll down in the Services window to find the World Wide Web Publishing Service.
Right click on it and select Stop.
This should make port 80 free and restarting WAMP/XAMPP should get you up and running!
There are other ways to do fix this. See Make WAMP Work On Windows 10.
Solving this problem is easy:
Open a command prompt with administrator privileges
Find "cmd", right-click on it, then select "Administrator".
In the prompt, type net stop W3SVC and Enter.
You can now click in WAMPP and restart all services. Open your browser and navigate to "localhost".
If you need to start W3SVC again,
Open a command prompt with administrator privileges
In the prompt, type net start W3SVC and Enter.
I found a way to solve this problem:
If you are using Skype as well, uncheck the field stating to use ports 80 and 443 (Extra -> Settings -> Advanced -> Connections -> Uncheck Port 80 and 443)
Restart Skype and XAMPP.
If this does not work,
Go to Start and type "services.msc"
Locate "World Wide Web Publishing Service"
Right-click on that entry, select "Stop", then restart XAMPP.
If that did not work and "World Wide Web Publishing Service" was not available,
Go to the Control Panel, navigate to "Uninstall Programs", then "Turn on/off Windows features"
Locate "Internet Information Services"
Click the checkbox and hit "OK".
Restart, then repeat the second approach (services.msc)
You can change the port of Apache:
Go to C:\xampp\apache\conf\httpd.
Find by combination Ctrl+F line #Listen 12.34.56.78:80 and change the 80 to any you like for example 81
The same with Listen 80 change to 81
The same with ServerName localhost:80 change to 81.
Go to C:\xampp\apache\conf\extra\httpd-vhosts and change 80 to 81
NameVirtualHost *:80 here
VirtualHost *:80 and here (two times)
Restart Apache
To enter your web page, type: http://localhost:81/index.html
Press Windows+R, and type regedit.
Go to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP
Change the value of Start to 4, which means disabled.
Reboot your computer.
I have fixed this issue with mine as well, but I had to change a couple of things. I require that on my Windows 10 machine I keep my C# and Visual Studio development environment, so I didn't want to tinker with any services. All I had to do was download the latest version of XAMPP and change the listening ports for 80 and 443. They were located in two files:
C:\xampp\apache\conf\httpd.conf
Listen 122
ServerName localhost:122
C:\xampp\apache\conf\extra\httpd-ssl.conf
Listen 444
Changing the above from port 80 to 122 and 443 to 444 allowed me to have Apache run and serve pages while keeping everything else the same for my ASP.NET development. Hopefully this helps someone out there. In the end this is a very simple fix.
Direct your browser to: http://localhost:122
I got same problem, but the previous solutions leads us to change the port instead of getting the exact solution. I've searched about the ports of simple HTTP & HTTPS Protocols and found.
If another application is already running, the HTTP or HTTPS ports on the local machine, we'll get this problem obviously just because of those ports already in use and in a busy state.
That's why after changing the port number it was working.
But instead of changing the port in the XAMPP server, I've used the following methods and it works for me.
Here's the following step which I've got during this fix up.
Error which I got in XAMPP Server application.
At the top corner there's a button named Netstat.
It's very useful for looking up the running ports on the system.
This is the Netstat application where I found an application already running and using the port number 443. In my case, it was vmware-hostd.exe. Your might be a different application. Try to search for port 80 (HTTP) or port 443 (HTTPS).
I just opened the Windows Task Manager, selected that application vmware-hostd.exe, and killed the process by using the End Process button. I've killed that process which was used port 443. And this application wasn't needed at the moment.
After killing the application in Windows Task Manager, Apache is now available at the moment. Here's the proof.
NOTE: *If you found any kind of application which is used the HTTP or HTTPS ports means port 80 or port 443 and the application isn't important or not vital then only kill the process of that application.
Otherwise, there isn't any need to follow these steps. Then you need to consider to change the port of your XAMPP application as stated in the previous answers.*
I tried everything listed in the answers here but none of them worked.
Then all I did was to re-start XAMPP with administrator rights by:
Start menu - right click on XAMPP - select run as administartor
It worked. It is that simple.
I uninstalled IIS services, stopped WWW services, changed ports back to 80, blocked all apache and mysql connections from windows 10 firewall, but yes it still works!
It looks like there are many options. The answer depends on your Windows installation. Here is my experience when having the same problem in a Windows 10 fresh install and fix the issue with the following step:
Install Visual C++ Redistributable
Open XAMPP and select configure in the Apache service
Change the port 80 to 9000 or 81 or whatever you want in file httpd.conf on the line Listen 80
Change the port on httpd-ssl.conf and change Listen 443 to Listen 441
Restart XAMPP and start the Apache service. It works for me.
Note: I'm using XAMPP version 5.6.15 and XAMPP Control Panel version 3.2.2.
Change the port number which port are available in your system By following ways
1. First open the Apache “httpd.conf” file:
#Listen 12.34.56.78:80
Listen 80
ServerName localhost:80
to
#Listen 12.34.56.78:8080
Listen 8080
ServerName localhost:8080
2. Open httpd-ssl.conf:
Listen 443
<VirtualHost _default_:443>
to
Listen 441
<VirtualHost _default_:441>
3. Follow the trick. Now “Start” Apache and if everything goes well, your Apache server should start up.
After playing around, really all you have to do is change two lines in the httpd.conf file:
Change "Listen 80" to "Listen 122" (or anything else you want)
and
"ServerName Localhost:80" to "Localhost:122" (or the port you changed above)
Then it all should fire right up :P
The World Wide Web Publishing service was not the only one responsible in my case.
I have IIS installed, so I had to stop the whole HTTP service.
These are the commands that I've executed in CMD (as administrator):
net stop W3SVC
net stop http
Go to the start menu, and type Turn Windows features on or off
Uncheck Internet Information Services
Press OK
Actually, by default IIS (Microsoft, .NET, etc.) is installed.
Go to Control Panel
Turn Windows features on or off...
Under (IIS) Internet Information Services, uncheck the (WWWS) world wide web services.
Click OK.
This could be a permanent solution. :)
This advice was great. I had the same problem, but my solution was different, because I was so stupid, that I have renamed directory where XAMPP was located and since I had installed a lot of another programs I couldn't rename it back.
In my case there was original directory C:\Programs\Xampp and renamed it to C:\PROGRAMS_\Xampp and that was the mistake.
The solution was to find all references on C:\Programs and rename them C:\PROGRAMS_ in the XAMPP directory, because for some reason during the installation it writes absolute paths, not relative. Of course, there are some references in the registry too.
It's simply a matter of making port 80 available for your Apache service.
The way I solved the problem was:
On Windows 10, right click the start button and select Run
Type services.msc and click OK
Find and right click World wide web publishing service
Select Properties
Change the Startup type value to Automatic (Delayed Start)
Restart your computer.
There you have it. All is back to normal.
In my case it was a simple case of removing IIS because Windows 10 comes with IIS (Internet Information Service) pre installed - that conflicts with XAMPP because these both servers try to use the port 80. If you don't want to use IIS and keep using XAMPP
Go to run/search in Windows 10
Search for 'optional features'
On that list untick Internet Information Service (IIS)
Then restart.
That was simple for me!
Try to run the XAMPP Control Panel as administrator.
I have tried all the above solutions. But it was not working in any way.
Finally, I just uninstalled XAMPP and installed it again. Then it worked for me.
Now I am able to run the server on any port (including 80).
I found that running apache_start in gave me the exact error and on which line it was.
My error was that I left a space in between localhost: and the port.
If you have installed SQL Server, some of its services may block the port which XAMPP needs. I solved my problem by disabling SQL Server Reporting Services and now Apache starts without any problems.
Just open the services.msc, scroll down, and find SQL Server Reporting Services. Right click on it and click Stop.
Steps:
Open the XAMMP Control Panel
Open Apache Config, and then select the Apache - xammp- configuration file
Search for "Port 443", and then change it to some other port, let’s say 4433
Then restart.
Check if your PHP installation works.
Check which php.ini file you are running in Apache's configuration and use it to run php.exe...
You may just have updated your Windows to Version 1903 (OS Build:18362.239) or have changed user passwords. Despite having eliminated all port conflicts, I still kept getting the messages described by the OP at the very start of this post.
In the end I cured it by upgrading to XAMPP to 7.3.7. (When forced to reinstall, you might as well upgrade at the same time!)
But the problem reoccurred when I again went to change the 'root' user password.
The console error messages were masking the fact that table mysql.user was corrupt.
Check file mysql_error.log. If you are seeing Fatal error: Can't open and lock privilege tables: Index for table 'user' is corrupt; try to repair it, then have a look at this.
I got the same problem and I solved it by uninstalling WAMP server.

http://localhost/ not working on Windows 7. What's the problem?

I have a big problem opening http://localhost/ on Windows 7 (beta). I installed this os and everything went great; when I installed Wamp I saw that localhost is not working at all. I just see this error:
Failed to Connect
Firefox can't establish a connection to the server at localhost.
in Mozilla and Explorer.
I removed Wamp and after some weeks (that means two weeks from today) I installed NetBeans on Windows 7. I created a test PHP script and when I debug it, I get the same error again. I tried to access it with ip 127.... but still the same. What is the problem?
When i installed NetBeans I installed it in port 8080.
If you installed it on port 8080, you need to access it on port 8080:
http://localhost:8080 or http://127.0.0.1:8080
To fix the port 80 problem do:
From cmd as administrator:
sc config http start= demand (you need a space after the equal sign and not before)
Reboot
Run the command (netsh http show servicestate) as administrator to check that the port 80 is in use
After you have run this command, you can disable http.sys as follows:
net stop http (stop the process)
Sc config http start= disabled (if you want to disable the service forever)
it works for me.
Edit your C:\Windows\System32\drivers\etc\hosts file
Make sure there is an entry that looks like this:
127.0.0.1 localhost
If there is an entry like
:: localhost
Comment it out to look like this
\#:: localhost
This should fix your problem, I've had this problem in the past.
For me, it was skype causing the problem. Once I stopped skype, everything worked. I have 1.7.1 xampp (mysql and apache) running on Windows 7 x64.
It sounds like you have no web server running at all anywhere.
Have you tried enabling IIS and using it to display a basic html file first?
Programs & Features -> Turn Windows Features On/Off -> Internet Information Servcies
Then, place your html file in C:\inetpub\wwwroot\index.html and browse to http://localhost.
Once this works, try to get WAMP/php working. Be careful of port conflicts.
My initial thought is that you are missing an entry in the hosts file. Something like "127.0.0.1 localhost", however, you mention that you are getting a 404 error. That means that the webserver is connecting to your client/browser and responding to the request for a particular webpage.
I'm not familiar enough with Windows 7, however, I'm pretty sure that it does not include a webserver by default. Also, unless you actually code, build and run a webserver application using netbeans you're not going to get the desired response.
When it comes down to it.... your issue is going to be one of the following:
1) you're serving static documents and the webserver is not configured to serve the files from whatever the proper DOCROOT should be. This includes PUBLIC folders in the user's directories. (the basic apache install include a basic homepage)
2) you have a dynamic webserver application where the controller is looking at the application path in order to decide what page to display or what function to execute. (see MVC - Controller). Basically incomplete implementation.
3) yet another configuration error: your website might actually define a virtual domain. (something other than localhost) so when you look for localhost in the URL the server might not be configured to provide a default page.
Uncommenting the following line in host file worked for me,
#127.0.0.1 localhost
Well you are getting a 404, so the web server is running, it just can't find the file.
Check the http.conf file. If it pointing to the right root directory?
If you are using different ports, then check http.conf to see if Apache is listening on the right port, or if apache is redirecting traffic on the port to anther root directory.
Maybe posting your http.conf file might help?
If you're still having this problem, try this:
Edit your hosts file (with elevated privileges)
Uncomment the line "#127.0.0.1 localhost" (ie- remove the #)
Save the file as is. hosts with no extension
In Win7 MS has decided to comment the localhost line with that msg that says it's handled in dns. I'm still not exactly clear what they're getting at, except maybe that they're telling folks to use dns for localhost resolution instead of the hosts file. Probably safer that way, anyway.
Yea, this was a pain for me as well.
So what i did was find the "Start Wampserver", just hit the start button and type it in.
Then right click on it , select properties.
I set it to run in XP servive pack 3 on the capatability tab.
I also checked the box "Run this program as an administrator".
Then I right clicked the WAMPSERVER on the System Tray, and re-started all services.
This worked perfect for me, hope this will help you as well.
Rob
Got any other Programs running ? msn ect... ? some bind to port 8080 then your webserver wouldnt start and would cause a 404 , try binding it to a different port 80 which its default should be
I got a 404 could not connect error then I set wampmanager.exe to run as Xp Sp3 and it seems to be working fine this can be done by
Right Clicking on it
Properties
click tab labled "Compatibility"
Tick Box just undeder "Compatibility
mode"
Select Windows XP (Service Pack 3)
Click Apply then OK
It was Skype interfering for me too. I changed the Skype settings (in Skype go to Tools > options > advanced > Connection and UNCHECK "use port 80 and 443 as alternatives for incoming connections") save then close Skype. I have Win 7 HomePremium 64 bit, had installed Xampp fine with MySQL running fine, but no matter how many times I started Apache (and console showed "Apache started") I still got the "firefox can't establish a connection" error in the browser. After Skype changes were saved, Apache showed the green "Running" and all working now thanks
For me this did the trick at port 80 in the end:
You have to disable the http.sys service manually via the registry:
Launch RegEdit:
Go to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP
Add a new DWORD (32-bit) value
Name it ‘NoRun’ not including the quotes
Double click the new property
In the Value data field type ’1' not including quotes and click OK
Re-boot your computer
You should now find that Apache will start on port 80!
Have you try the iis? Go to Control Panel->Programs and Features->Turn Windows features on or off (side bar). Try installing or reinstalling the Internet Information Service. I've a windows 7 with iis, with .net and php, and it works great...
you have to install the service, go to wamp->Apache->Service->Install service, then a command prompt window will pop up, then press enter, and after a few seconds go to the same route Services-> and click Start/Resume service, and you ready
I had the exact same issue, and the solution is what someone has already said:
In the taskbar, click on the WAMP icon.
Go to Apache-->Service-->Install Service
Then go back by clicking and selecting Apache-->Service-->Start/Resume Service
This will allow the localhost function to work (keep in mind I had already changed the host file located under c:\windows\system32\drivers\etc to remove the # from the 127.0.0.1 line)
If you need to edit that file still, you need to right click on it and select Properties. Then go to the Security tab, and click the Advanced button. You then need to select the Users, click Edit and select "Full Control". This will enable you to edit it.
That being said, you need to ALSO install the MySQL service following the same procedure.
MySQL-->Service-->Install Service
Then go back by right clicking yet again and selecting MySQL-->Service-->Start/Resume Service.
And that should fix it all up in Windows 7!
Before installing Wamp, go to controlpanel=> Adminstrative tools => IIS Manager and turn off the IIS server. Install wamp and everything works fine. When IIS is on it also uses port 80. You can go through a lot of changing the ports and permissions for wamp but I have found this the quickest and easiest method of getting wamp to run successfully.
Try adding the following tags in the wwwroot folder web.config file. These tags should be added as a child of the configuration tags as below.
-configuration-
--system.webServer--
---validation validateIntegratedModeConfiguration="false" ---
--/system.webServer--
-/configuration-
Maybe Skype or other Application is using port 80.
This you can check in
Tools->Settings->Advanced->Connection
See the above solutions are very good.But whenever you get this 404 eroor,first see this.I am sure the problem will be solved...
Just go to httpd.conf file by clicking wamp server symbol in bottom right taskbar-Apache->httpd.conf... or c:\\wampt\\bin\\apache\\apache2.2.1\\conf\\httpd.conf and approximate on line no 46 you will find "Listen 80"...just make sure it is written "80" after Listen...if it not then change it to 80...And your problem will be solved...
Assuming there is no problem doing a lookup on localhost (to 127.0.0.1), you need to make sure your server is listening to 127.0.0.1.
netstat works in both windows an UNIX. You probably need "netstat -a" to display listeners.

Categories