Forum

File not found

Guerreiro
8 February 2014, 18:05
Hiawatha version: 9.3.1
Operating System: Ubuntu 12.04.4 LTS Server
Uname: Linux hostname 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

The problem I have is that I keep getting a file not found and I have this in my logs:

188.143.232.111|Sat 08 Feb 2014 18:01:19 +0100|/var/www/site/index.php|Primary script unknown

this is my php5-fpm log:

[08-Feb-2014 16:07:52] NOTICE: configuration file /etc/php5/fpm/php-fpm.conf test is successful

[08-Feb-2014 16:07:52] NOTICE: fpm is running, pid 19770
[08-Feb-2014 16:07:52] NOTICE: ready to handle connections
[08-Feb-2014 17:37:17] NOTICE: configuration file /etc/php5/fpm/php-fpm.conf test is successful

[08-Feb-2014 17:37:17] NOTICE: fpm is running, pid 2988
[08-Feb-2014 17:37:17] NOTICE: ready to handle connections
[08-Feb-2014 17:52:16] NOTICE: Finishing ...
[08-Feb-2014 17:52:16] NOTICE: exiting, bye-bye!
[08-Feb-2014 17:52:16.760126] DEBUG: pid 6703, fpm_scoreboard_init_main(), line 40: got clock tick '100'
[08-Feb-2014 17:52:16.761326] DEBUG: pid 6703, fpm_event_init_main(), line 331: event module is epoll and 1 fds have been reserved
[08-Feb-2014 17:52:16.761414] NOTICE: pid 6703, fpm_init(), line 80: fpm is running, pid 6703
[08-Feb-2014 17:52:16.762513] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6704 started
[08-Feb-2014 17:52:16.763770] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6705 started
[08-Feb-2014 17:52:16.764788] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6706 started
[08-Feb-2014 17:52:16.765843] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6707 started
[08-Feb-2014 17:52:16.767137] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6709 started
[08-Feb-2014 17:52:16.768405] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6711 started
[08-Feb-2014 17:52:16.769681] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6712 started
[08-Feb-2014 17:52:16.770870] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6713 started
[08-Feb-2014 17:52:16.771896] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6714 started
[08-Feb-2014 17:52:16.772892] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6715 started
[08-Feb-2014 17:52:16.773915] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6716 started
[08-Feb-2014 17:52:16.774958] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6717 started
[08-Feb-2014 17:52:16.775958] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6718 started
[08-Feb-2014 17:52:16.776956] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6719 started
[08-Feb-2014 17:52:16.777945] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6720 started
[08-Feb-2014 17:52:16.778971] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6721 started
[08-Feb-2014 17:52:16.779997] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6722 started
[08-Feb-2014 17:52:16.781038] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6723 started
[08-Feb-2014 17:52:16.782022] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6724 started
[08-Feb-2014 17:52:16.783071] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6725 started
[08-Feb-2014 17:52:16.784046] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6726 started
[08-Feb-2014 17:52:16.785047] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6727 started
[08-Feb-2014 17:52:16.786065] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6728 started
[08-Feb-2014 17:52:16.787113] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6729 started
[08-Feb-2014 17:52:16.788090] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6730 started
[08-Feb-2014 17:52:16.789078] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6731 started
[08-Feb-2014 17:52:16.790044] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6732 started
[08-Feb-2014 17:52:16.791061] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6733 started
[08-Feb-2014 17:52:16.792047] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6734 started
[08-Feb-2014 17:52:16.793020] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6735 started
[08-Feb-2014 17:52:16.793998] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6736 started
[08-Feb-2014 17:52:16.795056] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6737 started
[08-Feb-2014 17:52:16.796042] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6738 started
[08-Feb-2014 17:52:16.797024] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6739 started
[08-Feb-2014 17:52:16.798005] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6740 started
[08-Feb-2014 17:52:16.799026] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6741 started
[08-Feb-2014 17:52:16.800008] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6742 started
[08-Feb-2014 17:52:16.800988] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6743 started
[08-Feb-2014 17:52:16.801961] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6744 started
[08-Feb-2014 17:52:16.802987] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6745 started
[08-Feb-2014 17:52:16.803968] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6746 started
[08-Feb-2014 17:52:16.804951] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6747 started
[08-Feb-2014 17:52:16.805930] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6748 started
[08-Feb-2014 17:52:16.807089] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6749 started
[08-Feb-2014 17:52:16.808079] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6750 started
[08-Feb-2014 17:52:16.809075] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6751 started
[08-Feb-2014 17:52:16.810068] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6752 started
[08-Feb-2014 17:52:16.811118] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6753 started
[08-Feb-2014 17:52:16.812237] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6754 started
[08-Feb-2014 17:52:16.813212] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6755 started
[08-Feb-2014 17:52:16.814178] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6756 started
[08-Feb-2014 17:52:16.815230] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6757 started
[08-Feb-2014 17:52:16.816208] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6758 started
[08-Feb-2014 17:52:16.817169] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6759 started
[08-Feb-2014 17:52:16.818133] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6760 started
[08-Feb-2014 17:52:16.819160] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6761 started
[08-Feb-2014 17:52:16.820127] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6762 started
[08-Feb-2014 17:52:16.821360] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6763 started
[08-Feb-2014 17:52:16.822334] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6764 started
[08-Feb-2014 17:52:16.823359] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6765 started
[08-Feb-2014 17:52:16.824332] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6766 started
[08-Feb-2014 17:52:16.825306] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6767 started
[08-Feb-2014 17:52:16.826290] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6768 started
[08-Feb-2014 17:52:16.827320] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6769 started
[08-Feb-2014 17:52:16.828305] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6770 started
[08-Feb-2014 17:52:16.829286] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6771 started
[08-Feb-2014 17:52:16.830257] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6772 started
[08-Feb-2014 17:52:16.831295] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6773 started
[08-Feb-2014 17:52:16.832290] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6774 started
[08-Feb-2014 17:52:16.833258] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6775 started
[08-Feb-2014 17:52:16.834740] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6776 started
[08-Feb-2014 17:52:16.835863] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6777 started
[08-Feb-2014 17:52:16.836837] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6778 started
[08-Feb-2014 17:52:16.837816] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6779 started
[08-Feb-2014 17:52:16.838867] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6780 started
[08-Feb-2014 17:52:16.839834] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6781 started
[08-Feb-2014 17:52:16.840811] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6782 started
[08-Feb-2014 17:52:16.841779] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6783 started
[08-Feb-2014 17:52:16.842826] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6784 started
[08-Feb-2014 17:52:16.843812] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6785 started
[08-Feb-2014 17:52:16.844788] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6786 started
[08-Feb-2014 17:52:16.845758] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6787 started
[08-Feb-2014 17:52:16.846782] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6788 started
[08-Feb-2014 17:52:16.847757] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6789 started
[08-Feb-2014 17:52:16.848726] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6790 started
[08-Feb-2014 17:52:16.849713] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6791 started
[08-Feb-2014 17:52:16.850757] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6792 started
[08-Feb-2014 17:52:16.851727] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6793 started
[08-Feb-2014 17:52:16.852697] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6794 started
[08-Feb-2014 17:52:16.853666] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6795 started
[08-Feb-2014 17:52:16.854680] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6796 started
[08-Feb-2014 17:52:16.855657] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6797 started
[08-Feb-2014 17:52:16.856632] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6798 started
[08-Feb-2014 17:52:16.857606] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6799 started
[08-Feb-2014 17:52:16.858718] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6800 started
[08-Feb-2014 17:52:16.860452] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6801 started
[08-Feb-2014 17:52:16.861670] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6802 started
[08-Feb-2014 17:52:16.862738] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6803 started
[08-Feb-2014 17:52:16.863722] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6804 started
[08-Feb-2014 17:52:16.864707] DEBUG: pid 6703, fpm_children_make(), line 421: [pool www] child 6805 started
[08-Feb-2014 17:52:16.864777] DEBUG: pid 6703, fpm_event_loop(), line 360: 117704 bytes have been reserved in SHM
[08-Feb-2014 17:52:16.864795] NOTICE: pid 6703, fpm_event_loop(), line 361: ready to handle connections

What else do you guys need for information?

I will provide it and hopefully you can help me out.

I have followed along with : http://secure-ubuntu-server.blogspot.nl/2014/01/howto-highest-secured-hiawatha-web.html

So that will give you the best idea of what my config looks like.

Thanks a million for all you guys help already.

Kind regards,
Hugo Leisink
9 February 2014, 08:09
Does /var/www/site/index.php exist and is it readable for php-fpm?
Guerreiro
9 February 2014, 15:42
It does exist.

I must admit I transferred from another server (also Debian -> Ubuntu) so I think I messed up somewhere. I redeployed, followed your guide here on the website and it works again.

I think somewhere along the lines php-fcgi (old use) and php5-fpm got mixed up in the configs somehow somewhere. No big deal.

It is working now and I am happy again.

Thank you for taking the time to respond.
Guerreiro
9 February 2014, 15:43
Also, can I change the Title of this post/topic to [FIXED] ?
Hugo Leisink
9 February 2014, 16:06
No, but that's not necessary. Topic will close automaticly two weeks after the last post.
This topic has been closed.