New answers tagged

1

I believe the NVIDIA drivers were the culprit. Things are looking good after upgrading to 367.35. References: https://devtalk.nvidia.com/default/topic/952317/huge-memory-leak-/ http://askubuntu.com/questions/731677/out-of-memory-issue


0

I ended up splitting the ssh-agent launch into a one off task that starts at startup and exports the path to the agent settings (now stored in a file), so that other startup scripts can just depend on the ssh-agent startup script and source the file to retrieve the environment variables.


0

In the service file (/etc/init.d/<service>) you can specify after which service PostGre must start. It would be like this : #! /bin/sh ### BEGIN INIT INFO # Provides: sshd # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: # Short-Description: OpenBSD ...


0

If the Server is only for local network use you could either disable the firewall on your system or add firewall rules to allow Network traffic from your local network to your machine on port TCP/UDP 80 and 443. Disabling the firewall can be a risk if you have visitors in your network (guests or something like that). You should also make sure that your ...


0

After reading this URL http://www.mono-project.com/docs/advanced/pinvoke/dllnotfoundexception and talking with our architect , I believe the problem is with the xml configuration file, xyz.mdb, associated with xyz.exe. Here is an excerpt from the aforementioned URL, "I am using Linux or OSX, why is mono looking for libraries with “win32” in their name and ...


0

For scanning, both Nessus and Qualys are approved by Amazon to provide those services without seeking permission. From where you run them, that's up to the client.


0

You FQDN is the name of your host plus your domain, for example: mail.mydomain.com -> 185.10.123.X check your master file in you DNS server and you should have something like this: IN MX 20 mail.example.com. mail IN A 185.10.123.X and try this: telnet mail.example.com 25


0

Had the same problem but figured it out. At the end of the squid configuration file you have refresh patterns - refresh_pattern and some rules after (explanation here). The default catch all pattern is the one with the '.'. It obeys client refresh so content can't be served from cache. I've added this rule just above the one with '.' and can now cache .png ...


1

