Apache-web server - apache

I make some changes in httpd.conf for security issue.after that i restarted apache
but i was not able to access application .i thought catalina was not restarted then i restarted catalina but still i was not able to access application.then i reverted changes but still i am not able to access in catalina log i am able to see ajp port already in use.is it the cause because of which i am not able to access application?if not tell me the cause what i need to check so that i can access application.my apache version is 2.2.31 and my OS is AIX. kindly suggest any idea.

Related

Localhost refused to connect - Bitnami does not display any server

I have created a Wordpress website locally using the Bitnami installer. Everything was going well and I have managed to finish designing the website until something happened.
I'm not sure if it is in any way related to the issue but my computer automatically installed a Windows update, since then I cannot access the website that I created locally. It says that,
This site can’t be reached
localhost refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
Again, I'm not sure if this has anything to do with the update, because I have already uninstalled the updated and it's still the same. What's also weird is that my Bitnami managers servers aren't running any servers, and actually there are no servers under it at all.
I am confused and lost as to how this happened and what's the solution for this. I would appreciate any help or pointed anyone can give me. Please see attached Photos.
This is the initial message when I try to access the website
Clicking on the go to application and open my phpadmin doesn't do or open anything
There are no servers
There are no events
Bitnami Engineer here,
If the Bitnami manager doesn't show the services is because they are not installed in the server or they got renamed during the upgrade process. Let's try to reinstall the services again.
First of all, you will need open your installation directory and double-click on the use_wordpress.bat file. That will open the command prompt in Windows
Run the remove command
serviceinstall.bat REMOVE
If the console is closed, open it again and run the install command
serviceinstall.bat INSTALL
Check if the services are now up and running in the Bitnami Manager tool

MAMP error: couldn't be started

I've installed MAMP (windows) and I can't start it. When I first opened it, i got the usual error of port 80 already used. But after i changed it to another port, 8888, i got a diferent error:
Could not wait for starting of Apache child. Apache parent process id is: 6208
I'm always getting this error, even though i've reinstalled MAMP and tried diferent ports as well, like 2222, and I keep getting the error. Besides, the process id in the error is always diferent every time i try to start MAMP.
Any suggestions?
First of all, "MAMP for Windows" IS for Windows! I do prefer it to a WAMP due to simplicity.
After getting a "Could not wait for starting of Apache child. Apache parent process id is"
I have disabled a Windows firewall.
Then, I have uninstalled the .NET, C++, and then the MAMP.
Then, I have installed the MAMP again, with all the .Net and C++ files that come with it.
Then, enabled the firewall back.
It now works.
First of all MAMP is not for windows it stands for Mac Apache Mysql Php so you need to install WAMP(Windows Apache Mysql Php) than if you have installed Wamp, change the port to 80 again. the error(port 80 already in use) comes from one of the following problems:
Skype: Make sure that you have stopped skype or unistall it.
SQL Server Reporting System: if you have installed sql server so please stop the process of SQL server reporting system.
After this tips restart your server and the problem is solved. If still the problem is not solved comment back.

subversion mysteriously getting disconnected

This is my first post on the forum, so please excuse any of my mistakes.
We have installed Subversion 1.7.2 with Apache 2.2 on a Windows 2008R2 VM server. And for authentication, svn is integrated with Active directory. We are facing a very strange problem. After 2-3 days of accessing svn, it suddenly becomes inaccessible from svn clients. While accessing the repository url it throws a 500 error. The log file doesn't show any error message. Apache seems to be running as well.
We tried to restart the Apache server but it doesn't resolve the issue. Since log file doesn't show any message its tough to debug. Even windows event log doesn't show anything on this error. The only way we have found is by restarting the server box, which is very embarrassing.
We are now absolutely clue less and planning to upgrade the svn to a higher version but we don't know which version will fix the issue.

Apache Server can't turn off (EnterpriseDB Installation with Stack Builder)

I know it seems to be an odd question.
I have downloaded and installed PostgreSQL 9.3 from its main website, then I used Application Stack Builder to install ODBC, JDBC, Apache/PHP v2.2.22, phpPgAdmin v5.1.
Now the problem for me is I am used to use programs like MAMP (where you can exit the program and kill the server at the same time), or in an IDE (like MyEclipse's included Tomcat or Jetty), or in a framework like Play's built-in JBoss Netty server. Those servers, since they are connected to an IDE, or program, or framework, they can be easily turned off; and I am used to turn off a server when I am not using it.
I find out I can't turn off this apache server installed by Application Stack Builder. I tried terminal commands. It does not work. Whenever I type in localhost:8080, the welcome page will just pop out.
Do I need to turn it off? How do I do so? Also, can I turn of PostgreSQL database server as well? (Like in MAMP, you always have the option to turn Apache and MySQL server off)
Added: I'm using Mac OS X.
To restart EnterpriseDB Apache, I did
sudo /Library/PostgreSQL/EnterpriseDB-ApachePHP/apache/bin/apachectl graceful
Explanation:
On my machine this exact problem was because the apachectl was still default Mac OS X. This can be verified by doing
which apachectl
To which I got the response:
/usr/sbin/apachectl
This is the default apache in Mac OS X, not the Enterprise DB one. I did not want to mess with system paths so I left this one alone. You can also create aliases to if you bounce apache often.
This is what I did?
I just unsinstalled EnterpriseDB-ApachePHP and any other PostgreSQL you might have on your Mac.
Reboot your Mac and try it again.
Once you have setup Jenkins and everything is running great, you can install EnterpriseDB again if you need. Patrick K.02/8/2017

Can you have apache-tomcat and another server like wampp or xampp

I am new to Web Development but I have experience in Java, C/C++,Unix Scripting and basic SQL. I have apache-tomcat server because I downloaded Java EE but recently I wanted to start added PHP to my html and I have to download a server like wampp or xampp to run php files. But I downloaded xampp and when I tried to reach my localhost my browser froze up, I tried it multiple times but no luck reaching my local server. Then I decided to try it on wamp and the same thing happened. Can you have two different kinds of servers on your PC even if only one is turned on at a time?
No you can get PHP to run out of a TomCat Web Server.
See this somewhere in the middle of it he tells you how to download a PECL extension that will allow TomCat and the PHP interpreter to become friend.