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

learn more… | top users | synonyms

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 ...
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 ...
0
votes
0answers
86 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
22 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
402 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 ...
0
votes
1answer
53 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 ...
3
votes
1answer
34 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
179 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
424 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 ...
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
41 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
15 views

Xen Vcpus State

hprvsr1 ~ # xl list Name ID Mem VCPUs State Time(s) Domain-0 0 1024 1 r----- 15.6 hprvsr1 ~ # xl ...
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
55 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 ...
0
votes
0answers
243 views

Is it possible to passthrough a USB-hub and its devices to a libvirt guest?

Since I am having multiple devices in a libvirt/qemu Windows 8.1 guest I need to plug in and out rather often, I am wondering if it is possible to make life a bit easier. Is it possible to pass ...
3
votes
1answer
164 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
96 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
365 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
760 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 ...
2
votes
1answer
616 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
132 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
662 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
917 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
772 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
479 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
145 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
169 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
9k 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 ...
2
votes
1answer
383 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 ...
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
386 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! ...
0
votes
1answer
555 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 ...
2
votes
3answers
259 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
348 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
102 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 ...
1
vote
0answers
443 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
215 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 ...
1
vote
3answers
2k views
12
votes
3answers
7k views

rsync 'cannot delete non-empty directory' errors, even with --force option

When running this command: $ sudo rsync -r --delete --force --checksum --exclude=uploads /data/prep/* /data/app/ I'm getting the following output: cannot delete non-empty directory: ...
0
votes
1answer
507 views

Run chroot's /etc/init.d on system startup?

So I have this dedicated server that is running Debian. I have an intense business need (client's requirement) that I also install Gentoo as a Chroot. I have successfully done so, but now, I am ...
0
votes
1answer
961 views

OpenLDAP client configuration. Can search but cannot login?

I'm trying to set up LDAP on a Gentoo workstation to authenticate against a central server. However, I encountered some issues and I really hope you guys can help me out here :) First off, the LDAP ...