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 ? - RatS - 03-13-2008 02:30 AM if it works, it's good to know, so we can adapt. RE: FreeBSD ? - blocker - 03-13-2008 11:58 AM StevenE Wrote:tried it once again.... hahaha i dont think so StevenE Wrote:Ok... I loaded the current nightly. the reason is that when you want to use suexec and fastcgi, it require the program lies in www not in www/apache22, if you use mod_php should be no problem, since default ispcp is using fastcgi, it best to restructure the path. and, the installation is not completely ported yet, please be patient to always try lastest trunk RE: FreeBSD ? - StevenE - 03-13-2008 07:46 PM good morning everybody, so how should it be diffrent, I just have some errors which wanted to be solved, but I'm a bad programmer so I need you once more but think I have a good hint this time so current error looks like this just the tail of the DEBUG Code: DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting... but I think I know how to solve but don't how to write in the script. first of all for this thing is that we change to directory Code: cd /usr/local/etc/ispcp/postfix/ispcp/ The syntax for working cp command here should be like Code: cp -p aliases domains mailboxes transport sender-access /usr/local/etc/postfix/ispcp the changes should be around here in ispcp-setup-methods.pl Code: $cmd = "$main::cfg{'CMD_CP'} -p $vrl_dir/{aliases,domains,mailboxes,transport,sender-access} $main::cfg{'MTA_VIRTUAL_CONF_DIR'}"; But its just an idea, maybe it can help, otherway I'm sure you solve it somehow RE: FreeBSD ? - StevenE - 03-13-2008 11:41 PM yeah got it on my own I changed the mentioned lines in ispcp-setup-methods.pl now looks like this: Code: $cmd = "$main::cfg{'CMD_CP'} -p $vrl_dir/aliases $vrl_dir/domains $vrl_dir/mailboxes $vrl_dir/transport $vrl_dir/sender-access $main::cfg{'MTA_VIRTUAL_CONF_DIR'}"; caught the next error but think thats to solve. RE: FreeBSD ? - StevenE - 03-14-2008 12:11 AM Now I'm totally lost.... here is the next error where I've absolutly no idea.... DEBUG tail: Code: DEBUG: push_el() sub_name: sys_command(), msg: Starting... ispcp_common_methods.pl line 754. is: Code: my $result = system($cmd); a file called "makeuserdb" exists nowhere on system, not even in ispcp folders Need help... edit: maybe I cried to early hold on a sec.... maybe I just made a nooby mistake RE: FreeBSD ? - StevenE - 03-14-2008 01:43 AM so last error was a nooby mistake of mine.... courier wasn't installed shame to me... soooooooooo finally laaaaaadies and gentleman Code: Congratulations! hard to belive.... ehm but still there are bugs which ignored ispcp_network and daemon are in wrong path... I'll change that but a first look at my ispcp-server deliver a sad view.... Code: Warning: Unknown: open_basedir restriction in effect. File(/usr/local/www/apache22/ispcp/gui/index.php) is not within the allowed path(s): ({WWW_DIR}/{DMN_NAME}/:{CONF_DIR}/:{MR_LOCK_FILE}:/proc/:/bin/df:/bin/mount:{RKHUNTER_LOG}:{CHKROOTKIT_LOG}:{PEAR_DIR}/{OTHER_ROOTKIT_LOG}) in Unknown on line 0 perhaps ispcp network and daemon will help in right path? any ideas? edit: had a look they are in the right path but with the ending *.sh debug at installation told me ( but seems to ignore) Code: /usr/local/etc/rc.d/ispcp_daemon: not found whats now? RE: FreeBSD ? - blocker - 03-14-2008 11:17 AM first of all, if you hit some error, you could first check the patch from rc2c version becouse most of the error already modified to working with freebsd, the trunk version is an attempt to bring ispcp installed without have to patch like that. so it really need some time until it really working like *nux version. now the answer: error 1: the setup program is not correctly replace the variable {WWW_DIR} it should be the path for www directory which mean /usr/local/www/apache22 etc error 2: you will have to modified ispcp_daemon a little bit so it will run ( path and some c program have to be change ) error 3: ispcp_network cant be run and have to be change to ipfw or ipf model RE: FreeBSD ? - StevenE - 03-14-2008 09:10 PM blocker Wrote:now the answer: you mean the WWW_DIR in ispcp.conf? Code: # the variable is the same as in my working Installation. or is it something else? RE: FreeBSD ? - blocker - 03-15-2008 11:43 AM No, in this error Code: Warning: Unknown: open_basedir restriction in effect. File(/usr/local/www/apache22/ispcp/gui/index.php) is not within the allowed path(s): ({WWW_DIR}/{DMN_NAME}/:{CONF_DIR}/:{MR_LOCK_FILE}:/proc/:/bin/df:/bin/mount:{RKHUNTER_LOG}:{CHKROOTKIT_LOG}:{PEAR_DIR}/{OTHER_ROOTKIT_LOG}) in Unknown on line 0 RE: FreeBSD ? - StevenE - 03-17-2008 11:27 PM RC4 didn't work under my FreeBSD... blocker already made a ticket for the userdb var thing but I'm not sure if that solve the following.... /usr/local/www/ispcp/engine/setup/ispcp-setup_methods.pl must be changed!! I have made a ticket for that one. then the File /usr/local/etc/userdb is missing, I touched it (worked lasttime) but now.... Code: DEBUG: push_el() sub_name: sys_command(), msg: Starting... set permission to 777. The owner is root:wheel |