Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Documentation, Tips & Tricks
  • Search

VHCS2 on Gentoo HowTo

Unofficial documentation for various parts of Gentoo Linux. Note: This is not a support forum.
Post Reply
Advanced search
108 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next
Author
Message
Master One
l33t
l33t
User avatar
Posts: 754
Joined: Mon Aug 25, 2003 5:14 pm
Location: Austria

  • Quote

Post by Master One » Thu May 12, 2005 11:30 am

taskara wrote:
Master One wrote:taskara, what happened? Did you loose interest in VHCS2?
yes, to a degree - it does not really do everything I want, but it IS promising.
Hm, is there anything else than VHCS2 out there, doing a better job?
taskara wrote:
Master One wrote:I am not quite sure about the nessary changes to be applied to the original package concerning the use of courier-imap V4. Is it enough to change the CMD_AUTHD line in vhcs2.conf, or are there changes necessary in vhcs-2.4/configs/courier/Makefile necessary as well??? As it looks like, "courier-imap" is the valid dir in most cases, except when it is about authentication, which means "courier/authlib" then. But it's only about two files (authdaemonrc & authmodulelist), whereas authdaemonrc does not show any major differences, and authmodulelist even seems to be not needed.
this is part of the deal.. the original tarball is not designed for gentoo, but for debian - and as such a lot of the components don't point to the right places.
Originally I got vhcs working by using a plethora of symlinks - you should be able to do this too. it should be much easier now with courier v4 because it is now pointing parts back to /etc/courier, whereas for courier3 I had to change every single make file in the program to point it ot another location.. very tedious!
I don't really understand. With courier4 the config files are as well in /etc/courier-imap, and /etc/courier only has the authlib dir (with the files authdaemonrc, authdaemonrc.dist, authmysqlrc, authmysqlrc.dist), but nothing else. So all of your modifications for /etc/courier-imap, instead of /etc/courier, are still valid. I just don't know about the two files "authdaemonrc" and "authmodulelist", which show up in vhcs-2.4/configs/courier/Makefile for /etc/courier-imap as well (whereas I would put them into /etc/courier/authlib). Except the modules line in authdaemonrc, there are not any other changes, so those two files probably do not matter at all.

If this is alright, I would just apply all the location changes by using a patchfile on the original tarball, I think this is less hassle, than to apply all those symlinks. On the other hand, using the full set of symlinks would make it easier to upgrade in the future, as long as there is no ebuild available for it.
taskara wrote:
Master One wrote:I'd appreciate clearification for that matters, as I'd like to use the original package and apply a patch for Gentooification.
Go for it! I was hoping someone else would be able to contribute some changes.. I didn't get it all working. I think we should use the original tarball and use symlinks or what not to get it working under gentoo.. else it's a lot of work for each subsequent version release..
It's a pitty, that you couldn't find the time to proceed, you surely were already close to the best possible implementation. I still wonder if anybody got it fully working by now in Gentoo.
Las torturas mentales de la CIA
Top
Vyeperman
Tux's lil' helper
Tux's lil' helper
Posts: 89
Joined: Thu Dec 18, 2003 2:36 am

  • Quote

Post by Vyeperman » Fri May 13, 2005 7:36 pm

Well, that fixed half of it, it seems that g-cpan.pl doesn't want to install them. so what are the portage names for DBI and DBD/mysql?

Code: Select all

root@Kazami setup # g-cpan.pl DBI DBD::mysql

CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Wed, 11 May 2005 08:54:45 GMT
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
  ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
Fetching with LWP:
  ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
  Database was generated on Fri, 13 May 2005 09:55:54 GMT
Fetching with LWP:
  ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
************************************************************************
*
*
*  Ebuild already exists for 'DBI': DBI
*
*
************************************************************************
************************************************************************
*
*
*  Ebuild already exists for 'DBD::mysql': DBD-mysql
*
*
************************************************************************
root@Kazami setup # ./vhcs2-setup 

CRITICAL ERROR: Module [DBI] WAS NOT FOUND !

CRITICAL ERROR: Module [DBD::mysql] WAS NOT FOUND !

Modules [DBI, DBD::mysql] WAS NOT FOUND in your system...
-Vyeperman
Top
Master One
l33t
l33t
User avatar
Posts: 754
Joined: Mon Aug 25, 2003 5:14 pm
Location: Austria

  • Quote

