Debian is a popular and influential GNU/Linux distribution. Questions here should generally be about Debian Server.

learn more… | top users | synonyms

3
votes
2answers
5k views

Setting up phpmyadmin, got a MySQL syntax error

I tried installing phpmyadmin on Debian Squeeze with a nginx and mysql-server installed. I ran sudo apt-get install phpmyadmin, and all appeared to be going well until setup threw me this: An error ...
2
votes
2answers
1k views

IPv6 configuration SIOCSIFADDR file exist

I am configuring IPv6 address in a Debian machine, and this is what I have in my interface file. auto eth0 iface eth0 inet6 static pre-up modprobe ipv6 address 2001:23:207:141:0:0:0:0 ...
7
votes
5answers
5k views

Using a self-signed SSL cert for an HTTPS-based internal APT repository

I've set up a Debian repository (Ubuntu actually) for internal use with some private packages, and now want to make it available over the web to some specific servers. I would like apt-get / aptitude ...
4
votes
2answers
3k views

Unable to ping, although can download packages

I've installed Debian Squeeze on a Dell PowerEdge server. However, I'm facing some problem with configuring the network. Although I can ping machines inside my network, I'm unable to d0 so outside the ...
5
votes
2answers
6k views

How can I find out if my server has IPMI of some sort?

I've never seen a Linux server I admin. How can I find out if it has IPMI of some sort installed? I tried answering my own question by installing ipmitool: Setting up ipmitool (1.8.9-2) ... Starting ...
0
votes
1answer
968 views

Why is there Excessive postfix/qmgr (queue active) messages in syslog? [duplicate]

Possible Duplicate: My server's been hacked EMERGENCY I'm running a small mail server with postfix and I'm seeing a lot of weird stuff in the syslog. I'm not receiving any emails as of ...
1
vote
1answer
86 views

Linux: Can I prepare a boot-disk for another system when CPU architecture differs?

On a remote server the boot/system disk is corrupting. It is running Debian 4.0 on an Intel Core 2 CPU 4300 @ 1.80GHz. Is it possible to "prepare" a bootable disk I'll then send to my ISP to install? ...
3
votes
2answers
4k views

debian: cannot change password

As the root user, I can change the password: hussie:/home/claudiu# passwd Enter new password: Retype new password: passwd: password updated successfully As a non-root user I cannot: ...
0
votes
1answer
361 views

debian 'f' command?

top shows: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 7476 root 20 0 1168 632 368 R 100 0.0 12:31.14 f Which f? claudiu@hussie:~$ which f /bin/f What's ...
5
votes
4answers
2k views

aptitude: list all previous recommended packages

sometimes when installing a package, aptitude recommends several other packages. Is there a way to show all previous recommended packages of all installed packages? Thanks in advance. Casper Edit: ...
4
votes
1answer
2k views

Why does Debian squeeze forget its static IP address and seek a DHCP lease?

Hi have a Debian Squeeze box with eth0 and eth1. In /etc/network/interfaces is: auto eth1 iface eth1 inet static address 10.1.2.208 netmask 255.255.255.0 gateway 10.1.2.1 But every 24 hours, ...
0
votes
2answers
316 views

iptables misconfiguration is blocking outgoing connections

Here are the rules I setup.. iptables -P INPUT DROP iptables -A INPUT -i eth0 -p tcp --dport 80 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 443 -j ACCEPT When I try to make an outgoing ...
1
vote
0answers
512 views

XFS Project Quotas on Debian Squeeze

I'm trying to set up project quotas with XFS on a debian box and run in some problems when defining the quotas i get back an error cannot set limits: function not implemented Am i missing something? ...
0
votes
1answer
632 views

More than one clone of xp qcow2 base image using kvm gives missing hal.dll error

I am running linux mint debian edition. I have kvm installed and working, using virt-manager as the manager. I have a qcow2 disk file with windows xp pro installed that I used as a base to clone a new ...
1
vote
2answers
730 views

Real life virtual bridge setup on Debian

How do I get the bridge setup done with multipe IP addresses. Ideally, I would have 4 virtual systems each with it's own IP address but also an intranet address (like 10.#.#.#). So that they can ...
0
votes
1answer
775 views

Installing GnuPG extension for PHP

System: Amazon EC2 instance running Debian 5.0.1 with Apache 2 and PHP 5.2.6 I need to send encrypted files using a PHP script. I had been intending to do this with command line instructions from the ...
3
votes
2answers
1k views

openldap authentication ssh

I'm trying to set up on a openldap server running on debian 6 the ssh authentication on a ldap-client host named ldap_client. Here is what ldapsearch returns on server: dn: dc=localnet,dc=lan ...
1
vote
1answer
100 views

Debian auto check mysql proccess

I have very often downs mysql for some reason. I would like to learn how to make a script that would check does not fall if mysql is down - start it again. service mysql start Sorry for bad ...
2
votes
1answer
1k views

After configuring OpenVPN in bridge mode my serve becomes unreachable from an outside network

I have configured a Debian server with OpenVPN in bridge mode according to OpenVPN's ethernet bridging guide. As part of the guide I ran the bridge-start script which creates a bridge and tap ...
12
votes
2answers
4k views

Making libmagic/file detect .docx files

As seen elsewhere, docx, xlsx and pttx are ZIPs. When uploading them to my web application, file (via libmagic andpython-magic) detects them as being ZIP. I store the contents of the file as a blob ...
1
vote
1answer
1k views

Why can I only upload files via vsftpd if folders are chmod 777?

I have a problem with vsftpd on Debian: I can upload files if the chmod of all folders is 777, but with chmod 755. Please help. vsftpd.conf: local_umask=022 anon_umask=0755 file_open_mode=0755
7
votes
5answers
28k views

Debian. How can I securely get debian-archive-keyring, so that I can do an apt-get update? NO_PUBKEY

I have a catch 22 trying to: # apt-get update [... good lines omitted] W: GPG error: http://backports.debian.org lenny-backports Release: The following signatures couldn't be verified ...
1
vote
1answer
3k views

Libvirt: Cannot access CA certificate '/etc/pki/CA/cacert.pem': No such file or directory

Debian 6, all libvirt packages are installed. The /etc/pki/ directory is missing. What package is responsible for it?
3
votes
1answer
2k views

How to upgrade percona mysql on debian squeeze

Was running an apt upgrade and The following packages have been kept back: libmysqlclient18 percona-server-client-5.5 percona-server-server-5.5 I'm currently running percona mysql 5.5.15-55-log ...
7
votes
1answer
3k views

Postfix TLS over SMTP - RCPT TO prompts renegotiation then 554 5.5.1 Error: no valid recipients

I've setup ispconfig3 on my debian six server, and here is a little smtp over ssl: The server is postfix AUTH PLAIN (LOL!) 235 2.7.0 Authentication successful MAIL FROM: lol@lol.com 250 2.1.0 Ok ...
0
votes
1answer
581 views

How to set up ProxMox 1.9 on VPN?

I am trying to set up a ProxMox virtualization platform in an existing network. The network currently consists of several servers which have VMWare free edition. There is some sort of VPN defined in ...
0
votes
1answer
305 views

Debian + Nginx + Unicorn Rails 3 project permissions

Is there a security risk in running a web server like Unicorn as root? The Nginx master process runs as root, the Nginx worker runs as the limited www-data user, but I can't set another user like ...
1
vote
1answer
241 views

NGINX server_name issues

