Home > other > new Website - configuration error?

new Website - configuration error?

December 2Hits:1
Advertisement

Hi

today i used ISPConfig3 to add a new website. my browser shows me the index.html in /usr/share/nginx/html.
furtherr observing shows that the file /etc/nginx/sites-available tells me "nginx did not start after modifying this vhost file".

this is the vhost.err file:

Code:

server {          listen *:80;              server_name dannys-box.de www.dannys-box.de;            root   /var/www/dannys-box.de/web;                index index.html index.htm index.php index.cgi index.pl index.xhtml;                error_log /var/log/ispconfig/httpd/dannys-box.de/error.log;          access_log /var/log/ispconfig/httpd/dannys-box.de/access.log combined;            location ~ /\. {              deny all;              access_log off;              log_not_found off;          }            location = /favicon.ico {              log_not_found off;              access_log off;          }            location = /robots.txt {              allow all;              log_not_found off;              access_log off;          }            location /stats/ {                index index.html index.php;              auth_basic "Members Only";              auth_basic_user_file /var/www/clients/client8/web20/web/stats/.htpasswd_stats;          }            location ^~ /awstats-icon {              alias /usr/share/awstats/icon;          }            location ~ \.php$ {              try_files /d964e47ef94b8a4f166b4853de951dcd.htm @php;          }            location @php {              try_files $uri =404;              include /etc/nginx/fastcgi_params;              fastcgi_pass unix:/var/lib/php5-fpm/web20.sock;              fastcgi_index index.php;              fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;              fastcgi_intercept_errors on;          }    }

but i cant see any error there ---

whats wrong?

--------------Solutions-------------

ok, i think i did resolve this...

Code:

[email protected]:/etc/nginx# nginx -t
nginx: [emerg] could not build the server_names_hash, you should increase server_names_hash_bucket_size: 64
nginx: configuration file /etc/nginx/nginx.conf test failed

i changed server_names_hash_bucket_size to 128, restarted nkinx and - site is running.

Tags:

Related Articles

  • new Website - configuration error?December 2

    Hi today i used ISPConfig3 to add a new website. my browser shows me the index.html in /usr/share/nginx/html. furtherr observing shows that the file /etc/nginx/sites-available tells me "nginx did not start after modifying this vhost file". this

  • CONFIGURATION ERRORJune 18

    When editing a website, there is a CONFIGURATION ERROR message at the top. What do I need to do to get rid of that message? --------------Solutions------------- This measn that apache could not start with the new configuration and the old config was

  • MonoDevelop configuration errorsNovember 11

    I have Mono in my Ubuntu system, and I want to install MonoDevelop 5.9.6.20. I have installed autoconf 2.69, automake 1.15 and m4-1.4.17. However, when I run configure in the MonoDevelop directory, the terminal gives me errors: ./configure: line 2972

  • Setting up Play 2.4.0 with Postgres and HikariCP yields configuration errorJanuary 21

    I'm trying to set up a play framework server with a connection to a local postgres. My current applications.conf is like this: dbplugin=disabled db { default { dataSourceClassName=org.postgresql.ds.PGSimpleDataSource dataSource { user="postgres"

  • /etc/login.defs LOGIN_STRING configuration errorJanuary 4

    In the file /etc/login.defs there's the option LOGIN_STRING which is commented out (I'm on a gentoo system). When I uncomment this option I'll get the following error message after a successful login: configuration error - unknown item 'LOGIN_STRING'

  • configure error when installing apache on ubuntuFebruary 23

    it says configure error: C compiler cannnot create executables what is the problem? --------------Solutions------------- It appears you do not have gcc/cc installed, or you have an alternative compiler without the ability to generate a binary for you

  • Configure error when installing phpFebruary 24

    When installing php I configure it like so: ./configure --prefix=/wwwroot/php --with-apxs2=/wwwroot/bin/apxs --with-configure-file-path=/wwwroot/php --with-mysql --with-gd And a configure error shows up saying this: xml2-config not found. Please chec

  • Severe errors in solr configuration: Error loading classApril 9

    Installed Solr on my Windows XP PC. Tomcat seems to be working fine. Cannot get Solr to work. I noticed the TrieDateField is declared in a file called schema.xml in the SolrHome directory. Any thoughts? The Url http://localhost:8080/solr/ returns: HT

  • Apache2 configuration error: " VirtualHost was not closed" errorJune 28

    So I've already checked through my config file and I really can't see an instance where any tag hasn't been properly closed...but I keep getting this configuration error...Would you mind taking a look through the error and the config file below? Any

  • mod_rewrite "Request exceeded the limit of 10 internal redirects due to probable configuration error." October 3

    This question already has an answer here: Redirect, Change URLs or Redirect HTTP to HTTPS in Apache - Everything You Ever Wanted to Know About Mod_Rewrite Rules but Were Afraid to Ask 5 answers What i want: Force www [works] Restrict access to .inc.p

  • configure: error: *** Unable to locate Tk includesOctober 18

    I am trying to install the latest stable release of GRASS GIS from SVN. In the stage of running configure command I get the following error at the last stage. checking for location of Tcl/Tk includes... /usr/include/tcl8.5 checking for tcl.h... yes c

  • configure: error: Cannot find php-config. Please use --with-php-config=PATHDecember 10

    I'm trying to install a program called phraseanet. I ran the ./configure command and run into this error: configure: error: Cannot find php-config. Please use --with-php-config=PATH I am using Ubuntu 10.04, Apache 2, PHP5 and Mysql 5 Does anyone know

  • configure: error: cannot find D-BusMay 14

    When configuring a software (subversion) on Ubuntu Linux (10.04 lucid), I get an error: configure: error: cannot find D-Bus I restarted dbus service: #service dbus restart dbus start/running, process 14688 but still get the same configure error. ----

  • ./configure error installing PHP with Kerberos support on UbuntuSeptember 21

    I am trying to install PHP on Ubuntu 11.04. I am compiling from source. Here are my installation dependencies: apt-get -y install php5-dev php-pear apt-get -y install libxml2-dev libevent-dev zlib1g-dev libbz2-dev libgmp3-dev libssl-dev libcurl4-open

  • How to solve configure: error: readline library not found?December 21

    I have an Ubuntu 10.04 LTS server with a minimal install that I want to compile postgres on. With the minimal install the server did not have gcc so I had to do an apt-get install gcc but now I keep getting this error from the postgres ./configure. c

  • "configure: error: Intel WiMAX SDK is required " error when recompiling Network ManagerJanuary 31

    I tried to to recompile network manager in this way but did not succeeded. Can you explain me how can I install wimax tools? Or tell me what is wrong with my installation? I installed wimax tools successfully from this source, but when I am trying to

  • configure: error: Cannot find libtidyFebruary 1

    I want to build PHP 5.3.9 on RHEL 6.2 with Tidy support. I get this message: configure: error: Cannot find libtidy So I try to install libtidy: yum install libtidy libtidy-devel but libtidy-devel is not available: Package libtidy-0.99.0-19.20070615.1

  • How-to: Becoming Reseller from simple Customers maintaining the website configurationFebruary 3

    Hi guys, how can I change the profile of a user from simple customer to Reseller maintaining the his website configuration? thanks --------------Solutions------------- Thats not possible as resellers and customers in ISPConfig 2 are stored in differe

  • Windows 7 64 bit side-by-side configuration error?March 16

    Since a recent Windows update, I've been unable to run almost any program (including Firefox, Internet Explorer and Origin) due to the following error: The application has failed to start because it's side-by-side configuration is incorrect. Please s

  • Configuring error.log on Centos 6.5 with Cherokee 1.2.101 running PHP siteMarch 27

    I have a problem configuring error log for virtual host serving PHP web aplication on our internal network. I was hoping to get output similar to Apache's but I get output like this: {'type': "error", 'time': "27/03/2012 16:37:59.270",

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.616 s.