Current time: 11-16-2024, 06:46 AM Hello There, Guest! (LoginRegister)


Post Reply 
FreeBSD ?
Author Message
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #91
RE: FreeBSD ?
is mysql running? are you able to connect though the mysql shell?
04-09-2008 12:29 AM
Find all posts by this user Quote this message in a reply
StevenE Offline
Junior Member
*

Posts: 104
Joined: Feb 2008
Reputation: 0
Post: #92
RE: FreeBSD ?
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
--------------
04-09-2008 12:35 AM
Find all posts by this user Quote this message in a reply
StevenE Offline
Junior Member
*

Posts: 104
Joined: Feb 2008
Reputation: 0
Post: #93
RE: FreeBSD ?
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
(This post was last modified: 04-09-2008 06:00 PM by StevenE.)
04-09-2008 01:10 AM
Find all posts by this user Quote this message in a reply
StevenE Offline
Junior Member
*

Posts: 104
Joined: Feb 2008
Reputation: 0
Post: #94
RE: FreeBSD ?
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?
04-09-2008 11:11 PM
Find all posts by this user Quote this message in a reply
StevenE Offline
Junior Member
*

Posts: 104
Joined: Feb 2008
Reputation: 0
Post: #95
RE: FreeBSD ?
must mysql.sock at /tmp/ ?
or doesn't it care where it is.
04-10-2008 10:03 PM
Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #96
RE: FreeBSD ?
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.
04-10-2008 10:34 PM
Find all posts by this user Quote this message in a reply
StevenE Offline
Junior Member
*

Posts: 104
Joined: Feb 2008
Reputation: 0
Post: #97
RE: FreeBSD ?
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
(This post was last modified: 04-10-2008 10:58 PM by StevenE.)
04-10-2008 10:50 PM
Find all posts by this user Quote this message in a reply
DJ_XaKeP Offline


Posts: 1
Joined: Apr 2008
Reputation: 0
Post: #98
RE: FreeBSD ?
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?
04-11-2008 02:41 AM
Find all posts by this user Quote this message in a reply
blocker Offline
Junior Member
*

Posts: 123
Joined: Apr 2007
Reputation: 2
Post: #99
RE: FreeBSD ?
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.
(This post was last modified: 04-11-2008 11:43 AM by blocker.)
04-11-2008 11:22 AM
Find all posts by this user Quote this message in a reply
StevenE Offline
Junior Member
*

Posts: 104
Joined: Feb 2008
Reputation: 0
Post: #100
RE: FreeBSD ?
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
04-11-2008 05:07 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)