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


15

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


15

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


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


12

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 https://www.dotdeb.org/...


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

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


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: LD_PRELOAD=/root/libc-2.13.so:/root/libdl-2.13.so:/...


8

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

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


7

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


7

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_FREEBIND or IP_TRANSPARENT option on sockets The proper way to get a prefix routed to the host involves contacting your provider, if they do ...


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


7

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.


7

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 (with sudo) 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....


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

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

I search for it toooooooooo many, and i really mixed up, so i decided to change vsftpd to sftp or something else, till i found a link about this bugg. Then i found out this problem is solved in vsftpd version 3. So i search how to upgrade it and could found to add jessie repository my debian 7.3 and upgrade it so: echo "deb http://ftp.us.debian.org/debian ...


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

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

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!


6

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

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


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

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


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

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


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

"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



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