ispCP - Board - Support
FreeBSD ? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: FreeBSD ? (/thread-2409.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11


RE: FreeBSD ? - Zothos - 04-09-2008 12:29 AM

is mysql running? are you able to connect though the mysql shell?


RE: FreeBSD ? - StevenE - 04-09-2008 12:35 AM

ps -ax | grep mysql gives:
49368 p0 IJ 0:00,06 /bin/sh /usr/local/mysql-5.1.22/bin/mysqld_safe --user=mysql --datadir=/evolution/data --pid-file=/evolution/data/evotestserver.*.de.pid
49521 p0 IJ 0:00,61 /usr/local/mysql-5.1.22/libexec/mysqld --basedir=/usr/local/mysql-5.1.22 --datadir=/evolution/data --user=mysql --log-error=/evolution/data/evotestserver/log

so seems running and also I can connect...
Code:
mysql> \s
--------------
mysql  Ver 14.14 Distrib 5.1.22-rc, for unknown-freebsd7.0 (i386) using  5.2

Connection id:          14
Current database:
Current user:           root@localhost
SSL:                    Not in use
Current pager:          more
Using outfile:          ''
Using delimiter:        ;
Server version:         5.1.22-rc-log Source distribution
Protocol version:       10
Connection:             Localhost via UNIX socket
Server characterset:    utf8
Db     characterset:    utf8
Client characterset:    utf8
Conn.  characterset:    utf8
UNIX socket:            /evolution/data/mysql.sock
Uptime:                 2 hours 4 min 45 sec

Threads: 1  Questions: 189  Slow queries: 0  Opens: 14  Flush tables: 1  Open tables: 8  Queries per second avg: 0.25
--------------



RE: FreeBSD ? - StevenE - 04-09-2008 01:10 AM

may be there is a prob with DBD::mysql....

I had to force the installation...
but dont know what exactly went wrong there. its just an idea by the way


RE: FreeBSD ? - StevenE - 04-09-2008 11:11 PM

hm I don't get the idea.

perhaps its a hint that at the beginning I have to hit the enterkey to continue installation progress.

Code:
./ispcp-setup
DEBUG: push_el() sub_name: setup_start_up(), msg: Starting...
DEBUG: push_el() sub_name: get_conf(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: Ending...
DEBUG: push_el() sub_name: setup_main_vars(), msg: Starting...
DEBUG: push_el() sub_name: decrypt_db_password(), msg: Starting...
DEBUG: push_el() sub_name: decrypt_db_password(), msg: Ending...
DEBUG: push_el() sub_name: setup_main_vars(), msg: Ending...
DEBUG: push_el() sub_name: get_conf(), msg: Ending...
DEBUG: push_el() sub_name: setup_start_up(), msg: Ending...
DEBUG: push_el() sub_name: user_dialog(), msg: Starting...
DEBUG: push_el() sub_name: welcome_note(), msg: Starting...

        Welcome to ispCP '1.0.0 RC5 OMEGA' Setup Dialog.
        This program will set up ispCP OMEGA system on your server.
DEBUG: push_el() sub_name: welcome_note(), msg: Ending...

        Next you are asked to enter a "fully qualified hostname" (FQHN).
        For more infos read http://en.wikipedia.org/wiki/FQDN.

DEBUG: push_el() sub_name: ask_hostname(), msg: Starting...
DEBUG: push_el() sub_name: get_sys_hostname(), msg: Starting...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/bin/hostname 1>/tmp/ispcp-setup.hostname'), msg: Ending...
DEBUG: push_el() sub_name: get_file(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: Ending...
DEBUG: push_el() sub_name: del_file(), msg: Starting...
DEBUG: push_el() sub_name: del_file(), msg: Ending...
DEBUG: push_el() sub_name: get_sys_hostname(), msg: Ending...

now have to press Enter.
After that the normal installation routine is running.

and at the and there is still the prob with connecting SQL (see code above)
I didn't use the standard paths, but I'd changed them in ispcp.conf
something else what I could have forgot?


RE: FreeBSD ? - StevenE - 04-10-2008 10:03 PM

must mysql.sock at /tmp/ ?
or doesn't it care where it is.


RE: FreeBSD ? - Zothos - 04-10-2008 10:34 PM

i think because your pearl module was not installed propperly, these errors are now occuring.

You could try to reinstall your freebsd, but i think there must be a way around to get the perl module working. We just have to find it.


RE: FreeBSD ? - StevenE - 04-10-2008 10:50 PM

the prob which DBD::mysql had was that the socket was not in /tmp
but it install anyway.

a link from my socket doesn't help ( ln -s /{socketdir}/mysql.sock /tmp/ )
but everywhere I know I'd changed the path for the mysql.sock....
/etc/rc.conf
/etc/my.cnf
/usr/local/bin/mysql_config
/usr/local/lib/php.ini


RE: FreeBSD ? - DJ_XaKeP - 04-11-2008 02:41 AM

I completely read all the posts in that thread but dont found answer to question about that errors:

Code:
Starting Installation...
/usr/local/etc/named.rc: not found
/usr/local/etc/named.rc: not found
cp: /usr/local/etc/ispcp/postfix/ispcp/{aliases,domains,mailboxes,transport,sender-access}: No such file or directory
ERROR: External command '/bin/cp -p /usr/local/etc/ispcp/postfix/ispcp/{aliases,domains,mailboxes,transport,sender-access} /usr/local/etc/postfix/ispcp' returned '1' status !

My OS is:
Code:
FreeBSD xxx 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Wed Apr  2 15:48:26 EEST 2008     xxx@xxx:/usr/obj/usr/src/sys/WEB  i386

When I try to run that command manually its all fine![/code]
Code:
/bin/cp -p /usr/local/etc/ispcp/postfix/ispcp/{aliases,domains,mailboxes,transport,sender-access} /usr/local/etc/postfix/ispcp

Why the installer script get error?


RE: FreeBSD ? - blocker - 04-11-2008 11:22 AM

DJ_XaKeP Wrote:I completely read all the posts in that thread but dont found answer to question about that errors:

Why the installer script get error?

hmm seems you are using from RC, please try to use nightly source build, not from Release Candidate since a lot of change has been done after that.


RE: FreeBSD ? - StevenE - 04-11-2008 05:07 PM

DJ_XaKeP Wrote:I completely read all the posts in that thread but dont found answer to question about that errors:

Code:
Starting Installation...
/usr/local/etc/named.rc: not found
/usr/local/etc/named.rc: not found
cp: /usr/local/etc/ispcp/postfix/ispcp/{aliases,domains,mailboxes,transport,sender-access}: No such file or directory
ERROR: External command '/bin/cp -p /usr/local/etc/ispcp/postfix/ispcp/{aliases,domains,mailboxes,transport,sender-access} /usr/local/etc/postfix/ispcp' returned '1' status !

My OS is:
Code:
FreeBSD xxx 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Wed Apr  2 15:48:26 EEST 2008     xxx@xxx:/usr/obj/usr/src/sys/WEB  i386

When I try to run that command manually its all fine![/code]
Code:
/bin/cp -p /usr/local/etc/ispcp/postfix/ispcp/{aliases,domains,mailboxes,transport,sender-access} /usr/local/etc/postfix/ispcp

Why the installer script get error?

yep, that's old stuff had these probs also some time ago.
It was a scriptprob in ispcp-setup, you see the code in this thread I think...

Greetz
Steve