1.) Add User with: (This won't change anything in Ubuntu but just in case.) sudo deluser ftpuser1 sudo adduser ftpuser1 sudo nano /etc/passwd - Change the path if needed 2.) In vsftpd.conf change pam_service_name=vsftpd to pam_service_name=ftp


0

Verify if you have enable these two options: local_enable=YES #Permit local user login write_enable=YES #Write permissions


1

I'm having the same issue with Ubuntu 16.04, systemd and NginX 1.10.1 from source. I'm was using the default nginx.service file: https://www.nginx.com/resources/wiki/start/topics/examples/systemd/ The issue was the nginx.pid lcoation, to fix it I: Fired up Nginx without the service sudo nginx start Updated the locate db: sudo updatedb Found the ...


0

In an attempt to add additional value to an issue I also experienced; with an alternative answer: My network was office related and Google DNS settings were blocked so that the container could ping IP addresses but not domain names. My host's /etc/resolv.conf originally looked like; #Dynamic resolv.conf(5) file for glibc resolver(3) generated by ...


0

24-core server almost certainly means dual socket, so you're almost certainly bumping up against NUMA restrictions -- the kernel is preventing you from using memory assigned to the other socket unless it's absolutely necessary. Transferring data between sockets is much, much slower than accessing it from the RAM on the same socket, and usually stalls both ...


-1

Here is a step by step guide to allow: SFTP access to /home/bob/uploads for user bob Lock bob out of SSH Use username/passwords rather than keys: First, edit your /etc/ssh/sshd_config file: sudo nano /etc/ssh/sshd Scroll down and modify: PasswordAuthentication yes and add this at the bottom: Match Group sftpusers ChrootDirectory %h ForceCommand ...


1

Roger's link has since rotted, here is the same on the Internet Archive's WayBack Machine, as of the last date archived before he changed his site: https://web.archive.org/web/20150530064010/http://rogermoffatt.com/2011/08/24/ubuntu-openldap-with-ssltls/ I've also taken the liberty to append his content below as well: The Starting Point I’m going to ...


3

I am running a box with 32GB of memory, and the standout difference is the DirectMap4k value; DirectMap4k: 493076 kB DirectMap2M: 7862272 kB DirectMap1G: 27262976 kB vs yours; DirectMap4k: 11182080 kB DirectMap2M: 4677632 kB It might be a starting point.. Googling suggests that this value might be affected by the allocation to a VPS ...


0

I've noticed in the 14.04.4 machine that in /etc/ there already exists passwords, groups, and shadow files That is normal and expected. Should I be concerned about overwriting any of these files Perhaps. At the very least you should make sure that you know any relevant passwords for accounts and groups on the old system. You should also audit the ...


0

Read this: http://marc.merlins.org/perso/btrfs/post_2014-05-04_Fixing-Btrfs-Filesystem-Full-Problems.html It seems that you are suffering the "metadata is full case" of the article, because Btrfs reserved 0.5 GB for itself, meaning it is full and therefore preventing any new writes. The article suggests that you should do a full rebalance on it. Keep also ...


0

I've managed to figure out the problem. The account inside of Office 365 was a shared mail account. After my client switched the account to a normal account, we reconfigured postfix and everything worked fine.


0

The error "status: Unknown job: smbd" can happen when upstart tries to connect to the user upstart session rather than the system upstart session and can't find the service it wanted. Try using sudo -s or su - to become root (which will clear the UPSTART_SESSION environment variable) before running further commands that directly/indrectly start services. The ...


0

Bruno's answer is a great starting point, but it only worked after I rebooted and gave it another minute after booting. a. Enable swap in /etc/waagent.conf, relevant lines: ResourceDisk.Format=y # Format if unformatted. If 'n', resour$ ResourceDisk.Filesystem=ext4 # Typically ext3 or ext4. FreeBSD image$ ResourceDisk.MountPoint=...


0

As LXD is just a "frontend" for / to LXC, this is not really a question about LXD. Actually this is done (in the background) via control groups (cgroups), which is a Linux kernel feature that limits, accounts for, and isolates the resource usage (CPU, memory, disk I/O, network, etc.) of a collection of processes. and leveraging the blkio subsystem ...


1

No, it is not normal. It is caused by the bug Excessive memory used in memory/innodb/os0file starting 5.7.8. It is tracked in Ubuntu as Excessive consumption RAM of mysqld daemon in Ubuntu 16.04, and there is also a discussion on Reddit.


0

Based on Fabrizio Regini's answer above. For 12.04 / Precise: sudo unattended-upgrade --dry-run -d 2>&1 /dev/null | grep 'Checking' | grep security | awk '{ print $2 }' For 14.04 /Trusty: sudo unattended-upgrade --dry-run -d | grep 'Checking' | grep security | awk '{ print $2 }'


0

You should check with your VPC provider if they use some kind of auto scale system, some cloud provider disable or enable the instance depending of the demand


0

You could use git-remote-gcrypt to git push and git fetch from the client computers to the server (or anywhere else). Not just the contents but the names of the files and other (all?) repository metadata is encrypted as well.


1

I have solved my own problem. In essence, you can set variable according to os_family, but you have to do it correctly. See my fixed playbook below: --- - name: Set fact for Debian set_fact: destination: "/etc/nagios/nrpe.d/" nrpe_server: "nagios-nrpe-server" when: ansible_os_family == "Debian" - name: Set fact for RedHat set_fact: ...


2

Yes, it is. If you are unclear about such things in the future, just test them out with small files on your old pool first. You can create pools from regular files as long as their size is at least 64MB. The commands are the same, just give it the full paths of the files instead of the device paths. On Solaris this would be: # create your test files cd /...


0

It seems if you add report_changes to your directories like i did it c an cause this: /home/wordpress/sites/ Report Changes OSSEC supports sending diffs when changes are made to text files on Linux and unix systems. Configuring syscheck to show diffs is simple, add report_changes="yes" to the /etc /bin,/sbin Note Report ...


0

What I've learned on zfs-discuss and during my experiments: zfs_prefetch_disable=1 - significantly degrades performance for seq scans - don't disable it zfs_nocacheflush=1 - leads to data corruption - don't enable it ZFS config that works for me and is even faster than ext4 for seq reads: recordsize=8K pg_data_95 recordsize=8K pg_wal_95 atime=off ...


0

the sudo group should be used: adduser myuser sudo


0

Open your sshd_config file and ensure this UseDNS yes After that, restart your ssh server. I try this in Centos 7 and the IP become hostname.


0

I had this exact error. Assuming that you have the prerequisites installed and that running the command manually works, but not in Cron, it may be that the correct path is not exposed to the cron command. You can fix this by running crontab -e and then entering the path directly into the cron tab: # Export the path so that the scripts run correctly PATH=/...


-1

Mixja is right with docker 1.12 it works!. Just test: wget https://test.docker.com/builds/Linux/x86_64/docker-1.12.0-rc4.tgz tar -xzvf docker-1.12.0-rc4.tgz cd docker ./docker -H tcp://0.0.0.0:2375 ps or env DOCKER_HOST=tcp://0.0.0.0:2375 ./docker ps I've tested it using the latest rc of Docker for Windows using Hyper-V Test it and tell us. Regards


0

So the closest I have found is a compromise by creating a Debian/Ubuntu EC2 instance and then installing "katoolin" which enables you to install all the Kali distro tools.


-1

Try using OsSec http://ossec-docs.readthedocs.io/en/latest/index.html it notifies you about the changes to pam.d/common


1

PAM generates that line of text due to the following configuration line in /etc/pam.d/login # Prints the last login info upon succesful login # (Replaces the `LASTLOG_ENAB' option from login.defs) session optional pam_lastlog.so There are some configuration options you can pass to that pam module, but I see nothing about resolving hostnames. /var/log/...


0

For the benefit of other googlers who also arrived at this question: Incorrect whitespace in a ~/.ssh/config file can also cause some head scratching. I recently helped out one of my co-workers who had this: # incorrect host foobar ForwardAgent yes instead of this: # correct host foobar ForwardAgent yes I've also run into instances where missing ...


1

You can specify the source IP address or subnet with the parameter "-s" and then drop all the traffic from eth1 to eth0 sudo iptables -A FORWARD -i eth0 -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT sudo iptables -A FORWARD -s 192.168.1.1 -i eth1 -o eth0 -j ACCEPT sudo iptables -A FORWARD -s 192.168.1.0/24 -i eth1 -o eth0 -j ACCEPT sudo iptables -A ...


0

There is an option via --orphan branch. Viz manual: --orphan Create a new orphan branch, named <new_branch>, started from <start_point> and switch to it. The first commit made on this new branch will have no parents and it will be the root of a new history totally disconnected from all the other branches and commits. Its also ...


0

My best option would be Attic Backup, free and open source, written in python. https://attic-backup.org It can handle out of the box incremental backups and daily/weekly/monthly rotation all with minimum effort and a very small package. Also it does automatic backup via cron, so you will be ready in 3 minutes. Tar and rsync it's fine, but as for a simple ...


0

The Apache code (httpd.h file, in particular) sets a default location of documents, which can be overwritten by the DocumentRoot directive. Depending on the installation, the Apache source code includes lines like the following: #ifndef HTTPD_ROOT #define HTTPD_ROOT "/usr/local/apache" #endif #ifndef DOCUMENT_LOCATION #define DOCUMENT_LOCATION HTTPD_ROOT "...


1

I like to use rsync. You can just rsync to your single backup if your goal is to have a backup if the VPS disappears, but for minimally more hard disk space you can use rsync hardlinked backups. You probably need to have a Linux system to backup to, because while rsync exists for Windows I don't think it would work with hard links.


0

All you need is tar, baby. Maybe rsync if you want to get fancy. But seriously speaking, there's a host of options that exist for network backups. Many of them are OS-dependent, though. Depending on what you need, the strategy will change. Do you only change your configurations often? Then you might do better to use a configuration management tool like ...


6

From official documentation of Haproxy 1.6: " The load balancing algorithm of a backend is set to roundrobin when no other algorithm, mode nor option have been set. The algorithm may only be set once for each backend." Refer this link for details : https://cbonte.github.io/haproxy-dconv/1.6/configuration.html#4-balance


0

I would have commented on @Paul Calabro's answer if I had enough reputation on serverfault. I also realise that the OP's happy that their problem is resolved but I thought it useful for those that are more nervous or at a novice level. Would sudo du -shc /* not have been a better option as it would list each folder in the root directory? However as @...


10

Run the following command to find free disk space information: df -h Then run the following command to find disk utilization information: sudo du -shc / (note the sudo, this should resolve the permission issues you were seeing) When you find a directory taking up a considerable amount of disk space, cd to the directory and repeat step #2. Keep repeating ...


2

Your pool black currently consists of two mirrored WD10JFCX drives, which according to Western Digital's spec sheet are: 5400 rpm (rotational latency about 5 ms on average, 11 ms worst case) 16 MB cache 1 TB 2.5" form factor SATA 6 Gb/s (SATA 3) Neither the 5400 rpm rotation speed nor the puny 16 MB on-drive cache is conducive to highest performance, and ...


2

You could probably use the ADMT if you wanted to create a new domain, but as you want to have a minimal impact on your user base then the logical thing to do is to join the samba host as a new domain controller (DC) in the same AD domain. After that the AD objects should be replicated to the new DC and you should replicate the sysvol and netlogon shares ...


1

How about: $ echo "y" | sudo ufw enable



Top 50 recent answers are included