ispCP - Board - Support
FreeBSD / OpenBSD Docu - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Documentation (/forum-45.html)
+--- Thread: FreeBSD / OpenBSD Docu (/thread-5575.html)

Pages: 1 2


RE: FreeBSD / OpenBSD Docu - BeNe - 03-04-2009 03:50 AM

Thanks man! Thats it. Wink
Ticket is open --> http://www.isp-control.net/ispcp/ticket/1714

So i can go on...

//EDIT: This fix also the slow login!

Greez BeNe


RE: FreeBSD / OpenBSD Docu - artful - 04-02-2009 11:17 PM

Install ispCP on FreeBSD 7.1 ( version of 01/04/2009 )
error:
1. modul /usr/ports/www/php5-session. set manually, according to documents he has not been established
2. modul /usr/ports/databases/php5-pdo_mysql. set manually, according to documents he has not been established
3. file /usr/local/www/data/fcgi/master/php5/php.ini edit.
change open_basedir= open_basedir = "/usr/local/www/ispcp/gui/:/usr/local/etc/ispcp/:/var/run/ispcp.lock:/var/run/dmesg.boot:/proc/:/bin/df:/bin/:/sbin/:/usr/bin/:/usr/sbin/:/usr/local/bin/:/usr/local/sbin/:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/local/lib/php/20060613/"
or more error:
Warning: is_executable() [function.is-executable]: open_basedir restriction in effect. File(/bin/mount) is not within the allowed path(s): (/usr/local/www/ispcp/gui/:/usr/local/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/local/lib/php/20060613/) in /usr/local/www/ispcp/gui/include/phpsysinfo/common_functions.php on line 137
see for more error: http://www.l2planet.ru/1.txt
4. after the amendment set open_basedir rest error:
Notice: Undefined index: free in /usr/local/www/ispcp/gui/include/phpsysinfo/class.BSD.common.inc.php on line 248

Warning: Division by zero in /usr/local/www/ispcp/gui/include/phpsysinfo/class.BSD.common.inc.php on line 251

Warning: Division by zero in /usr/local/www/ispcp/gui/include/phpsysinfo/class.BSD.common.inc.php on line 281

Warning: Division by zero in /usr/local/www/ispcp/gui/include/phpsysinfo/class.FreeBSD.inc.php on line 99

Warning: Division by zero in /usr/local/www/ispcp/gui/include/phpsysinfo/class.FreeBSD.inc.php on line 101

Warning: Division by zero in /usr/local/www/ispcp/gui/include/phpsysinfo/class.FreeBSD.inc.php on line 103

Notice: Undefined offset: 1 in /usr/local/www/ispcp/gui/admin/system_info.php on line 153

Notice: Undefined offset: 2 in /usr/local/www/ispcp/gui/admin/system_info.php on line 153

Notice: Undefined index: free in /usr/local/www/ispcp/gui/admin/system_info.php on line 157

5. status server
localhost (Port 9876) ispCP Daemon UP
84.52.117.231 (Port 10024) AMaVis DOWN
not found config
84.52.117.231 (Port 53) DNS DOWN
84.52.117.231 (Port 21) FTP UP
84.52.117.231 (Port 80) HTTP UP
84.52.117.231 (Port 143) IMAP UP
84.52.117.231 (Port 12525) POLICYD-WEIGHT DOWN
home# sockstat | grep policyd
polw perl5.8.9 89249 3 stream /tmp/.policyd-weight//polw.sock
not found config, use default
84.52.117.231 (Port 110) POP3 UP
84.52.117.231 (Port 995) POP3-SSL DOWN
84.52.117.231 (Port 60000) POSTGREY DOWN
home# sockstat | grep postgrey
postgrey perl5.8.9 53767 4 dgram -> /var/run/logpriv
postgrey perl5.8.9 53767 5 tcp4 127.0.0.1:10023 *:*
not found config, use default
84.52.117.231 (Port 25) SMTP UP
84.52.117.231 (Port 783) SPAMASSASSIN DOWN
84.52.117.231 (Port 22) SSH UP
84.52.117.231 (Port 23) TELNET DOWN


