Tag Info

Hot answers tagged

14

This might help:- http://ubuntuforums.org/showthread.php?p=11950245#post11950245 BTW, sudo service apache2 restart # no errors service apache2 restart # errors


9

You're on an OpenVZ (container) based virtual machine. As a result you have no control over the kernel; it is provided by your hosting provider, and you are limited to whatever the provider chooses to provide. If you want a different kernel, you either need to contact your hosting provider, or use something other than OpenVZ.


8

Bottom line: If you have no time for this then you need to revert to your pre-upgrade system snapshot/backup until you do have time to migrate to a webmail system that does not recommend use of deprecated technology. As far as I recall (it's been probably 8 years since I've seen an open webmail install), open webmail reads mail spools directly (hence the ...


7

ok probably found a solution. first of all go here /lib/x86_64-linux-gnu move these files to /root: libc-2.13.so libdl-2.13.so libm-2.13.so libpthread-2.13.so librt-2.13.so your versions maybe different already. Then lots of things will stop working, you need to launch bash with predefined LD_PRELOAD: ...


7

This is normal and expected with a chroot as you have configured it. What you really need to do is spend some time learning about the tools you are using. Specifically what a chroot is and how it works which is clearly different from how you think. This excerpt from wikipedia explains the problem you are seeing and provides insights into further study for ...


6

See the man page for update-rc.d. To stop a service from running at boot: update-rc.d -f servicename remove Or: update-rc.d servicename stop 20 2 3 4 5 . If you have Debian squeeze or later, or Ubuntu 12.10 or later: update-rc.d servicename disable To allow a service to run at boot: update-rc.d servicename defaults If you have Debian squeeze ...


6

This file is part of the firmware package distributed with the Linux kernel. Due to licensing issues, Debian does not install it by default. If you need it, you must explicitly install it. apt-get install firmware-bnx2 (And since you probably don't have networking, you'll probably have to manually find the .deb and copy it to the server via some other ...


6

A 7200RPM SATA drive has can't do 4.12ms latency, that would enable it to do 1/4.12ms (roughly 240) IOs per second which is not realistic. The proper formula to calculate IOPS for a single disk is 1/(avg_seek_time + avg_rotational_latency) wich for 7200RPM drives equals roughly 75 IOPS. If you have a spec sheet for the disk then you would have two ...


5

Debian uses rsyslog and you can check it is running pretty much exactly like checking apache is running /etc/init.d/rsyslog status [ ok ] rsyslogd is running. Or you could use the service command (which does pretty much the same thing) service rsyslog status [ ok ] rsyslogd is running.


5

If you have only one server and domain, it's not useful to host your own DNS. Either use a registrar that offers DNS services or use a third-party provider for this. DNS can be tricky to get right and getting it wrong usually results in strange, hard-to-diagnose problems down the road.


4

OK, I found the answer myself. Problem was in the errors in configuration. On newest Wheezy the config tree for PHP is as follows: /etc/php5/mods-available/*.ini # here's the ini files containing `extension=modulename.so` lines and module-specific config. /conf.d/NN-*.ini # here's the symlinks to real .ini files in mods-available ...


4

When conducting experiments, a guiding principle is to only change one variable at a time. Although changing Debian 6 to Debian 7 might sound like one variable, it is not. Not by a long shot. There were thousands of changes between those two releases and any number of the changes could be causing the effects you are seeing. You also have the confounding ...


4

addresses 10.0.0.1/8 192.168.10.4/24 Use addresses for a range.


4

You were assigned a /29 netblock, not a /24. But you specified /24 in your up and down scripts. Try fixing that first. Better yet, use the new way (well, new in the last several releases) of specifying your addresses. allow-hotplug eth0 iface eth0 inet static address xx.xx.xx.90 netmask 255.255.255.248 network xx.xx.xx.88 ...


4

I figured the exact issue has been encountered by other Debian users (http://forums.debian.net/viewtopic.php?f=5&t=104049). To restore logging, one just needs to reinstall the syslog daemon (removed during upgrade): apt-get install inetutils-syslogd


4

Backport repositories has lower priority than main/updates/security repositories. There are several ways you can install it: sudo apt-get install git/wheezy-backports sudo apt-get -t wheezy-backports install git Modify the apt.conf and add the following line: APT::Default-Release "wheezy-backports"; Or in the preferences file: Package: git Pin: origin ...


4

Thanks all for your efforts, here is how I had solved it: apparently my openssl was from a test package instead of stable one. so the aptitude always thought the package is up to date. in order to fix it I had run the next commands: apt-get install openssl=1.0.1a-2+deb7u7 apt-get install libssl1.0.0=1.0.1e-2+deb7u7 it forced debian to install this ...


4

It is probably not due to squid inserting a header. It shouldn't be possible for squid to insert the header, since the connection is going over https. A more likely explanation is that the browser has been configured to use the proxy for http, but not for https. Inspecting the traffic using tcpdump or anything similar, should easily reveal if the https ...


4

The named service on Debian is an Internet Domain Name Server. It is part of the Bind9 distribution from the ISC DHCP Server. Read more about the named demon on the Debian Bin9 Website or in the man page for named: named is a Domain Name System (DNS) server, part of the BIND 9 distribution from ISC. For more information on the DNS, see RFCs 1033, 1034, ...


3

Check if there is a file in /etc/sysctl.d with your parameter. These files override the /etc/sysctl.conf file...


3

Try this please: Open a terminal and run the following commands: sudo apt-get clean sudo rm /var/lib/apt/lists/* sudo rm /var/lib/apt/lists/partial/* sudo apt-get clean sudo apt-get update


3

After all, it was a Grub2 bug/issue with a degraded software raid array. Grub2 1.9x has issues with booting from a degraded array. Booting in rescue mode onto the system and letting the raid recover itself has fixed the issue for the original setup in question. Incidentally the setup works (at the moment: 2012-06-26) straight out of the box on Fedora 17, ...


3

First, you do what it told you to do. A copy of the C library was found in an unexpected directory: '/lib/x86_64-linux-gnu/libc-2.13.so' It is not safe to upgrade the C library in this situation; please remove that copy of the C library or get it out of '/lib/x86_64-linux-gnu' and try again. Maybe that will fix everything. But you still have enough ...


3

The vendor supplied setting, ALL=(ALL:ALL). Changing this to only allow execution as root may break some assumptions made by people who write software for your platform. Aside from that, it's personal preference. Correct. Both formats are valid. The format with the colon specifies a group (for use with sudo -g) in addition to the user. The effective ...


3

You can see the contents of any official Debian package at http://packages.debian.org -- just select the correct release, package and architecture. For bind9, AMD64, we see the following configuration files: AppArmor config /etc/apparmor.d/local/usr.sbin.named /etc/apparmor.d/usr.sbin.named Bind zone configs /etc/bind/bind.keys /etc/bind/db.0 ...


3

Looking more closely at the error message, it looks like you have "held" packages ("E: Unable to correct problems, you have held broken packages"). You can hold packages in Debian, preventing them from being upgraded (e.g. if you're aware of a bug that would cause you problems in a newer version). You should be able to find which packages are on hold ...


3

According to man dhcpcd.conf, a line with nohook resolv.conf in dhcpcd.conf should stop dhcpcd from running the resolv.conf hook-script and thus leave your resolv.conf untouched. Unfortunately, this doesn't work for me. Therefore, I'm using chattr +i /etc/resolv.conf as a workaround. You could probably also remove the hook-script in ...


3

It feels like you're trying to get an interactive shell into a chroot jail. The SFTP subsystem has nothing to do with that because you're not SFTP'ing. You do need to populate the jail with the necessary files to allow the user to execute a shell. That means creating a /bin directory relative to the jail root and populating it with a copy of /bin/bash ...


3

What's the difference between managing 10 servers and managing 1,000? Nothing, if you did it right. This is a job for configuration management. Look into Ansible/Cfengine/Chef/Puppet/etc.


3

I have needed something similar in the past. I found that there are three steps needed to get this working: You need to route a prefix to the host You need a local route on the host Applications need to set the IP_TRANSPARENT option on sockets The proper way to get a prefix routed to the host involves contacting your provider, if they do not already ...



Only top voted, non community-wiki answers of a minimum length are eligible