Author Topic: "Zentyal web administration" service duplicated  (Read 1022 times)

Evadido

  • Zen Apprentice
  • *
  • Posts: 26
  • Karma: +0/-0
    • View Profile
"Zentyal web administration" service duplicated
« on: May 24, 2014, 01:05:19 pm »
Hi,

I just updated from 3.0 to 3.4, losing some configurations (this is another story...), and now I find that I have the "zentyal web administration" service duplicated. I want to listen to this service on another port, so I changed this on "System->General", but this changes only the port on the first service.

Now, I cannot create a new virtual host listening on the 443 port because it says that this port is in use by "Zentyal web administration" (the second service, which cannot be modified nor deleted from the interface).

How can I delete this duplicated service?

Thank you!  ;D
« Last Edit: May 24, 2014, 07:12:47 pm by Evadido »

Evadido

  • Zen Apprentice
  • *
  • Posts: 26
  • Karma: +0/-0
    • View Profile
Re: "Zentyal web administration" service duplicated
« Reply #1 on: May 25, 2014, 09:59:53 am »
BUMP!  :'(

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: "Zentyal web administration" service duplicated
« Reply #2 on: May 25, 2014, 06:45:30 pm »
Hello Evadido:

I think the only way of doing this would be editing by hand teh redis database which is where objects definitions are stored.

This being said running /usr/share/zentyal/redisvi is somewhat risky (in case you don't do things right) so run it at your own risk

Evadido

  • Zen Apprentice
  • *
  • Posts: 26
  • Karma: +0/-0
    • View Profile
Re: "Zentyal web administration" service duplicated
« Reply #3 on: May 26, 2014, 12:51:17 pm »
Hi jbahillo,

thank you very much for your sugestion, I tried and, after some troubles (I had to uninstall/reinstall some packages), I got it.

I have a web deployed on /var/www/myweb, what is the right way to put it to work again? I created a virtual host from the admin with the name "myweb", but it only shows the main page. When I try to access (via user/password) to the php application installed, it won't find the pages.

Thank you!

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: "Zentyal web administration" service duplicated
« Reply #4 on: May 26, 2014, 12:53:30 pm »
Hello:

Non vhost websites (accessed through IP or through a non-defined vhost) should be stored under /var/www . Instead, vhosts contents should b placed under /srv/www/vhostname (name is approximated, I have written it from heart)

Evadido

  • Zen Apprentice
  • *
  • Posts: 26
  • Karma: +0/-0
    • View Profile
Re: "Zentyal web administration" service duplicated
« Reply #5 on: May 26, 2014, 01:14:37 pm »
Hi,

It should be a non vhost site. I see that apache2 and nginx are running simultaneously, it's normal?

Thank you

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: "Zentyal web administration" service duplicated
« Reply #6 on: May 26, 2014, 01:16:12 pm »
Yes, nginx is just an inverse proxy for contents served by apache

Evadido

  • Zen Apprentice
  • *
  • Posts: 26
  • Karma: +0/-0
    • View Profile
Re: "Zentyal web administration" service duplicated
« Reply #7 on: May 27, 2014, 12:51:01 pm »
I'm trying to make siwapp (a lamp app) work on my box.

It worked fine before the update, and now it seems to fail the mod-rewrite module. I put a typical test and seems to work, but the app now cannot resolve the rewrites.

This has something to do with nginx?

Thanks!

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: "Zentyal web administration" service duplicated
« Reply #8 on: May 27, 2014, 12:54:50 pm »
I would not bet for it. is mod_rewrite loaded into apache?

Evadido

  • Zen Apprentice
  • *
  • Posts: 26
  • Karma: +0/-0
    • View Profile
Re: "Zentyal web administration" service duplicated
« Reply #9 on: May 27, 2014, 01:11:58 pm »
UPS! Now I think is a problem related to the upgrade to php 5.5.3... I'll tell you when I finally get it...

Thank you!

Evadido

  • Zen Apprentice
  • *
  • Posts: 26
  • Karma: +0/-0
    • View Profile
Re: "Zentyal web administration" service duplicated
« Reply #10 on: May 28, 2014, 10:10:02 am »
It is working now, it all was caused by the php upgrade.

Thank you very much for your help!  :)