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 - pituhdo

Pages: [1]
1
Installation and Upgrades / log.nmbd not rotated
« on: December 04, 2012, 01:06:18 pm »
Hello!

It seems that log.nmbd is not rotated automatically in my zentyal 3.0.7

:/var/log/samba$ ll
total 375904
drwxr-xr-x  3 root root        97 nov 29 23:54 ./
drwxr-xr-x 18 root root      4096 dic  4 12:55 ../
drwx------  4 root root        28 nov 16 20:40 cores/
-rw-r--r--  1 root root      5766 nov 16 14:26 log.%m
-rw-r--r--  1 root root 376577074 dic  4 13:05 log.nmbd
-rw-r--r--  1 root root      5148 nov 23 18:28 log.smbd
-rw-r--r--  1 root root   2964697 dic  4 13:05 samba.log
-rw-r--r--  1 root root   5126974 nov 30 02:05 samba.log.old

However here it says it should be rotated:

http://trac.zentyal.org/wiki/Documentation/Community/ZentyalLogs

Could you be so kind of let me know how can I change this behaviour?

Thanks and regards,

Roberto

2
HI all,

I'm trying to set up the webserver module on my brand new ebox 2.0.13

dpkg -l | grep "ebox-"
ii  ebox-ca                              2.0.3                                    Zentyal - Certification Authority
ii  ebox-dhcp                            2.0.2                                    Zentyal - DHCP Service
ii  ebox-ebackup                         2.0.8                                    Zentyal - Backup
ii  ebox-firewall                        2.0.1                                    Zentyal - Firewall
ii  ebox-mail                            2.0.3                                    Zentyal - Mail Service
ii  ebox-monitor                         2.0                                      Zentyal - Monitor
ii  ebox-network                         2.0.8                                    Zentyal - Network Configuration
ii  ebox-ntp                             2.0.1                                    Zentyal - NTP Service
ii  ebox-objects                         2.0                                      Zentyal - Network Objects
ii  ebox-openvpn                         2.0.7                                    Zentyal - VPN Service
ii  ebox-remoteservices                  2.0.7                                    Zentyal - Zentyal Cloud Client
ii  ebox-samba                           2.0.7                                    Zentyal - File Sharing
ii  ebox-services                        2.0                                      Zentyal - Network Services
ii  ebox-software                        2.0.8                                    Zentyal - Software Management
ii  ebox-usersandgroups                  2.0.9                                    Zentyal - Users and Groups
ii  ebox-webserver                       2.0.2                                    Zentyal - Web Server


I would like to enable SSL on the web module, but when I set Enable SSL port and click on change I get the followiing error:

http://paste.ubuntu.com/549655/

If I change the port to for example 81 I get the same error for port 443 (althought I have changed the admin interface to another port)

I have checked if something is listening on port 80 & 443 wihtout succcess:

$netstat -an | grep ":80.*LISTEN"
$
$netstat -an | grep ":443.*LISTEN"

any help would be really appreciated.

Cheers

3
Hello all

I've been using Ebox for several time on version 0.11.101 and recently I have successfully run and configure the mail module, but i have one "little" problem... Let me explain:

My environment:

                  |          |-eth1(ext)->IP1->myexternaldomain.com---------------------> Gateway1
eth0 (int) -|EBOX|
                  |          |-eth2(ext)->IP2 (without a domain)------------------------------>Gateway2

In this environment I have succesfully configured firewall rules, two gateways (Gateway1 & Gateway2) and also load balancing for my internal network to use both external lines. All is working as desired :) but...

Problem description:

I have configured a mail server on the EBOX box. I have succesfully configured  the DNS to point myexternaldomain.com to point to IP1 and I'm able to get messages sent to my domain. The problem comes when I try to send message from the box to an external domain (for example gmail). It seems when an email must be sent, EBOX select one external interface randomly (load balancing) and send the email over this interface. If EBOX select where the externaldomain.com is binded there is no problem. The problem arrives when EBOX selects eth2 and gmail reject the message with the following message:

<xxxxxxx@gmail.com>: host gmail-smtp-in.l.google.com[74.125.79.114]
    said: 550-5.7.1 [IP2] The IP you're using to send mail is not
    authorized to 550-5.7.1 send email directly to our servers. Please use the
    SMTP relay at your 550-5.7.1 service provider instead. Learn more at
    http://mail.google 550 5.7.1 .com/support/bin/answer.py?answer=10336
    5si126839eyf.38 (in reply to end of DATA command)

Troubleshooting so far:

I have tried to add a multigatewayrule for all the outgoing SNMP traffic (port 25), but it seems this rule doesn't affect the traffic generated on the box itself (feature/bug?)

Also I have figured that on the "Filtering rules for traffic coming out from eBox" firewall rule you could specify a gateway in each rule, but it seems there is no way to achieve it :(

Also I have been searching in the forums and I have found the following thread: http://forum.ebox-platform.com/index.php?topic=599.0 which seems similar to my problem but in the solution it uses:

pf "-t nat -I POSTROUTING -s IP_OF_SERVER -o OUT_IF -j SNAT --to SOURCE_IP";

but as far as I understand my problem is not related with NAT table.

Any idea would be really appreciated

Thanks you very much in advance.

Pages: [1]