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


Post Reply 
FreeBSD / OpenBSD Docu
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #11
RE: FreeBSD / OpenBSD Docu
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
(This post was last modified: 03-04-2009 03:53 AM by BeNe.)
03-04-2009 03:50 AM
Visit this user's website Find all posts by this user Quote this message in a reply
artful Offline
Junior Member
*

Posts: 15
Joined: Apr 2009
Reputation: 0
Post: #12
RE: FreeBSD / OpenBSD Docu
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
04-02-2009 11:17 PM
Find all posts by this user Quote this message in a reply
blocker Offline
Junior Member
*

Posts: 123
Joined: Apr 2007
Reputation: 2
Post: #13
RE: FreeBSD / OpenBSD Docu
for system info ( problem number 3 & 4 ) there is a patch look in http://www.isp-control.net/forum/thread-...l#pid50126
04-03-2009 03:15 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #14
RE: FreeBSD / OpenBSD Docu
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
04-03-2009 03:38 PM
Visit this user's website Find all posts by this user Quote this message in a reply
server801 Offline
Moderator
*****
Moderators

Posts: 349
Joined: Mar 2009
Reputation: 1
Post: #15
RE: FreeBSD / OpenBSD Docu
I have already panel.kak to patch after installation?
04-13-2009 12:29 AM
Visit this user's website Find all posts by this user Quote this message in a reply
DimMan Offline


Posts: 1
Joined: Mar 2009
Reputation: 0
Post: #16
RE: FreeBSD / OpenBSD Docu
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
08-16-2009 12:02 AM
Find all posts by this user Quote this message in a reply
agshekeloh Offline
Newbie
*

Posts: 5
Joined: Dec 2009
Reputation: 0
Post: #17
Additional instructions for 1.0.3
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.
12-21-2009 01:00 AM
Visit this user's website Find all posts by this user Quote this message in a reply
antencek Offline
Junior Member
*

Posts: 14
Joined: May 2008
Reputation: 0
Post: #18
RE: Additional instructions for 1.0.3
(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
(This post was last modified: 02-16-2010 10:15 AM by antencek.)
02-16-2010 10:02 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: #19
RE: Additional instructions for 1.0.3
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
02-16-2010 02:44 PM
Find all posts by this user Quote this message in a reply
antencek Offline
Junior Member
*

Posts: 14
Joined: May 2008
Reputation: 0
Post: #20
RE: Additional instructions for 1.0.3
(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
02-16-2010 05:50 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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