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) |
RE: FreeBSD ? - StevenE - 03-03-2008 01:26 AM It worked for me before with adduser ( there you're right ) I have allready a working system on FreeBSD but there are some problems which should be now solved, thats why I want to install it one more time tomorrow I'll search for an solution RE: FreeBSD ? - blocker - 03-03-2008 03:18 PM Ok thats great. If you still have some problem, may be we can help RE: FreeBSD ? - StevenE - 03-03-2008 08:00 PM Hi, I'm testing arround and there are still problems won't be solved.... I changed ispcp.conf like this: Code: CMD_GROUPADD = /usr/sbin/pw groupadd and ispcp-setup like this: Code: if (scalar(@udata) == 0) { # we have not this one user data; I'm sure that there are mistakes of mine but it works so far until the point the script expect the group 'root' which don't exist, if I create it next is the missing user 'vu2000' seems like script problem here.... edit: the current ispcp-setup configuration doesn't work too, it's an user expected from 'pw' but the syntax at the moment is this: '/usr/sbin/pw useradd -c vmail-user -g 6 -s /bin/false vmail' there should be the username in front of ' -c' RE: FreeBSD ? - blocker - 03-04-2008 05:58 PM StevenE Wrote:Hi, which ispcp version do you test ? as far I remember RC3 already had configuration like that. PS: pw group add is same like pw groupadd StevenE Wrote:and ispcp-setup like this: the correct syntax is Code: my $cmd = "$main::cfg{'CMD_GROUPADD'} $prefix$mgid -g $mgid"; and the other is Code: my $cmd="$main::cfg{'CMD_USERADD'} $prefix$muid $prefix$muid -d $main::cfg{'PHP_STARTER_DIR'}/master -m -c vu-master -g $prefix$mgid -s /bin/false -u $muid $prefix$muid"; for vmail Code: my $cmd = "$main::cfg{'CMD_USERADD'} $fuid -c vmail-user -s /bin/false"; RE: FreeBSD ? - StevenE - 03-06-2008 01:57 AM hi, sorry had some other problems around here but now I continued the Installation. Thx blocker; code works so far but next porblem appears and I remember that I#ve seen it here before but didn't found it now.... so here is what happens during Installation Code: ERROR: External command '/usr/bin/mysql --host=localhost --user=root --pass= < /tmp/db.sql 1>/tmp/db.sql.stdout 2>/tmp/db.sql.stderr' returned '127' status ! it works manually.... RE: FreeBSD ? - BeNe - 03-06-2008 02:14 AM Please check the two files und post them here: /tmp/db.sql.stdout /tmp/db.sql.stderr Greez BeNe RE: FreeBSD ? - StevenE - 03-06-2008 02:24 AM ... ok should've checked it by myself. error was only wrong path. I keep going.. whyever it don't connect to SQL database I'll check it out RE: FreeBSD ? - StevenE - 03-08-2008 12:53 AM sorry but I don't get the clue.... I don't have permission as root@localhost (login works) on mysql to create DBs etc..... does ispcp-setup give any permissions ? RE: FreeBSD ? - joximu - 03-08-2008 01:29 AM no you only give username and password so ispcp can use it - the user should have full rights on mysql... maybe you need to check the permissions of this user. try starting mysql with ignoring the grant tables... (there should be some parameter...) RE: FreeBSD ? - StevenE - 03-08-2008 02:26 AM the user root@localhost has, whyever, not ALL PRIVILEGES but I can't change them because only with root I can login and can't change permission with --skip-grant-tables activated.... somehow ispcp seems to change them, because I didn't |