[gentoo-user] www-apps/groupoffice php problem / alternative?
Hello List I'm using www-apps/groupoffice (Installed versions: 2.18.6(2.18.6)(17:26:20 18.01.2011)(-vhosts)) since years and I'm also using www-apps/mediawiki (Installed versions: 1.16.1(1.16.1)!t(12:59:13 12.01.2011)(imagemagick mysql sqlite -math -ocamlopt -postgres -vhosts)). In my /etc/portage/package.mask I had=dev-lang/php-5.3.4 and =www-apps/mediawiki-1.14.0 because I was too lazy for upgrading mediawiki (and because groupoffice needs that old php version!). Now I decided to upgrade so I removed those two maskings. I solved all update/upgrade/compile proplems so all components where finally installed successfully. But groupoffice doesn't work now. It works when I change the php version to the older one but than mediawiki will no longer work. Here's my php eselct settings: eselect php list apache2 [1] php5.2 [2] php5.3 * So I installed both versions (see eix php at the end of this mail). Now my three questions: 1. Is it possible to tell apache to use the old php for groupoffice and how can I do that? 2. For groupoffice is a newer version availlable which would use the newer php version but it's not in portage. Why? 3. Does anybody use another groupoffice? Actually I need only the feature for email. Usualy I connect with thunderbird to my IMAP-Server but when I'm on the way and have only a browser I want to access IMAP and send Emails anyway. I tried all groupware in portage like horde and so on, and none of them fitted my needs. Hope someone can help. Thanks a lot and cheers Christian eix dev-lang/php [I] dev-lang/php Available versions: (5) 5.2.14 5.3.3-r1 (5.2) 5.2.16 5.2.17 (5.3) 5.3.4 5.3.5 {adabas apache2 bcmath berkdb birdstep bzip2 calendar cdb cgi cjk +cli concurrentmodphp crypt +ctype curl curlwrappers db2 dbase dbmaker debug discard-path doc embed empress empress-bcs enchant esoob exif fdftk +fileinfo +filter firebird flatfile force-cgi-redirect fpm frontbase ftp gd gd-external gdbm gmp +hash +iconv imap inifile interbase intl iodbc ipv6 +json kerberos kolab ldap ldap-sasl libedit mcve mhash msql mssql mysql mysqli mysqlnd ncurses nls oci8 oci8-instant-client odbc pcntl +pcre pdo +phar pic +posix postgres qdbm readline recode (+)reflection sapdb +session sharedext sharedmem +simplexml snmp soap sockets solid spell (+)spl sqlite sqlite3 ssl suhosin sybase-ct sysvipc threads tidy +tokenizer truetype unicode wddx (+)xml (+)xmlreader xmlrpc (+)xmlwriter xpm xsl yaz zip zlib} Installed versions: 5.2.17(5.2)(20:35:49 18.01.2011)(apache2 bcmath berkdb bzip2 calendar cjk cli crypt ctype ftp gd hash iconv imap mhash mysql mysqli ncurses nls pcre pdo pic readline session sqlite ssl threads truetype unicode xml zip zlib -adabas -birdstep -cdb -cgi -curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -embed -empress -empress-bcs -esoob -exif -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -gd-external -gdbm -gmp -inifile -interbase -iodbc -ipv6 -json -kerberos -kolab -ldap -ldap-sasl -libedit -mcve -msql -mssql -oci8 -oci8-instant-client -odbc -pcntl -posix -postgres -qdbm -recode -reflection -sapdb -sharedext -sharedmem -simplexml -snmp -soap -sockets -solid -spell -spl -suhosin -sybase-ct -sysvipc -tidy -tokenizer -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz) 5.3.5(5.3)(12:49:11 12.01.2011)(apache2 bcmath berkdb bzip2 calendar cjk cli crypt ctype ftp gd hash iconv imap mhash mysql mysqli nls pdo pic readline session sqlite ssl threads truetype unicode xml zip zlib -adabas -birdstep -cdb -cgi -curl -curlwrappers -db2 -dbmaker -debug -doc -embed -empress -empress-bcs -enchant -esoob -exif -fileinfo -filter -firebird -flatfile -fpm -frontbase -gd-external -gdbm -gmp -inifile -interbase -intl -iodbc -ipv6 -json -kerberos -kolab -ldap -ldap-sasl -libedit -mssql -mysqlnd -oci8 -oci8-instant-client -odbc -pcntl -phar -posix -postgres -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -sockets -solid -spell -sqlite3 -suhosin -sybase-ct -sysvipc -tidy -tokenizer -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl) Homepage:http://php.net/ Description: The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs. emerge --info Portage 2.1.9.25 (default/linux/x86/10.0/server, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo-r5_Nizzzernet_D1000_newKernel_01_ i686) = System uname: Linux-2.6.36-gentoo-r5_Nizzzernet_D1000_newKernel_01_-i686-AMD_Duron-tm-with-gentoo-1.12.14 Timestamp of tree: Wed, 19 Jan 2011 15:45:02 + distcc 3.1 i686-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11-r1 dev-lang/python: 2.6.6-r1, 3.1.2-r4 dev-util/ccache: 2.4-r9 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox:2.4 sys-devel/autoconf: 2.65-r1 sys-devel/automake: 1.4_p6-r1, 1.5-r1, 1.7.9-r2, 1.8.5-r4,
Re: [gentoo-user] Problem with old nvidia-drivers-71.86.11 (depending x11-base/xorg-server vanished form portage-tree)
I don't think this is it... Am 21.12.2009 23:24, schrieb Dale: Alan McKinnon wrote: On Monday 21 December 2009 18:48:25 Christian Könitzer wrote: Hi list, I'm using a quite old NVIDIA card aqnd it worked well but since a few days it seams to be deprecated. After a eix --sync I got this: emerge -DuN world Calculating dependencies... done! emerge: there are no ebuilds to satisfy x11-base/xorg-server-1.4.99. (dependency required by x11-drivers/nvidia-drivers-71.86.11 [installed]) (dependency required by world [argument]) And eix tells me: eix x11-drivers/nvidia-drivers [D] x11-drivers/nvidia-drivers Available versions: [M]71.86.09!s [M]71.86.11!s [m]96.43.13!s [m](~)96.43.14!s [m]173.14.20!s [m](~)173.14.20-r1!s [m](~)173.14.22!s [m]180.60!s [m]185.18.36!s [m](~)185.18.36-r1!s [m](~)190.29!s [m](~)190.42-r2!s [m](~)190.42-r3!s {acpi custom-cflags gtk kernel_FreeBSD kernel_linux multilib userland_BSD} Installed versions: 71.86.11!s(10:52:39 23.10.2009)(acpi gtk kernel_linux -custom-cflags -kernel_FreeBSD -multilib -userland_BSD) Homepage:http://www.nvidia.com/ Description: NVIDIA X11 driver and GLX libraries Your version of nvidia-drivers is listed as hardmasked in profiles/package.mask: # Mask nvidia-drivers-71.x.y since it will not work # with xorg-server-1.5 and later which are the only # available versions in the tree x11-drivers/nvidia-drivers-72.0.0 You will need to find an ebuild for the version of xorg you need in an overlay somewhere, or search the gentoo attic You'll have to google for the URL for the attic, it's one of those things I can never remember... Is this it? http://sources.gentoo.org/viewcvs.py/ Dale :-) :-)
Re: [gentoo-user] Re: Problem with old nvidia-drivers-71.86.11 (depending x11-base/xorg-server vanished form portage-tree)
After reading what overlays are I decided to unmerge my nvidia drivers and use the nv driver instead. Thanks for all your answers! :-) Am 21.12.2009 22:38, schrieb walt: On 12/21/2009 08:48 AM, Christian Könitzer wrote: Hi list, I'm using a quite old NVIDIA card aqnd it worked well but since a few days it seams to be deprecated. After a eix --sync I got this: emerge -DuN world Calculating dependencies... done! emerge: there are no ebuilds to satisfy x11-base/xorg-server-1.4.99. (dependency required by x11-drivers/nvidia-drivers-71.86.11 [installed]) Hm. I used that driver until very recently, when my brother-in-law upgraded his video card and gave the old one for free. His timing is not usually that good. :o) You can still use the nv driver, if that's adequate for your needs. If the nv driver isn't good enough, then I'd say it's time upgrade your video card after all these years. I never really noticed any difference between the nvidia and nv drivers when I still used the old TNT card.
Re: [gentoo-user] Writing a bash script or thinking about it anyway.
I agree with Jesús but recommend you to use rsync for backup purpose. Simple google for rsync backup script. And this link explains why: http://www.sanitarium.net/golug/rsync_backups.html There are a lot backup scripts using rsync out there and most of them are written in bash so it's anyway a good idea to learn a bit bash ;) Am 22.12.2009 11:34, schrieb Jesús Guerrero: On Mon, 21 Dec 2009 21:22:05 -0600, Dalerdalek1...@gmail.com wrote: Hi folks, Me again. I'm thinking about writing a bash script that backs up my /home directory. I found a guide but before I read all that stuff and muddy up the waters, is this thing current and will it work fine with the bash Gentoo uses? Links to a even better guide would be good too. The guide I found is here: http://tldp.org/LDP/abs/html/ The advanced bash scripting guide will be equally valid nowadays as it was when it was first written. A few minor edges have changed in bash in the latest times, but you are unlikely to get touched by these unless you are using some rare feature. After all, bash is compatible with the original bourne shell to a big extent, and that part of its behavior never changes. If you truly want to learn bash, I say go for it and come back when/if you have some problem.
Re: [gentoo-user] Writing a bash script or thinking about it anyway.
a question to b): Can you tell me a fs that supports snappshots (I'm planing to set up a new server so you can choose a new fs... (now I am using reiserfs)) and maybe how to use it (link)? So if you say or LSM does this mean I can achieve this also woth LVM? How? thx... If you have some more tips, my current server runs on a single HDD and a daily rsync to another computer makes my backup. In my new server I'd like to improve as much as possible for as less money and energy as possible (since it's only for me...) so I thought about RAID as well. Today I'm using very old standard desktop hardware and for the new one I like to use also standard hardware so I don't know if I can afford a RAID-5 card or so... and I never made software RAID... do you have some recommendations (links?)? thx cheers Christian Am 22.12.2009 13:11, schrieb Jesús Guerrero: On Tue, 22 Dec 2009 12:20:46 +0100, Christian Könitzerch...@gmx.ch wrote: I agree with Jesús but recommend you to use rsync for backup purpose. Simple google for rsync backup script. And this link explains why: http://www.sanitarium.net/golug/rsync_backups.html There are a lot backup scripts using rsync out there and most of them are written in bash so it's anyway a good idea to learn a bit bash ;) That's basically it. I also agree that rsync is nowadays the way to go for general purpose backups, unless... a) the volume can't be mounted while the backup is running (not the case) b) your fs supports snapshots (or you use LVM) c) you have an rcs based solution, like svn, git or whatever else The snapshot option is the absolute safest because it ensures that all the files will be consistent, and the tar based solution is probably the worst of them unless you truly can guarantee that the files are not being written concurrently while you do the backup (i.e. the fs is not being used at all or it's mounted read only). A good practice in any case is to capture the exist status of any given tool you are going to use to ensure that no error happened. Discovering that a backup is incomplete or corrupt when you need it is a bit unpleasant to say the least. Bash can be used for that, just to put a simple example. As you say, regardless of the solution of your choice to do the actual backup there's a lot of room for improvement, automation, error loging, verification, etc. using shell scripting.
[gentoo-user] Problem with old nvidia-drivers-71.86.11 (depending x11-base/xorg-server vanished form portage-tree)
Hi list, I'm using a quite old NVIDIA card aqnd it worked well but since a few days it seams to be deprecated. After a eix --sync I got this: emerge -DuN world Calculating dependencies... done! emerge: there are no ebuilds to satisfy x11-base/xorg-server-1.4.99. (dependency required by x11-drivers/nvidia-drivers-71.86.11 [installed]) (dependency required by world [argument]) And eix tells me: eix x11-drivers/nvidia-drivers [D] x11-drivers/nvidia-drivers Available versions: [M]71.86.09!s [M]71.86.11!s [m]96.43.13!s [m](~)96.43.14!s [m]173.14.20!s [m](~)173.14.20-r1!s [m](~)173.14.22!s [m]180.60!s [m]185.18.36!s [m](~)185.18.36-r1!s [m](~)190.29!s [m](~)190.42-r2!s [m](~)190.42-r3!s {acpi custom-cflags gtk kernel_FreeBSD kernel_linux multilib userland_BSD} Installed versions: 71.86.11!s(10:52:39 23.10.2009)(acpi gtk kernel_linux -custom-cflags -kernel_FreeBSD -multilib -userland_BSD) Homepage:http://www.nvidia.com/ Description: NVIDIA X11 driver and GLX libraries and: eix x11-base/xorg-server [I] x11-base/xorg-server Available versions: 1.5.3-r6 1.6.3.901-r2 1.6.5-r1 ~1.7.3 ~1.7.3.901 ~1.7.3.901-r1 {3dfx debug dmx hal input_devices_acecad input_devices_aiptek input_devices_citron input_devices_elographics input_devices_evdev input_devices_fpit input_devices_hyperpen input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_mutouch input_devices_penmount input_devices_synaptics input_devices_tslib input_devices_virtualbox input_devices_vmmouse input_devices_void input_devices_wacom ipv6 kdrive minimal nptl sdl tslib video_cards_apm video_cards_ark video_cards_ast video_cards_chips video_cards_cirrus video_cards_dummy video_cards_epson video_cards_fbdev video_cards_geode video_cards_glint video_cards_i128 video_cards_i740 video_cards_impact video_cards_intel video_cards_mach64 video_cards_mga video_cards_neomagic video_cards_newport video_cards_nv video_cards_nvidia video_cards_r128 video_cards_radeon video_cards_radeonhd video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_sunbw2 video_cards_suncg14 video_cards_suncg3 video_cards_suncg6 video_cards_sunffb video_cards_sunleo video_cards_suntcx video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_via video_cards_virtualbox video_cards_vmware video_cards_voodoo video_cards_xgi xorg} Installed versions: 1.6.5-r1(09:35:40 12.12.2009)(hal nptl sdl xorg -debug -dmx -ipv6 -kdrive -minimal -tslib) Homepage:http://xorg.freedesktop.org/ Description: X.Org X servers As descriped by the user guid I'm not doing wrong: http://www.gentoo.org/doc/en/nvidia-guide.xml In /etc/portage/package.mask i added: ... =sys-kernel/gentoo-sources-2.6.28 =sys-apps/baselayout-1.12.13 =x11-drivers/nvidia-drivers-87.00 ... In /etc/portage/package.keywords I added: ... x11-drivers/nvidia-drivers ~x86 ... So for me it looks like the xorg server which is required by my nvidia-card (x11-drivers/nvidia-drivers-71.86.11) isn't longer in the portage-tree... Don't know what to do now - do I need to buy a newer graphiccard? :O ;) Hopefully not... cheers Chris
Re: [gentoo-user] spamassassin error
Hi don't know if this helps, but here you can see my use flags and it worls on my system: [I] mail-filter/spamassassin Available versions: 3.1.8 3.1.8-r1 ~3.2.0 ~3.2.0-r1 ~3.2.1 3.2.1-r1 ~3.2.2 ~3.2.3 ~3.2.4 ~3.2.5 ~3.2.5-r1 {berkdb doc ipv6 ldap mysql postgres qmail sqlite ssl tools} Installed versions: 3.2.1-r1(06:48:52 27.08.2009)(berkdb mysql sqlite ssl -doc -ipv6 -ldap -postgres -qmail -tools) Homepage:http://spamassassin.apache.org/ Description: SpamAssassin is an extensible email filter which is used to identify spam. problably the perl-core/DB_File needs the berkdb flag... and maybe you should start it with -D so you get an better error message. cheers Arnau Bria schrieb: Hi all, I've a cron which trains my spamassassin and it has sttoped working: /usr/bin/sa-learn --spam /home/arnau/Mail/SPAM/ ERROR: the Bayes learn function returned an error, please re-run with -D for more information the problem comes because there's a missing package: perl-core/DB_File but seems that emerge doesn't want to install it, and I'm wondering what use I'm missing: [I] mail-filter/spamassassin Available versions: 3.1.8 3.1.8-r1 ~3.2.0 ~3.2.0-r1 ~3.2.1 3.2.1-r1 ~3.2.2 ~3.2.3 ~3.2.4 ~3.2.5 ~3.2.5-r1 {berkdb doc ipv6 ldap mysql postgres qmail sqlite ssl tools} Installed versions: 3.2.1-r1(06:15:05 PM 11/11/2009)(ssl -berkdb -doc -ipv6 -ldap -mysql -postgres -qmail -sqlite -tools) or what I'm doing wrong :-) do I have to add DB_File to world? cause if I install the package with oneshot option, depclean wants to remove it. Anyone faced same problem? Cheers,
Re: [gentoo-user] udev (probably)
Add =sys-apps/baselayout-1.12.13 to your /etc/portage/package.mask and emerge -DuN world and reboot the PC It worked for me. There is also a bug in bugzilla with more solutions: http://bugs.gentoo.org/show_bug.cgi?id=291916 For the first message you can turn CONFIG_SYSFS_DEPRECATED off in your kernel but it has nothing to do with the problem Michael Sullivan schrieb: I've been working all day rearranging furniture in my apartment. I got the my computer to its new spot and hooked everything up and booted and I saw a message that said something about some kernel option that was turned on that shouldn't be, and that udev might not work. When I got logged in, I found that Mythtv was all screwed up and that it said I didn't have any programs set to record. LiveTV didn't work at all. My tv card (dev/video0); ls says it's there, but cat says it's not. When I used /etc/init.d/udev I got a message saying that the udev initscript only works with baselayout 2 and that I shouldn't use it with baselayout 1. I didn't even know I was using baselayout 1! Anyway, is there a way, after I've booted the computer, to access those messages shown at startup?
[gentoo-user] Looking for a iCalendar (ICS), CalDAV, or WCAP-SERVER
Hi, I installed Lightning in my Mozilla Thunderbird. Lightening supports iCalendar (ICS), CalDAV, and Sun Java System Calendar Server (WCAP). How can I install one of those Servers on my Gentoo Linux (HowTo?, Package?)? I searched with eix -S wcap etc. but did nothing found nor did I found a server with google. I prefere to instal a WCAP-Server, than a iCalendar Server, and if both is not possible a CalDAV-Server... Thanks for any answer! Christian Könitzer -- Ch.Könitzer CK Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser