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

Pages: [1] 2
1
Hello.

I had to temporarily realocate my server (we are moving from one building to another), after that i can't get the stations to connect to the internet.
I think i missing something basic here.

This is my setup:

At "core" > "network" > "interface" I have set:
eth0 - external. static ip 192.168.1.2
eth1 - external, static ip 192.168.2.2
eth2 - internal, static ip 10.0.1.1

At "infrastructure" > "dhcp" I have set:
eth2 dhcp enabled.
range - 10.1.100 to 10.0.1.200

>> I'm not sure what the problem is, but i have identified some weird behaviour at my setup:

At "dashboard", "network interfaces", Zentyal is showing:
eth0 ip: 192.168.1.112 AND 192.168.1.2
eth1 ip: 192.168.2.12 AND 192.168.2.2
eth2 ip: 10.0.1.198

At "dashboard", "dhcp leases", Zentyal is showing:
granserver ip 10.0.1.198

At the stations, i see:
- default gateway: 10.0.1.1
- dhcp server: 10.0.1.198

Images attached.

Can anyone bring some light to this? Thank you





2
Installation and Upgrades / Need Help! Error opening any google site
« on: November 28, 2013, 03:18:37 pm »
Hello there.

I've this f** problem that I trully don't know what to do.

Scneario:
Zentyal 2.2 with modules running:

Network   Running
Firewall   Running
Antivirus   Running
Apache   Running
Certification Authority   Not created
DHCP   Running
DNS   Running
Backup   Running
Events   Running
FTP   Running
IDS   Running
Logs   Running
Monitor   Running
NTP   Running
VPN   Running
Printer Sharing   Running
RADIUS   Running
File Sharing   Running
HTTP Proxy   Running
Traffic Shaping   Running
User Corner   Running
Users and Groups   Running
Web Server   Running

In this machine there is also redmine, and my ERP software running.
The machine is connected and set to DMZ into ISP modem.
The machine is also connected to aprox. 25 clients via cable and wifi (mostly phones).


Problem:
When I try to connect to **any** google site, all I have is blank page.
I am not able to connect to **any** google site in any machine of my network. Not even at my cellphone.

I thought that a virus could have spread all over my network, but, if I connect any machine directly to ISP modem (bypass zentyal) i can connect to these sites though with no problem.

I connect to the google services via https (search, gmail, youtube and other stuff that provides it). BUT if i try to access by regular http all i get is a bank page (including youtube, any blog at blogger, and all others)

This is tracert to blogspot.com connected directly to my modem (192.1681.1)
C:\Users\joaogabriel>tracert blogpsot.com

Rastreando a rota para blogpsot.com [108.175.169.242]
com no máximo 30 saltos:

  1    <1 ms    <1 ms    <1 ms  192.168.1.1
  2     4 ms     3 ms     3 ms  gvt-l0.b7.mga.gvt.net.br [177.16.96.1]
  3     4 ms     3 ms     4 ms  gvt-po-5-81.rd02.mga.gvt.net.br [200.175.16.101]

  4     5 ms     7 ms     7 ms  177.99.251.dynamic.adsl.gvt.net.br [177.99.251.1
69]
  5    20 ms    19 ms    19 ms  gvt-pos-0-0-1-2.rc02.cta.gvt.net.br [189.59.242.
61]
  6    13 ms    15 ms    15 ms  gvt-te-0-2-0-8.rc03.cta.gvt.net.br [189.59.247.4
1]
  7    32 ms    35 ms    35 ms  gvt-te-0-5-0-0.rc01.spo.gvt.net.br [187.115.213.
198]
  8    29 ms    23 ms    23 ms  gvt-te-0-3-0-6.rt01.spo.gvt.net.br [189.59.242.1
81]
  9    19 ms    22 ms    18 ms  TenGigabitEthernet8-2.ar5.GRU1.gblx.net [64.208.
26.5]
 10   138 ms   138 ms   138 ms  te0-7-0-16.ccr21.mia03.atlas.cogentco.com [154.5
4.13.61]
 11   145 ms   146 ms   146 ms  be2054.ccr21.mia01.atlas.cogentco.com [154.54.80
.41]
 12   145 ms   146 ms   146 ms  be2124.mpd21.atl01.atlas.cogentco.com [154.54.24
.245]
 13   151 ms   150 ms   151 ms  be2170.mpd21.dca01.atlas.cogentco.com [154.54.31
.106]
 14   145 ms   144 ms   144 ms  be2149.ccr22.jfk02.atlas.cogentco.com [154.54.31
.126]
 15   144 ms   160 ms   144 ms  te0-1-1-1.ccr21.jfk01.atlas.cogentco.com [154.54
.7.70]
 16   160 ms   154 ms   160 ms  te3-1.ccr01.ewr02.atlas.cogentco.com [154.54.6.2
25]
 17   153 ms   152 ms   153 ms  te4-2.ccr01.ewr06.atlas.cogentco.com [154.54.84.
66]
 18   145 ms   145 ms   145 ms  te0-0-1-1.nr21.b033057-0.ewr06.atlas.cogentco.co