Post by Master One » Fri May 13, 2005 7:53 pm

It's obvious, Vyeperman, the script is already telling you: DBI and DBD-mysql.

I got it installed yesterday, played arround with it, but already dropped the idea of using VHCS2 again. It looks pretty nice, and has most of the needed standard features and more, but it does not play well with SSL, there is a lot of manual work to do when SSL is needed. The other thing is, there was still something wrong with my installation, it couldn't add a user, also the shown shellcommand was correct. And at last it got too confusing, because I didn't want to use bind, as I am already using dnsmasq for the local nameserving on another machine, and the virtual mailsystem was also an overkill, since I want to implement a groupware solution with embedded mailserver. I'll go back to a manual and simple handling for this webserver.

I know, this is OT, but anyone can suggest 'standalone' traffic / access analysing tools, which can be compared to the ones from VHCS2, and which can be added to a standard apache + mod_php + mysql setup the easy way?
Las torturas mentales de la CIA
Top
taskara
Advocate
Advocate
Posts: 3762
Joined: Wed Apr 10, 2002 11:38 pm
Location: Australia

  • Quote

Post by taskara » Sat May 14, 2005 3:13 am

Master One, something like this? http://gentoo-wiki.com/HOWTO_Apache_2_b ... h_limiting

Vyeperman,

Code: Select all

josiah ~ # emerge -av DBI DBD-mysql

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] dev-perl/DBI-1.46 [1.38-r1] 0 kB
[ebuild     U ] dev-perl/DBD-mysql-2.9003 [2.1027] 110 kB

Total size of downloads: 110 kB

Do you want me to merge these packages? [Yes/No]
there are a lot of holes in vhcs2 for gentoo atm.. it needs a lot of work, especially to work out the userdb and courier stuff..
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Top
Master One
l33t
l33t
User avatar
Posts: 754
Joined: Mon Aug 25, 2003 5:14 pm
Location: Austria

  • Quote

Post by Master One » Sat May 14, 2005 7:59 am

taskara wrote:Master One, something like this? http://gentoo-wiki.com/HOWTO_Apache_2_b ... h_limiting
No, I don't want traffic shaping, but just something to analyse the traffic and access for a website. I already searched, and awstats seems to be the most promising project.
Las torturas mentales de la CIA
Top
taskara
Advocate
Advocate
Posts: 3762
Joined: Wed Apr 10, 2002 11:38 pm
Location: Australia

  • Quote

Post by taskara » Sat May 14, 2005 11:30 am

Master One wrote:
taskara wrote:Master One, something like this? http://gentoo-wiki.com/HOWTO_Apache_2_b ... h_limiting
No, I don't want traffic shaping, but just something to analyse the traffic and access for a website. I already searched, and awstats seems to be the most promising project.
oh sorry, misunderstood.

awstats is pretty good, there is also webalizer
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Top
RUDIII
n00b
n00b
Posts: 63
Joined: Mon May 31, 2004 6:05 pm
Location: Germany - Hamburg

  • Quote

Post by RUDIII » Mon Jun 13, 2005 7:36 pm

Same error here. What to do now?

Code: Select all

web setup # cd /var/www/localhost/htdocs/vhcs2/engine/setup/ ; ./vhcs2-setup
CRITICAL ERROR: Module [MIME::Entity] WAS NOT FOUND !

CRITICAL ERROR: Module [Crypt::Blowfish] WAS NOT FOUND !

Modules [MIME::Entity, Crypt::Blowfish] WAS NOT FOUND in your system...

Vyeperman wrote:Well, that fixed half of it, it seems that g-cpan.pl doesn't want to install them. so what are the portage names for DBI and DBD/mysql?

Code: Select all

root@Kazami setup # g-cpan.pl DBI DBD::mysql

CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Wed, 11 May 2005 08:54:45 GMT
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
  ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
Fetching with LWP:
  ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
  Database was generated on Fri, 13 May 2005 09:55:54 GMT
Fetching with LWP:
  ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
************************************************************************
*
*
*  Ebuild already exists for 'DBI': DBI
*
*
************************************************************************
************************************************************************
*
*
*  Ebuild already exists for 'DBD::mysql': DBD-mysql
*
*
************************************************************************
root@Kazami setup # ./vhcs2-setup 

CRITICAL ERROR: Module [DBI] WAS NOT FOUND !

CRITICAL ERROR: Module [DBD::mysql] WAS NOT FOUND !

Modules [DBI, DBD::mysql] WAS NOT FOUND in your system...
Top
taskara
Advocate
Advocate
Posts: 3762
Joined: Wed Apr 10, 2002 11:38 pm
Location: Australia

  • Quote

Post by taskara » Tue Jun 14, 2005 1:25 am

Code: Select all

emerge -av DBD-mysql DBI
they are already in the portage tree
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Top
RUDIII
n00b
n00b
Posts: 63
Joined: Mon May 31, 2004 6:05 pm
Location: Germany - Hamburg

  • Quote

Post by RUDIII » Tue Jun 14, 2005 5:13 am

And how to get "MIME::Entity" ?
Top
taskara
Advocate
Advocate
Posts: 3762
Joined: Wed Apr 10, 2002 11:38 pm
Location: Australia

  • Quote

Post by taskara » Tue Jun 14, 2005 5:38 am

did you run

Code: Select all

g-cpan.pl MIME::Entity
:?:
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Top
RUDIII
n00b
n00b
Posts: 63
Joined: Mon May 31, 2004 6:05 pm
Location: Germany - Hamburg

  • Quote

Post by RUDIII » Tue Jun 14, 2005 11:33 am

Of course!

Code: Select all

web / # g-cpan.pl MIME::Entity
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Mon, 13 Jun 2005 00:57:13 GMT
************************************************************************
*
*
*  Ebuild already exists for 'MIME::Entity': MIME-tools
*
*
************************************************************************
Top
taskara
Advocate
Advocate
Posts: 3762
Joined: Wed Apr 10, 2002 11:38 pm
Location: Australia

  • Quote

Post by taskara » Tue Jun 14, 2005 11:56 am

so, what is it telling you?...
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Top
RUDIII
n00b
n00b
Posts: 63
Joined: Mon May 31, 2004 6:05 pm
Location: Germany - Hamburg

  • Quote

Post by RUDIII » Tue Jun 14, 2005 12:05 pm

taskara wrote:so, what is it telling you?...
That it already exists. But the setup of vhcs2 has another opinion ;)
Top
taskara
Advocate
Advocate
Posts: 3762
Joined: Wed Apr 10, 2002 11:38 pm
Location: Australia

  • Quote

Post by taskara » Tue Jun 14, 2005 12:06 pm

RUDIII wrote:
taskara wrote:so, what is it telling you?...
That it already exists. But the setup of vhcs2 has another opinion ;)
lol

look carefully
Ebuild already exists for 'MIME::Entity': MIME-tools
what is that saying? it's the same thing as the other ones... common.. u can do it! ;)
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Top
taskara
Advocate
Advocate
Posts: 3762
Joined: Wed Apr 10, 2002 11:38 pm
Location: Australia

  • Quote

Post by taskara » Tue Jun 14, 2005 12:17 pm

OK, here you are:

Ebuild already exists for 'DBI': DBI
Ebuild already exists for 'DBD::mysql': DBD-mysql
Ebuild already exists for 'MIME::Entity': MIME-tools

so

Code: Select all

emerge -av MIME-tools
(just like the other ones you did)

told you, it was starring you in the face! :)
-c
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Top
RUDIII
n00b
n00b
Posts: 63
Joined: Mon May 31, 2004 6:05 pm
Location: Germany - Hamburg

  • Quote

Post by RUDIII » Tue Jun 14, 2005 5:05 pm

Oh, I unterstand. But I've already done it. And it didn't solve the problem. Thats the problem ;)

Code: Select all

web / # emerge -av MIME-tools

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] dev-perl/MIME-tools-5.415  0 kB 
....merging...
>>> dev-perl/MIME-tools-5.415 merged.

....
web setup # ./vhcs2-setup 

CRITICAL ERROR: Module [MIME::Entity] WAS NOT FOUND !

Modules [MIME::Entity] WAS NOT FOUND in your system...
Top
taskara
Advocate
Advocate
Posts: 3762
Joined: Wed Apr 10, 2002 11:38 pm
Location: Australia

  • Quote

Post by taskara » Tue Jun 14, 2005 9:47 pm

Hmm well, I C... my apologies!!

I'll have to look into this later on... anyone else have any ideas?

I need to test the non-beta vhcs2 soon anyway..
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Top
SpideriK
n00b
n00b
Posts: 35
Joined: Fri Oct 01, 2004 1:50 pm

  • Quote

Post by SpideriK » Tue Jun 14, 2005 10:29 pm

I'll say that I got same kind of problem and I had to do this and it's very long

Code: Select all

/usr/portage/dev-lang/perl/files/libperl_rebuilder
good Luck
Top
taskara
Advocate
Advocate
Posts: 3762
Joined: Wed Apr 10, 2002 11:38 pm
Location: Australia

  • Quote

Post by taskara » Tue Jun 14, 2005 10:54 pm

Thanks SpideriK.

RUDIII, could you please give that a try?
Danke!
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Top
RUDIII
n00b
n00b
Posts: 63
Joined: Mon May 31, 2004 6:05 pm
Location: Germany - Hamburg

  • Quote

Post by RUDIII » Wed Jun 15, 2005 3:05 pm

taskara wrote:Thanks SpideriK.

RUDIII, could you please give that a try?
Danke!
Yes, it takes a while...
It's still merging ;)
Top
j-m
Retired Dev
Retired Dev
Posts: 975
Joined: Sun Oct 31, 2004 3:54 pm

  • Quote

Post by j-m » Wed Jun 15, 2005 8:49 pm

SpideriK wrote:I'll say that I got same kind of problem and I had to do this and it's very long

Code: Select all

/usr/portage/dev-lang/perl/files/libperl_rebuilder
good Luck

Bah, don´t use that one next time! 8O

Code: Select all

/usr/portage/dev-lang/perl/files/perl-cleaner
it what you want. Waaay much faster, saner and better! 8)

There is also a separate ebuild now - app-admin/perl-cleaner
Top
RUDIII
n00b
n00b
Posts: 63
Joined: Mon May 31, 2004 6:05 pm
Location: Germany - Hamburg

  • Quote

Post by RUDIII » Mon Jun 20, 2005 5:51 pm

now i've vhcs2 on a sarge subsystem and im happy.
thanks for help! i hope it helps other users with this problem...
Top
mino
n00b
n00b
Posts: 3
Joined: Sun Dec 19, 2004 12:51 pm

  • Quote

Post by mino » Thu Jul 07, 2005 1:44 pm

Hello Guys,

i did the HowTo Step by Step but i have a big problem with the vhcs installation script, i cant figure out where the script of you have a problem.

Code: Select all

    Please enter admininistrator email address: huhu@huhu.de
Use of uninitialized value in concatenation (.) or string at /var/www/localhost/                                                                  htdocs/vhcs2/engine/vhcs2_common_code.pl line 629, <STDIN> line 9.
ERROR: Undefined input data, dname: ||, duid: |root|, dgid: |root|, dperms: |493                                                                  | !
and i already test to setup a gentoo installation of vhcs2 with the newest version but the apache reload doesnt work at all. If i add a new web account the apache reload, if i kill a user the apache doesnt reload very well. If i go on my ip I see everytime the homepage of my last added user and not the vhcs panel :(
Top
RUDIII
n00b
n00b
Posts: 63
Joined: Mon May 31, 2004 6:05 pm
Location: Germany - Hamburg

  • Quote

Post by RUDIII » Sun Jul 10, 2005 7:11 am

mino wrote:If i go on my ip I see everytime the homepage of my last added user and not the vhcs panel :(
Look at your vhost settings. I thinks thats because vhcs2 writes the last added user at first in the vhost.
Does your bind runs?
Top
minaural
n00b
n00b
Posts: 8
Joined: Wed Mar 26, 2003 6:46 am

  • Quote

Post by minaural » Tue Jul 12, 2005 10:15 pm

Is there a reason to use "threads"? Will it break anything if I -threads in the USE flags?

The reason I am asking is because whenever i have threads enabled, apache2 (2.0.54) becomes a huge memory hog and spawns like ~60 processess at 12M memory each. I checked the mpm_worker settings at it doesnt appear to be using the limits.
Top
Post Reply

108 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next

Return to “Documentation, Tips & Tricks”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic