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

learn more… | top users | synonyms

0
votes
1answer
554 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
492 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
0answers
16 views

LXC containers - Duplicate tty on Gentoo guest

I'm trying to run Gentoo inside LXC container on Centos 7 host machine. I have prepared the guest OS on another (Gentoo) machine by following this tutorial https://wiki.gentoo.org/wiki/LXC. On this ...
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 ...
3
votes
1answer
37 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 ...
0
votes
0answers
20 views

xen gentoo domU (Ubuntu 14.04 LTS dom0)

I have a few Ubuntu 14.04 LTS Xen 4.4 servers and I would like to add Gentoo guests. However I am not sure how to do that. Does anyone know where I can review some examples? Also does it have to be ...
0
votes
0answers
90 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
2answers
1k 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
515 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
63 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
429 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
68 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
89 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
74 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 ...
13
votes
10answers
5k 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
104 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
136 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
4k 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
295 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
115 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
96 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
0answers
27 views

What is a sane way to deal with changed configuration files and/or ABI breakages after package updates while using a CM software?

First of all: Full disclosure, I asked the same thing on the Salt ML but thus far the response rate has been zero. Also, gathering a broader spectrum of opinions and experiences never hurts. So I hope ...
0
votes
2answers
2k 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
187 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
58 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
822 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
258 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
740 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
160 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
1k views
5
votes
3answers
4k 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
296 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
378 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 ...
0
votes
1answer
408 views

Upgrading portage on gentoo fails

upon emerge portage, got following error: /var/tmp/portage/sys-apps/portage-2.1.11.62/temp/environment: line 2273: /dev/fd/62: No such file or directory * ERROR: sys-apps/portage-2.1.11.62 failed ...
3
votes
3answers
21k views

Why is my filesystem being mounted read-only in linux?

I am trying to set up a small linux system based on Gentoo on a VirtualBox machine, as a step towards deploying the same system onto a low-spec Single Board Computer. For some reason, my filesystem is ...
0
votes
1answer
469 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
321 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 ...
1
vote
1answer
162 views

Have new files inherit their folder's extended ACLs

We are moving our web files from AFS to a local volume with the acl flag set. We use extended ACLs for our permissions so users can edit different parts of our websites. In AFS, when you create a new ...
11
votes
2answers
15k views

How do I move a Linux software RAID to a new machine?

I have a newly built machine with a fresh Gentoo Linux install and a software RAID 5 array from another machine (4 IDE disks connected to off-board PCI controllers). I've successfully moved the ...
0
votes
2answers
358 views

How to DHCP request a second, different, IP for the same physical interface?

(Similar to this question, but with two different DHCP-assigned IPs) Is there any way to let dhclient or dhcpcd request two different IPs for one physical interface, e.g. via virtual interfaces eth0 ...
1
vote
1answer
484 views

ping incorrectly pinging 127.0.0.1

I've got an odd DNS issue. I'm running a dual ipv4/ipv6 environment on Gentoo Linux. Pinging some sites results in ping pinging 127.0.0.1. e.g. #> ping authserver.mojang.com PING ...
0
votes
1answer
627 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 ...
0
votes
1answer
374 views

Gentoo server time issue, can't manually set time, NTPD won't correct, too big of a time difference

So, my server is living in the future, unfortunately I can't get lottery numbers, or stock picks out of it. It thinks this is the time: Thu Nov 7 04:07:18 EST 2013 Not correct, I tried to set the ...
3
votes
3answers
3k 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). ...
2
votes
1answer
136 views

Enable HAProxy logging in Amazon Gentoo

I am attempting to enable HAProxy logging in Gentoo 1.12.11.1 on an Amazon EC2 Server (managed through EngineYard). I have modified the syslog.conf file as follows: local0.* ...
15
votes
7answers
2k views

What are some useful utils when using Gentoo Linux?

I want to make a list of utilities that come in handy in Gentoo? What tools and commands do you use and consider helpful in administration of a Gentoo system/server?
0
votes
2answers
165 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 ...
0
votes
2answers
60 views

Adding an ipv6 range with dual stack [duplicate]

I have a range of ipv6 addresses available (native) and want to use them. I 've setup the kernel to support ipv6 and installed the necessary tools (iproute2 etc). I am having a problem understanding ...
1
vote
5answers
302 views

Minimizing emerge impact on a low-mem/high load system?

Any best practices on minimizing system performance impact during emerging?