m [154.24.0.114]
 19   145 ms   148 ms   149 ms  38.122.244.34
 20   145 ms   145 ms   148 ms  108.175.169.194
 21   145 ms   145 ms   145 ms  108.175.169.242

Rastreamento concluído.

This is tracert connected to zentyal

C:\Users\joaogabriel>tracert blogpsot.com

Rastreando a rota para blogpsot.com [108.175.169.242]
com no máximo 30 saltos:

  1    <1 ms    <1 ms    <1 ms  joaogranado.com [10.0.1.1]
  2     1 ms    <1 ms     1 ms  192.168.1.1
  3     4 ms     4 ms     4 ms  gvt-l0.b7.mga.gvt.net.br [177.16.96.1]
  4     5 ms     5 ms     4 ms  gvt-po-5-81.rd02.mga.gvt.net.br [200.175.16.101]

  5     7 ms     7 ms     8 ms  177.99.251.dynamic.adsl.gvt.net.br [177.99.251.1
69]
  6    23 ms    19 ms    23 ms  gvt-pos-0-0-1-2.rc02.cta.gvt.net.br [189.59.242.
61]
  7    15 ms    15 ms    15 ms  gvt-te-0-2-0-8.rc03.cta.gvt.net.br [189.59.247.4
1]
  8    33 ms    35 ms    35 ms  gvt-te-0-5-0-0.rc01.spo.gvt.net.br [187.115.213.
198]
  9    21 ms    23 ms    23 ms  gvt-te-0-3-0-6.rt01.spo.gvt.net.br [189.59.242.1
81]
 10    19 ms    19 ms    18 ms  TenGigabitEthernet8-2.ar5.GRU1.gblx.net [64.208.
26.5]
 11   139 ms   138 ms   138 ms  te0-7-0-16.ccr21.mia03.atlas.cogentco.com [154.5
4.13.61]
 12   146 ms   146 ms   146 ms  be2055.ccr22.mia01.atlas.cogentco.com [154.54.24
.233]
 13   146 ms   146 ms   145 ms  be2123.ccr22.atl01.atlas.cogentco.com [154.54.24
.197]
 14   151 ms   144 ms   143 ms  be2169.ccr22.dca01.atlas.cogentco.com [154.54.31
.98]
 15   145 ms   145 ms   145 ms  be2148.ccr21.jfk02.atlas.cogentco.com [154.54.31
.118]
 16   161 ms   160 ms   145 ms  te0-2-0-1.ccr21.jfk01.atlas.cogentco.com [154.54
.1.173]
 17   162 ms   160 ms   160 ms  te3-1.ccr01.ewr02.atlas.cogentco.com [154.54.6.2
25]
 18   153 ms   153 ms   153 ms  te4-2.ccr01.ewr06.atlas.cogentco.com [154.54.84.
66]
 19   146 ms   146 ms   145 ms  te0-0-1-1.nr21.b033057-0.ewr06.atlas.cogentco.co
m [154.24.0.114]
 20   146 ms   145 ms   145 ms  38.122.244.34
 21   148 ms   146 ms   146 ms  108.175.169.194
 22   145 ms   145 ms   146 ms  108.175.169.242

Rastreamento concluído.


