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.
61
Installation and Upgrades / Re: Adding shell users / passwd err!
« on: September 08, 2010, 11:33:55 am »
I first detected this because the Ubuntu default user I made when installing native Ubuntu was the one I wanted to be my zentyal user. so I did userdel that user to add it as an zentyal user in the Dashboard/Users
Because this user was adm and my dashboard user I wanted to re-create another "generic" zentyal dashboard user and add him to the adm group so I can login with that one to the dashboard.
Now I cant add the user nor can I change his password and to make it worse i do not have another user in adm group that can access the zentyal dashboard.
I basically logged myself out!
Because this user was adm and my dashboard user I wanted to re-create another "generic" zentyal dashboard user and add him to the adm group so I can login with that one to the dashboard.
Now I cant add the user nor can I change his password and to make it worse i do not have another user in adm group that can access the zentyal dashboard.
I basically logged myself out!
62
Installation and Upgrades / Re: Adding shell users / passwd err!
« on: September 08, 2010, 11:28:35 am »We need a bit more context. Is this a fresh install using the Zentyal CD? Or have you installed it on top of an already configured Ubuntu Server?I have like 24 Ubuntu servers all installed same way none have this issue, the e-box/zentyal install modifies the pam authentication BUT dont leave the pam passwd change intact.
I installed in order from the Published Ubuntu CD from Ubuntu website the Ubuntu and only added open ssh Server as application therfore it could be seen as an basic install.
then I ran aptitude update after adding the corect deb enty in the sources.list and aptitude safe-upgrade after setting the hostname in hosts and /etc/hostname I rebooted and did an aptitude install ebox-all.
I kept it updated via aptitude safe-upgrade even this morning as I still want to make sure it is stable before comitting into production.
63
Installation and Upgrades / Adding shell users / passwd err!
« on: September 08, 2010, 10:16:33 am »
I cant add users and add passwords for them in a shell after installing Zentyal
I open a putty session to root and try to add some users, I get this error
even changing passwd's result in
I need to know how to fix this because I want to install some other software on the server that require login.
I open a putty session to root and try to add some users, I get this error
Code: [Select]
root@chaos:~# adduser test
Adding user `test' ...
Adding new group `test' (1001) ...
Adding new user `test' (1001) with group `test' ...
Creating home directory `/home/test' ...
Copying files from `/etc/skel' ...
passwd: Authentication token manipulation error
passwd: password unchanged
Try again? [y/N]
even changing passwd's result in
Code: [Select]
passwd: Authentication token manipulation error
passwd: password unchanged
I need to know how to fix this because I want to install some other software on the server that require login.
64
Installation and Upgrades / Re: ubuntu pppoeconf
« on: September 02, 2010, 12:55:44 am »
Yes I do However Zentyal remove the /etc/network/interfaces entries that make it work!
the route shows
The entries in the /etc/network/interfaces that make it work is:
Code: [Select]
root@zentyal:~# ifconfig |grep Link
eth0 Link encap:Ethernet HWaddr 00:1a:92:1f:99:a6
lo Link encap:Local Loopback
ppp0 Link encap:Point-to-Point Protocol
the route shows
Code: [Select]
root@zeus:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
44.44.44.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.11.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
The entries in the /etc/network/interfaces that make it work is:
Code: [Select]
auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
provider dsl-provider
65
Installation and Upgrades / HowTo Complete Remove ebox/zentyal
« on: September 01, 2010, 07:47:17 pm »
To install is easy as
During the beta phase my server got all messed up but rather than reformatting "Windows standard routine" and re-installing I'd like to use the proper Ubuntu way by using aptitude remove/purge to get rid if the whole installation giving me a clear slate.
If you do not purge the setup files for eg. slapd then well the new install dont re-create them and ofc some "misconfigured config debris" is all over the place.
Can someone point me to the complete tree of dependent's installed?
I do realise this list will end in linux itself, however it be nice to have an list that include only the packages that is configured by the zentyal Dashboard or the Installation routine. The config files is probable the parts that will hinder such an attempted clean install.
Code: [Select]
aptitude install ebox-all
but to "Purge" is NOT because the installation installs a lot of dependants and save configuration all over the place, Making it Impossible to completely remove so you can start over.During the beta phase my server got all messed up but rather than reformatting "Windows standard routine" and re-installing I'd like to use the proper Ubuntu way by using aptitude remove/purge to get rid if the whole installation giving me a clear slate.
If you do not purge the setup files for eg. slapd then well the new install dont re-create them and ofc some "misconfigured config debris" is all over the place.
Can someone point me to the complete tree of dependent's installed?
I do realise this list will end in linux itself, however it be nice to have an list that include only the packages that is configured by the zentyal Dashboard or the Installation routine. The config files is probable the parts that will hinder such an attempted clean install.
66
Installation and Upgrades / Reset Administrator Password for Dashboard
« on: August 27, 2010, 08:40:00 am »
In this morning's Update "aptitude safe-upgrade" updated some ebox/Zentyal components.
I do this daily till Zentyal become released in a few days.
The problem now is that my Dashboard Admin password is NOT accepted, I guess the LDAP was messed up.
How can I fix this and reset the Dashboard password with the command-line?
https://zentyal.domain.tld/LOGIN
Thanx
I do this daily till Zentyal become released in a few days.
The problem now is that my Dashboard Admin password is NOT accepted, I guess the LDAP was messed up.
How can I fix this and reset the Dashboard password with the command-line?
https://zentyal.domain.tld/LOGIN
Thanx
67
Installation and Upgrades / Re: locked out of ebox
« on: August 27, 2010, 08:30:08 am »
Happened to me also I changed the Gateway, Locked me out cant even see the administratoipn dashboard nor can I log into the box.
The firewall causes the problem and if you clear the IPTables then you can log in, however after re-aplying config or re-boot you back to the start!
To clear the firewall use this
The firewall causes the problem and if you clear the IPTables then you can log in, however after re-aplying config or re-boot you back to the start!
To clear the firewall use this
Code: [Select]
iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
68
Installation and Upgrades / Re: ubuntu pppoeconf
« on: August 26, 2010, 07:00:09 am »A couple of questions:
Did you try to set this up on a plain Ubuntu Server 10.04 with no VM's and no Zentyal?
Have you tried to disable networking in Zentyal and then set up pppoe manually?
Yes I have about 19 servers doing this properly, It work strait away.
I was hoping that Zentyal will use "user" configurations or at worse be able to connect witj technology like pppoe other ppp and even 3g devices due to the fact that they have sorted the failover.
69
Installation and Upgrades / [solved] slapd broken
« on: August 25, 2010, 10:38:59 pm »Code: [Select]
Aug 25 22:37:25 chaos slapd[22836]: <= bdb_equality_candidates: (cn) not indexed
Aug 25 22:37:25 chaos slapd[22836]: connection_read(22): no connection!
Is there an Solution for this.
70
Installation and Upgrades / Gateway change Damage Firewall
« on: August 25, 2010, 10:15:09 pm »
I run :
root@chaos:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
Core version 1.5.13 - Zentyal
I have changed my gateway to 192.168.11.3 from 192.168.11.1 as I have 2x DSL lines and routers - since then the firewall block me even from the dashboard and ssh login. It seems that changing gateway under network still has bugs.
I did stop the iptables from the console to gain access by means of an script i have and then I can access it. Even if I try and restore the gateway to
192.168.11.1 - well its now all messed up!
I have also changed the dns ofc because the den is ISP specific.
Thanx
JPB
root@chaos:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
Core version 1.5.13 - Zentyal
I have changed my gateway to 192.168.11.3 from 192.168.11.1 as I have 2x DSL lines and routers - since then the firewall block me even from the dashboard and ssh login. It seems that changing gateway under network still has bugs.
I did stop the iptables from the console to gain access by means of an script i have and then I can access it. Even if I try and restore the gateway to
192.168.11.1 - well its now all messed up!
Code: [Select]
root@chaos:~# cat /root/fw.stop
Code: [Select]
#!/bin/sh
echo "Stopping firewall and allowing everyone..."
iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
After clearing out the iptables I can acdess the server via ssh and via http but the problems still endure. Is there any help to get this gateway set to the 192.168.11.3 and also get the Firewall to change accordingly.I have also changed the dns ofc because the den is ISP specific.
Thanx
JPB
71
Installation and Upgrades / Re: ubuntu pppoeconf
« on: August 24, 2010, 11:59:57 pm »Hi again,root@chaos:~# lsb_release -a
We need one more thing from you: The version of eBox/Zentyal you are using.
As the different version uses very different versions of Ubuntu, the solution might depend on what you are running.
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
Core version 1.5.13 - Zentyal
72
Installation and Upgrades / Re: ubuntu pppoeconf
« on: August 24, 2010, 11:18:15 pm »Hello,The Package: pppoeconf (1.19ubuntu1) http://packages.ubuntu.com/lucid/pppoeconf
This is a community forum and we rely on the information you give to be able to help you. So the more info you can provide, the better is the chance of getting help.
Please take a look at the post that I have linked to in my signature for some tips on what information to include.
creates pppoe connections via an Bridged router like an Bridged DSL router. This will enable an direct IP number and all open ports bypassing all NAT ant other functionality of the Gateway - possibly NAT 'ed routing.
The link it create looks like this
Code: [Select]
ppp0 Link encap:Point-to-Point Protocol
inet addr:41.222.122.222 P-t-P:41.222.122.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:1350943 errors:0 dropped:0 overruns:0 frame:0
TX packets:1573496 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:744630204 (744.6 MB) TX bytes:1203528565 (1.2 GB)
It can be started automatically by the lines appending to your /etc/network/interfaces config file
Code: [Select]
...
auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
provider dsl-provider
...
All other functionality and configuration is found in /etc/ppp specifically under /etc/ppp/peers is the file called /etc/ppp/peers/dsl-provider that contain the specific settings for the rp-pppoe.so plugin.
to install require only the command
Code: [Select]
sudo aptitude pppoeconf
followed by Code: [Select]
sudo pppoeconf
In the end of this all ebox simply delete the functionality from the /etc/network/interfaces file and provide no alternative to do the same via the interface or otherwise! If you can provide the solution of HOW to create an DSL dialup / other ppp connections using ebox I will be thankfull because that is an Awesome way to create an failover via 3G device and or dsl over pppoe when the normal internet connection fails. Other reasons also exist.P.S. A good understanding require half a word
73
Installation and Upgrades / Re: Custom firewall rules
« on: August 18, 2010, 07:33:40 pm »you have to create a service called rdp with these ports (5000-5030) enabled and then add a packet filter in the firewallOk I made the service and added it to Packet Filter BUT I cant see it.
VBoxManage showvminfo "vm-name" show me the port is active.
Code: [Select]
VRDP: enabled (Address 0.0.0.0, Ports 5011, MultiConn: off, ReuseSingleConn: off, Authentication type: null)
VRDP port: 5011
iptables -L -v show me the iptables - same as ssh witch work BUT
Code: [Select]
0 0 ACCEPT tcp -- any any anywhere anywhere tcp spts:5000:5030 dpts:5000:5030 state NEW
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:ssh state NEW
It still dont work!
nmap -sT localhost Show NOTHING
Code: [Select]
root@chaos:~# nmap -sT localhost
Starting Nmap 5.00 ( http://nmap.org ) at 2010-08-18 19:32 SAST
Warning: Hostname localhost resolves to 2 IPs. Using 127.0.0.1.
Interesting ports on localhost (127.0.0.1):
Not shown: 985 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
80/tcp open http
139/tcp open netbios-ssn
389/tcp open ldap
443/tcp open https
445/tcp open microsoft-ds
636/tcp open ldapssl
3306/tcp open mysql
5000/tcp open upnp
5001/tcp open commplex-link
5432/tcp open postgresql
8888/tcp open sun-answerbook
Nmap done: 1 IP address (1 host up) scanned in 0.07 seconds
Is there anyone with any Idea what I do wrong?
74
Installation and Upgrades / Custom firewall rules
« on: August 17, 2010, 11:21:40 am »
I have a HUGE box I use for the ebox and have also some VirtualBox VM's on it
I seem to be unable to open the custom ports [5000-5030] for my rdp sessions!
basically i need to add the filter
Can anyone help?
Core version 1.5.11
I seem to be unable to open the custom ports [5000-5030] for my rdp sessions!
basically i need to add the filter
Code: [Select]
-A INPUT -p tcp -m tcp --dport 5000:5010 -j ACCEPT
Can anyone help?
Core version 1.5.11
75
Installation and Upgrades / ubuntu pppoeconf [SOLVED]
« on: August 17, 2010, 02:06:57 am »
I pre-installed my ebox (well it later got ebox) with some VirtualBox VM's, pppoeconf and some private DDNS sytem working with ssh to some central server I have.
My problem is that ebox do not recognise my pppoe connection!
I will another posting to see how i can integrate my ddns system
Thanx
My problem is that ebox do not recognise my pppoe connection!
I will another posting to see how i can integrate my ddns system
Thanx