[SOLVED] Linux Install problems

Hi there

I’m just testing it and I noticed a few problems with a linux install.

  1. during installation there are some errors about certain stuff not to be found

root@ubuntu:~# ./scriptcase_linux_installer_x86_64_en_us_v6.0.031.sh
Creating directory scriptcase_linux_installer_x86_64_en_us_v6.0.031
Verifying archive integrity… All good.
Uncompressing Scriptcase 6.0.031 - Zend Server CE 5.1.0 x86_64…

Welcome to ScriptCase 6 - Zend Server CE 5.1.0 x86_64 (64bits) installation script!

Please specify an installation path [/opt/nm/v6]:

Extracting files to /opt/nm/v6/zend…
Extracting Scriptcase to /opt/nm/v6/www/scriptcase…
/opt/nm/v6/zend/bin/php: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
Starting ScriptCase 6 - Zend Server CE 5.1.0 x86_64 (64bits) 5.1.0 …

httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
/opt/nm/v6/zend/bin/apachectl start [OK]
/opt/nm/v6/zend/bin/lighttpdctl.sh: line 39: /opt/nm/v6/zend/gui/lighttpd/bin/spawn-fcgi: No such file or directory
chmod: cannot access `/opt/nm/v6/zend/gui/lighttpd/tmp/php-fastcgi.socket’: No such file or directory
Starting ScriptCase 6 - Zend Server CE 5.1.0 x86_64 (64bits) GUI [Lighttpd] [OK]
[ 24.08.2012 07:37:54 SYSTEM] watchdog for lighttpd is not running.
[ 24.08.2012 07:37:54 SYSTEM] lighttpd is not running.

ScriptCase 6 - Zend Server CE 5.1.0 x86_64 (64bits) started…
========================== INSTALLATION SUMMARY ===================================================

ScriptCase 6 - Zend Server CE 5.1.0 x86_64 (64bits) was installed to /opt/nm/v6/zend
The End User License Agreement [EULA] can be viewed under /opt/nm/v6/zend/doc/EULA.txt
See the README in /opt/nm/v6/zend/doc/README more information

Apache is up and running on port 86!
To control ScriptCase 6 - Zend Server CE 5.1.0 x86_64 (64bits), please use /opt/nm/v6/zend/bin/ze
To enable the Java bridge, please run /opt/nm/v6/zend/bin/setup_jb.sh
To open scriptcase access http://127.0.0.1:86/scriptcase

=============================== ENJOY ScriptCase 6 - Zend Server CE 5.1.0 x86_64 (64bits) ============
root@ubuntu:~#

  1. I noticed that SC on Linux is much less responsive than on Windows. I tried with Debian/Ubuntu server and a WinXP (both as guest VMs on my computer since I’m only testing this far).

  2. When using a linux host for installing SC then there are problems with connecting to MySQL. It keeps telling that /tmp/mysql.sock is . not available (or mysqld.sock). Also, when I then changed my my.cnf to pint the socks to the desired /tmp folder it sort of worked. I didn’t complain anymore about the socket but there was a new problem.

Re: Linux Install problems

Hello,

Were you able to install and run ScriptCase successfully?

  1. From the errors I could tell that you had a bit of trouble due to directory permissions (chmod and chown).

httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName: Perhaps you will have to use 127.0.1.1 instead of localhost (which can be fixed).

  1. I guess that will depend on your hardware. I find SC to be faster running on unix environments.

  2. That might have be caused due to the issue on the fully qualified domain name. You also said that there is a new problem, is it still happening?

ps: I’m reporting those issues to our bugs team. They will run a few tests to see what might be causing those installation issues.

regards,
Bernhard Bernsmann

Re: Linux Install problems

[quote author=Bernhard link=topic=6739.msg17445#msg17445 date=1346164616]
Were you able to install and run ScriptCase successfully? [/quote]

It runs but very slowly compared to the test install on the WinXP machine. For the linux test install I just got a debian stable and manually added mysql. Nothing else.

[quote author=Bernhard link=topic=6739.msg17445#msg17445 date=1346164616]

  1. From the errors I could tell that you had a bit of trouble due to directory permissions (chmod and chown). [/quote]
    Actually the first errors said that it can’t find certain files (and because of that it can’t chmod them). E.g.

/opt/nm/v6/zend/bin/lighttpdctl.sh: line 39: /opt/nm/v6/zend/gui/lighttpd/bin/spawn-fcgi: No such file or directory

[quote author=Bernhard link=topic=6739.msg17445#msg17445 date=1346164616]
httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName: Perhaps you will have to use 127.0.1.1 instead of localhost (which can be fixed). [/quote]
Normal apache error IMHO… seen that on lots without issues…

[quote author=Bernhard link=topic=6739.msg17445#msg17445 date=1346164616]
2) I guess that will depend on your hardware. I find SC to be faster running on unix environments.[/quote]
Same host operating system and two guests with debian stable 64bit and winxp 32bit - debian as SC server is very slow… win xp as SC server is fast.

[quote author=Bernhard link=topic=6739.msg17445#msg17445 date=1346164616]
3) That might have be caused due to the issue on the fully qualified domain name. You also said that there is a new problem, is it still happening?[/quote]
Can’t connect to mysql socket. That’s not related to the fqdn. And when I change the mysql socket location to the /tmp folder as SC expects, I still can’t access the database.

Re: Linux Install problems

Hello,

I recommend you to contact our support. Our chat is active on workdays from 8:00am to 6:00pm, and our ticket system is always available.

Another alternative would be to install Zend Server CE PHP 5.3 with Zend Loader (which is free) on your environment and then install SC 6.

regards,
Bernhard Bernsmann

Re: Linux Install problems

Hmmm, I test in a new vm with the latest SC code scriptcase_linux_installer_x86_64_en_us_v6.0.032.sh - that seems to run perfectly well and fast now. Gotta test it a bit more.

Re: Linux Install problems

Great! We made some improvements on our Linux installer!

regards,
Bernhard Bernsmann

Re: Linux Install problems

The problem regarding the mysql socket isn’t solved yet. However with pgsql it runs just fine.