Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: Evadido on May 24, 2014, 01:05:19 pm

Title: "Zentyal web administration" service duplicated
Post by: Evadido 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
Title: Re: "Zentyal web administration" service duplicated
Post by: Evadido on May 25, 2014, 09:59:53 am
BUMP!  :'(
Title: Re: "Zentyal web administration" service duplicated
Post by: jbahillo 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
Title: Re: "Zentyal web administration" service duplicated
Post by: Evadido 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!
Title: Re: "Zentyal web administration" service duplicated
Post by: jbahillo 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)
Title: Re: "Zentyal web administration" service duplicated
Post by: Evadido 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
Title: Re: "Zentyal web administration" service duplicated
Post by: jbahillo on May 26, 2014, 01:16:12 pm
Yes, nginx is just an inverse proxy for contents served by apache
Title: Re: "Zentyal web administration" service duplicated
Post by: Evadido 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!
Title: Re: "Zentyal web administration" service duplicated
Post by: jbahillo on May 27, 2014, 12:54:50 pm
I would not bet for it. is mod_rewrite loaded into apache?
Title: Re: "Zentyal web administration" service duplicated
Post by: Evadido 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!
Title: Re: "Zentyal web administration" service duplicated
Post by: Evadido 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!  :)