I have the following simple server block on NGINX: server { listen 80; listen 8090; server_name domain.com; autoindex on; root /home/docroot; ...
3
votes
1answer
655 views

Which tool provides per-process (or per-cgroup) resource (RAM/CPU/Disk) monitoring?

I want to have graphs about the percentage of CPU usage, RAM usage, Disk usage which is caused by specific processes (or process groups, or cgroups) on my server (running Debian). The tool needs to ...
0
votes
1answer
489 views

Invalid operation dist-ugprade [closed]

i'm running Apache 2 on Debian at my VPS. Naturally i have problem with restricted GD-library of my php package and i need to fix it (i need imagerotate() function). Before installing php-gd pugin ...
1
vote
0answers
807 views

Can Samba veto files,except specified directory?

OS:debian 6.0.3 kernel:2.6.32-5-adm64 samba 3.6.1 here is my smb.conf [global] workgroup = Workgroup server string = Share Server hosts allow = 192.168.1.0/24 wins support = yes dns ...
0
votes
2answers
2k views

Howto resize Xen virtual host disk size on Debian?

I am using a loop device disk setup (not lvm) for Xen Debian (squeeze) guest systems on my Debian (squeeze) host system. I searched for a way of extending guest system disk size. I came accross ...
0
votes
3answers
348 views

Nagios and other network monitoring software [duplicate]

Possible Duplicate: What tool do you use to monitor your servers? I used the Nagios as a network monitoring software to check server's services status about 4-5 years ago. Now i need to ...
4
votes
4answers
6k views

Howto Nginx + git-http-backend + fcgiwrap (Debian Squeeze)

I am trying to setup git-http-backend with Nginx but after 24 hours wasting time and reading everything I could I think this config should work but doesn't. server { listen 80; server_name ...
0
votes
1answer
183 views

Debian 6 home server [closed]

I need some help to get started. I've been trying and trying to get everything working for my home server. What I want is a guide to install all this: LAMP (and the additions to this like ...
-1
votes
2answers
3k views

Unable to allocate memory for pool, How to fix it

I am hosting a number of websites on my Debian server running on NginX, all of my website's log files shows me an error like this 2011/11/23 10:01:03 [error] 5320#0: *349 FastCGI sent in stderr: ...
-1
votes
1answer
54 views

Limiting access to a certain folder in debian [closed]

I want to give access to a user for only two directories residing under my /var/www folder.He must have full rights of these directories where he can add new files, new sub directories, chmod, chown ...
-1
votes
3answers
680 views

613 threads limit on debian [closed]

When running this program thread-limit.c on my dedicated debian server, the output says that my system can't create more than around 600 threads. I need to create more threads, and fix my system ...
1
vote
1answer
202 views

Why can't I install KVM?

I'm running on an Intel i7 930. I'm new to virtual machines and linux. I'm trying to learn how to use and install KVM. So I used VirtualBox to install Debian 6 64-bit. So I got the VirtualBox up. I ...
0
votes
1answer
472 views

How to debug inode usage

I am a programmer for a popular website hosted by two web servers with apache. We're in the ~1000 alexa rank range to give you an idea. I'm not a server administrator. Only one of them (always the ...
1
vote
1answer
443 views

Recommendations for a packaged, non-VRRP load balancer?

I'm trying to begin load balancing on an ElasticHosts cloud server, and their system doesn't allow the user of VRRP. Does anyone know of any non-VRRP load balancers that are pre-packaged for ...
1
vote
2answers
634 views

KVM: how to confirm does kvm uses kvm-kernel-module?

This can sound a little bit paranoid but I really have a doubt that my configured libvirt+kvm uses any hardware acceleration in debian. I setuped it with this guide. in fact i've checked already, ...
1
vote
1answer
1k views

Applications not installing due to unmet dependencies

I was running Apache on Linode. I recently shifted to Lighttpd and removed apache, now whenever I try to install any application I get the following error. ivineet:~# apt-get install subversion ...
0
votes
1answer
996 views

How to convert OpenVZ OS template to bootable image file?

My question is how to convert a pre-created OpenVZ OS template which are in tar.gz format (such as these) to an image file in order to be able boot it with other virtualization solutions such as QEMU ...
1
vote
1answer
563 views

How to install bundler gem on Hetzner server?

I am trying to install bundler using the following command: gem install bundler but recieve this error: ERROR: could not find gem bundler locally or in a repository Running command gem list ...
-1
votes
1answer
346 views

how to customize debian installation cd for your needs

I have with me a Debian CD, which I want to customize for my own needs. I have extracted the CD and started to change some parts of it, e.g Splash screen (splash.png) installer Title (through ...
3
votes
1answer
3k views

How do I delete values from the debconf database?

Per this question I've now got wonky preseed values for my gitolite installations such that gitolite fails to install. I need to clear my debconf database of a few keys, but I see no way to accomplish ...
1
vote
1answer
272 views

Why does this preseed for gitolite fail?

I'm installing gitolite on a Debian Squeeze box with the following preseed: gitolite gitolite/gituser string git gitolite gitolite/adminkey string ssh-rsa AAAAB3ECT ...
1
vote
1answer
424 views

Adapting Debian Sarge installation instructions (sources list) for Debian Squeeze?

I'm pretty new to sysadmin, and I'm trying to install the UltraMonkey load-balancer on Debian 6.0 - Squeeze. The installation instructions for Debian Sarge say to edit sources.list: deb ...
0
votes
2answers
951 views

ERROR: Can't find the archive-keyring

I'm trying to upgrade my Debian Lenny to Squeeze. I've replaced the word lenny to squeeze in sources.list and ran apt-get clean apt-get update apt-get dist-upgrade But after a while, I get this ...