Hot answers tagged

16

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


14

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


13

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


13

According to the Manual 8 0 "Every .conf file can be overridden with a file named .local. The .conf file is read first, then .local, with later settings overriding earlier ones. Thus, a .local file doesn't have to include everything in the corresponding .conf file, only those settings that you wish to override. Modifications should take place in the .local ...


10

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.


9

sudo nano /etc/apt/sources.list add deb http://packages.dotdeb.org wheezy all deb-src http://packages.dotdeb.org wheezy all deb http://packages.dotdeb.org wheezy-php56-zts all deb-src http://packages.dotdeb.org wheezy-php56-zts all save and run sudo apt-get update sudo apt-get upgrade sudo apt-get install php5 more info here ...


8

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: ...


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

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.


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

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.


6

I found that the function was sourced from /lib/lsb/init-functions in the nginx init script. So adding: . /lib/lsb/init-functions To my init script solved the problem.


6

first: sudo apt-get purge locales then: sudo aptitude install locales and the famous: sudo dpkg-reconfigure locales This rids the system of locales, then re-installs locales and downgrades libc6 from 2.19 to 2.13 which is the issue. Then configures locales again.


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 ...


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 ...


5

https://bugs.launchpad.net/ubuntu/+source/procps/+bug/50093 /etc/init.d/procps.sh comes too early in the boot process to apply a lot of sysctl's. As it runs before networking modules are loaded and filesystems are mounted, there are quite a lot of commonly-used sysctl's which are simply ignored on boot and produce errors to the console. All documentation ...


5

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 ...


5

There is an error in the file you just edited, this is why visudo is complaining. From http://www.courtesan.com/sudo/man/1.7.10/visudo.man.html: visudo parses the sudoers file after the edit and will not save the changes if there is a syntax error. Upon finding an error, visudo will print a message stating the line number(s) where the error occurred and ...


5

Either remove wget exclusion from the nginx configuration, or add something like this as an option to your wget command: --user-agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) Gecko/20100101 Firefox/21.0" --referrer whatever.example.com


5

I want to rotate and separate the routers and switches in a log with a date stamp called 'rslog-YYYY-MM-DD' also the firewalls into a log with a date stamp called 'fwlog-YYYY-MM-DD' To start, you need to separate your firewall and switches with filtering in rsyslog. Exactly how to do this varies based on the version of rsyslog you are running. They have ...


5

Continuing to explore I find the /var/opt/gitlab/ directory and solve this doing: sudo ln -s /var/opt/gitlab/nginx/conf/gitlab-http.conf /etc/nginx/sites-available/ sudo ln -s /etc/nginx/sites-{available,enabled}/gitlab-http.conf sudo service nginx reload


5

"smb 445 tcp filtered" does not means that something is listening on port 445. From nmap man page: Filtered. means that a firewall, filter, or other network obstacle is blocking the port so that Nmap cannot tell whether it is open or closed


5

The problem is that your Windows computer has Avast antivirus installed. Avast injects a SSL certificate between the website and Google Chrome. See "Avast web/mail shield" on top of the left image. Google Chrome shows a warning on your computer since Chrome validates the locally spoofed certificate. Avast AntiVirus spoofs the SSL certificates so they can ...


5

"meaning that everything not matched by the statements (if they are set with ACCEPT) will result in a DROP?" - correct. It's a default.


4

Check checkrestart from the debian-goodies package. It shows which processes using the old versions of the libs you updated. If you are not able to remove all processes out of that list, you need a reboot :) Additionally (as YuKYuK said), always reboot after a kernel update!


4

The safety of upgrading depends on who is providing the upgraded patches. With the defaults on Debian stable, there is a security team that ensures all major security fixes get backported to those versions. If you install from a third party repo, you are trusting them, rather than the Debian Security Team to provide these patches. It is a possibility you ...


4

Try this (Ubuntu): sudo add-apt-repository ppa:ondrej/php5-5.6 -y sudo apt-get update sudo apt-get install php5-fpm -y (Update) For Debian Wheezy echo "deb http://packages.dotdeb.org wheezy-php56 all" >> /etc/apt/sources.list.d/dotdeb.list echo "deb-src http://packages.dotdeb.org wheezy-php56 all" >> /etc/apt/sources.list.d/dotdeb.list wget ...


4

A netinstall is really minimal, you simply add what you need instead of getting a common denominator which includes stuff you may not need, a good thing really. The lxc version of 0.8 is also correct for Debian stable, Wheezy. More recent versions of packages require a different release such as testing (jessie provides lxc 1.0.6-3), or unstable (sid ...


4

$ dpkg -S /sbin/shutdown sysvinit-core: /sbin/shutdown You probably "upgraded" to systemd, removing shutdown and friends. If so, you now need to do systemctl poweroff to shutdown the system. Why does systemd not provide an alias to shutdown? Why not indeed... EDIT: /sbin/shutdown should be available if you install the systemd-sysv package. It would be ...



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