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 - branislav.kopun

Pages: [1]
1
Installation and Upgrades / Re: upgrade 6.2 to 7.0 - CA problem
« on: June 24, 2021, 09:57:43 pm »
This worked
Code: [Select]
sudo chown ebox:ebox /var/lib/zentyal/.rnd

2
Installation and Upgrades / upgrade 6.2 to 7.0 - CA problem
« on: March 13, 2021, 09:57:54 pm »
All seems working but after focus to Certification Authority / General I get only red frame with:
Unknown error. Given the OpenSSL output: Using configuration from /var/lib/zentyal/conf/openssl.cnf Can't load /var/lib/zentyal/.rnd into RNG 140692167914816:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:98:Filename=/var/lib/zentyal/.rnd Cannot write random bytes: 140692167914816:error:24070079:random number generator:RAND_write_file:Cannot open file:../crypto/rand/randfile.c:233:Filename=/var/lib/zentyal/.rnd

chmod of file /var/lib/zentyal/.rnd is same 0600 root:root

3
Installation and Upgrades / Re: upgrade from 6.2 to 7.0
« on: February 17, 2021, 05:06:49 pm »
Me too

4
Hello, I try to repeat your guide but without success.

Can you explain this:
Code: [Select]
/var/lib/samba/private/tls/cert.pem to contain the content of the *-cert.crt file in the key-certificate package form the zentyal CA
/var/lib/samba/private/tls/key.pem to contain the content of the *-private-key.pem file in the key-certificatepackage form the zentyal CA
/var/lib/samba/private/tls/ca.pem to empty (no content). The file somehow needs to exist otherwise the start of the zentyal samba service fails.

I have Zentyal 5.1 but I don't understand which files you mean " *-cert.crt file in the key-certificate package form the zentyal CA"
and "*-private-key.pem file in the key-certificatepackage form the zentyal CA"

thanks

5
Other modules / Re: WebAdmin not starting
« on: December 29, 2017, 05:12:42 pm »
Now it is OK. My college deleted sign "1" form last line in /usr/share/perl5/EBox/WebAdmin/PSGI.pm

correct end is
1;

6
Other modules / Re: WebAdmin not starting
« on: December 29, 2017, 12:41:33 pm »
I'm investigating about that and I found som problem with uwsgi
(my uwsgi was modifiedwith added parameters  --logto /tmp/uwsgi1.log --logto2 /tmp/uwsgi2.log thru .mas)

/tmp/uwsgi1.log
Code: [Select]
*** Starting uWSGI 2.0.12-debian (64bit) on [Fri Dec 29 12:33:55 2017] ***
compiled with version: 5.4.0 20160609 on 31 August 2017 21:02:04
os: Linux-4.4.0-104-generic #127-Ubuntu SMP Mon Dec 11 12:16:42 UTC 2017
nodename: zen1
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 8
current working directory: /
detected binary path: /usr/bin/uwsgi-core
setgid() to 112
set additional group 4 (adm)
set additional group 7 (lp)
set additional group 42 (shadow)
set additional group 108 (lpadmin)
setuid() to 107

