Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - nontrivial

Pages: [1] 2 3 ... 12
1
Other modules / Re: openvpn module fail to start
« on: April 24, 2021, 12:18:15 am »
I just got this error on a new Zentyal 5.1 (i386) box I am setting up. Anybody have any suggestions?

2
Installation and Upgrades / Re: WebAdmin Issue
« on: January 14, 2021, 04:04:43 pm »
The short answer is no, except for the custom hooks that got blown away. All the settings and samba setup seem to be fine after I reinstalled. But I would highly encourage you to back up as much as possible since there is some risk. If you are going to try this I would say be careful removing Zentyal packages, specifically keeping dependencies in mind. So you should remove mailfilter before mail, etc. You probably want to "zs firewall stop" first thing as well.

3
Contributions / Tips&Tricks / Features Requests / Re: i386 Support
« on: January 14, 2021, 04:00:29 pm »
I just wanted to give an update after using this for a week. It's great having my mobile Zentyal router, especially the VPN stuff. It's like having my own personal network that I can pack in my suitcase. The only real hitch is the external interface is DHCP, so any time I reboot or connect to a different wifi network I have to ssh into it and use "zs network restart".

4
Installation and Upgrades / Re: WebAdmin Issue [SOLVED]
« on: January 09, 2021, 08:41:19 pm »
Well, I guess I upgraded use apt-get dist-upgrade so that's probably it. Long story short I realized that my other two Zentyal servers are 5.1, so that is probably why this is the only one of the three affected. I ended up having to apt-get purge all the zentyal packages and installing from scratch to resolve the problem.

5
Contributions / Tips&Tricks / Features Requests / i386 Support
« on: January 07, 2021, 08:33:44 pm »
I recently started traveling a lot for work and I wanted a portable router. I had an old i386 netbook I wanted to use that would be perfect because it was tiny and had built in wifi, ethernet, battery backup, screen, keyboard, and mouse. I actually tried webmin first but couldn't get the actual router bit working, which is fine because I wanted to use Zentyal in order take advantage of all it's familiar GUI goodness.

Long story short what I did was first install Ubuntu Mate 18.04 and made sure it worked well and was fully updated. Next I added "deb http://archive.zentyal.org/zentyal 5.1 main extra" to /etc/apt/sources.list and then ran "wget -O - http://keys.zentyal.org/zentyal-6.2-packages.asc | apt-key add -" to add the repository key. Then all I did was "apt-update" and "apt-get install zentyal-network zentyal-core". That got the webmin up and running, and I just apt installed other zentyal modules as I needed them. Sure it's not the latest version of Zentyal and the configuration isn't exactly supported, but it works well enough for me.

Now all I do is use the netbook itself (or ssh and use nmcli) to connect to whatever wifi is available where I'm at and have all Zentyal features available to me. Normally I'm content to just plug my laptop in directly, but I also have a portable wifi AP if I want to connect other devices as well. I also have a T-Mobile hotspot that I use when there isn't wifi available.

6
Installation and Upgrades / Re: WebAdmin Issue
« on: January 07, 2021, 08:10:11 pm »
I used "lsof -i :80" to determine that apache is using that port on all the servers but only the problem server isn't happy about it. If I configure apache to not use that port nginx is happy but webadmin still doesn't work, and according to ps it isn't using some special "/var/lib/zentyal/conf/nginx.conf" config. If I try to use the special zentyal config as the default nginx config I get a 'nginx: [emerg] "user" directive is not allowed here' error.

So after all that I think the problem is for some reason nginx has stopped using the special zentyal configuration for some reason. So can anybody tell me how that is supposed to work so I can try and figure out what has gone wrong?

7
Installation and Upgrades / Re: WebAdmin Issue
« on: January 07, 2021, 07:45:54 pm »
So I was comparing and contrasting one server with another, and the problem child service is having a problem running the nginx web server. I've never messed with nginx before, but that is my next step. The error I am getting is: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)

