Gentoo Linux is a source-based Linux distro that uses the Portage package management system.

learn more… | top users | synonyms

0
votes
1answer
533 views

elasticsearch service wrapper on gentoo

I have elasticsearch installed and working in /opt/elasticsearch. I want to install a service wrapper for it to start/stop/restart it as a service. Elasticsearch recommends using java-service-wrapper: ...
1
vote
1answer
1k views

Where does gentoo store mongodb.conf? Want to change dbpath location

This may seem like an innocent enough question, but I can't for the life of me figure out where gentoo puts mongodb.conf after installation from portage. The documentation says to look under /etc/, ...
1
vote
2answers
366 views

Postgresql won't start, “Socket conflict”

I have a problem starting Postgresql on Gentoo. $ /etc/init.d/postgresql-9.1 start * Socket conflict. * A server is already listening on: * /var/run/postgresql/.s.PGSQL.5432 * HINT: Change ...
5
votes
2answers
281 views

maintenance/installation of ruby gems/ruby on rails on Linux in general and Gentoo

I am currently looking into Ruby/Ruby on Rails as an alternative to Python/Django. My main problem is that it is rather unclear what the best practices are when it comes to installing Ruby gems and/or ...
0
votes
2answers
117 views

light web server to run on vps

Has anyone tried to build a really light server that uses the least amount of space and memory, while giving high performance? I would assume that linux kernel can be configured to keep only ...
1
vote
1answer
997 views

Monit not restarting service

I have a node.js script I want to daemonize on a Funtoo system (I tagged as Gentoo, since I don't think there's anything really specific to Funtoo in here vs Gentoo), and I do this with the following ...
0
votes
1answer
417 views

Translating debian network configuration to gentoo

I just got rid off Debian on my VPS (OpenVZ) and installed Gentoo on it, however it is a plain Gentoo image without further configuration, i.e. no working network. I'm not familiar with Debian and ...
0
votes
1answer
520 views

Installing Gentoo on windows7 [closed]

Hi this is gonna be a very basic and naive question to many of you, but please answer. I am trying to install Gentoo from a live CD on my computer which already has windows 7 on it. I have ...
0
votes
1answer
882 views

Bad certificate error with RabbitMQ using SSL

I am trying to get RabbitMQ working with SSL on a couple of Gentoo servers. I get the following error in /var/log/rabbitmq/rabbit@...log when I try to connect to the management console using https: ...
1
vote
1answer
2k views

How do I upgrade Django 1.3.1 to 1.4? Any tips, tutorials, or warnings?

Django 1.4 was recently released. Almost all the information about Django 1.4 is in the release note, but I didn't see anything about how to upgrade. Should I just remove the django folder inside ...
1
vote
2answers
375 views

Relabeling of filesystems (SELinux) fails

After compiling the policy modules and re-compiling my core packages (Gentoo 32bit) I wanted to relabel the filesystems (via rlpkg -a -r) and packages but I get these error messages: Relabeling ...
0
votes
1answer
270 views

Running a Gentoo distfiles caching mirror on Debian

I have a variety of Linux hosts on my office LAN. I run apt-cacher-ng on a box to cache packagae downloads for all of the Debian and Ubuntu machines on the network. We have a few Gentoo users and I ...
0
votes
1answer
344 views

SELinux AVC denies at boot

My Gentoo box is running Gentoo Hardened/SELinux (32bit), I followed the Gentoo Hardened Guide to install it and the machine doesn't boot. Here is an extract from dmesg: Mar 12 19:15:04 ...
2
votes
2answers
979 views

Move an existing RAID 5 array from Ubuntu to Gentoo

I have a 64-bit Ubuntu machine with a 4-disk RAID 5 using software raid (md). I've been able to boot an Ubuntu LiveCD and recognize the array with a simple mdadm -A /dev/md0. It was easy to mount ...
1
vote
1answer
493 views

Django error saying “could not connect to server: Permission denied”

I am getting an error trying to visit my Django app. I am running Gentoo and the web server is Apache with the mod_wsgi module to display Django. The error says OperationalError at /admin/ could not ...
1
vote
1answer
1k views

Enabling mod_wsgi in Apache for a Django app on Gentoo

I installed Apache, Django, and mod_wsgi on Gentoo using emerge (on Amazon EC2). I know that the mod_wsgi is configured in /etc/apache2/modules.d/70_mod_wsgi.conf: <IfDefine WSGI> LoadModule ...
1
vote
1answer
320 views

SSH timing out to a Gentoo AMI (Amazon EC2)

