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

Pages: [1] 2
1
Installation and Upgrades / Re: Blinking screen in virtual machine
« on: September 22, 2011, 12:01:15 am »
Just some update which might be useful for some guy who could not find the IP of the VM: One can make sure the zentyal VM boot from the install CD -> Select "Rescue a broken system" -> Mount the "/" system ( e.g. /dev/sda2 ) and execute into a shell -> mount /boot (e.g. /dev/sda1) and /var (e.g. /dev/sda3) and run "apt-get remove openbox" -> ignore all the errors and exit -> the zentyal VM will boot up to normal screen.

Thanks,
Rocky

2
Installation and Upgrades / Re: [SOLVED] 2.2rc2 failing pppoe internet
« on: September 12, 2011, 08:16:17 pm »
Hi rockyzhangxq,

Could you show us the output of the following command?

dpkg -l | grep zentyal

dpkg -l | grep zentyal
ii  duplicity                            0.6.13-0ubuntu1+zentyal1                        encrypted bandwidth-efficient backup
ii  l7-filter-userspace                  0.11-4+zentyal                                  Userspace layer 7 packet classifier
ii  libhtml-mason-perl                   1:1.44-1+zentyal1                               HTML::Mason Perl module
ii  liblog-any-perl                      0.11-1+zentyal1                                 Log anywhere
ii  novnc                                1-1+zentyal1                                    HTML5 VNC client
ii  zentyal                              2.1-1                                           Zentyal - Core metapackage
ii  zentyal-antivirus                    2.1.3                                           Zentyal - Antivirus
ii  zentyal-bwmonitor                    2.1.5                                           Zentyal - Bandwidth Monitor
ii  zentyal-ca                           2.1.5                                           Zentyal - Certification Authority
ii  zentyal-common                       2.1.9                                           Zentyal - Common Library
ii  zentyal-core                         2.1.29                                          Zentyal - Core
ii  zentyal-dhcp                         2.1.6                                           Zentyal - DHCP Service
ii  zentyal-dns                          2.1.5                                           Zentyal - DNS Service
ii  zentyal-firewall                     2.1.6                                           Zentyal - Firewall
ii  zentyal-ftp                          2.1.1                                           Zentyal - FTP
ii  zentyal-jabber                       2.1.3                                           Zentyal - Jabber (Instant Messaging)
ii  zentyal-l7-protocols                 2.1.1                                           Zentyal - Layer-7 Filter
ii  zentyal-monitor                      2.1.3                                           Zentyal - Monitor
ii  zentyal-network                      2.1.12                                          Zentyal - Network Configuration
ii  zentyal-objects                      2.1.4                                           Zentyal - Network Objects
ii  zentyal-openvpn                      2.1.6                                           Zentyal - VPN Service
ii  zentyal-printers                     2.1.5                                           Zentyal - Printer Sharing Service
ii  zentyal-samba                        2.1.6                                           Zentyal - File Sharing Service
ii  zentyal-services                     2.1.7                                           Zentyal - Network Services
ii  zentyal-software                     2.1.12                                          Zentyal - Software Management
ii  zentyal-squid                        2.1.8                                           Zentyal - HTTP Proxy (Cache and Content Filt
ii  zentyal-trafficshaping               2.1.4                                           Zentyal - Traffic Shaping
ii  zentyal-usercorner                   2.1.5                                           Zentyal - User Corner
ii  zentyal-users                        2.1.11                                          Zentyal - Users and Groups
ii  zentyal-virt                         2.1.5                                           Zentyal - Virtualization Manager

Here you go. Since this one is one of our client's gateway server, i can not do much testing on it.

Thanks,
Rocky

3
Installation and Upgrades / Re: [SOLVED] 2.2rc2 failing pppoe internet
« on: September 06, 2011, 06:32:19 pm »
Does not work for me. I already updated everything to latest including the network module. The only solution work for me is to manually modify /usr/share/zentyal/stubs/network/chap-secrets.mas to add our own PPPoE configuration. Note: i disabled pptp module after i knew some issues with PPPoE.

Thanks,
Rocky

hackzilla, you don't need to wait to the next RC, you can just upgrade your system and problem will be fixed :)

Just use Zentyal Software interface or run the following commands:

Code: [Select]
sudo apt-get update
sudo apt-get upgrade

Best regards

4
The issue seem to be solved now. Close the thread.

5
I found another rsnapshot crotnab in "/etc/cron.d/rsnapshot"; Maybe here should be right place to put rsnapshot crotnab instead of "cotnab -e"? I'll give it a try.

6
I am setting up rsnapshot to run everyday as root ( i login as admin and sudo as root):

"0 2 * * * /usr/bin/rsnapshot daily"

After one day or two, the crontab automatically changed back (run "crontab -l" command as root):

"#/usr/bin/rsnapshot daily"

Is there any zentyal module override the root's crontab daily? How can i make the rsnapshot runs daily as root? I used to setup it on a standard Ubuntu box, worked fine for me. Any help/tips will be appreciated.

Thanks,
Rocky

7
Installation and Upgrades / Webdav not working well on Zentyal box
« on: April 15, 2011, 09:30:57 pm »
Hi Guys,

I followed the procedure here http://www.howtoforge.com/how-to-set-up-webdav-with-apache2-on-ubuntu-10.04 to setup webdav on Zentyal, not really works for me. The command line webdav client cadaver works fine inside Zentyal, but i could not setup the map drive as described in the page 2 of above link. I tried some ftp style like webdav client (e.g. bitkinex), it works. But i really need the mapped drive solution work which was my purpose to setup the WebDav service on Zentyal server. Anyone else has made the WebDAV work well on Zentyal server?

Thanks,
Rocky

8
Hi Guys,

I am using Zentyal as Gateway: eth0 connecting to WAN, eth1 works as bridge mode  (i have to use bridge mode since i need to run KVM inside the box) and connect to LAN. I created a bridge (br1) for eth1, and in Dashboard "Network Interface" section, it always shows eth1 status as "up, internal", br1 as "up, external";  I want br1 to be "internal" as well, not sure where to change it.  I am afraid LAN access firewall will not apply to br1 network.

Thanks,
Rocky

9
Fair enough. But i would still like to have the ability to run it more than once. Like us, we have one remote branch where has no IT guys; I'd like one stuff there boot up the box and, run the wizard to configure 2 NICs: one is for public IP, another one is for internal DHCP server.  They seem to more like a wizard than logging into web UI than explain some concepts to them (since the server is not accessable till they configure the network, I can not do anything except call them).

I know some devices like BlackBerry has the wizard there one can run multiple times which is a nice feature specially for some lazy guys. I wish Zentyal could support it as well.

Thanks,
Rocky

Hi there,

These wizards are intended to set up Zentyal server for the first time. Things like configuring the interfaces, gateways and such can be done afterwards in [it]Network[/it] configuration and the users selection is an option that cannot be rollback unless you reinstall the module wiping out your current data and configuration.

So I do not find a reason to rerun the wizards apart from his main purpose.

Happy new year everyone!

10
I tested something on Zentyal server. The wizard https://localhost/ebox/Wizard only works after I wipe off the Redis DB, which was not what i wanted.  What I really like to see is that the wizard still get to run even there is already data: e.g. read data from redis DB and let end user to modify it or not, then override with the new configuration.

Thanks,
Rocky

11
Installation and Upgrades / Re: DHCP Service will not Start.
« on: December 31, 2010, 09:59:28 pm »
Please go to "DHCP" module and add a dhcp range (click "Show Help" will tell you how to do it); Unless you configure one dhcp range, it will not work.

Rocky

12
Hi Guys,

I knew when the Zentyal server first bootup, it will run setup wizard (e.g. select packages, configure network interfaces, users mode).  And after first setup, the wizard is gone.  I'd like to manually run it after the initial setup ( one example might be that I setup end user's server box at office, after server is shipped to on site, end user first login, I'd like him be able to see the wizard and go through them specially for the external and internal IP configuration ) .

I saw there is one file /var/lib/ebox/.first control it; If I created this file, the wizard interface will show up; My problem is that the wizard does not seem to work after I click "install"; I guess the reason was that the packages were already installed and the system refused to set it up again. Any tricks/script to make it happen again?

Thanks,
Rocky

Thanks,
Rocky

13
I just tried refresh installed zentyal, then apply to dump.rdb. Not really work since some ldap configuration mess up although the DHCP range customization was there. 

I think I figured out the answers. Basically the new install computer need all the module there before apply the dump.rdb file.  And this is the easiest/fastest approach so far I found specially  for ones who want to apply one server's configuration to multiple servers quickly.

Here I listed the detail steps I did to make it work; Hope it is useful for some guys who have the similar questions as me:

1. On Computer A, install Zentyal server (i used 2.0.2) as normal; Login in web UI and do all the configurations you need (e.g. ldap, users, dhcp, samba shares, NIC, firewall, gateway, etc.); Wait a while after the configuration applied so the redis DB service can dump the data into /var/lib/ebox/dump.rdb;

2. On computer B, install Zentyal server, at least install office module (where the LDAP configuration initialize; Otherwise you will have ldap error after apply the dump.rdb ); And install all the packages/modules you needed from Zentyal component management;

3. Copy dump.rdb of Computer A to Computer B; And kill the redis process ( one should be able to find it easily by "ps aux |grep redis") which use the /var/lib/ebox/redis.conf; The redis process should be restarted automatically with another process ID. Then run "sudo /etc/init.d/ebox stop" and "sudo /etc/init.d/ebox start" to apply the configuration;

4. Login web UI again, all your configuration should be there; Computer B should have exactly the same configuration as A; Have fun.

I think the step 2 and 3 might be implemented by scripts. If that's the case, one should be able to use one CD to clone another computer's configuration except the data.


To J.A. Calvo,

You said there will allow some end user's mas configuration in /etc/ebox/stubs. Will these customization be shown up in the web UI? If yes, that might be another approach to my questions.

BTW, I found some bugs during installation: 1) If select "UTM (Intrusion detection system)" and "office" module, the ldap will not be auto configure anymore; One get the message to run "dpkg --configure -a" which is not easy for ldap server config; 2) "/etc/init.d/ebox restart" not work; I have to run "/etc/init.d/ebox stop", then "/etc/init.d/ebox start" to make it work;


