38

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


29

If your script is "just a script", and doesn't start a daemon, consider using /etc/rc.local (executed as root) or crontab (executed as a user of your choice). Two examples: /etc/rc.local #!/bin/sh -e #(Multiple lines of comments removed.) /usr/local/bin/your-script.sh exit 0 crontab (edited via, for example, crontab -e) #(Multiple lines of comments ...


25

(Update) Try this (Ubuntu): sudo add-apt-repository ppa:ondrej/php -y sudo apt-get update sudo apt-get install php5.6-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/...


21

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 a syslog daemon (similar to the one that had been removed during upgrade), for example: apt-get install inetutils-syslogd


19

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


16

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


16

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.


15

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


13

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


12

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


10

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


10

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.


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

I searched for it toooooooooo much, and I really mixed up, so I decided to change vsFTPd to SFTP or something else, till I found a link about this bug. Then I found out this problem was solved in vsFTPd version 3. So I searched how to upgrade it and could find to add the jessie repository to my Debian 7.3 installation and upgrade it so: echo "deb http://...


9

Nagios includes its own embedded perl interpreter. Your plugin is probably not epn compliant. You might want to disable it globally, or just disable it for your script. The bottom of that docs page shows you how to do this. Basically, add # nagios: -epn on its own line somewhere within the first ten lines of your script. This should fix your problem. You ...


9

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


9

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


9

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


8

You're missing a protocols directive to tell Dovecot which protocols to serve. An example: protocols = imap imaps pop3 pop3s


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

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

Using the Debian archive you shouldn't have an apt source line referring to wheezy-updates. This particular (sub-)distribution is not existing in the archives. If you just remove the lines: deb http://security.debian.org/ wheezy/updates main deb http://ftp.fr.debian.org/debian wheezy-updates main you should be able to run your apt-get commands again. ...


7

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.


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

"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


7

There turned out to be two actual problems (and one minor annoyance) involved in this. Many thanks to ewwhite for providing me with troubleshooting suggestions that eventually allowed me to fix this. The first problem was that the PCI Express slot I installed the LSI in for whatever reason did not work fully with the HBA. What confused me here was mainly ...


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

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


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

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


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