I created a new instance of a Gentoo AMI (Gentoo_64-bit-EBS-2012-03-02-07-39-15 (ami-6ab26f03)). Both Status Checks passed (both system and instance reachability passed). I know the Key Pair Name is ...
2
votes
1answer
1k views

Graphite not running

I'm currently trying to install graphite 0.9.9 on a gentoo box using these instructions from the graphite wiki. Essentially, it fronts graphite using apache and mod_wsgi. Everything seems to have ...
1
vote
0answers
193 views

Attempting to DNS resolve / relay an IPv6 address for a host

I have a network switch doing IPv6 DNS relay to a Linux box (3.0.4-gentoo #7). The packets (DNS request) are arriving fine at the Linux box. Where I'm stuck now is how to resolve those, either by ...
0
votes
1answer
269 views

mod_rails. Apache + Nginx. After installing passenger Apache doesn't start

I've installed Nginx for optimizing the speed of Apache requests. For some weeks everything was fine, all my sites had started to fly indeed. BUT, I've decided to install passenger, and has broken my ...
0
votes
1answer
389 views

Default Apache2 installation layout on Gentoo and LinuxMint installs

I have a perl website that I am trying to set up on my local LinuxMint install. All the configuration files are in the mercurial repository, however the layout for the Apache2 configuration in Gentoo ...
2
votes
1answer
452 views

Using Gentoo's `ebegin`, `eend` etc under Ubuntu

We're quite fond of the style of the ebegin, eend, eerror, eindent etc commands used by Portage and other tools on Gentoo. The green-yellow-red bullets and standard layout make for very quick spotting ...
0
votes
2answers
2k views

Cannot load Memcached in PHP on Gentoo

I am using Gentoo Base System release 2.0.3, apache-2.2.21-r1, php 5.3.8-pl0 and memcached-1.4.5. I have done the following: emerge dev-php/pecl-memcache emerge dev-php/pecl-memcached emerge ...
1
vote
2answers
2k views

Amazon EC2 t1.micro + nginx + php-fpm = somtimes dead slow

First something about the infrastructure: We have migrated one of our backend/admin servers to amazon. The applications on this server are only used sporadically (max. 10 parallel users). We are ...
2
votes
1answer
1k views

Symfony2 app in subdirectory nginx

I'm trying to setup a symfony2 app in a subdirectory of our Server Webserver: nginx 1.1.6 + php fpm OS: gentoo my target is to get the app working from a subdirectory subdomain.xy.domain.tld/tool ...
1
vote
3answers
302 views

Gentoo emerge from a list with USE flags and specific version

I've got a list of packages from a Gentoo server, like that: [...snip...] media-libs/libsdl-1.2.13 -X -aalib -alsa -arts -custom-cflags -dga -directfb -esd -fbcon -ggi -libcaca -nas -noaudio ...
2
votes
2answers
169 views

upgrading kernel from 2.6.27 to 2.6.32

I have an openvz server, currently running on linux-2.6.27-openvz-kiprensky.1-r1 Now, I'm upgrading server and part of the upgrade is kernel upgrade. Now, I'm offered ...
0
votes
1answer
389 views

APC installed but not running on Gentoo

EDIT: i've reinstalled with Ubuntu server and it's not working as it should. Was never comfortable with Gentoo anyway ;) I'm a Gentoo noob so please be gentle :) I'm trying to install APC on a ...
1
vote
1answer
431 views

xen-sources, different versions different problems

I'm trying to get my xen-sources compiled and I'm having mixed results depending on which version I use. So far I haven't got any of the currently available (as of a week or so ago) xen-sources ...
4
votes
1answer
1k views

Exim TLS and Secure SMTP

I'm in the process of converting an existing mail server to support encrypted SMTP for our clients, but I've run into this brick wall with very little useful log data to help me forward. Everything ...
0
votes
2answers
725 views

Why is Memcached not working with vBulletin?

I have Memcached configured and setup to with work with vBulletin 4.1.5 on a Gentoo Linux 32-bit Linode VPS. Memcached is started, includes/config.php is configured to use the memcache, and the site ...
2
votes
2answers
232 views

Sharing distfiles between FreeBSD, OpenBSD, and Gentoo

Currently I have a few FreeBSD servers with one of them acting as build box sharing its /usr/ports and /usr/ports/distfiles (as separate file systems) through NFS. Recently I've added OpenBSD and ...
3
votes
3answers
2k views

VMware: How to keep time in guest after suspend

