Author Topic: apache is not a valid module name  (Read 2104 times)

hansvl

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
apache is not a valid module name
« 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?

ian

  • Community Council Member
  • Zen Samurai
  • *****
  • Posts: 293
  • Karma: +8/-1
    • View Profile
    • Familie site
Re: apache is not a valid module name
« Reply #1 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

peterpugh

  • Guest
Re: apache is not a valid module name
« Reply #2 on: February 07, 2014, 09:42:52 pm »
sudo /etc/init.d/apache2 restart

does the same

ian

  • Community Council Member
  • Zen Samurai
  • *****
  • Posts: 293
  • Karma: +8/-1
    • View Profile
    • Familie site
Re: apache is not a valid module name
« Reply #3 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



robb

  • Guest
Re: apache is not a valid module name
« Reply #4 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.

peterpugh

  • Guest
Re: apache is not a valid module name
« Reply #5 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)