Zend Server CE and Mac OS X 10.6 (Snow Leopard)
Re: Zend Server CE and Mac OS X 10.6 (Snow Leopard)
I restored my original lighttpdctl.sh, put the new watchdog in place, stopped ZSCE and started it again. Perfect :-) Thanks for the hard work, we poor old mac folk really do appreciate it!
Re: Zend Server CE and Mac OS X 10.6 (Snow Leopard)
Hello,
Thanks for letting us know.
Glad to hear its all working :)
Thanks for letting us know.
Glad to hear its all working :)
May the source be with you,
Jess Portnoy
Jess Portnoy
Re: Zend Server CE and Mac OS X 10.6 (Snow Leopard)
I have the same problem with mysql - I cant remember for sure but I may have bound to an ip instead of using the socket... if that matters. I have no socket either.smithdg wrote:jess04 wrote:Hello,
Just pass --socket=/usr/local/zend/mysql/tmp/mysql.sock to the mysqladmin binary.
Let me know if you require further assistance,
Re: Zend Server CE and Mac OS X 10.6 (Snow Leopard)
Hello,
I can't start MySQL...
Thanks and Greetings,
Urkman
I can't start MySQL...
Any Ideas on this?macbook-pro:~ urkman$ sudo /usr/local/zend/bin/zendctl.sh start-mysql
Starting MySQL
. ERROR! Manager of pid-file quit without updating file.
Thanks and Greetings,
Urkman
-
- Posts: 2
- Joined: Mon Sep 14, 2009 3:30 pm
Re: Zend Server CE and Mac OS X 10.6 (Snow Leopard)
Apologies if this appears twice...
I was having the same pid-file-related problems with MySQL as has been mentioned previously. I solved it by reinstalling Zend Server. The whole thing took about 15 minutes.
1. stop zend server
2. back up your conf, htdocs, and data directories
3. remove zend server with the uninstall script provided
4. download and reinstall a fresh copy of the server.
5. stop the new server if it is running.
6. replace the default /usr/local/zend/bin/watchdog binary with the new one mentioned around page 3 or 4 of the responses on this thread.
7. restore the conf, htdocs, and data directories from step 2 of this process
8. start the server.
That's it.
Your mileage may vary.
--Mark
I was having the same pid-file-related problems with MySQL as has been mentioned previously. I solved it by reinstalling Zend Server. The whole thing took about 15 minutes.
1. stop zend server
Code: Select all
zendctl.sh stop
Code: Select all
mkdir ~/foo
cp -r /usr/local/zend/apache2/conf ~/foo
cp -r /usr/local/zend/apache2/htdocs ~/foo
cp -r /usr/local/zend/mysql/data ~/foo
Code: Select all
/usr/local/zend/bin/uninstall.sh
5. stop the new server if it is running.
6. replace the default /usr/local/zend/bin/watchdog binary with the new one mentioned around page 3 or 4 of the responses on this thread.
7. restore the conf, htdocs, and data directories from step 2 of this process
8. start the server.
That's it.
Your mileage may vary.
--Mark
Re: Zend Server CE and Mac OS X 10.6 (Snow Leopard)
Thanks for the modified watchdog file. Everything seems to working - except, when running "php -v" in Terminal I got this output:
There are some warnings in the beginning... Anything to worry about until the next version of ZSCE is out?
-- Magnus
Code: Select all
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php_extensions/oci8.so' - dlopen(/usr/local/zend/lib/php_extensions/oci8.so, 9): Library not loaded: /scratch/plebld/208/rdbms/lib/libclntsh.dylib.10.1
Referenced from: /usr/local/zend/lib/php_extensions/oci8.so
Reason: image not found in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php_extensions/pdo_oci.so' - dlopen(/usr/local/zend/lib/php_extensions/pdo_oci.so, 9): Library not loaded: /scratch/plebld/208/rdbms/lib/libclntsh.dylib.10.1
Referenced from: /usr/local/zend/lib/php_extensions/pdo_oci.so
Reason: image not found in Unknown on line 0
PHP 5.3.0 (cli) (built: Jul 8 2009 14:18:01)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies
with Zend Extension Manager v5.1, Copyright (c) 2003-2009, by Zend Technologies
- with Zend Data Cache v4.0, Copyright (c) 2004-2009, by Zend Technologies [loaded] [licensed] [disabled]
- with Zend Utils v1.0, Copyright (c) 2004-2009, by Zend Technologies [loaded] [licensed] [enabled]
- with Zend Optimizer+ v4.0, Copyright (c) 1999-2009, by Zend Technologies [loaded] [licensed] [disabled]
- with Zend Debugger v5.2, Copyright (c) 1999-2009, by Zend Technologies [loaded] [licensed] [enabled]
-- Magnus
Re: Zend Server CE and Mac OS X 10.6 (Snow Leopard)
I have a problem (i guess after updating to 10.6.1 but I'm not sure)
Terminal output:
EDIT:
Ok I reinstalled ZS CE as mentioned on pre-previous post but for data folder of mysql I delete these files to make it work (it didn't work with the old ones): config.ini, il_logfile0, il_logfile1, ibdata1, my.cnf, panosru-mac.local.err (instead of "panosru" you will have your own username) and these folders: mysql, test
Thanks mediaspike for the tip! :)
EDIT2:
Now phpMyAdmin does not read the tables from the databases... any help on this?
Terminal output:
MySql seems to have a problem with pid-filebash-3.2# ./zendctl.sh start
Starting ZendServer 4.0.5 ..
/usr/local/zend/bin/apachectl start [OK]
spawn-fcgi: socket is already in use, can't spawn
Starting ZendServer GUI [Lighttpd] [OK]
[ 16.09.2009 05:14:38 SYSTEM] watchdog for lighttpd is running.
[ 16.09.2009 05:14:38 SYSTEM] lighttpd is running.
Starting MySQL
. ERROR! Manager of pid-file quit without updating file.
Starting Java bridge [OK]
[ 16.09.2009 05:14:39 SYSTEM] watchdog for java_daemon is running.
[ 16.09.2009 05:14:39 SYSTEM] java_daemon is running.
ZendServer started...
bash-3.2#
EDIT:
Ok I reinstalled ZS CE as mentioned on pre-previous post but for data folder of mysql I delete these files to make it work (it didn't work with the old ones): config.ini, il_logfile0, il_logfile1, ibdata1, my.cnf, panosru-mac.local.err (instead of "panosru" you will have your own username) and these folders: mysql, test
Thanks mediaspike for the tip! :)
EDIT2:
Now phpMyAdmin does not read the tables from the databases... any help on this?
INTERACTIVE WEB SOLUTIONS | Zend PHP 5 Certified Engineer
PHP Development / Zend Framework / jQuery / XHTML / CSS
-----------------------------------------------
Online CV: http://www.panosru.com/
-----------------------------------------------
PHP Development / Zend Framework / jQuery / XHTML / CSS
-----------------------------------------------
Online CV: http://www.panosru.com/
-----------------------------------------------
Re: Zend Server CE and Mac OS X 10.6 (Snow Leopard)
I have fixed problems with watchdog, but I still get this error:
Any ideas on how to fix this?
BTW- The MySQL PID errors you guys where getting is permission issues on your MySQL data directory.
Code: Select all
spawn-fcgi: socket is already in use, can't spawn
BTW- The MySQL PID errors you guys where getting is permission issues on your MySQL data directory.
cobbweb : web development blog - http://www.cobbweb.me
Re: Zend Server CE and Mac OS X 10.6 (Snow Leopard)
Cobby, which permissions I should set for data folder and its subfolders and files to make it work?
INTERACTIVE WEB SOLUTIONS | Zend PHP 5 Certified Engineer
PHP Development / Zend Framework / jQuery / XHTML / CSS
-----------------------------------------------
Online CV: http://www.panosru.com/
-----------------------------------------------
PHP Development / Zend Framework / jQuery / XHTML / CSS
-----------------------------------------------
Online CV: http://www.panosru.com/
-----------------------------------------------
Re: Zend Server CE and Mac OS X 10.6 (Snow Leopard)
My permission look like this:
According to http://www.thisismobility.com/blog/2009 ... w-leopard/, creating a zend user could help:
Code: Select all
drwxrwxr-x+ 125 zend wheel 4250 30 Jul 00:07 2b
-rwxrwxr-x 1 zend wheel 94014 16 Sep 20:23 Cobbys-Macbook-Pro-2.local.err
-rw-rw---- 1 zend wheel 5 16 Sep 20:23 Cobbys-Macbook-Pro-2.local.pid
drwxrwxr-x+ 39 zend wheel 1326 30 Jul 00:07 some_database1
drwxrwxr-x+ 51 zend wheel 1734 30 Jul 00:07 cobbweb
-rwxrwxr-x 1 zend wheel 905 29 Jul 23:59 config.ini
drwxrwxr-x+ 93 zend wheel 3162 30 Jul 00:07 some_database2
-rwxrwxr-x 1 zend wheel 5242880 16 Sep 20:23 ib_logfile0
-rwxrwxr-x 1 zend wheel 5242880 28 Aug 13:59 ib_logfile1
-rwxrwxr-x 1 zend wheel 60817408 16 Sep 20:23 ibdata1
...
Code: Select all
sudo dscl . -create /Users/zend UniqueID 103
cobbweb : web development blog - http://www.cobbweb.me