This is DNS configured at Zentyal :

Domain Name Server   
127.0.1.1   
8.8.8.8   
8.8.4.4   
208.67.222.222   
208.67.220.220

This my firewall "from external to zentyal" settings (other setting are untouched):
Decision    Source    Service    Description    Action
ACCEPT   Any   http 8080   sienge   Del  Edit  Down
ACCEPT   177.43.37.125/32   Voip   --   Del  Edit  Up  Down
ACCEPT   Any   http   --   Del  Edit  Up  Down
ACCEPT   Any   dns   --   Del  Edit  Up  Down
ACCEPT   Any   ssh   --   Del  Edit  Up  Down
DENY   Any   RADIUS   --   Del  Edit  Up


**** Now the most bizarre (expect to give some clues about the problem)

Yesterday I turned ON (had always been off) http transparent proxy at Zentyal with "Allow All" police
And it solved the problem! I could reach all google pages again.
BUUUUT, today the problem is back. I tried stop, clean an restart squid but still no result, all blank pages.

No I'm stuck! Help please!


3
Portuguese / Re: DHCP nao inicia [RESOLVIDO]
« on: October 27, 2013, 02:42:09 pm »
Obrigado pela resposta!

Após uma reinicialização do servidor me deparei também com o problema de dhcp não rodando. Realizei o procedimento como descrito por  marceloeng e deu certo, obrigado!

No meu caso, no entanto, como uso zentyal 2.0.23 o arquivo se encontra no seguinte caminho:

" /usr/share/ebox/stubs/dhcp/apparmor-dhcpd.profile.mas "

Adicionado a linha:

"network packet raw,"  (não esquecer da virgula no fim).

E funcionando!


4
Ok I've done it!  :)

My solution was based upon this:
http://www.howtoforge.com/how-to-resize-lvm-software-raid1-partitions-shrink-and-grow
and
http://www.centos.org/docs/5/html/Cluster_Logical_Volume_Manager/active_mount_ex3.html

I had to "activate" my RAID before I could see the lvm. Here it goes:

1 - Run how to steps 1 to 10.

2 - Activate all needed modules:

modprobe md
** I've got an error message when trying to load this, but i just kept going on and everything was ok.
modprobe linear
modprobe multipath
modprobe raid0
modprobe raid1
modprobe raid5
modprobe raid6
modprobe raid10


3 - Activate your RAID arrays

cp /etc/mdadm/mdadm.conf /etc/mdadm/mdadm.conf_orig
mdadm --examine --scan >> /etc/mdadm/mdadm.conf

mdadm -A --scan


4 - start LVM:

/etc/init.d/lvm start

5 - lvdisplay showed my LVs were inacative. Activate them:

lvchange -ay /dev/your-lvm-path

6 - Continue from step 11 on the how-to.

And voilá, it is done!  8)

I hope they have changed the installation deafults, because this really sucks!

5
Also, I've notice that
pvdisplay
returns *nothing* (and so does vgdisplay and lvdisplay).

I have also tried a different live cd (knoppix) with same results...

Could this be something with raid? I've tried dmraid -ay but got "no raid disks" message.

Pleeease help!! :)

6
Hello!!

I am trying to follow the how-to but I'm stuck!

In my zentyal box, I've ran df -kh and got:
/dev/mapper/lvml-filesystem
/dev/mapper/lvml-home

BUT, when I run the live rescue cd, the following command doesn't work:

e2fsck –f /dev/mapper/lvml-home

It says: "no such file or directory"

The only thing inside /dev/mapper is something called "control"

I hace no idea what I am doing wrong. I hope it is something stupid. Please help me. I am running zentyal on a produce enviroment and need this solved by sunday.

Thank you!

(I am running Zentyal on 2 500GB HDs on RAID 1)

7
Hi there.

I want to share information in my company using Zentyal server. We run a "per project" business. The setup I have been thinking of is:
- Create a single share for the whole company (say "acme_projects")
- By default everybody has reading permissions on all files and folders (so everyone can know what the company is working on)
- Some people would have full permisions on some folders (the project manager, for example)
- Exceptions to the first rule could be made by hand by the admins (to hide some financial or critical information for example)
- Some people would have right permissions on some folders (the people working on the project)

