The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need help installing siteZen on new server

Discussion in 'General Discussion' started by lbeachmike, Apr 23, 2012.

  1. lbeachmike

    lbeachmike Well-Known Member

    Joined:
    Dec 27, 2001
    Messages:
    313
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Long Beach, NY
    cPanel Access Level:
    Root Administrator
    I have an owned siteZen license and downloaded the final version before they shut down.

    I am now trying to install siteZen on a new server and running into some errors I am not sure how to get past. This has worked properly on two other servers. The only difference I can find is that this server is running php 5.10.1, whereas the others run 5.8.8 - I'm not sure if that is the cause of the issue.

    When I execute ./install_master, I get through some of the pre-checks and then get the following errors -

    Code:
    checking for required unix commands...
    ps is /bin/ps
    install is /usr/bin/install
    uname is /bin/uname
    ldd is /usr/bin/ldd
    sed is /bin/sed
    grep is hashed (/bin/grep)
    awk is /bin/awk
    /bin/hostname is /bin/hostname
    
    Getting system information, if any of these tests fails it is likely
    this script and the product will not run correctly.  We recommend
    fixing all problems reported here before running the product.
    
    checking the operating system and architecture... found Linux using architecture x86_64, distribution is redhat on host xxx.yyy.com
    querying the apache server /usr/local/apache/bin/httpd for information...
    checking if server supports suexec ...
    not enabled
    found apache configuration file /usr/local/apache/conf/httpd.conf
    checking if /usr/local/apache/conf/httpd.conf is available... ok
    check for MySQL Server... ok
    logging variables
    logged variables
    
    Can't load '/usr/local/sitezen/install/sitezen-2.61.34/mysql.so' for module DBD::mysql: libz.so.1: cannot open shared object file: No such file or directory at PERL2EXE_STORAGE/DynaLoader.pm line 230.
     at PERL2EXE_STORAGE/utl_setup.pm line 16
    Compilation failed in require at PERL2EXE_STORAGE/utl_setup.pm line 16.
    BEGIN failed--compilation aborted at PERL2EXE_STORAGE/utl_setup.pm line 16.
    Compilation failed in require at /usr/local/sitezen/install/sitezen-2.61.34/zenconfig line 32.
    BEGIN failed--compilation aborted at /usr/local/sitezen/install/sitezen-2.61.34/zenconfig line 32.
    
    Install is NOT COMPLETE; siteZen is NOT ready for operation.
    You must run install completely and successfully before
    operating siteZen.
    Can anybody offer any help? Thanks!
     
  2. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    Sadly, I have the same problem. Since SiteZen is Perl based, I doubt the difference in PHP versions is the cause. Let me know if you figure out the issue, and I will do the same.

    - Scott
     
  3. magixman

    magixman Member

    Joined:
    Sep 28, 2002
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    We got this working on Scott's server by copying cPanel's 32 bit libz.so.1 into /usr/lib

    So first confirm that libz.so.1 is indeed missing with ....

    ldd /usr/local/sitezen/install/sitezen-2.61.34/mysql.so

    it should report something like


    linux-gate.so.1 => (0x00c56000)
    libz.so.1 => not found
    libcrypt.so.1 => /lib/libcrypt.so.1 (0x00d42000)
    libnsl.so.1 => /lib/libnsl.so.1 (0x00843000)
    libm.so.6 => /lib/libm.so.6 (0x003bf000)
    libc.so.6 => /lib/libc.so.6 (0x0057d000)
    libnss_files.so.2 => /lib/libnss_files.so.2 (0x00462000)
    libnss_dns.so.2 => /lib/libnss_dns.so.2 (0x00863000)
    libresolv.so.2 => /lib/libresolv.so.2 (0x00da1000)
    libfreebl3.so => /usr/lib/libfreebl3.so (0x009bc000)
    /lib/ld-linux.so.2 (0x00442000)
    libdl.so.2 => /lib/libdl.so.2 (0x0021b000)

    And ls /usr/lib/libz.so.1 (which should report that it is not found)

    Then you can copy /usr/local/cpanel/lib/libz.so.1 -> /usr/lib

    I am sure that the proper way would be to install the 32 bit version of libz but this seems to work unless we hear further from Scott.
     
  4. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    Thanks a million, Sam... indeed, it all seems to be working fine. I noticed everything else in /usr/lib had 755 permissions, so I also did this:

    chmod 755 /usr/lib/libz.so.1

    So far, so good!

    - Scott
     
    #4 sneader, May 2, 2012
    Last edited: May 2, 2012
  5. lbeachmike

    lbeachmike Well-Known Member

    Joined:
    Dec 27, 2001
    Messages:
    313
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Long Beach, NY
    cPanel Access Level:
    Root Administrator
    Hey guys -

    I'm happy to report that this resolved my issue and I was able to successfully install sitezen on my new server. I can't express how appreciative I am for this help, after spending a lot of time trying to figure it out unsuccessfully.

    Many thanks!

    Mike
     
  6. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    Mike, one other problem I ran into was some errors being thrown up when someone submitted a form. Turns out that the script uses a deprecated function (ereg). Here is a sample of the error that users were getting after attempting to submit a form:

    Code:
    Deprecated: Function ereg_replace() is deprecated in /home/someuser/public_html/_mgxroot/zenfmail_1149740114_10779_14429.php on line 21
    
    Deprecated: Function ereg_replace() is deprecated in /home/someuser/public_html/_mgxroot/zenfmail_1149740114_10779_14429.php on line 23
    
    Deprecated: Function ereg_replace() is deprecated in /home/someuser/public_html/_mgxroot/zenfmail_1149740114_10779_14429.php on line 25
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/someuser/public_html/_mgxroot/zenfmail_1149740114_10779_14429.php:21) in /home/someuser/public_html/_mgxroot/zenfmail_1149740114_10779_14429.php on line 37
    The "easy" solution was to change php.ini on the server:

    It was:
    error_reporting = E_ALL & ~E_NOTICE

    Changed it to:
    error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED

    Your mileage may vary... but this solved the errors from appearing and the form works, and the user is properly directed to the "thank you" page. Of course this change affects all customers on the server (unless they are overriding with their own php.ini -- if you allow them to) but I think this is fairly standard to suppress these errors from displaying.

    - Scott
     
  7. lbeachmike

    lbeachmike Well-Known Member

    Joined:
    Dec 27, 2001
    Messages:
    313
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Long Beach, NY
    cPanel Access Level:
    Root Administrator
    Thanks a lot for that tip Scott. I'm not sure how much milage we will get out of that change, because I'm not sure if future php updates will result in different behavior than the simple deprecated error - but thanks - I'll definitely seek to suppress those errors.
     
  8. lbeachmike

    lbeachmike Well-Known Member

    Joined:
    Dec 27, 2001
    Messages:
    313
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Long Beach, NY
    cPanel Access Level:
    Root Administrator
    Incidentally, do you happen to have any insight on how to add a link from cpanel? The docs are not clear to me on this point, and I recall this happening automatically on my other server.

    Thanks.
     
  9. lbeachmike

    lbeachmike Well-Known Member

    Joined:
    Dec 27, 2001
    Messages:
    313
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Long Beach, NY
    cPanel Access Level:
    Root Administrator
    Does anybody know how to resolve this issue - ?

    When I go to a template and do "Create Site", I get the following error -

    "Cannot connect to to template database - please contact your administrator" - this seems to suggest that one of the database passwords must not be correct, but I'm not sure which one.

    Thanks.
     
  10. lbeachmike

    lbeachmike Well-Known Member

    Joined:
    Dec 27, 2001
    Messages:
    313
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Long Beach, NY
    cPanel Access Level:
    Root Administrator
    I resolved this by simply clicking the "Schedule Update" button in the admin interface. I'm not sure what exactly this would be doing at this point since I had thought that SiteZen's server's would no longer be accessible.
     
  11. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    I have another small problem with installing siteZen on a new server. When a customer clicks on the link "Videos" at the top of the page, the list of videos do not appear. Looking at the code, it is trying to fetch "http://www.sitemagix.com/Video/genvideo.js " and it fails. Oddly, this problem does not occur on my older servers, so it must be a problem with the new installer? Any thoughts?

    UPDATE: I went out on a limb and did what lbeachmike mentioned... I scheduled an update. It solved the video problem! Prior to doing the update, the version numbers for both the videos and the templates were missing. After the update, they are now filled in, and users can see the list of help videos. I won't pretend to understand how this worked, but it did!

    - Scott
     
    #11 sneader, May 21, 2012
    Last edited: May 21, 2012
Loading...

Share This Page