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

learn more… | top users | synonyms

12
votes
10answers
4k 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 ...
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
1answer
921 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
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 ...
2
votes
1answer
41 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
116 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
3k 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
257 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
60 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
72 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
20 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
93 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
37 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
742 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
189 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
482 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
139 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
2k 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
270 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
257 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
278 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
4answers
18k 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
416 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
269 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
147 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 ...
10
votes
2answers
13k 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
286 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
386 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
508 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
218 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 ...
2
votes
3answers
2k 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
112 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
1answer
463 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 ...
0
votes
2answers
149 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
59 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
278 views

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

Any best practices on minimizing system performance impact during emerging?
0
votes
1answer
130 views

Make exim deliver deliver msgs immediately

I do this testing process with "telnet localhost 25", I send a message and it is placed to queue... I feel kindda frustrated as I've searched through many, many, many lines of exim specifications... ...
1
vote
0answers
273 views

gentoo bonded nics dropping packets

I have two nics bonded in gentoo, eth2 and eth3 to bond0. eth2 is connected to a different switches than eth3 for redundancy with eth2 in standby and eth3 in active mode. eth3 is running fine with no ...
1
vote
5answers
6k views

configure that /etc/resolv.conf won't be modified after restart

I have Gentoo Linux amd64 installed on one of my computers. I have a static IP configured at /etc/conf.d/net: auto_eth0="true" config_eth0="192.168.1.2/24" routes_eth0="default via 192.168.1.1" ...
1
vote
2answers
370 views

Install specific version of package (postgresql) along with most recent version on gentoo

I upgraded our gentoo server, got lost in the messages and, to make the story short, I ended up removing my postgresql 9.1 BEFORE I run a pg_upgrade to 9.2.. Then I discovered that pg_upgrade requires ...
2
votes
9answers
4k views

Howdo I tell which kernel modules are required?

Say, I have a default Gentoo install with all the modules (e.g. device drivers) compiled. From this point, is there an easy way to exclude the unused modules the next time I recompile the kernel?
2
votes
1answer
204 views

I'm stuck on choosing the right Linux bootloader for software RAID-10

I'm installing Gentoo on a SOHO server with 4 500GB Hitachi hard drives. I was able to boot from Live USB, created RAID-10 array /dev/md0 with the following command: mdadm --create /dev/md0 ...
0
votes
1answer
124 views

Add generic rescue kernel on Gentoo

I have a Gentoo machine (64-bit) with software RAID on boot which was set up previously by someone who optimised the kernel for that machine. Now I want to shift the disks to a new machine (also ...
1
vote
1answer
128 views

Gentoo maintenance [make updating]

I have installed and adjusted Gentoo distro with GNOME-3.1. To achieve this installation I had to add many-many lines to package.accept_keywords. Now (after a couple of months) I've decided to update ...
-1
votes
2answers
1k views

sshd ignores authorized_keys and keeps trying authorized_keys2

I just uploaded my public key to a server, ensured permissions are right, and when i try to log it simply refuses it. after enabling loglevel DEBUG in sshd_config i get: Nov 22 06:53:36 host-1 ...
1
vote
1answer
81 views

Install two MTAs on Gentoo

Im migrating my Qmail/Vpopmail Install to MySQL/Postfix and want to test Postfix on different Ports than the current qmail Installation and bit by bit merge the config and Database - is there any way ...
2
votes
2answers
355 views

How to use postfix to carbon copy HP ePrint [closed]

I'd like to print using ePrint using a local e-mail (or alias) like printer@example.com instead of myprinter@hpeprint.com. For what I've already played with the ePrint service from HP, the service ...