Koozali.org: home of the SME Server

sail beta 3.2

Offline compsos

  • *
  • 472
  • +0/-0
Re: sail beta 3.2
« Reply #15 on: May 02, 2012, 02:00:06 AM »
Hi Jeff
Ok will download the iso and install in VM. To date both machines have been SME installed not VMs.
Do you think that may make a difference?
As I found 3.2 at the download site rather than via the forums I did not realise it was betta so I have a copy running in the wild and on my own system now to try and understand the issues.
Would falling back to 3.1 have many DB issues?
Cheers.
Regards

Gordon............

Offline compsos

  • *
  • 472
  • +0/-0
Re: sail beta 3.2
« Reply #16 on: May 02, 2012, 04:21:47 AM »
Hi Jeff
The VM works so looking at the ps output this is different
Quote
1191 ?        Ss     0:00  \_ runsv httpd-srk
 3154 ?        Ss     0:00  |   \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
 3159 ?        S      0:00  |       \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
 3160 ?        S      0:00  |       \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
 3161 ?        S      0:00  |       \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
 3162 ?        S      0:00  |       \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
 3163 ?        S      0:00  |       \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
 3164 ?        S      0:00  |       \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
 3165 ?        S      0:00  |       \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
 3166 ?        S      0:00  |       \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
 3167 ?        S      0:00  |       \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
 3168 ?        S      0:00  |       \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
 3992 ?        S      0:00  |       \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
 3993 ?        S      0:00  |       \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
 3994 ?        S      0:00  |       \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
 3995 ?        S      0:00  |       \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
 3996 ?        S      0:00  |       \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
 3997 ?        S      0:00  |       \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
 3998 ?        S      0:00  |       \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
Could the rpm installation be having a problem due to the extra software in the iso but not in a normal SME configuration be the issue?
(ie) ossec etc.
On my system httpd-srk start command works with no complaints but the child processes above are not spawned. What I feel we need is some way of getting http-srk to log output and then we may have some clues.
Your thoughts.

Also on one of the systems dhcpd had an error. the dhcpd.conf file had an entry like
Quote
    option tftp-server-name     192.168.74.1;
It complained about it not being a string and stopped at the 1st period "192." Now my system has a string value in "" and works. The 25TFTPServerName fragment has     $OUT .= "    option tftp-server-name     $localip;\n"; which should return an ip address. The VM is not configured to run dhcpd.  I did try $domainname but it still crashed the service. Putting the domain name in manually allowed the service to run.
« Last Edit: May 02, 2012, 04:43:00 AM by compsos »
Regards

Gordon............

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: sail beta 3.2
« Reply #17 on: May 02, 2012, 08:05:56 AM »
Hi Gordon

First question re falling back to 3.1.  There should be no database issues. 
re the tftp gen - I have put a fix into the fragment

I will put up a vanilla SME this morning and do a clean install onto that to see if I can replicate the issue you saw.

Thanks again

S

Offline compsos

  • *
  • 472
  • +0/-0
Re: sail beta 3.2
« Reply #18 on: May 02, 2012, 08:13:44 AM »
Look forward to compare results. We have tried it on 2 systems one new and unused with a few mods like zarafa, z-push , user-panels and vacation, the other system much older and been through many upgrades etc. But the issues look similar on both systems. I may even been finding other non related issues to the reported problem (ie) dhcp
Regards

Gordon............

Offline fpausp

  • *
  • 728
  • +0/-0
Re: sail beta 3.2
« Reply #19 on: May 02, 2012, 04:15:30 PM »
Viribus unitis

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: sail beta 3.2
« Reply #20 on: May 02, 2012, 04:50:34 PM »
yes - we are updating the beta - it will hopefully be available again later today or tomorrow.

Kind Regards

S

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: sail beta 3.2
« Reply #21 on: May 02, 2012, 09:39:45 PM »
OK - the beta iso is available here

http://www.sailpbx.com/iso/SME8b7/3.2-beta

It has fixes in it for the dhcp problem Gordon reported, together with a few other tweaks.  No big changes.

I've loaded it a few times to our VM and it looks pretty stable.  I did a bare metal install with an earlier version and it also went in OK.

Make sure you answer the questions to the automatic ossec install at the end of the initial install - just before SME gives you a login at the console.  There is a guide in the wiki to the ossec installer here

http://www.sailpbx.com/mediawiki/index.php/Iso_install_SME_Server_8#OSSEC

Kind Regards

S
« Last Edit: May 02, 2012, 09:47:49 PM by SARK devs »

Offline compsos

  • *
  • 472
  • +0/-0
Re: sail beta 3.2
« Reply #22 on: May 02, 2012, 11:32:53 PM »
Hi Jeff
The rpm updates are still a WIP?
Regards

Gordon............

Offline compsos

  • *
  • 472
  • +0/-0
Re: sail beta 3.2
« Reply #23 on: May 03, 2012, 01:05:20 AM »
    A couple of notes on the iso file used on a vbox 4.1.12 vm.
    • The iso file is unable to load ahci driver for sata defined disk. IDE is fine
    • If the VM was already built and then updated to kernel 2.6.18-308.4.1.el5 then no changes occur to the VM by running upgrade from the iso file. Had to make another VM to see the change in the dhcpd.conf file
       
  • Suggest the template 25TFTPServername be
Code: [Select]
$OUT .= "    option tftp-server-name     \"$domainname\";\n";
  • The tftp Server failed on boot so template for the /etc/init.d/tftpd file the line to add --ipv4
Code: [Select]
daemon /usr/sbin/in.tftpd -l --ipv4 -v -v -p -s /tftpbootCheers
« Last Edit: May 03, 2012, 01:19:21 AM by compsos »
Regards

Gordon............

Offline compsos

  • *
  • 472
  • +0/-0
Re: sail beta 3.2
« Reply #24 on: May 03, 2012, 02:06:44 AM »
In the /opt/sark/httpd/httpd.conf file the Servername is defined as
Quote
ServerName www.aelintra.local
and the virtualhost
Quote
#<VirtualHost 0.0.0.0:81>
#
#    ServerName aelintra.local
#    ServerAlias ftp.aelintra.local fxos.aelintra.local mail.aelintra.local proxy.aelintra.local srkfxo.aelintra.local wpad.aelintra.local www.aelintra.local

Quote
<VirtualHost 0.0.0.0:8443>

    ServerName aelintra.local
#    ServerAlias ftp.aelintra.local fxos.aelintra.local mail.aelintra.local proxy.aelintra.local srkfxo.aelintra.local wpad.aelintra.local www.aelintra.local


The file appears to be a copy of the /etc/dhcpd/conf/dhcpd.conf with the main systems parameters remmed out. But by the entries above some have not come across.
Regards

Gordon............

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: sail beta 3.2
« Reply #25 on: May 03, 2012, 10:28:57 AM »
HI Gordon

Quote
The rpm updates are still a WIP?
yes. I want to get the iso away clean first
Quote
Suggest the template 25TFTPServername be
$OUT .= "    option tftp-server-name     \"$domainname\";\n";
No; we changed it from this to use an IP address; the change had a bug in it but the intention was good.  $domain is not guaranteed safe where an IP should be.  This has been fixed in smesailenv-3.2.0-14

Quote
The tftp Server failed on boot so template for the /etc/init.d/tftpd file the line to add --ipv4
daemon /usr/sbin/in.tftpd -l --ipv4 -v -v -p -s /tftpboot
I proposed a fix for this in http://forums.contribs.org/index.php/topic,48357.0.html.  However, I think your fix is better than mine because it doesn't demand a reboot.  I've put it into smesailenv-3.2.0-14
Quote
The file appears to be a copy of the /etc/dhcpd/conf/dhcpd.conf with the main systems parameters remmed out. But by the entries above some have not come across.
I'm guessing you mean httpd.conf (since the references are to that file). The file is just a butchered copy of the one smeserver generates (they're all butchered from somewhere :-) ).  We simply copied it over to get a fast start on the server. I don't think we need to template it because it is just doing a single task. I've removed the rem'd out stuff and cleaned it up in -14 so it looks a bit more presentable.

Best

S

Offline compsos

  • *
  • 472
  • +0/-0
Re: sail beta 3.2
« Reply #26 on: May 03, 2012, 10:53:04 PM »
Hi Jeff
Quote
The file is just a butchered copy of the one smeserver generates (they're all butchered from somewhere :-) )
Understand but my copy had
Code: [Select]
ServerName aelintra.local as active lines. Which I would think throws the client off. See the lines from the httpd.conf file that are not remed out.
I am out of the office till next week so will not get a chance to test till then.
Cheers.
Regards

Gordon............

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: sail beta 3.2
« Reply #27 on: May 04, 2012, 09:12:15 PM »
I'm back!
I have installed Asterisk 18...I can see it running and reconnect to it with "-r -vvvv"
But I have no web interface...I can see 8443 in masq rules, but not in httpd conf!

 Info:
[root@guepardo etc]# rpm -qa|grep sail
smesailenv-3.2.0-16
sail-3.2.0-11

Hum ... service do not start:
Code: [Select]
[root@guepardo httpd]# ls -la /var/log/sark
total 20
drwxr-xr-x  2 apache apache  4096 May  3 22:03 .
drwxr-xr-x 60 root   root   16384 May  4 04:22 ..
[root@guepardo httpd]# /etc/init.d/httpd-srk  status
down: /service/httpd-srk: 1s, want up
[root@guepardo httpd]# tail -f /var/log/sark/error_log
tail: cannot open `/var/log/sark/error_log' for reading: No such file or directory
tail: no files remaining
[root@guepardo httpd]#
« Last Edit: May 04, 2012, 09:23:45 PM by jader »
...

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: sail beta 3.2
« Reply #28 on: May 04, 2012, 11:12:15 PM »
nice to have you back

what is the output from

Code: [Select]
ls -l /var/log

kind Regards

S

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: sail beta 3.2
« Reply #29 on: May 04, 2012, 11:39:50 PM »
It's a LOOONG list...
Code: [Select]
[root@guepardo ~]# ls -l /var/log/|wc -l
292
I can see this:
Code: [Select]
/var/log/sark:
total 0

Should I search for something specific ?
...