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

learn more… | top users | synonyms

3
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 ...
3
votes
4answers
3k 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 ...
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 ...
0
votes
2answers
650 views

Fail2ban does not ban any ip-adresses with vsftpd

Fail2ban starts okey. It work with my sshd filter and bans IP-adresses as it should. But with vsftpd it does not register failed logins when I run: fail2ban-client status vsftpd I have tried both ...
0
votes
1answer
1k views

Xen dom0 bridge interface drops a lot of RX packets?

I'm running Gentoo Hardened as Dom0. It also acts as a router/NAT. There's a bridge interface called br0 which contains a pci-e wlan card, ethernet nic & domU. bridge name bridge id ...
1
vote
2answers
198 views

.bash_profile isn't sourced during logon

I've declared an alias in .bashrc file located in my home directory. Export of PS1 environment variable has been added to this file too. # /etc/skel/.bashrc # # This file is sourced by all *...
4
votes
5answers
10k views

Simple Quagga BGP router

We are attempting to setup a Gentoo Linux box to run a Quagga BGP router for our internet connection. We've tried many things, but everything we've tried results in Quagga reporting that there is no ...
0
votes
0answers
214 views

NFS client fails with “Protocol not supported” even though the protocol is listed as available

I set up an NFS serve for Proxmox to remotely backup VM images there. For some reason the Proxmox box won't connect to the NFS server. I tested connecting with another the NFS client on a different ...
1
vote
0answers
36 views

Gentoo virt-manager IO throttling

I have a problem with virt-manager (or qemu/libvirt) installed on gentoo. Here is My virt-manager installed on Debian Jessie: There I have IO throttling but not on my Gentoo: I tried to search ...
0
votes
2answers
413 views

Virtualenv: Install python-ldap on gentoo

I'm trying to install python-ldap on a Gentoo Server. It is running a Django application which I want to use LDAP Auth. Im using virtualenv to manage my python dependencies. I can't install python-...
0
votes
1answer
88 views

How to clear or stop net-snmpd.log?

System: 3.10.17-gentoo NET-SNMP version: 5.7.3.pre5 ps ax: /usr/sbin/snmpd -p /var/run/snmpd.pid /etc/conf.d/snmpd: #SNMPD_FLAGS="${SNMPD_FLAGS} -Lsd -Lf /dev/null" /var/log/net-snmpd.log: ...
2
votes
1answer
42 views

Why shouldn't I use striping raid on the partition I boot from?

The Gentoo Handbook says: You should not use any form of striping such as RAID-0 or RAID-5 on the partition you boot from. Why is this? I've never seen a similar warning before. Grub supports ...
4
votes
1answer
38 views

5 seconds for hostname -f and a strange DNS request

My question addresses a strange behaviour of hostname -f on my Gentoo Linux System. The symptom: rt01 ~ # time hostname -f rt01.domain.net real 0m5.007s user 0m0.001s sys 0m0.000s With ...
0
votes
0answers
343 views

IPv6: Destination unreachable: Address unreachable

My server can't ping/reach any other outside. ping6 works for my local fe80::468... address as well as the 2a01:4f8..., but not for fe80::1! Errors/Troubles/Issues: ip neigh show fe80::1 dev eth0 ...
0
votes
1answer
447 views

emerge -uDN world fails on a Gentoo host, sys-libs/glibc-2.20-r2 does not link

We have got a number of legacy Gentoo-based machines and are trying to upgrade them. At least three of these hosts fail with a common error emerging the latest glibc: x86_64-pc-linux-gnu-gcc -m32 -Wl,...
0
votes
1answer
14 views

Make init script output available without hitting the filesystem

I'm working on an init script for a command which writes extensive activity messages to stdout. The output is only useful for debugging and since it will be running on a Pi, I don't want these ...
0
votes
1answer
2k 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 ...
-1
votes
1answer
44 views

nginx configuration trouble

I'm having some trouble configuring nginx to share files between three sites. I know I could solve the problem by simply giving each site it's own copy of the file or using symlinks. According to ...
0
votes
0answers
17 views

Xen Vcpus State

hprvsr1 ~ # xl list Name ID Mem VCPUs State Time(s) Domain-0 0 1024 1 r----- 15.6 hprvsr1 ~ # xl vcpu-...
1
vote
1answer
308 views

Rackspace Linux Server Crashing

I recently made the move to The Cloud from a bare metal server for personal use and I couldn't be happier. Except for one thing: My server crashes about once a week. Rackspace has been really great ...
0
votes
1answer
70 views

List of installed packages on gentoo with all use flags

What is the trick or possibility to get the list of all my installed packages on gentoo with indication of all used/unused use-flags, versions, etc? Something similar what you see with when run ...
5
votes
2answers
3k views

Mount an ext3 partition with a 16k blocksize?

We are attempting to recover data from a drive which was formated by Netgear ReadyNas Duo. We have dropped it in a linux box and discovered that it is formated as ext3 with a 16k block size. Mounting ...
4
votes
1answer
182 views

How to find source of system running slow clock?

I've a problem on one of my Gentoo server. After some time, the clock starts running very very slow. It takes about one minute for one second to go. The major problem is that not only the clock is ...
7
votes
4answers
7k views

Performance difference between compiled and binary linux distributions/packages

I was searching a lot on the internet and couldn't find an exact answer. There are distros like Gentoo (or FreeBSD) which does not come with binaries but only with source code for packages (ports). ...
0
votes
1answer
102 views

suexec AP_DOC_ROOT Path on gentoo

after a few years running php as mod_php I want to move to fcgi. On my server I run currently gentoo linux. I allready set up php als fcgi and everything is working. But there is one problem. I have ...
0
votes
1answer
406 views

Gentoo emerge packages conflict

I'm trying to install git on my Gentoo webserver. The command "emerge dev-vcs/git" returns the following result : * IMPORTANT: 12 news items need reading for repository 'gentoo'. * Use eselect ...
0
votes
1answer
793 views

PHP-FPM SuExecUserGroup not working

I have installed php, apache, and fastcgi_handler by: emerge dev-lang/php www-apache/mod_fastcgi_handler I managed to make it work by updating the relevant lines in /etc/apache2/modules.d/...
2
votes
1answer
632 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 ...
3
votes
1answer
136 views

Restrict postqueue access to admin user

I'm running postfix on Gentoo as mailer daemon. During investigation of some queue pileup I found that /usr/sbin/postqueue is executable by all users on the system, it happily outputs the current mail ...
1
vote
2answers
2k views

X11 forwarding over ssh applications very slow to start

I have a server that is extremely slow (takes 3-5 minutes) at starting X11 applications over a forwarded X11 link. I have tried connecting to it with 2-3 different machines with different operating ...
2
votes
2answers
695 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
1answer
1k views

Invalid command: 'AuthLDAPAuthoritative', perhaps misspelled

Have apache 2.2.24 running on Gentoo server. I need apache to now authenticate through windows active directory, however, on apache service restart, I am getting this error: Invalid command, '...
2
votes
2answers
813 views

Monit won't run

I have two identical EC2 instances (the second is a replica of the first), running Gentoo. The first instance has monit running which monitors a single process and some system resources and functions ...
0
votes
1answer
551 views

Configuring MAXITEMSIZE in memcached in gentoo

Got memcached up and running (emerged net-misc/memcached) but on PHP I'm getting Server 127.0.0.1 (tcp 35817, udp 0) failed with: SERVER_ERROR object too large for cache I'm thus trying to change ...
0
votes
2answers
149 views

How to prevent Zeroconf 0.0.0.0 in Gentoo linux?

Oddly enough, it seems that one of the servers we have doesn't like having the 0.0.0.0 configured and it prevents it from being able to community on its internal network. Removing this route manually ...
0
votes
1answer
174 views

SMP kernel sees only one CPU (i7-930) with ACPI enabled

A Gentoo box running a up-to-date SMP kernel sees only one CPU eventhough ACPI is enabled in AmiBIOS. Any ideas why? > uname -a Linux charlie 3.17.7-gentoo #1 SMP Mon Jan 12 19:31:07 CET 2015 ...
20
votes
10answers
10k views

Optimal procedure to upgrade Gentoo Linux?

This is how I have been upgrading Gentoo for a long time. Is this the recommended method? Any gotchas or better methods to use? emerge --sync emerge -uDav --tree world emerge -av --depclean revdep-...
2
votes
1answer
411 views

Why dovecot 2.2.13 is not moving emails from new/ to cur/?

I am using dovecot 2.2.13 on gentoo 64bit. When new email arrives it stays in new/ directory instead to be moved to cur/ directory. I read that maildir_empty_new = yes was added to /etc/dovecot/conf....
1
vote
2answers
189 views

Cron job sends out the same data every time despite changes in the database

This question is related to Gentoo Linux. I have cron job that runs every morning at 10AM. The cron job calls a bash script which in turn calls a groovy script that queries the database for a column ...
3
votes
4answers
5k views

How to choose python version to install in gentoo

I'm using linux gentoo and i want to install python2.5 but it's a problem. emerge -av python shows These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild ...
0
votes
2answers
393 views

Can't update scala on Gentoo

As I wanted to test Scala 2.9.2 on my gentoo system I tried updated the package but ended up with this error. I can't figure out where the problem may be: Calculating dependencies ...... done! >&...
2
votes
3answers
292 views

Why is my server saying “No such file or directory” error for a file that is clearly there

ritwik@indus ~/perforce $ ls p4d ritwik@indus ~/perforce $ ./p4d -bash: ./p4d: No such file or directory You understood the problem right ? Why is this happening ? How do I fix it ? ritwik@indus ~...
0
votes
2answers
4k views

nginx + uwsgi: — unavailable modifier requested: 0 --?

I'm following this to install and configure Nginx, uWSGI, and Django on Gentoo. Everything looks good until the last step: Nginx returns the 502 Bad Gateway error and the following appears in the ...
0
votes
1answer
369 views

Restore LDAP data from copied files

My server has broken and I had to urgently put it up again. I needed to reinstall the system and, since I was time constrained, I lazily just copied the directories I considered necessary (/etc, /opt, ...
1
vote
1answer
106 views

htdbm and mod_authn_dbm fail when migrating between apache 2.2 servers

I'm migrating an existing website from Apache 2.2.4 on Gentoo 32-bit to Apache 2.2.27 on CentOS 64-bit. This particular site uses DBM for authentication with encrypted passwords. On the old system ...
2
votes
2answers
1k 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 ...
9
votes
19answers
4k views

Is Gentoo worth the compile?

I'm working on getting my first server up and running and my dad is trying to convince me that Gentoo is the way to go. Is it worth the compile? I was just planning on using Ubuntu.
1
vote
0answers
460 views

Failed to emerge python 2.7

I'm trying to emerge python 2.7 on my gentoo server, somehow it's not installed any more. eselect python list Available Python interpreters: [1] python3.3 * If I try to emerge it like emerge -a ...
2
votes
1answer
1k views

How to create a RTMP server on linux (Gentoo)

I am trying to create a RTMP server to stream video files from my Linux server to the internet/network. I have been able to successfully use ffmpeg to stream to other RTMP servers like youtube, but ...
1
vote
2answers
225 views

PostgreSQL 8.1 out of space and stopped, data directory is empty

I used PostgreSQL 8.1 on Gentoo/Linux 2.6.14r5. My db server's disk space looks like below: db postgresql # df -l Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda3 ...