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.


Topics - Gray

Pages: [1]
1
Hi

O/S: Ubuntu 9.4.0-1ubuntu1~20.04.1
Zentyal: 7.0.5

I've seen a number of posts about this topic but haven't found one that answers the question yet? It seems to me it would be a fairly common requirement and therefore worth tackling.

My Zentyal server has a second drive; that second drive is mounted at /data and has a /shares subdirectory i.e. /data/shares. The shares directory is where I store my shared files (which are shared out to Windows clients). End-users will variously get an N, P, S, X and/or Z drive on their PC and for consistency's sake I would like to also put their home directories, 'H', in the /data/shares/ folder.

I've tried editing many .conf files plus useradd / adduser routines etc etc and, by amending shares.conf.mas, I have managed to persuade Windows clients to map H: to the /data/shares/username folders. However, I have to manually create those home directories (i.e. /data/shares/username) because no matter how I try, when adding new users using Zentyal webadmin the home folders are still added as /home/username !

Anyone any idea how I would force Zentyal to create new users' home folders as /data/shares/username?

Thanks

2
Hi

O/S: Ubuntu 9.4.0-1ubuntu1~20.04.1
Zentyal: 7.0.5

I am trying to set the IP Address of my DNS Server in my Zentyal host (I am not using the DNS module in Zentyal). My Zentyal server IP address is 172.31.88.250 and I want it to use another host at 172.31.0.2 for its DNS lookups. 

I have added a forwarder into webadmin but it does not get committed. Equally, updating /etc/resolv.conf, is not persistent. So at the moment my Zentyal server cannot find the 'outside world'. Zentyal was installed over Ubuntu and I can't seem to shake the original Ubuntu DNS Name Server settings which are now obsolete.

Can anyone help please?


3
Installation and Upgrades / Fresh Install - Certificate Problem
« on: November 25, 2022, 08:59:17 pm »
Hi

O/S: Ubuntu 9.4.0-1ubuntu1~20.04.1
Zentyal: 7.0.5

I've been attempting to install Zentyal to a vanilla Linux instance using the following steps:-

sudo apt-get update
sudo apt dist-upgrade
wget https://zentyal.com/zentyal_installer.sh
sudo chmod u+x zentyal_installer.sh
sudo ./zentyal_installer.sh

Unfortunately I was unable to access the web admin page @ port 8443 so I started to look around.

In the var/log/nginx/error.log  I discovered the the following:-

Code: [Select]
2022/11/25 19:29:41 [emerg] 28204#28204: cannot load certificate "/var/lib/zentyal/conf/ssl/ssl.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/var/lib/zentyal/conf/ssl/ssl.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
2022/11/25 19:29:41 [emerg] 28246#28246: cannot load certificate "/var/lib/zentyal/conf/ssl/ssl.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/var/lib/zentyal/conf/ssl/ssl.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
2022/11/25 19:29:42 [emerg] 28278#28278: cannot load certificate "/var/lib/zentyal/conf/ssl/ssl.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/var/lib/zentyal/conf/ssl/ssl.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
2022/11/25 19:29:42 [emerg] 28312#28312: cannot load certificate "/var/lib/zentyal/conf/ssl/ssl.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/var/lib/zentyal/conf/ssl/ssl.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
2022/11/25 19:29:42 [emerg] 28331#28331: cannot load certificate "/var/lib/zentyal/conf/ssl/ssl.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/var/lib/zentyal/conf/ssl/ssl.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
2022/11/25 19:29:43 [emerg] 28359#28359: cannot load certificate "/var/lib/zentyal/conf/ssl/ssl.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/var/lib/zentyal/conf/ssl/ssl.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
2022/11/25 19:29:43 [emerg] 28360#28360: cannot load certificate "/var/lib/zentyal/conf/ssl/ssl.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/var/lib/zentyal/conf/ssl/ssl.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
2022/11/25 19:29:43 [emerg] 28362#28362: cannot load certificate "/var/lib/zentyal/conf/ssl/ssl.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/var/lib/zentyal/conf/ssl/ssl.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
Looking in the /var/lib/zentyal/conf/ssl/ there are only two files:-

Code: [Select]
drwx------ 2 root root 4096 Nov 25 19:29 .
drwxr-xr-x 5 ebox adm  4096 Nov 25 19:29 ..
-rw------- 1 root root    0 Nov 25 19:29 ssl.cert
-r-------- 1 root root 3243 Nov 25 19:29 ssl.key

There is NO .pem file and the .cert file is EMPTY? Consequently, nginx cannot start.

I presume I cannot combine the two into a .pem because the .cert is empty? So, since I am evaluating Zentyal, can I create my own self-signed cert/keys and insert them here? Or is there an easier fix?

Thanks

4
Hi

I've built an Ubuntu 20.04 image on an Amazon Web Services EC2 Instance and installed Zentyal on it using the following process:-

1. Login to the Ubuntu Instance using SSH with ssh keys (into user ubuntu , no password)

2. sudo apt dist-upgrade

3. wget https://zentyal.com/zentyal_installer.sh

4. sudo chmod u+x zentyal_installer.sh

5. sudo ./zentyal_installer.sh

All goes well and I can login to the web admin page (:8443). I don't bother with any Zentyal configuration and terminate the web admin session.

However when I reboot the instance I can no longer login with SSH? In fact, the ubuntu instance is unreachable by any means and I have to delete the instance and start again.

What exactly is it in the install of Zentyal that affects SSH login? Anyone any idea? I've tried for a few hours to isolate and correct the problem but without luck.

Thanks

5
Hi

Trying to install Zentyal as per instructions at: 
https://zentyal.com/news/install-zentyal-quickly-on-top-of-ubuntu-20-04-server-or-desktop/

I've called: 
sudo ./zentyal_installer.sh

but the response I get is:-
 - Checking Ubuntu version...
...OK

 - Checking for broken packages...
...OK

 - Checking for available disk space...
...OK

 - Checking if the system is up-to-date...
  You're server isn't up-to-date.


cat /etc/os-release  reveals:-

NAME="Ubuntu"
VERSION="20.04.4 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.4 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

As far as I know, everything is up to date?

Any ideas please?

Thanks



Pages: [1]