1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. If you had a PIAF Forum account in the vBulletin days, log in with your old credentials. Otherwise, sign up again and we'll get you back in business as soon as we can.
  3. A serious FreePBX vulnerability has been reported. Update your Framework Module immediately. Click here for details.

1.4 Silver Update-Source (111511) sstub syntax error

Discussion in 'Bug Reporting and Fixes' started by amplisys, Oct 29, 2011.

  1. amplisys New Member

    I have a problem running update-source on a 1.4 silver install. I get to the part where it either reads or downloads the digiumsource.conf file, but then two errors creep up and it immediately skips any Asterisk compilation.

    - Source CD is 1.7.5.7.1, Silver Install
    - First install from CD works and compiles fine
    - I then run: update-programs, update-fixes and update-sources
    - update-source is 2.0.5 released on 111511

    I have replicated this on 2 different servers (Eee Box & Dell 1950) and a couple times over a VMWare install for my sanity check.

    Here's from the screen output when running update-source:

    Code:
    2011-10-29 11:44:39 (238 MB/s) - `digiumsource.conf' saved [1450/1450]
    
    Download from pbxinaflash.com/1755 successful!
     
    Added update-source info to registry
    /usr/local/sbin/sstub: -c: line 1202: syntax error near unexpected token `else'
    /usr/local/sbin/sstub: -c: line 1202: `else'
    Checking to see if patch for IP6 is required
    IP6 patch not required!
    Mandatory security upgrade

    Logs don't show much more:

    Code:
    lrwxrwxrwx  1 root root    40 Oct 29 11:44 linux -> /usr/src/kernels/2.6.18-274.7.1.el5-i686
    lrwxrwxrwx  1 root root    40 Oct 29 11:44 linux26 -> /usr/src/kernels/2.6.18-274.7.1.el5-i686
    lrwxrwxrwx  1 root root    40 Oct 29 11:44 linux-2.6 -> /usr/src/kernels/2.6.18-274.7.1.el5-i686
    drwxr-xr-x  7 root root  4096 Oct 28 15:59 piafxtras
    drwxr-xr-x  7 root root  4096 Oct  3 17:14 redhat
    drwxr-xr-x  7 root root  4096 Oct 28 17:21 sox
    Make Symbolic Links End
    =======================================================
    Checking for any partially completed downloads and deleting them
    Attempting to download digiumsource.conf from Mirror #1
    Download from pbxinaflash.com/1755 successful!
    Added update-source info to registry
    Checking to see if patch for IP6 is required
    IP6 patch not required!
    Mandatory security upgrade
    Now adding some php modules
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * Webmin: download.webmin.com
     * base: mirror.science.uottawa.ca
     * extras: mirror.science.uottawa.ca
     * updates: mirror.science.uottawa.ca
    Excluding Packages from CentOS-5 - Addons
    Finished
    

    Why do I recompile again ? For me it's a double check that everything went well and will (likely) in the future.

    On the same hardware, a purple installed update-source works perfectly. Im just not ready to support Purple yet for many reasons. I first noticed this problem about a month ago on a silver update source.

    Thoughts ? Anything else I can provide please let me know. I still have the VM image here.

Share This Page