Anyway, thank you guys so much for hints and informations.
Rocky

14
I just tried refresh installed zentyal, then apply to dump.rdb. Not really work since some ldap configuration mess up although the DHCP range customization was there.  I guess copying the dump.rdb might be a good way to store current configuration, but not for refresh install and restore or as template to set up a new server. I think I'll wait for the new version released this week; Hope it will make me easy to use script to add my own customization.

Thanks,
Rocky

15
Thanks to Josep and J.A. Calvo.

To Josep,

I knew I was able to modify all the mas file for dhcp under "stubs" folder. Like I said before, this customization does not appear in we ui which might cause some issues (e.g. if end user add another similar dhcp range in web UI, it will conflict with my embedded one, and cause dhcp service stop.)  In fact i have several clients who have fixed samba shares and dhcp configuration; What I want to do is that adding some customization to Zentyal install CD so end user can just put the CD in and everything will be configured by default after bootup (I don't need to go to each server to login web UI and configure one by one).

To J. A. Calvo,

>> the next version (going to be released this week) will allow easier modifications without hooks by copying the .mas files you want to modify to /etc/ebox/stubs.

I am looking forward to this new version. Ideally should I develop some scripts (e.g. shell, PHP) the customization will be merged into Zentyal configuration.

Thanks,
Rocky

Pages: [1] 2