Current time: 12-24-2024, 06:01 AM Hello There, Guest! (LoginRegister)


Post Reply 
Gentoo Installation
Author Message
kevin666 Offline
Junior Member
*

Posts: 15
Joined: Jan 2008
Reputation: 1
Post: #11
RE: Gentoo Installation
Zothos Wrote:I have currently ispcp running on a gentoo maschine and you need only this package, try it out.

i did try that package and it did not work, i looked through all of the portage and could not find the perl one. i kept getting an error that it was missing in one of the daemon scripts, i think it was the bandwidth statistics cant remember. but i had to install it manually to get it to work. i do not remember doing it when i last installed it so it has to be something to do with newer packages but i do remember specificly there being a perl-net-libidn package
03-14-2008 06:24 PM
Visit this user's website Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #12
RE: Gentoo Installation
Kevin666,

I've done several gentoo installs recently with pre-rc6 code, and have documented all the steps. I've updated your howto with a bunch more info and formatting, to get it inline with RC6.

Please feel free to touch it up if you see anything missing...
(This post was last modified: 08-10-2008 06:33 AM by pgentoo.)
08-10-2008 06:32 AM
Find all posts by this user Quote this message in a reply
kevin666 Offline
Junior Member
*

Posts: 15
Joined: Jan 2008
Reputation: 1
Post: #13
RE: Gentoo Installation
pgentoo Wrote:Kevin666,

I've done several gentoo installs recently with pre-rc6 code, and have documented all the steps. I've updated your howto with a bunch more info and formatting, to get it inline with RC6.

Please feel free to touch it up if you see anything missing...

it looks great!

i recently got rid of my server that i was running ispcp on. i did not need the server anymore for what i used it for.
08-10-2008 09:28 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Kev Offline
Newbie
*

Posts: 7
Joined: Mar 2007
Reputation: 0
Post: #14
RE: Gentoo Installation
Hi, here is another Kevin using isp-control with gentoo Smile

First: nice howto so far, I'm just trying to install RC6 on my openVZ gentoo machine.(inside of a guest)
I found a package for the pearl lib, do you mean:
Code:
dev-perl/Net-LibIDN [ Masked ]
      Latest version available: 0.11
      Latest version installed: [ Not Installed ]
      Size of files: 13 kB
      Homepage:      http://search.cpan.org/search?query=Net-LibIDN&mode=dist
      Description:   Perl bindings for GNU Libidn
      License:       || ( Artistic GPL-2 )
I think that should do the work without downloading and compiling manually.
edit:
I've just found another thing, in the article is:
Code:
Apache doesn't by default put 'index.php' in the DirectoryIndex list, so we need to modify /etc/apache2/conf.d/00_default_settings.conf to change:
But it should be:
Code:
Apache doesn't by default put 'index.php' in the DirectoryIndex list, so we need to modify /etc/apache2/modules.d/00_default_settings.conf to change:
edit2:
there is written:
Code:
edit /etc/proftpd/proftpd.conf comment out line 68. and uncomment everything after and including line 118 and also change 119 to ON
But the line numbers doesn't seem to be correct anymore. Code/Config examble with the lines to modify will be useful to avoid this in the future.

Other problems:
admin.myhost will not show the login interface, instead of that it prints out the index.php file. It seems that the fcgid will not send the php file to the php interpreter. Any idea why? Do I need to enable something that is not mentioned in the howto to get fastcgi php support working?

Thanks for any response!

Kev
(This post was last modified: 10-22-2008 10:03 AM by Kev.)
10-22-2008 08:59 AM
Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #15
RE: Gentoo Installation
(10-22-2008 08:59 AM)Kev Wrote:  Hi, here is another Kevin using isp-control with gentoo Smile

First: nice howto so far, I'm just trying to install RC6 on my openVZ gentoo machine.(inside of a guest)
I found a package for the pearl lib, do you mean:
Code:
dev-perl/Net-LibIDN [ Masked ]
      Latest version available: 0.11
      Latest version installed: [ Not Installed ]
      Size of files: 13 kB
      Homepage:      http://search.cpan.org/search?query=Net-LibIDN&mode=dist
      Description:   Perl bindings for GNU Libidn
      License:       || ( Artistic GPL-2 )
I think that should do the work without downloading and compiling manually.
edit:
I've just found another thing, in the article is:
Code:
Apache doesn't by default put 'index.php' in the DirectoryIndex list, so we need to modify /etc/apache2/conf.d/00_default_settings.conf to change:
But it should be:
Code:
Apache doesn't by default put 'index.php' in the DirectoryIndex list, so we need to modify /etc/apache2/modules.d/00_default_settings.conf to change:
edit2:
there is written:
Code:
edit /etc/proftpd/proftpd.conf comment out line 68. and uncomment everything after and including line 118 and also change 119 to ON
But the line numbers doesn't seem to be correct anymore. Code/Config examble with the lines to modify will be useful to avoid this in the future.

Other problems:
admin.myhost will not show the login interface, instead of that it prints out the index.php file. It seems that the fcgid will not send the php file to the php interpreter. Any idea why? Do I need to enable something that is not mentioned in the howto to get fastcgi php support working?

