Zentyal Forum, Linux Small Business Server

International => Dutch => Topic started by: hansvl on February 05, 2014, 04:45:37 pm

Title: apache is not a valid module name
Post by: hansvl on February 05, 2014, 04:45:37 pm
I use Zentyal 3.3 see the attachmend.

According to the instructions I changed in the file /etc/zentyal/zentyal.conf "debug = no" to "debug = yes".
According to the instructions I execute the command "sudo /etc/init.d/zentyal apache restart"
I get however the next error message:
apache is not a valid module name
Module list:
network firewall antivirus audit bwmonitor ca captiveportal dhcp dns ebackup events ftp ips ipsec jabber logs mail mailfilter monitor ntp nut openvpn radius remoteservices samba squid trafficshaping usercorner users webadmin webmail webserver zarafa

How can I switch the debug mode on?
Title: Re: apache is not a valid module name
Post by: ian on February 06, 2014, 10:18:29 am
Hello,

Try the command:

sudo /etc/init.d/zentyal apache2 restart
or
sudo /etc/init.d/zentyal-apache restart
or
sudo /etc/init.d/zentyal-apache2 restart

Best regards,
Ian
Title: Re: apache is not a valid module name
Post by: peterpugh on February 07, 2014, 09:42:52 pm
sudo /etc/init.d/apache2 restart

does the same
Title: Re: apache is not a valid module name
Post by: ian on February 08, 2014, 03:18:28 pm
Hello,

I have done some tests

In the old release 1.4.9 it was possible to restart the apache services.

In release 3.2.7 it does not work anymore ( /etc/init.d/zentyal apache restart ).

In orde to resolve your problem use the following command insteed:
sudo /etc/init.d/zentyal webadmin restart

Best regards,
Ian


Title: Re: apache is not a valid module name
Post by: robb on February 08, 2014, 03:36:24 pm
Dat komt omdat in versie 3.3 er geen apache gebruikt wordt voor de webgui maar nginx. Voor de webserver wordt wel apache2 gebruikt.
Title: Re: apache is not a valid module name
Post by: peterpugh on February 08, 2014, 06:23:37 pm
Zentyal webadmin used to run under lighttpd.

I might be having a spaz here but with 3.2 I got the feeling nginx had been introduced.

/etc/init.d/apache2 restart does restart apache2

To be honest I am not sure what sudo /etc/init.d/zentyal webadmin restart (restarts)