In a Windows Server I would just go to the folder I want and check the permissions applied for each user I want.

In Zentyal, I am kind of lost. This seems like a very basic need when talking about file sharing in an enterprise (even small business). What am I missing?

8
Installation and Upgrades / Re: Good setup for Zentyal + Redmine
« on: January 31, 2011, 07:59:16 pm »
Hello! Thank you very much for those who helped, I have now succesfully installed redmine on Zentyal. This is how to:

1. Enable webserver
Enable Zentyal web server. Open Firewall for http access. Forward 80 port from router to zentyal.

2. Install redmine
* for detailed instructions see the links on the posts above (thank you for that)

- backup, just in case:
/usr/share/ebox-ebackup ./ebox-remote-ebackup --incremental

- install mysql-server and redmine packages
sudo apt-get install mysql-server redmine redmine-mysql subversion
-- you'll be asked for root password for mysql
-- you'll be asked to config redmine access to mysql
Code: [Select]
yes para dbconfig-common
db: mysql
root pass: somepassword
redmine db pass: otherpassword

3. upgrade redmine

* The method above unfortanatelly will install an old version of redmine (0.9) so we must upgrade it. I've done this on a trial and error basis, reading a lot of stuff on the web. Here are the steps I've done, but may not all be necessary for you.

- download it
cd /usr/share
sudo wget http://path.to/redmine-1.1.0.tar.gz
tar -xvf redmine-1.1.0.tar.gz
rm redmine-1.1.0.tar.gz


- install some necessary stuff
* If you're installing the same version as I (1.1.0) you're safe with the versions of the softwares below. If not, checkout redmine webpage for compatibilies.
sudo apt-get install rails -v=2.3.5
sudo gem install rack -v=1.0.1
sudo gem install -v=0.4.2 i18n


- generate some crazy session secret
udo rake generate_session_secret


- migrate DB (from the old to the new one)
sudo rake db:migrate RAILS_ENV=production