Thanks for any response!

Kev


Kevin,

Thanks for the feedback. I got the first round of edits done a few days back, but forgot to post back to this thread.

As for the 2nd round, make sure you have php compiled with fastcgi support, make sure your conf.d/apache2 file has -D FCGID in the options, make sure you have mod_fcgid installed, restart apache. If that doesn't work still, then there is likely something wrong with the module configuration, or with the vhost.

Here is my current 20_mod_fcgid.conf (maybe i need to update the howto).

Code:
<IfDefine FCGID>
  LoadModule fcgid_module modules/mod_fcgid.so
  SocketPath /var/run/fcgidsock
  SharememPath /var/run/fcgid_shm

  AddHandler fcgid-script .php .php5
  IPCConnectTimeout 90
  IdleTimeout 3600
  ProcessLifeTime 7200
  MaxProcessCount 100
  DefaultMinClassProcessCount 3
  DefaultMaxClassProcessCount 10
  IPCCommTimeout 300
  BusyTimeout 300
  MaxRequestsPerProcess 500
  ZombieScanInterval 5
</IfDefine>


Here is the key section from my 00_master.conf

Code:
...
<IfModule suexec_module>
           SuexecUserGroup vu10000 vu10000
    </IfModule>

    <Directory /var/www/ispcp/gui>
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    <IfModule mod_fcgid.c>
        <Directory /var/www/ispcp/gui>
            FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/master">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
...


Post back and let me know if that helps, if not then i'll take a closer look at any changes i've made in those two apache conf files.

Thanks again,
Pgentoo
10-24-2008 03:54 AM
Find all posts by this user Quote this message in a reply
Kev Offline
Newbie
*

Posts: 7
Joined: Mar 2007
Reputation: 0
Post: #16
RE: Gentoo Installation
Hi Pgentoo,

really big thanks for you help!

I didn't install the package mod_fcgid. It is logically that I need it, but I fogot it. Maybe it would help, when it's mentioned in the HowTo.

Now that part seems to work.

Next problem:
As far as I start postfix the networking will be very curios. I can't "ping anySite.org" but "nslookup anySite.org" will work and "ping [TheIpOfAnySite.org]" will work, too. But the name-resolution of any program won't work anymore (like ping). Only nslookup is still working.
After "/etc/init.d/postfix stop" all will work again.

Any idea? It's an openVZ virtual server. Do you think it's something openvz-related?

Thanks for any idea!
10-28-2008 08:44 AM
Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #17
RE: Gentoo Installation
It breaks when you start postfix, or when you start named? I could see how starting/stopping named could do this, but postfix doesn't make much sense to me...

-
pgentoo
10-28-2008 08:59 AM
Find all posts by this user Quote this message in a reply
Kev Offline
Newbie
*

Posts: 7
Joined: Mar 2007
Reputation: 0
Post: #18
RE: Gentoo Installation
Yes, it doesn't make sense to me, too.

/etc/init.d/postfix start
-> network broken
/etc/init.d/postfix stop
-> network is working
/etc/init.d/postfix start
-> network broken again
.....

I don't know much about postfix, so I have no idea here.
The only thing I've changed is the one in your howto: "the ”-” to an “n” in the chroot column for the two “smtp” entries in /etc/postfix/master.conf."

edit:
I've killed each process, one after another and the network was still broken (only!) with this processes running (every other except init and my bash was killed):
Code:
26005 ?        Ss     0:00 /usr/lib/postfix/master
26012 ?        S      0:00  \_ qmgr -l -t fifo -u
26015 ?        S      0:00  \_ pickup -l -t fifo -u -c
26017 ?        S      0:00  \_ cleanup -z -t unix -u -c

after:
kill 26005
the network was working normally.

EDIT2:
A very big sorry, the problem has nothing to do with postfix or isp-control. The reason for it was my openvz ressource limit configuration.
The limit "132096" for "othersockbuf" was to low, postfix seems to use all of it. That's the reason why no other programm can use more ressources (e.g. ping domain.tld).
This raises the question why postfix is eating so much "othersockbuf"? The value was the standard value, so you can assume that everyone will have this problem with openVZ.

After: "vzctl set VM_ID --othersockbuf $((2*132096)):$((2*336896)) --save"
it seems to be solved. Now I'm very happy that I can start testing isp-control now Smile


Thanks a lot for helping me and giving the right impulses!

EDIT3:
It would also be very helpful if you mention in the howto, that you need to emerge awstats if you want to use it Smile
(This post was last modified: 10-28-2008 08:41 PM by Kev.)
10-28-2008 09:12 AM
Find all posts by this user Quote this message in a reply
biologist Offline
Junior Member
*

Posts: 25
Joined: Mar 2009
Reputation: 0
Post: #19
RE: Gentoo Installation
To whom it may concern [:-)]:
There is a flag missing in the gentoo-install-documentation. The flag is called "filter" and is needed by the function "filter_var" which has been used in ispCP V1.0.
03-15-2009 11:49 PM
Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #20
RE: Gentoo Installation
You mean APACHE2_MODULES right?
03-16-2009 08:43 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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