PS. Russian myself, I write through the translator, I apologize for gramoticheskie errors in languag


RE: FreeBSD / OpenBSD Docu - blocker - 04-03-2009 03:15 PM

for system info ( problem number 3 & 4 ) there is a patch look in http://www.isp-control.net/forum/thread-5851-post-50126.html#pid50126


RE: FreeBSD / OpenBSD Docu - BeNe - 04-03-2009 03:38 PM

Patch is already add to a Ticket --> http://www.isp-control.net/ispcp/ticket/1778

I donĀ“t understand the meaning of your post Rolleyes
What about the Packages ?

Greez BeNe


RE: FreeBSD / OpenBSD Docu - server801 - 04-13-2009 12:29 AM

I have already panel.kak to patch after installation?


RE: FreeBSD / OpenBSD Docu - DimMan - 08-16-2009 12:02 AM

In FreeBSD External command

Code:
echo n | /bin/cp -ip ...

olways return 1 if destination file exists.

This generate error messages on user's editing


Additional instructions for 1.0.3 - agshekeloh - 12-21-2009 01:00 AM

Installing 1.0.3 on FreeBSD 7.2-stable amd64, we also need

/usr/ports/devel/p5-File-MimeInfo
/usr/ports/devel/p5-Term-ReadKey

You can build without these, but you cannot run setup.


RE: Additional instructions for 1.0.3 - antencek - 02-16-2010 10:02 AM

(12-21-2009 01:00 AM)agshekeloh Wrote:  Installing 1.0.3 on FreeBSD 7.2-stable amd64, we also need

/usr/ports/devel/p5-File-MimeInfo
/usr/ports/devel/p5-Term-ReadKey

You can build without these, but you cannot run setup.

...and when running ispCP setup inside FreeBSD jail there is a fatal error when asked for mysql password (I guess it's in the read_password($qmsg) line of ispcp-setup-methods.pl).

Error:
Please enter system SQL user. [root]: root
Can't open 'sys$command' read/write: No such file or directory at /usr/local/lib/perl5/site_perl/5.10.1/Term/ReadPassword.pm line 63, <STDIN> line 6.

Any hint how to get it working?

tnx,
antencek
(02-16-2010 10:02 AM)antencek Wrote:  
(12-21-2009 01:00 AM)agshekeloh Wrote:  Installing 1.0.3 on FreeBSD 7.2-stable amd64, we also need

/usr/ports/devel/p5-File-MimeInfo
/usr/ports/devel/p5-Term-ReadKey

You can build without these, but you cannot run setup.

...and when running ispCP setup inside FreeBSD jail there is a fatal error when asked for mysql password (I guess it's in the read_password($qmsg) line of ispcp-setup-methods.pl).

Error:
Please enter system SQL user. [root]: root
Can't open 'sys$command' read/write: No such file or directory at /usr/local/lib/perl5/site_perl/5.10.1/Term/ReadPassword.pm line 63, <STDIN> line 6.

Any hint how to get it working?

tnx,
antencek

Well..I have override all the read_password():

$pass1 = read_password($qmsg);

with standard STDIN read:

print STDOUT $qmsg;
chomp($pass1 = readline \*STDIN);

And for now it works in jail too.

Anyway...should find a better solution.

by,
antencek


RE: Additional instructions for 1.0.3 - blocker - 02-16-2010 02:44 PM

Are you trying execute setup from jexec ? if yes, have you try by ssh to the jail ?

(02-16-2010 10:02 AM)antencek Wrote:  Well..I have override all the read_password():

$pass1 = read_password($qmsg);

with standard STDIN read:

print STDOUT $qmsg;
chomp($pass1 = readline \*STDIN);

And for now it works in jail too.

Anyway...should find a better solution.

by,
antencek



RE: Additional instructions for 1.0.3 - antencek - 02-16-2010 05:50 PM

(02-16-2010 02:44 PM)blocker Wrote:  Are you trying execute setup from jexec ? if yes, have you try by ssh to the jail ?

Great thinking!

jexec JID shell ...then perl ispcp-setup

With ssh into jail, setup works (almost) out of the box.

Thank you.


a