/tmp/uwsgi2.log thru
Code: [Select]
your processes number limit is 15657
your memory page size is 4096 bytes
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to UNIX address /run/zentyal-webadmin/webadmin.sock fd 3
initialized Perl 5.22.1 main interpreter at 0x20cf620
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 157824 bytes (154 KB) for 1 cores
*** Operational MODE: single process ***
Error while loading /usr/share/zentyal/psgi/zentyal.psgi: EBox/WebAdmin/PSGI.pm did not return a true value at /usr/share/zentyal/psgi/zentyal.psgi line 23.
BEGIN failed--compilation aborted at /usr/share/zentyal/psgi/zentyal.psgi line 23.
unable to find PSGI function entry point.
*** no app loaded. going in full dynamic mode ***
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 5108)
spawned uWSGI worker 1 (pid: 5147, cores: 1)
--- unable to find perl application ---
[pid: 5147|app: -1|req: -1/1] 192.168.77.7 () {48 vars in 831 bytes} [Fri Dec 29 12:34:57 2017] GET / => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
--- unable to find perl application ---
[pid: 5147|app: -1|req: -1/2] 192.168.77.7 () {48 vars in 831 bytes} [Fri Dec 29 12:34:58 2017] GET / => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
--- unable to find perl application ---
[pid: 5147|app: -1|req: -1/3] 192.168.77.7 () {48 vars in 831 bytes} [Fri Dec 29 12:34:59 2017] GET / => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
--- unable to find perl application ---
[pid: 5147|app: -1|req: -1/4] 192.168.77.7 () {48 vars in 831 bytes} [Fri Dec 29 12:34:59 2017] GET / => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
--- unable to find perl application ---
[pid: 5147|app: -1|req: -1/5] 192.168.77.7 () {48 vars in 831 bytes} [Fri Dec 29 12:34:59 2017] GET / => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
--- unable to find perl application ---
[pid: 5147|app: -1|req: -1/6] 192.168.77.7 () {48 vars in 831 bytes} [Fri Dec 29 12:35:00 2017] GET / => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)

but I don't understand perl in /usr/share/zentyal/psgi/zentyal.psgi: EBox/WebAdmin/PSGI.pm

7
Other modules / WebAdmin not starting
« on: December 25, 2017, 09:18:42 pm »
Hello, my zentyal was working ok. But it uses certifikat for local network. I want to create new certificate for local FQDN but with alternative name for FQDN for internet domain.
I created new certificate with same name as the old one. But from this time I cannot start Zentyal WebAdmin. All modules (mail, samba, dhcp, dns) working.

I manually replace certificate from backup to /var/lib/zentyal/CA/private/zen1.domain.local.pem and after that nginx shows "Internal Server Error".
I found in logs that certificate wasn't issued OK. Log from CA is attached - after this action webadmin wasn't working

I don't know whal else must be recovered or repaired.

Thanks



8
WORKAROUND - for me was solution to mofify mas template
edit /usr/share/zentyal/stubs/mail/main.cf.mas and add your domain to parameter mydestination

original my destination look like
Code: [Select]
mydestination = $myorigin,$myhostname,localhost,localhost.$mydomain,$mydomain
after change (for domain acme.com)
Code: [Select]
mydestination = $myorigin,$myhostname,localhost,localhost.$mydomain,$mydomain,acme.com
And you need to restart Mail service thru zentyal web dashboard

I think that problem is in parsing $mydomain parameter but I don't know where is it ...

9
you must put it in ssh session (not thru web)

user@zentyal:~$ apt-cache policy zentyal-mail
zentyal-mail:
  Installed: 5.0.4
  Candidate: 5.0.4
  Version table:
 *** 5.0.4 500
        500 http://archive.zentyal.org/zentyal 5.0/main amd64 Packages
        500 http://archive.zentyal.org/zentyal 5.0/main i386 Packages
        100 /var/lib/dpkg/status

10
Email and Groupware / Re: Zentyal 5 Spam Filter?
« on: February 14, 2017, 01:01:06 pm »
I think that something is changed. Because now I have in mys Zentyal server new modules Mail filter, Antivirus and Jabber ...

11
Installation and Upgrades / Re: Zentyal AD password delegation issue
« on: October 12, 2015, 03:29:50 pm »
Is there anybody with solution ?

12
Installation and Upgrades / Re: Remote access to SOGo webmail?
« on: September 25, 2014, 09:31:57 pm »
I found solution here ...
https://tracker.zentyal.org/issues/694

13
Installation and Upgrades / Re: Zentyal 3.4 - SSMTP 465
« on: September 25, 2014, 09:31:36 pm »
I found solution here ...
https://tracker.zentyal.org/issues/694

Pages: [1]