Zend Server CE and Mac OS X 10.6 (Snow Leopard)

General discussion forum for the Zend Server
panosru
Posts: 135
Joined: Mon Mar 02, 2009 2:40 pm
Location: Greece
Contact:

Re: Zend Server CE and Mac OS X 10.6 (Snow Leopard)

Post by panosru » Wed Sep 16, 2009 1:11 pm

Hm.. I don't have any .pid file under my data directory... :/

EDIT:
I did the following and mysql started but then I stopped the server and pid file gone and then mysql couldn't create it again:
bash-3.2# mkfile -nv 0b panosru-mac.local.pid
panosru-mac.local.pid 0 bytes
bash-3.2# chown zend:wheel panosru-mac.local.pid
bash-3.2# chmod -rw-rw---- panosru-mac.local.pid
bash-3.2# ./zendctl.sh start
Starting ZendServer 4.0.5 ..

/usr/local/zend/bin/apachectl start [OK]
spawn-fcgi: child spawned successfully: PID: 45486
Starting ZendServer GUI [Lighttpd] [OK]
[ 16.09.2009 15:19:12 SYSTEM] watchdog for lighttpd is running.
[ 16.09.2009 15:19:12 SYSTEM] lighttpd is running.
Starting MySQL
SUCCESS!
Starting Java bridge [OK]
[ 16.09.2009 15:19:12 SYSTEM] watchdog for java_daemon is running.
[ 16.09.2009 15:19:12 SYSTEM] java_daemon is running.

ZendServer started...
EDIT2:
Ok I fixed everything by re-installing zend server and chown zend:wheel the backed up tables of mysql.

How can I set a password for my mysql? I tried change password from phpmyadmin but then I could never login again and I re-installed the server again

EDIT3:
Ok I edited my.cnf and now everything works like before! :)
INTERACTIVE WEB SOLUTIONS | Zend PHP 5 Certified Engineer
PHP Development / Zend Framework / jQuery / XHTML / CSS
-----------------------------------------------
Online CV: http://www.panosru.com/
-----------------------------------------------

cobby
Posts: 4
Joined: Wed Sep 16, 2009 11:01 am
Location: Australia
Contact:

Re: Zend Server CE and Mac OS X 10.6 (Snow Leopard)

Post by cobby » Sun Sep 20, 2009 1:37 am

Does anyone know how to fix the spawn-fcgi problem?
I'm not sure if it's related, but I can't seem to use /ZendServer/ and my virtual hosts aren't working.

...I'm gonna try reinstall again and see if that fixes it.
cobbweb : web development blog - http://www.cobbweb.me

panosru
Posts: 135
Joined: Mon Mar 02, 2009 2:40 pm
Location: Greece
Contact:

Re: Zend Server CE and Mac OS X 10.6 (Snow Leopard)

Post by panosru » Sun Sep 20, 2009 1:44 am

Cobby for me it fixed after a re-installtion.
INTERACTIVE WEB SOLUTIONS | Zend PHP 5 Certified Engineer
PHP Development / Zend Framework / jQuery / XHTML / CSS
-----------------------------------------------
Online CV: http://www.panosru.com/
-----------------------------------------------

cobby
Posts: 4
Joined: Wed Sep 16, 2009 11:01 am
Location: Australia
Contact:

Re: Zend Server CE and Mac OS X 10.6 (Snow Leopard)

Post by cobby » Sun Sep 20, 2009 3:26 am

I was still getting the spawn-fgci error even after a completely fresh install (and updating watchdog).
So it's either a problem with the watchdog fix or a problem with my mac.

I think I'll revert to back to MAMP until I new version is released.
cobbweb : web development blog - http://www.cobbweb.me

panosru
Posts: 135
Joined: Mon Mar 02, 2009 2:40 pm
Location: Greece
Contact:

Re: Zend Server CE and Mac OS X 10.6 (Snow Leopard)

Post by panosru » Sun Sep 20, 2009 3:31 am

Well for me after a fresh re-install of ZS CE it worked great with the new watchdog that is attached on this topic.

Check the following, is the output of stoping and starting ZS CE:
Last login: Sat Sep 19 15:04:29 on ttys000
You have mail.
panosru-mac:~ panosru$ sudo -s
Password:
bash-3.2# cd /usr/local/zend/bin/
bash-3.2# ./zendctl.sh stop
Stopping ZendServer 4.0.5 ..

/usr/local/zend/bin/apachectl stop [OK]
Stopping ZendServer GUI [Lighttpd] [OK]
Shutting down MySQL
... SUCCESS!
Stopping Java bridge [OK]

ZendServer stopped.
bash-3.2# ./zendctl.sh start
Starting ZendServer 4.0.5 ..

/usr/local/zend/bin/apachectl start [OK]
spawn-fcgi: child spawned successfully: PID: 41136
Starting ZendServer GUI [Lighttpd] [OK]
[ 20.09.2009 05:30:43 SYSTEM] watchdog for lighttpd is running.
[ 20.09.2009 05:30:43 SYSTEM] lighttpd is running.
Starting MySQL
.... SUCCESS!
Starting Java bridge [OK]
[ 20.09.2009 05:30:48 SYSTEM] watchdog for java_daemon is running.
[ 20.09.2009 05:30:48 SYSTEM] java_daemon is running.

ZendServer started...
bash-3.2#
INTERACTIVE WEB SOLUTIONS | Zend PHP 5 Certified Engineer
PHP Development / Zend Framework / jQuery / XHTML / CSS
-----------------------------------------------
Online CV: http://www.panosru.com/
-----------------------------------------------

cmiwebstudio
Posts: 90
Joined: Mon Oct 26, 2009 1:38 am

Re: Zend Server CE and Mac OS X 10.6 (Snow Leopard)

Post by cmiwebstudio » Wed Oct 28, 2009 11:50 pm

10.6 is out (in fact, 10.6.1 has been out while). how can we get this working?

jess04
Posts: 628
Joined: Thu Jan 15, 2009 3:37 pm

Re: Zend Server CE and Mac OS X 10.6 (Snow Leopard)

Post by jess04 » Thu Oct 29, 2009 8:23 am

Hello,

Download the watchdog binary from here:
viewtopic.php?f=44&t=1115&start=30
And then:

Code: Select all

# /usr/local/zend/bin/zendctl.sh start|restart
A release that includes this fix should be out shortly.
May the source be with you,

Jess Portnoy

fxstein
Posts: 4
Joined: Fri Dec 11, 2009 2:58 am

Re: Zend Server CE and Mac OS X 10.6 (Snow Leopard)

Post by fxstein » Fri Dec 11, 2009 3:00 am

Is it possible that under 10.6.2 this is broken again?

I downloaded the new watchdog and am still getting the login error in ZendController. Also tried the modified script but does not work either.

I uninstalled Zend Server and ran a fresh install, I can get to its local website, but ZendController refuses to cooperate.

fxstein
Posts: 4
Joined: Fri Dec 11, 2009 2:58 am

Re: Zend Server CE and Mac OS X 10.6 (Snow Leopard)

Post by fxstein » Fri Dec 11, 2009 3:09 am

Well, I found the problem after all.

It was the password. Did not think that could do it, but it did. Had something like 'Name%123' - does not like the % in the password for ZendController. Changed the password and now it works.

jess04
Posts: 628
Joined: Thu Jan 15, 2009 3:37 pm

Re: Zend Server CE and Mac OS X 10.6 (Snow Leopard)

Post by jess04 » Mon Dec 14, 2009 9:33 am

Hello,

I was able to reproduce it locally [no big surprise] and the maintainer fixed the issue.
Will be included in the next version.

Thanks for your report,
May the source be with you,

Jess Portnoy

Post Reply