- copy the files from old (0.9) to new installation (1.1.0) This is only necessary if you were running redmine before upgrade.
sudo cp /var/lib/redmine/default/files/* /usr/share/redmine-1.1.0/files


- clean up things
sudo rake tmp:cache:clear
sudo rake tmp:sessions:clear


- remove (or rename) .htaccess file
* I've failed to get redmine running while this file was there. Very important step!
d /usr/share/redmine-1.1.0/public/.htaccess
   mv .htaccess htcrazy


* Now there are 2 steps that I've done in my trial and error efforts that I don't know if they are really necessary. If you do, please tell me!
- Change some permissions
sudo chmod 644 /usr/share/redmine-1.1.0/config/settings.yml
sudo chmod 644 /usr/share/redmine-1.1.0/config/database.yml
sudo chmod 644 /usr/share/redmine-1.1.0/config/email.yml


- change some owners
mkdir tmp public/plugin_assets
sudo chown -R www-data:www-data files log tmp public/plugin_assets
sudo chmod -R 755 files log tmp public/plugin_assets


4. Config webserver for running redmine
* This is an example if you want to have redmine running on a subdomain like:
http://redmine.mydomain.com

- Access zentyal web page and do the following:
- infra > web server > add virtual host: mydomain.com
- infra > web server > add virtual host: redmine.mydomain.com
- infra > DNS > add domain: mydomain.com
- add hostname: redmine ip: 10.0.1.1
- add nameserver: redmine

The files for the recently created virtual host will be at:
/srv/www/redmine.mydomai.com


- Create symlink
cd /srv/www/redmine.mydomain.com
sudo ln -s /usr/share/redmine-1.1.0/public redmine


- Config apache. Create config file for redmine
cd /etc/apache2/sites-available/user-ebox-redmine.mydomain.com
sudo vi redmine.conf


Edit with the following:
Code: [Select]
DocumentRoot /srv/www/redmine.mydomain.com/redmine

        <Directory /srv/www/redmine.mydomain.com>
                Options FollowSymLinks
                AllowOverride None
                Order allow,deny
                Allow from all
        </Directory>

       # RailsEnv production
        PassengerAppRoot /usr/share/redmine-1.1.0/
        RailsBaseURI /redmine

- Edit passagenr.conf
sudo vi /etc/apache2/mods-available/passanger.conf

Include the following line:
Code: [Select]
PassengerDefaultUser www-data

- restart apache
sudo apache2ctl restart


5. Config DNS server
Config your DNS server (not zentyal, but your provider - mine is Joker.com) so that redmine.mydomain.com points to mydomain.com
The way I did was creating a CNAME record for that (it's working for now)

6. Config redmine

- Access it via
http://redmine.mydomain.com
user: admin
password: admin


- change you password

- Config to access your zentyal LDAP server (settings > authentication > LDAP settings):
Code: [Select]
- nome: ldap
- servidor: localhost
- porta: 389
- conta: (blank)
- senha: (blank)
- DN base: dc=yourzentyalhostname
- criar usuario on-the-fly: yes! (check it)
- usuario: uid
- nome: givenName
- sobrenome: sn
- email: mail

- Config redmine to send emails. Go back to shell
sudo vi /usr/share/redmine-1.1.0/config/email.yml

Edit to best fit your email configuration. I don't use zentyal as mail server so my config is something like this:

Code: [Select]
production:
  smtp_settings:
     address: "smtp.myotherdomain.com"
     port: 25
     authentication: :login
     domain: 'myotherdomain.com'
     user_name: 'redmine@myotherdomain.com'
     password: '123456'

- restart redmine
* Every how-to of redmine tells you you must restart redmine, but don't tell you how to do it! This is how I think it's done:
sudo touch /usr/share/redmine-1.1.0/tmp/restart.txt

I'm not sure if this really restarts redmine, but I know that my redmine is sending emails just fine :)

7. Config redmine backup
I'm inspired by this:
http://forum.zentyal.org/index.php?topic=5854.0

7.1 database
- create a script to run the backup
sudo vi scripts/backupredmine


Should look like this:
Code: [Select]
#!/bin/bash

BDIR=/backup
BFILE=redmine.dump.gz
OFILE=$BDIR/$BFILE

if [ ! -d $BDIR ]; then
   mkdir $BDIR
fi

if [ -f $OFILE ]; then
   rm $OFILE
fi

echo Backup database
DATABASE=`grep "database:" /usr/share/redmine-1.1.0/config/database.yml | awk '{print $2}'`
USERNAME=`grep "username:" /usr/share/redmine-1.1.0/config/database.yml | awk '{print $2}'`
PASSWORD=`grep "password:" /usr/share/redmine-1.1.0/config/database.yml | awk '{print $2}'`

/usr/bin/mysqldump --single-transaction -u$USERNAME -p$PASSWORD $DATABASE | gzip --best >$OFILE
This script will read your database configuration to check username and password and backup it up on gz file at dir /backup.

- make it runnable
sudo chmod +x backupredmine

- Now we want to run this script every time zentyal does the automatic backup.
cd /etc/ebox/hooks
       cp template.postservice ebackup.postservice
       vi ebackup.postservice


Edit it to:
Code: [Select]
if [ $1 = "1" ]; then
   if [ -f /scripts/backupredmine ]; then
      sed 's_/usr/share/ebox-ebackup/ebox-remote-ebackup_/scripts/backupredmine \&\& /usr/share/ebox-ebackup/ebox-remote-ebackup_' </etc/cron.d/ebox-ebackup >/tmp/ebox.backup.mod
      cp /tmp/ebox.backup.mod /etc/cron.d/ebox-ebackup
      rm /tmp/ebox.backup.mod
   fi
fi

- Now include this two folder on your zentyal backup:
/backup
/scripts

7.2 files
Just include this folder on your zentyal backup:
/usr/share/redmine-1.1.0/files


8. Installing plugins
If you want to install plugins you would probably need git
sudo apt-get install git-core

So now you can do on redmine home path:
script/plugin install git://path.to/somecoolplugin.git
* Some plugins will require you to migrate db and other stuff, just read their how-to. I've just liked to point out the install git-core step because I didn't see it on any how-to but I found it necessary.

Welll that's it, I guess. Sorry for typos and errors. If you see some error, please do comment!



9
Installation and Upgrades / Re: DNS lookup for subdomain
« on: January 25, 2011, 07:16:43 pm »
so, anyone?

10
Installation and Upgrades / DNS lookup for subdomain
« on: January 21, 2011, 08:09:21 pm »
Hello there.

This is what i want:
I want to be able to access redmine.mydomain.com from my lan AND from outside network.

This is how I'm trying to do:
I've registered mydomain.com at joker.com
I've create a DYNA record for mydomain.com

utm > firewall > allow http
core > network > dynDNS > enable dynDNS for mydomain.com (with the login information for joker.com)
dynDns is working fine. I can access mydomain.com webpage from anywhere

infra > webserver > add virtual host: mydomain.com
(this is ok. The mydomain.com shows the files in /srv/www/mydomain.com)

* When I do that, Zentyal created a mydomain.com DNS entry on its DNS server with local IP address (10.0.2.1, one if own IPs)

infra > webserver > add virtual host: redmine.mydomain.com
* Zentyal no longer creates a DNS entry

infra > DNS > mydomain.com > add host
host: redmine
IP: 10.0.1.1

Pointed redmine stuff for the virtualhost path
* Inside my LAN, when i connect to redmine.mydomain.com it works!

The problem is outside the network it doesn't work! When i tried to connect it would give host unkown error.
So I kept trying

on joker.com I've created a NS record for redmine.mydomain.com to mydomain.com
(I think this means that when someone looks up for redmine.mydomain.com joker will them to search at mydomain.com)

I opened my firewall for DNS connections.

Now, when I try to connect to redmine.mydomain.com from outside my network I get timed out.
I went to http://www.dnswatch.info and looked up for redmine.mydomain.com

Code: [Select]
Searching for redmine.mydomain.com. A record at F.ROOT-SERVERS.NET. [192.5.5.241] ...took 18 ms
Searching for redmine.mydomain.com. A record at d.gtld-servers.net. [192.31.80.30] ...took 115 ms
Searching for redmine.mydomain.com. A record at c.ns.joker.com. [207.44.185.10] ...took 119 ms
Searching for mydomain.com. A record at F.ROOT-SERVERS.NET. [192.5.5.241] ...took 17 ms
Searching for mydomain.com. A record at j.gtld-servers.net. [192.48.79.30] ...took 271 ms
Searching for mydomain.com. A record at a.ns.joker.com. [207.44.185.100] ...took 118 ms
Searching for redmine.mydomain.com. A record at mydomain.com. [1XX.1XX.2XX.1XX] ...took 250 ms

A record found: 10.0.1.1

So I think that I'm getting close, but the problem might be that I'm doing something wrong in my DNS configuration at Zentyal, hence I'm asking here at this forum.

Or am I just crazy and I'm doing this completely wrong? I mean, is there conceptual errors in my work? I'm asking because this pure trial-and-error effort.

P.S. (I've masked my ip address and changed my actual domain for 'mydomain' :))

11
Installation and Upgrades / Re: Good setup for Zentyal + Redmine
« on: January 21, 2011, 06:55:17 pm »
In the process of trying to get this done, I've realised that through the howto (apt-get) method I end up with redmine 0.9, but there is a stable 1.1 version. So I've upgraded it following the instructions on this page.
http://www.knowledgement.ie/technical/servers/upgrade-redmine-from-0-9-3-to-1-0-5

(The only problem there is that it forgets to tell you that you must delete or rename .htaccess file in the public directory of redmine)

Also, I've now accomplished to get redmine accessed by redmine.mydomain.com
I´ve added the following line to my apache conf file:
Code: [Select]
PassengerAppRoot /usr/share/redmine-1.1.0
Now, my only problem is that I still cannot access this site from outside my network. I have Zentyal configured with dynamicDNS for Joker.com, my DNS provider.

At Joker.com I've created a NS record for redmine.mydomain.com to look at mydomain.com
I've DNS module up at Zentyal and added mydomain.com to its domain
I've added redmine as hostname for mydomain.com
I've opened the firewall for DNS requests

When I try to open the site from outside network, I get timed out... Any ideas?

12
Installation and Upgrades / Re: Good setup for Zentyal + Redmine
« on: January 21, 2011, 01:53:10 pm »
Hello. Thank you for sharing these informations.
I've succesfully installed redmine in my Zentyal box using these howto.

I have yet one task, that I really can't get done! Let's see if you can help me.

I want redmine to be accessed via: redmine.mydomain.com

I created the virtual host and I've tried a lot of different configurations, but it just doesn't seem to work.
This is how i think it should work:
1) I´ve modified the standard /etc/apache2/sites-availabe/ebox-redmine.mydomain.com to include this:
Code: [Select]
<VirtualHost *:80>
        ServerAdmin webmaster@granserver

        ServerName redmine.mydomain.com
        DocumentRoot /srv/www/redmine.mydomain.com
 
       #this is the only line I've added:
        RailsBaseURI /

        ErrorLog /var/log/apache2/redmine.mydomain.com-error.log
        CustomLog /var/log/apache2/redmine.mydomain.com-access.log combined

        # Custom configuration goes in this file
        Include /etc/apache2/sites-available/user-ebox-redmine.mydomain.com/*
</VirtualHost>

2) I created the symlink for redmine
Code: [Select]
sudo rmdir /srv/www/redmine.mydomain.com
sudo ln -s /usr/share/redmine/public /srv/www/redmine.mydomain.com

3) restarted apache
Code: [Select]
sudo apache2ctl restart
But I've got no luck!! If I make the symlink inside my root folder and the make the RailsBaseURI point to that it works (but then I got something like: redmine.mydomain.com/redmine, which is redundant and not elegant!)

I've also tried a lot of different combinations (changing the document root, the railsbaseuri and so on) but with no success.

I've also tried to insert this code on my config file:
Code: [Select]
       <Directory /srv/www/redmine.mydomain.com>
               Options FollowSymLinks
               AllowOverride None
               Order allow,deny
               Allow from all
       </Directory>

But when I do it, I get a Forbidden error message (You don't have permission to access / on this server.)

Anyone done it? Please help!!

13
Installation and Upgrades / Re: Good setup for Zentyal + Redmine
« on: January 05, 2011, 02:27:11 pm »
Has anyone ever needed to combine this two in a server? Please help!

14
Installation and Upgrades / [SOLVED] Good setup for Zentyal + Redmine
« on: January 04, 2011, 03:28:39 pm »
Hi there.

I'm using Zentyal fresh installed from the iso on my server. I currrently use almost all of its features ( (PDC, file sharing, network infrastructure (gateway, firewall, dns, dhcp for lan), webserver, ftp access and planning to use vpn). I don't use webmail and zarafa.

I intend to install Redmine on the same server. I've tested Redmine on a virutal machine using bitnami stack (http://bitnami.org/stack/redmine). I've read on this forum that installing redmine directly with Zentyal might not be a very simple task.
I think using the virtual machine is a very straightforward and simple implementation for a newbie like me.


My question is: what would be the better setup?
1 - Would it be possible to install redmine on a virtual machine over Zentyal?
2 - Should I start all over again and do a fresh ubuntu server install than install 2 virtual machines: zentyal + redmine?
3 - Should I give up of virtual machines and just install redmine over zentyal?

P.S.: I'm changing the topic to [SOLVED] because I've installed redmine (option 3 above: redmine and zentyal peacefully - so far - living together). I made a kind of a HOW-TO and posted below.

15
Oh man! That's awsome!

I've just lost my ebox 1.4 over a power failure (lost some hardware) so I've opted to make a fresh install of Zentyal 2.0. The setup module of my ebox was not set. I did backed up all my files and wrote down all the configs though. But, still, did I got in trouble!

Just asking: using this setup you propose will I be safe with my PDC? I mean, I manually recreated all the users  from my old ebox, used the same netbios name, ip, etc and still I got errors when logging in the windows hosts... Had to recreate the profiles so that that every got "trusted" again.
(I'm glad we are a small engineering office and only have 9 users.)

I will now configure the backup module and I think I might follow your suggestion. I will wait if there are more comments to enrich this conversation.


Pages: [1] 2