8
Installation and Upgrades / WebAdmin Issue
« on: January 07, 2021, 07:31:40 pm »
I am currently running 3 Zentyal 6.2 servers. I haven't made any changes to any of them recently but all of a sudden sogo and webadmin stopped working on one of them. Restarting the sogo services fixes it (have to do it after every reboot), but restarting the webadmin service does not error or appear to resolve anything. Force purging all the firewall rules and completely opening up the box doesn't help either. The zentyal log isn't helpful and there is are two uwsgi webadmin processes running. There doesn't seem to be a webadmin log. Can somebody please give me some ideas on how to try and troubleshoot this? It's kind of hard to admin the server without webadmin.

9
I just tried upgrading from Zentyal 5.0 to 5.1 and I got this same error (apt-get: relocation error: /usr/lib/x86_64-linux-gnu/libapt-private.so.0.0) and the upgrade failed. I got the apt working by the manual download (libapt-inst2.0_1.2.29_amd64.deb and libapt-pkg5.0_1.2.29_amd64.deb) and install method. For now I'm just not going to install those two packages but hopefully this will be fixed soon because I will get nagged about it every day (automated configuration management can be a pain sometimes). Also hopefully this just didn't completely pork my server due to the failed upgrade.

10
Installation and Upgrades / Re: Another upgrade issue.
« on: March 02, 2017, 05:25:06 pm »
Rolling back the kernal upgrade (linux-image-4.4.0-65-generic) seems to resolve the issue.

11
Installation and Upgrades / Another upgrade issue.
« on: March 02, 2017, 05:15:40 pm »
Folks may want to hold off doing upgrades to 5.0 for a while. I just did a kernal upgrade and now the system is almost unusable. I can get to it remotely, but no zentyal services seem to be running. Plymouth seems to be waiting on something. DNS (bind) fails to start with a string of errors starting with "ldb: unable to dlopen /usr/lib/x86_64-linux-gnu/ldb/modules/ldb/asq.so". So it looks like something with samba is borked again, and most of Zentyal depends on samba.

12
I was always getting mail to the virtual domains, my problem was virtual domain aliases. How it used to work is if you had a.com as virtual domain you could add aliases for b.com and c.com an email to x@b.com and x@c.com would be delivered to x@a.com. That hasn't worked for me since upgrading to 5.0.

13
Email and Groupware / [SOLVED] Importing users into Zentyal 5.0
« on: February 27, 2017, 11:31:15 pm »
Now that Zentyal is using samba to keep it's data, how you import users has changed. Here is a code snippet that illustrates the basics:

  #!/usr/bin/perl
  use EBox;
  use EBox::Samba::User;
  EBox::init();
  my $Parent = EBox::Samba::User->defaultContainer();
  for my $Item (@Items) {
    print("Adding user '$Item->{uid}'...\n");
    EBox::Samba::User->create(
      parent => $Parent,
      samAccountName => $Item->{uid},
      givenName => $Item->{givenname},
      sn => $Item->{surname},
      mail => $Item->{mail},
      password => $Item->{password}
      );
  }


There are other parameters but I haven't tried them:
 initials  (Middle name?)
 displayName
 description
 

14
Installation and Upgrades / Re: Latest samba upgrade to 5.0 is borked.
« on: February 26, 2017, 06:42:09 pm »
So I upgraded my second Zentyal 5.0 server which got borked, and couldn't unbork it with the previous instructions. It appears it's not the zentyal samba upgrade that does the borking, it's the regular ubuntu samba upgrade that is also currently available. So what DOES seem to work is, after disabling samba module in the Zentyal webadmin, running /usr/share/zentyal-samba/enable-module, and then enabling the module in the webadmin.

15
Installation and Upgrades / Re: Latest samba upgrade to 5.0 is borked.
« on: February 26, 2017, 06:14:35 pm »
Oh, I forgot to mention that I know all this because Zentyal seems to get profoundly unhappy when I change anything having to do with the network interfaces, including an IP address. So on my last deployment I didn't even bother adding any users until the server was in the production environment.

Pages: [1] 2 3 ... 12