I have Gentoo installed as guest OS. I have hardware clock synced with host system, but the clock of OS tend to be wrong after suspend. The only solution I find out is run hwclock -s frequently via ...
0
votes
1answer
1k views

vsftpd over xinetd: connection refused

I've been banging my head against this for hours and I'm stumped. I am setting up a Gentoo Linux box with vsftpd. I can get it to work as a standalone daemon, but not with xinetd. When I try to ...
0
votes
1answer
322 views

Gentoo apache configuration. virtual hosts problem

I use LAMP and add to it virtual host ololo.loc! when I use links http://ololo.loc it works and i can see file from /var/www/ololo.loc/ when I use localhost in links it works too and i can see file ...
0
votes
4answers
532 views

Gentoo headless server suddenly hangs and needs a reboot to recover

Recently my gentoo server began dropping all network connections. Since it's a headless server hidden in a closet I don't have any other means of logging on, so I'm unable to get in when this happens. ...
2
votes
3answers
553 views

Is it possible to create and setup a virtual machine from command line?

I currently have a dedicated server running Gentoo Linux with only an SSH access and I was wondering if it's possible to create and setup a virtual machine from command line using VirtualBox ? (Like ...
0
votes
1answer
199 views

gentoo kernel compile bzImage error — bad register name '%dill'

I'm installing gentoo Linux and I just installed my kernel, but has to configure. When I compile my kernel with make && make modules_install, it gives me an error in the end saying: ...
2
votes
1answer
441 views

PHP Threading on Gentoo

PHP on Gentoo supports the threads USE flag. As far as I know, PHP does not support true threading; I am only aware of the ability to fork using pcntl_fork(), but this functionality is provided by the ...
0
votes
1answer
341 views

Gentoo server with suPHP cannot create child processes - out of memory

The exact error message is this: 12)Cannot allocate memory: couldn't create child process: /usr/sbin/suphp for <php script file> This is not a VPS, it's a generic Gentoo server. There is 1G ...
0
votes
2answers
375 views

Postfix, SASL, MySQL Issues

Ok, a recent Gentoo upgrade for Postfix/Cyrus SASL/MySQL packages broke something. I'm at my wits end, no idea what the problem is. main.cf # local settings. Remember any domain you want treated as ...
1
vote
2answers
99 views

PHP only loads extension if apc.so is located in my www folder

This is pretty strange situation I am getting. I have installed apc (with ./configure and make) on my LAMP gentoo with PHP 5.2. To get apc loaded i need to place apc.so in my www php directory ...
2
votes
2answers
1k views

Failed installing APC?

I am trying to install APC on a gentoo with php 5.2 Here teh full command i Lanched: mkdir /home/APC-php cd /home/APC-php wget http://pecl.php.net/get/APC tar -xzvf APC cd APC-3.1.9 ...
0
votes
3answers
670 views

Help me install APC on Gentoo

I have PHP 5.2 and Gentoo base system version 1.6.14 I launched: emerge dev-php5/pecl-apc But it failed at: * checking ebuild checksums ;-) ... [ ok ] * ...
2
votes
2answers
744 views

Distribution/setup for shared web hosting

I'm currently administrating a Gentoo server hosting a few dozen websites for friends and people with common interests. I may be moving to a new server soon, and with that comes the possibility to ...
2
votes
1answer
400 views

“Crashed” for init script

After moving to new baselayout2 in gentoo I always have rtorrentd [ crashed ] even though it runs in screen with no issues. Here are the conf.d: # Owner of ...
0
votes
1answer
445 views

How to create initramfs with non-modular kernel?

I've got following situation, I currently I use dm-crpyt on top of vlm on my rootfs and I need initramfs for unlock and mount LVM volumes. It works well with modular kernel, I compile kernel, create ...
1
vote
1answer
278 views

Vsftpd crashes if I add anon_root directive

Here is a full config : anonymous_enable=YES local_enable=YES write_enable=YES local_umask=022 anon_upload_enable=YES anon_mkdir_write_enable=YES xferlog_enable=YES connect_from_port_20=YES ...
0
votes
1answer
367 views

BIND periodically stops responding to local network queries

I have a very strange intermittent issue with BIND. I am running a redhat server (although my Gentoo boxes do the same thing periodically) and every once in awhile if you change the zone file in any ...
0
votes
1answer
2k views

Setting up libvirt with remote access on gentoo: not listening tls port

I'm trying to set up libvirtd on my headless gentoo server. I'd like to have remote control via tls. I've followed libvirt remote access guide, but it don't work for me: client virt-manager shows ...