Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VHCS2 on Gentoo HowTo
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Master One
l33t
l33t


Joined: 25 Aug 2003
Posts: 754
Location: Austria

PostPosted: Thu May 12, 2005 11:30 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Vyeperman
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2003
Posts: 89

PostPosted: Fri May 13, 2005 7:36 pm    Post subject: Reply with quote

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:
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
Back to top
View user's profile Send private message
Master One
l33t
l33t


Joined: 25 Aug 2003
Posts: 754
Location: Austria

PostPosted: Fri May 13, 2005 7:53 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Sat May 14, 2005 3:13 am    Post subject: Reply with quote

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

Vyeperman,
Code:
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!
Back to top
View user's profile Send private message
Master One
l33t
l33t


Joined: 25 Aug 2003
Posts: 754
Location: Austria

PostPosted: Sat May 14, 2005 7:59 am    Post subject: Reply with quote

taskara wrote:
Master One, something like this? http://gentoo-wiki.com/HOWTO_Apache_2_bandwidth_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
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Sat May 14, 2005 11:30 am    Post subject: Reply with quote

Master One wrote:
taskara wrote:
Master One, something like this? http://gentoo-wiki.com/HOWTO_Apache_2_bandwidth_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!
Back to top
View user's profile Send private message
RUDIII
n00b
n00b


Joined: 31 May 2004
Posts: 63
Location: Germany - Hamburg

PostPosted: Mon Jun 13, 2005 7:36 pm    Post subject: Reply with quote

Same error here. What to do now?


Code:
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:
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...
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Tue Jun 14, 2005 1:25 am    Post subject: Reply with quote

Code:
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!
Back to top
View user's profile Send private message
RUDIII
n00b
n00b


Joined: 31 May 2004
Posts: 63
Location: Germany - Hamburg

PostPosted: Tue Jun 14, 2005 5:13 am    Post subject: Reply with quote

And how to get "MIME::Entity" ?
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Tue Jun 14, 2005 5:38 am    Post subject: Reply with quote

did you run
Code:
g-cpan.pl MIME::Entity
:?:
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
RUDIII
n00b
n00b


Joined: 31 May 2004
Posts: 63
Location: Germany - Hamburg

PostPosted: Tue Jun 14, 2005 11:33 am    Post subject: Reply with quote

Of course!

Code:

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
*
*
************************************************************************
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Tue Jun 14, 2005 11:56 am    Post subject: Reply with quote

so, what is it telling you?...
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
RUDIII
n00b
n00b


Joined: 31 May 2004
Posts: 63
Location: Germany - Hamburg

PostPosted: Tue Jun 14, 2005 12:05 pm    Post subject: Reply with quote

taskara wrote:
so, what is it telling you?...


That it already exists. But the setup of vhcs2 has another opinion ;)
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Tue Jun 14, 2005 12:06 pm    Post subject: Reply with quote

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

Quote:
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!
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Tue Jun 14, 2005 12:17 pm    Post subject: Reply with quote

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:
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!
Back to top
View user's profile Send private message
RUDIII
n00b
n00b


Joined: 31 May 2004
Posts: 63
Location: Germany - Hamburg

PostPosted: Tue Jun 14, 2005 5:05 pm    Post subject: Reply with quote

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

Code:

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...
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Tue Jun 14, 2005 9:47 pm    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
SpideriK
n00b
n00b


Joined: 01 Oct 2004
Posts: 35

PostPosted: Tue Jun 14, 2005 10:29 pm    Post subject: Reply with quote

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

Code:
/usr/portage/dev-lang/perl/files/libperl_rebuilder


good Luck
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Tue Jun 14, 2005 10:54 pm    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
RUDIII
n00b
n00b


Joined: 31 May 2004
Posts: 63
Location: Germany - Hamburg

PostPosted: Wed Jun 15, 2005 3:05 pm    Post subject: Reply with quote

taskara wrote:
Thanks SpideriK.

RUDIII, could you please give that a try?
Danke!


Yes, it takes a while...
It's still merging ;)
Back to top
View user's profile Send private message
j-m
Retired Dev
Retired Dev


Joined: 31 Oct 2004
Posts: 975

PostPosted: Wed Jun 15, 2005 8:49 pm    Post subject: Reply with quote

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

Code:
/usr/portage/dev-lang/perl/files/libperl_rebuilder


good Luck



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

Code:

/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
Back to top
View user's profile Send private message
RUDIII
n00b
n00b


Joined: 31 May 2004
Posts: 63
Location: Germany - Hamburg

PostPosted: Mon Jun 20, 2005 5:51 pm    Post subject: Reply with quote

now i've vhcs2 on a sarge subsystem and im happy.
thanks for help! i hope it helps other users with this problem...
Back to top
View user's profile Send private message
mino
n00b
n00b


Joined: 19 Dec 2004
Posts: 3

PostPosted: Thu Jul 07, 2005 1:44 pm    Post subject: Reply with quote

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:
    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 :(
Back to top
View user's profile Send private message
RUDIII
n00b
n00b


Joined: 31 May 2004
Posts: 63
Location: Germany - Hamburg

PostPosted: Sun Jul 10, 2005 7:11 am    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
minaural
n00b
n00b


Joined: 26 Mar 2003
Posts: 8

PostPosted: Tue Jul 12, 2005 10:15 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5  Next
Page 2 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum