Panos
asked on
Apache error.log
Hello experts.
On Apache start i get some lines in my error.log file.
I need help to solve these problems.
Thank you in advance for any help.
Here are thede lines:
On Apache start i get some lines in my error.log file.
I need help to solve these problems.
Thank you in advance for any help.
Here are thede lines:
[Mon Dec 05 11:40:55.063362 2016] [mpm_winnt:notice] [pid 11544:tid 576] AH00455: Apache/2.4.23 (Win64) OpenSSL/1.0.2h mod_jk/1.2.41 PHP/5.6.23 configured -- resuming normal operations
[Mon Dec 05 11:40:55.063362 2016] [mpm_winnt:notice] [pid 11544:tid 576] AH00456: Apache Lounge VC14 Server built: Jul 1 2016 11:43:51
[Mon Dec 05 11:40:55.063362 2016] [core:notice] [pid 11544:tid 576] AH00094: Command line: 'C:\\Apache24\\bin\\httpd.exe -d C:/Apache24'
[Mon Dec 05 11:40:55.071378 2016] [mpm_winnt:notice] [pid 11544:tid 576] AH00418: Parent: Created child process 11776
[Mon Dec 05 11:40:55.804420 2016] [mpm_winnt:notice] [pid 11776:tid 564] AH00354: Child: Starting 64 worker threads.
ASKER
Hi Radek Baranowski
I didn t know that this is a standard Apache output.
I checked this error file because i have problems when i m trying to open a page on my local testing pc.
I get following error message on my first second or sometimes third request to open a page in my browser and after that it is working.
Not Found
The requested URL /search.php was not found on this server.
I didn t know that this is a standard Apache output.
I checked this error file because i have problems when i m trying to open a page on my local testing pc.
I get following error message on my first second or sometimes third request to open a page in my browser and after that it is working.
Not Found
The requested URL /search.php was not found on this server.
I'm not exactly sure what your scenario is. Do you refer directly to search.php or is it a result of some kind of a redirect action. In that case, your request might timeout due to long script execution time or some similar issue. Does the site you run locally on your apache consist of many resources? This might cause that kind of delays. Other than that, if you refer to search.php directly on your apache you would need to check what exactly does the server do between you request the page and getting the output (.htaccess redirect? very slow disk i/o ?)
ASKER
Hi
It must be a kind of redirection.
I have noticed that this problem appears too using phpmyadmin while i m trying to update a row clicking on the update button.
It must be a kind of redirection.
I have noticed that this problem appears too using phpmyadmin while i m trying to update a row clicking on the update button.
Do you mean getting
"The requested URL /search.php was not found on this server."
while working in phpMyAdmin ?
can you please post contents of your httpd.conf file ?
"The requested URL /search.php was not found on this server."
while working in phpMyAdmin ?
can you please post contents of your httpd.conf file ?
ASKER
I'm using virtual host.
In my httpd.config file:
# Virtual hosts
Include conf/extra/httpd-vhosts.co nf
In my httpd-vhosts.conf file:
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.examp le.com
DocumentRoot "C:/Inetpub/wwwroot/phpmya dmin"
ServerName phpmyadmin.selfip.com
ServerAlias *.phpmyadmin.selfip.com
<Directory "C:/Inetpub/wwwroot/phpmya dmin">
AllowOverride none
Require all granted
</Directory>
ErrorLog logs/phpmyadmin.loc-error. log
CustomLog logs/phpmyadmin.loc-access .log common
</VirtualHost>
In my windows hosts file:
127.0.0.1 phpmyadmin.selfip.com
That is the main setup
Attached the httpd file
If you need more details please tell me
-httpd.txt
In my httpd.config file:
# Virtual hosts
Include conf/extra/httpd-vhosts.co
In my httpd-vhosts.conf file:
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.examp
DocumentRoot "C:/Inetpub/wwwroot/phpmya
ServerName phpmyadmin.selfip.com
ServerAlias *.phpmyadmin.selfip.com
<Directory "C:/Inetpub/wwwroot/phpmya
AllowOverride none
Require all granted
</Directory>
ErrorLog logs/phpmyadmin.loc-error.
CustomLog logs/phpmyadmin.loc-access
</VirtualHost>
In my windows hosts file:
127.0.0.1 phpmyadmin.selfip.com
That is the main setup
Attached the httpd file
If you need more details please tell me
-httpd.txt
So is it just phpMyAdmin running on this Apache ?
In that case, maybe database performance is the bottleneck stopping Apache from returning pages in reasonable time ?
In that case, maybe database performance is the bottleneck stopping Apache from returning pages in reasonable time ?
ASKER
Phpmyadmin and one more site and only for testingon my machine.
Is there a way to check if it is a database problem?
Is there a way to check if it is a database problem?
Try to put some simple *php file in your root dir, like
then for comparison put some simple query in a different php file (my case: mariaDb local db)
put proper user and password on top, and valid table name from your database.
if the second php runs long, it might be a problem with your db performance, but I don't think I'm able to help you with that.
<?php
php_info();
?>
then for comparison put some simple query in a different php file (my case: mariaDb local db)
<?php
$servername = "localhost";
$username = "root";
$password = "***";
$dbname = "test";
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "SELECT * FROM MyGuests";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
// output data of each row
while($row = $result->fetch_assoc()) {
foreach ($row as $rowcol){ echo $rowcol.PHP_EOL;}
//echo $row;
}
} else {
echo "0 results";
}
$conn->close();
?>
put proper user and password on top, and valid table name from your database.
if the second php runs long, it might be a problem with your db performance, but I don't think I'm able to help you with that.
ASKER
Well i m using coldfusion server language and this will be not easy for me.
I tried now to open the page ( my index.cfm page) where i have the problem too disabling all my queries and i still have the same problem.
It seems not o be DB problem.
I tried now to open the page ( my index.cfm page) where i have the problem too disabling all my queries and i still have the same problem.
It seems not o be DB problem.
Oh, I don't have idea about Coldfusion. But if it puts any stuff between your browser and apache php engine, then it might be an issue (request routing etc.).
Try to tag this question as Coldfusion maybe, it might drag somebody more aware of possible CF problems here.
Try to tag this question as Coldfusion maybe, it might drag somebody more aware of possible CF problems here.
ASKER
Thank you.
hi, so i will ask again what is the actual trouble, the apache seems to be starting and that are normal lines
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Are you sure, you are in the right physical path on your server ? Try to start basic with a plain index.html file in the same path.
Does it work ?
Does it work ?
You also need to make sure you are looking at the right logs. Based on the config files you have posted you need to look at:
logs/phpmyadmin.loc-error. log
logs/phpmyadmin.loc-access .log common
In addition to the Apache standard logs:
logs/error.log
logs/access.log
logs/phpmyadmin.loc-error.
logs/phpmyadmin.loc-access
In addition to the Apache standard logs:
logs/error.log
logs/access.log
ASKER
Hi again.
I have dowloaded and installed Feddler Web debugger to check out the requests.
Before this i checked the code in my site , the php.ini file , the htacess file and the Apache conf files for any redirection to a "search.php" file.
I didn t find anything.
Since i don t have this error on every request to the page it is not easy to solve the problem.
After the installation of Feddler i notice that the page is redirecting to the Yahoo Page Not Found Error Handler site ( On top of the site is the Panda Internet Security Logo that i have installed on my machine, and i don t know if the Security tool is redirecting there if the Browser can t find the page).
In the Feddler panel is the url:
http://www.pandadomainadvisor.com/search.php?pr=panda&id=pandasecurity_dn&v=2_0_1_48&ent=antiphishing_dn&q=mysite.selfip.com
wich has a search.php in the URL.
I m going to make more test.
I have dowloaded and installed Feddler Web debugger to check out the requests.
Before this i checked the code in my site , the php.ini file , the htacess file and the Apache conf files for any redirection to a "search.php" file.
I didn t find anything.
Since i don t have this error on every request to the page it is not easy to solve the problem.
After the installation of Feddler i notice that the page is redirecting to the Yahoo Page Not Found Error Handler site ( On top of the site is the Panda Internet Security Logo that i have installed on my machine, and i don t know if the Security tool is redirecting there if the Browser can t find the page).
In the Feddler panel is the url:
http://www.pandadomainadvisor.com/search.php?pr=panda&id=pandasecurity_dn&v=2_0_1_48&ent=antiphishing_dn&q=mysite.selfip.com
wich has a search.php in the URL.
I m going to make more test.
ASKER
Hi again
I m posting the solution for other people.
Following giltjr advice i find out that the problem was panda internet security settings for url fishing tool.
Thank you all for your advice.
I m posting the solution for other people.
Following giltjr advice i find out that the problem was panda internet security settings for url fishing tool.
Thank you all for your advice.
ASKER
Thank you very much
Those seems to be standard Apache startup output.
Does the Apache start and are you able to reach defined http port ? (default is 80, so what's under localhost:80 when you point your browser to this address?)