Questions tagged [gentoo]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
35 views

Squid proxy has extremely slow connections when there is some load [closed]

We use squid 4.9 on gentoo. Proxying https over a http proxy. It was working fine until an update in the openssl libraries, now connections are extremely slow. Please help, if you know of a way to fix ...
0
votes
0answers
27 views

Gentoo SELinux, web directories no longer inherit correct context

Due to a recent Gentoo hardened SELinux update my policy is now broken. I have users in the user_u:user_t_:user_o context and they can create files in /var/www/user/username and always have been ...
0
votes
1answer
37 views

ejabberd having issue about undefined function

I am getting errors with XMPP on my Gentoo Hardened server. It runs and says it is running but when trying log many of these errors appear about a crash. 2019-11-01 10:56:54.748 [error] <0.563.0&...
1
vote
0answers
33 views

“Warning: DocumentRoot [/var/tmp/catalyst/builds/default] does not exist” ― but it does

I'm trying to use Apache to create a build server for hosting ISO images compiled with Gentoo Catalyst: <VirtualHost *:80> ServerName localhost Include /etc/apache2/vhosts.d/...
0
votes
0answers
119 views

apache cache forward proxy not working

I'm using apache-2.4.41 on gentoo and I can't get working caching of proxy request I started with simple config from apache cache howto and extended it from several other howto or Q&A, like this ...
0
votes
0answers
23 views

How to prevent a process from autostart

I have a process that starts at startup, but I don't want it to be started. I checked \etc\init.d but could not find any hint there. I found out its PID and checked /proc/PID/. /proc/PID/cmdline ...
0
votes
1answer
81 views

After updating bind from 9.8 to 9.12, it does not start anymore with dnssec-validation auto

I used bind 9.8 on gentoo for monthes. After updating the system, bind is now at 9.12.3_p4 but it does not start anymore unless I comment dnssec-validation auto. I get nothing in named.log. I get ...
0
votes
0answers
88 views

Incorrect list of groups membership for one user

On one of my servers, my user has a strange problem of group membership. When using id or groups without arguments, the list of groups includes those from the root user, and groups common to my user ...
0
votes
0answers
70 views

Disable SSLCompression in Apache <2.2.24 in Gentoo

Thanks a lot beforehand. I need to disable SSL Compression in Apache 2.2.16 in Gentoo in order to mitigate TLS CRIME. I've been searching for a long time and I've found out that it's possible to ...
2
votes
0answers
135 views

docker containers give out blank ipv6 address

I am trying to develop simple swarm service with docker, I am using below docker compose file version: '3.2' services: sessions: image: redis:4 ports: - 6379:6379 ...
2
votes
1answer
636 views

Curl does not fall back to ipv4

I have gentoo build with ipv6 and ipv4 configured for localhost /etc/hosts # IPv4 and IPv6 localhost aliases 127.0.0.1 sunils-pc.homenetwork sunils-pc localhost ::1 sunils-pc.homenetwork ...
0
votes
0answers
27 views

Gentoo running unknown scheduler

I inherited management of a Gentoo based server (Gentoo Base System release 2.3, 4.4.26-gentoo) that is invoking a number of php scripts each night but I can't figure out how. I don't see them ...
1
vote
1answer
386 views

Missing raid device in /dev/

I have two sata disks: /dev/sda and /dev/sdb. I have 4 partitions: /dev/sd[ab]1 /boot /dev/sd[ab]2 swap /dev/sd[ab]3 / /dev/sd[ab]4 /home And all of them are in raid1. Raid is working fine. Here is ...
0
votes
1answer
113 views

Lighttpd stop responding to php calls

I am running 2 servers with Lighttpd 1.4.45 with fastcgi and php 5.6 on gentoo linux. We have a problem in both servers that about twice a day the Lighttpd stop responding to php calls, only restart ...
0
votes
1answer
1k views

Properly manage iptables rules on Docker host

I am using Gentoo and Docker. I have bunch of own iptables rules, and keep them in /var/lib/iptables/rules-save. Docker adding bunch of own rules when start. It seems that iptables is auto-saving ...
0
votes
0answers
6 views

Apache Active Workers and Hits per Second [duplicate]

We are using 2 AppServer with an Idle Workload of 10 Apache Workers and and 5 Hits per Second. These Servers got 12 CPUs and 8GB of RAM. Monitoring is accessed by Zabbix. My question about this is - ...
1
vote
1answer
1k views

Can`t boot converted VM from KVM on VMware ESXI

VM - 3.14.14-gentoo with LVM Hypervisor - KVM qemu 3.15.7-gentoo I converted a VM using the command qemu-img convert -O vmdk, after that i uploaded the disk to the VMware datastore and created VM ...
3
votes
1answer
1k views

IPv6 public routing of virtual machines from host

So I have a dedicated server from OVH. With that I got a /64 range of IPv6 addresses and 1 public IPv4 address. I purchased a second IPv4 address as a fallback. The host is running the Xen hypervisor ...
1
vote
0answers
141 views

ZFS on production server don't want to force mount on boot

I use ZFS on production remote gentoo server. All was fine, until my server freezed and I needed to reboot it. It failed with 'device or resource busy' error on mounting rootfs. The simply action ...
0
votes
1answer
629 views

Run multiple PHP scripts through Monit

I'm having two PHP scripts acting as RabbitMQ Consumers and i want them to be started and monitored (+ automatically restarted) through monit. My /etc/monitrc for the two processes looks like this: ...
-1
votes
1answer
536 views

How to mount devtmpfs with mode=777?

I'm trying to use gentoo based thin client to access fusion access huawei cloud, with the following issues: CloudClient when redirecting devices to VDI virtual PC, trying to write directly into ...
1
vote
0answers
316 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 in ...
1
vote
1answer
13k 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 ...
3
votes
1answer
57 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 ...
5
votes
1answer
135 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 ...
7
votes
0answers
12k views

IPv6: Destination unreachable: Address unreachable [closed]

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
23 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 ...
-1
votes
1answer
267 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
1answer
2k 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: ...
1
vote
1answer
1k 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 ...
0
votes
1answer
786 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,...
5
votes
1answer
741 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 ...
0
votes
1answer
272 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 ...
4
votes
1answer
685 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
1answer
862 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
2k 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, '...
0
votes
1answer
2k 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
279 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
256 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 ...
2
votes
1answer
1k 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....
2
votes
4answers
4k 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
1k 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
1answer
897 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
200 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 ...
1
vote
0answers
839 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
2k 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 ...
29
votes
5answers
24k 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: html/js/...
0
votes
1answer
1k 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 ...
1
vote
1answer
4k 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 ...
6
votes
1answer
8k 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 ...

1
2 3 4 5