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

learn more… | top users | synonyms

0
votes
0answers
8 views

Portage on Gentoo how to view available software versions? [migrated]

I would like to install program foo using emerge on a Gentoo system; so I simply use emerge foo to install and portage selects the most current version of that software that's in its repository. If I ...
1
vote
1answer
971 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
876 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
2answers
178 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
38 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
51 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
208 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 ...
2
votes
4answers
13k 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
282 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
206 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
121 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 ...
7
votes
2answers
11k 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
131 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
170 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
194 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
61 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 ...
1
vote
3answers
198 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
0answers
62 views

Xen domU networking problems

I can't ping or access my domU from LAN. Here's whats working dom0<-->domU domU->Internet dom0 has bridged interface called br0. It contains eth0, wlan0 and vif3.0 (which belongs to the domU). ...
9
votes
9answers
2k 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 world emerge -av depclean revdep-rebuild ...
2
votes
1answer
76 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
210 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
0answers
72 views

How to add DKIM support for netqmail in Gentoo?

I want to add DKIM support for netqmail in Gentoo Linux. It looks like there are many ways to implement this but I didn't see good enough solution yet. Some solutions use wrapper for qmail-remote ...
0
votes
2answers
114 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
47 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
251 views

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

Any best practices on minimizing system performance impact during emerging?
0
votes
1answer
80 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... ...
0
votes
0answers
57 views

Strange error message when changing UFW rules

So, I recently reinstalled my server and decided to put some firewall on the new one. Since I know UFW and its rather easy I decided to use it in case somebody else needs to fix something on the ...
1
vote
0answers
150 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
1answer
89 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 ...
1
vote
5answers
3k 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" ...
0
votes
1answer
83 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
2answers
164 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 ...
0
votes
1answer
484 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
9answers
3k 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
129 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
103 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
88 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 ...
0
votes
1answer
205 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! ...
-1
votes
2answers
739 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
73 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
237 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 ...
0
votes
2answers
83 views

Crossplatform “jail” for an application

We currently have a variety of systems (Linux, Solarix, *BSD, HP-UX ...) on which we are not allowed to install anything into / (but I have root access. That's strange, I know). But we'd like to run ...
0
votes
2answers
112 views

Reverse DNS Resolve for MX record

I've two servers running, one is a webserver and it's A record on my (external) DNS provider is in the form of: example.com in A XXX.XX.XXX.171 The other is a mailserver and it's A record is in the ...
2
votes
1answer
209 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
2answers
130 views

Registering publicly Mail server and Web server in a free dns server

I'm trying to host the e-mails and the site of our company into our private server. I've already followed the Gentoo Virtual Mailhosting System with Postfix Guide and my mail server is working ...
0
votes
1answer
215 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 ...
2
votes
2answers
474 views

Execute specific bash script on Gentoo Linux startup

I own a VDS running Gentoo Linux and I am curious about how to execute specific bash script at startup of my VDS. I just want to startup apache2 at boot time and run two thin instances.
0
votes
1answer
416 views

PTY allocation request failed on channel 0 - gentoo in openvz

I keep getting PTY allocation request failed on channel 0 once I hit "some" limit, upon trying to connect with ssh or locally with vzctl enter 10x I have multiple developers accessing same test ...
0
votes
1answer
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 ...