Nginx missing configuration

FreeWebs is an Artica Feature that enables build websites or web userspaces.

Nginx missing configuration

New postby cjb » Mon Jun 03, 2013 12:06 pm

Upgraded to the June version: 1.7.060217 and now our users are unable to connect to zarafa web interface. They receive the following message:

Welcome to nginx!
If you see this page, the nginx web server is successfully installed and working. Further configuration is required.
For online documentation and support please refer to nginx.org.
Commercial support is available at nginx.com.
Thank you for using nginx.



When checking the Freeweb settings we see errors, do we need to delete and re-create the freeweb zarafa site or is there an simpler way of fixing this issue?

/usr/bin/php5 /usr/share/artica-postfix/exec.freeweb.php --sitename "accramail.accra.ca" --no-httpd-conf --noreload --verbose
Starting verbose mode
starting include functions....
starting include functions done..
Starting verbose mode
CheckLibraries()
CheckLibraries() Done...
Debug mode TRUE for /usr/share/artica-postfix/exec.freeweb.php --sitename accramail.accra.ca --no-httpd-conf --noreload --verbose
LOCATE_APACHE_BIN_PATH.....:/usr/sbin/apache2
LOCATE_APACHE_CONF_PATH....:/etc/apache2/apache2.conf
a2enmod....................:/usr/sbin/a2enmod
Starting......: Apache building "accramail.accra.ca"
EXEC_NICE: cgroupsEnabled=0, ArticaInCgroups=0 ArticaCgroup=0
[31313] [DAEMON]::::freeweb/load:: Starting......: Apache "accramail.accra.ca" Load DB.. in class.freeweb.inc line 116
[31313] [DAEMON]::::freeweb/load:: Starting......: Apache "accramail.accra.ca" Groupware `WEBAPP` in class.freeweb.inc line 128
[31313] [DAEMON]::::freeweb/load:: Starting......: Apache "accramail.accra.ca" groupware:WEBAPP in class.freeweb.inc line 136
<font color=ff0000><code style='font-size:12px'>
Warning: file_get_contents(/etc/artica-postfix/settings/Daemons/EnableNginx): failed to open stream: No such file or directory in /usr/share/artica-postfix/framework/class.unix.inc on line 1736
</code></font><br>Starting......: Apache "accramail.accra.ca" DEBUG: Working dir ? type=WEBAPP, WebCopy=0 (L.1147)
[31313] [DAEMON]::::freeweb/InstallZarafaWebAPP:: Start Working directory = /var/www/accramail.accra.ca in class.freeweb.inc line 2732
Starting......: Apache accramail.accra.ca installing Zarafa WebAPP 7
[31313] [DAEMON]::::freeweb/InstallZarafaWebAPP:: Start InstallZarafaConfigWebAPP() in class.freeweb.inc line 2740
[31313] [DAEMON]::::freeweb/InstallZarafaConfigWebAPP:: [accramail.accra.ca]: Start WORKING_DIRECTORY = /var/www/accramail.accra.ca in class.freeweb.inc line 3053
[31313] [DAEMON]::::freeweb/InstallZarafaConfigWebAPP:: [accramail.accra.ca]: Start apacheusername = www-data in class.freeweb.inc line 3054
Starting zarafa..............: Aspell checker is enabled
[31313] [DAEMON]::::freeweb/InstallZarafaConfigWebAPP:: [accramail.accra.ca]: config.php = /var/www/accramail.accra.ca/config.php in class.freeweb.inc line 3233
[31313] [DAEMON]::::freeweb/InstallZarafaConfigWebAPP:: [accramail.accra.ca]: config.php = /var/www/accramail.accra.ca/config.php -> `/bin/chown -R www-data /var/www/accramail.accra.ca` in class.freeweb.inc line 3237
[31313] [DAEMON]::::freeweb/InstallZarafaConfigWebAPP:: [accramail.accra.ca]: Start Apache.... in class.freeweb.inc line 3239
[31313] [DAEMON]::::freeweb/ZarafaPluginJabberd:: [accramail.accra.ca]: ZarafaXMPPDomain not configured in class.freeweb.inc line 3252
Starting......: Apache installing Z-Push-inside on /var/www/accramail.accra.ca/mobile...
Starting......: Apache InstallZarafaZpush():: "accramail.accra.ca" install to `/var/www/accramail.accra.ca/mobile`
Starting......: Apache "accramail.accra.ca" InstallZarafaZpush():: index path: /var/www/accramail.accra.ca/mobile/config.php...
Starting......: Apache InstallZarafaZpush():: creating `/var/www/accramail.accra.ca/mobile/config.php` configuration file
Starting......: Apache "accramail.accra.ca" InstallZarafaZpush():: Check Autodiscover...
Starting......: Apache accramail.accra.ca installing Zarafa WebAPP 7 done...
Starting......: Apache "accramail.accra.ca" working directory on /var/www/accramail.accra.ca
Starting......: Apache "accramail.accra.ca" Listen 127.0.0.1:82
Starting......: Apache "accramail.accra.ca" Directory /var/www/accramail.accra.ca
[31313] [DAEMON]::unix/FULL_HOSTNAME:: /bin/ypdomainname -> accra.ca in framework/class.unix.inc line 1958
[31313] [DAEMON]::unix/FULL_HOSTNAME:: /bin/hostname -s -> accramail in framework/class.unix.inc line 1967
[31313] [DAEMON]::unix/FULL_HOSTNAME:: Final = accramail.accra.ca in framework/class.unix.inc line 1983
[31313] [DAEMON]::::networking/networking:: Loading success called by exec.freeweb.php mod_status() line 1866 in class.system.network.inc
Found "eth0 Link encap:Ethernet HWaddr 00:50:ba:49:05:49"
No match 1 "eth0 Link encap:Ethernet HWaddr 00:50:ba:49:05:49"
Found " inet addr:192.168.0.130 Bcast:192.168.1.255 Mask:255.255.255.0"
SUCCESS "[192.168.0.130]"
Found " inet6 addr: fe80::250:baff:fe49:549/64 Scope:Link"
No match 1 " inet6 addr: fe80::250:baff:fe49:549/64 Scope:Link"
Found " UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1"
No match 1 " UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1"
Found " RX packets:1273 errors:0 dropped:0 overruns:0 frame:0"
No match 1 " RX packets:1273 errors:0 dropped:0 overruns:0 frame:0"
Found " TX packets:94 errors:0 dropped:0 overruns:0 carrier:0"
No match 1 " TX packets:94 errors:0 dropped:0 overruns:0 carrier:0"
Found " collisions:0 txqueuelen:1000"
No match 1 " collisions:0 txqueuelen:1000"
Found " RX bytes:125366 (122.4 KiB) TX bytes:16748 (16.3 KiB)"
No match 1 " RX bytes:125366 (122.4 KiB) TX bytes:16748 (16.3 KiB)"
Found " Interrupt:18 Base address:0xc000"
No match 1 " Interrupt:18 Base address:0xc000"
Found ""
No match 1 ""
Found "eth1 Link encap:Ethernet HWaddr 00:24:8c:15:07:f2"
No match 1 "eth1 Link encap:Ethernet HWaddr 00:24:8c:15:07:f2"
Found " inet addr:192.168.0.140 Bcast:192.168.0.255 Mask:255.255.255.0"
SUCCESS "[192.168.0.140]"
Found " inet6 addr: fe80::224:8cff:fe15:7f2/64 Scope:Link"
No match 1 " inet6 addr: fe80::224:8cff:fe15:7f2/64 Scope:Link"
Found " UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1"
No match 1 " UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1"
Found " RX packets:78563 errors:0 dropped:0 overruns:0 frame:0"
No match 1 " RX packets:78563 errors:0 dropped:0 overruns:0 frame:0"
Found " TX packets:45027 errors:0 dropped:0 overruns:0 carrier:0"
No match 1 " TX packets:45027 errors:0 dropped:0 overruns:0 carrier:0"
Found " collisions:0 txqueuelen:1000"
No match 1 " collisions:0 txqueuelen:1000"
Found " RX bytes:104105361 (99.2 MiB) TX bytes:10623598 (10.1 MiB)"
No match 1 " RX bytes:104105361 (99.2 MiB) TX bytes:10623598 (10.1 MiB)"
Found " Interrupt:29 Base address:0xe000"
No match 1 " Interrupt:29 Base address:0xe000"
Found ""
No match 1 ""
Found "lo Link encap:Local Loopback"
No match 1 "lo Link encap:Local Loopback"
Found " inet addr:127.0.0.1 Mask:255.0.0.0"
SUCCESS "[127.0.0.1]"
Found " inet6 addr: ::1/128 Scope:Host"
No match 1 " inet6 addr: ::1/128 Scope:Host"
Found " UP LOOPBACK RUNNING MTU:16436 Metric:1"
No match 1 " UP LOOPBACK RUNNING MTU:16436 Metric:1"
Found " RX packets:372867 errors:0 dropped:0 overruns:0 frame:0"
No match 1 " RX packets:372867 errors:0 dropped:0 overruns:0 frame:0"
Found " TX packets:372867 errors:0 dropped:0 overruns:0 carrier:0"
No match 1 " TX packets:372867 errors:0 dropped:0 overruns:0 carrier:0"
Found " collisions:0 txqueuelen:0"
No match 1 " collisions:0 txqueuelen:0"
Found " RX bytes:79328502 (75.6 MiB) TX bytes:79328502 (75.6 MiB)"
No match 1 " RX bytes:79328502 (75.6 MiB) TX bytes:79328502 (75.6 MiB)"
Found ""
No match 1 ""
<font color=ff0000><code style='font-size:12px'>
Notice: Undefined index: QOS in /usr/share/artica-postfix/ressources/class.freeweb.inc on line 610
</code></font><br>Starting......: Apache "accramail.accra.ca" QUOS()
Starting......: Apache "accramail.accra.ca" QUOS() DISABLED
Starting......: Apache "accramail.accra.ca" checking aliases..
Starting......: Apache "accramail.accra.ca" Alias /Microsoft-Server-ActiveSync /var/www/accramail.accra.ca/mobile/index.php
Starting......: Apache "accramail.accra.ca" SQL Query return 0rows
Starting......: Apache "accramail.accra.ca" Alias: return 2 items
Starting......: Apache "accramail.accra.ca" Cache is not enabled
Starting......: Apache "accramail.accra.ca" is forwarder ? (0) groupware=WEBAPP
Starting......: Apache "accramail.accra.ca" mod_bw() ModeBw Not enabled
Starting......: Apache "accramail.accra.ca" mpm_itk_module() checks..
Starting......: Apache "accramail.accra.ca" mpm_itk_module() MPM_ITK_MODULE=FALSE
Starting......: Apache "accramail.accra.ca" Not NTLM compliance
DEBUG::AllowFrom:: LimitByIp:0
DEBUG::AllowFrom:: 0 items
Starting......: Apache "accramail.accra.ca" WebDAV is not enabled
Starting......: Apache "accramail.accra.ca" ejabberd -> http://127.0.0.1:5280 Proxy
Starting......: Apache "accramail.accra.ca" not an artica groupware interface
Starting......: Apache saving *** /etc/apache2/sites-enabled/artica-accramail.accra.ca.conf *** line 2053
Starting......: Apache "accramail.accra.ca" filename: 'artica-accramail.accra.ca.conf' done
Starting......: Apache "accramail.accra.ca" directory "/var/www/accramail.accra.ca"
EXEC_NICE: cgroupsEnabled=0, ArticaInCgroups=0 ArticaCgroup=0
cjb
 
Posts: 4
Joined: Tue Aug 28, 2012 7:03 pm
Artica servers number: 1
Linux System: Ubuntu
Technical skills: A Linux System Administrator

Re: Nginx missing configuration

New postby admin » Mon Jun 03, 2013 1:53 pm

COuld you run
/etc/init.d/nginx restart
User avatar
admin
Site Admin
 
Posts: 11941
Joined: Wed Oct 17, 2007 7:59 am
Location: France


Return to FreeWebs

Who is online

Users browsing this forum: No registered users and 2 guests

cron