New answers tagged

1

In short: no you can not! The longer version: RPM must be there due to LSB compliance (supported by Debian at least up to end 2015) I've surfed for a while without any real answer for the presence of YUM. Yum is a manager build on top of rpm, therefore not relevant per se (unless LSB requires it), so I've issued: utente@debian:~$ aptitude search ...


0

Although both RPM and YUM are what really installs the packages, you would probably not be using either of those unless you are proficient with command lines and the various parameters that need to be passed. To make it easier for ordinary people to quickly grasp total control of their system, there are various graphical user interfaces or GUIs that can be ...


0

SOLVED: I must have installed something which enabled secure ftp, and this somehow disabled the un-encrypted connection on port 21 In the proFTPD.conf file, at the very end, there was a directive to enable modules in conf.d folder in the conf.d folder, there is sftpd.conf, asking to run secure ftp on port 2222 before making any changes I run lsof -i ...


1

Yes that is normal. Mongodb pre-allocates blocks of data for writes to happen. This allows it to handle more write operations without taxing your disk. Take a look at the following for more information https://docs.mongodb.com/manual/faq/storage/#faq-disk-size


1

Turns out AllowOverride All was not set for the /var/www directory, once I set that in the Apache configuration, all went well.


1

Should I be aware of any potential problems or increased risk of breakage. After switching to "dist-upgrade", if you use the Ubuntu repos, then I believe you'll start getting kernel updates which you did not before. Unfortunately kernel updates are a risk factor in the situation you describe. In your situation, it might make sense to a) configure your ...


1

It may just work if you add the following to /etc/initramfs-tools/initramfs.conf and move /etc/initramfs-tools/conf.d/cryptroot out of the way. CRYPTSETUP=Y Then rebuild initramfs, run it with the -k and -v options which will show you what it is doing and whether it adds crypt support. The -k option will keep around the temporary directory mkinitramfs ...


0

So, I was able to solve this by re-compiling libc once more. I assume it must have been something in the toolchain, as I this time used a chroot being especially set to wheezy.


0

This is called Proxy(ing). Yes this is possible by enabling the forwarding module on server1 and then add the appropriate forwarding rules on your iptables. For example: *On server1: Enable Forwading: echo "1" > /proc/sys/net/ipv4/ip_forward sysctl net.ipv4.ip_forward=1 Add forwarding Rules on Iptables iptables -t nat -A PREROUTING --dst ...


2

As you don't mention you added a route on the third system, I'm guessing the problem is that the third system doesn't know how to route return packets to 172.28.11.0/24. So you need to add a route there. Note that the route command has been deprecated in linux for a very long time now. You should familiarize yourself with the ip command, it is very powerful ...


1

It's a conntrack issue. Once the connection is considered "established", the NAT table isn't even consulted, and the traffic will continue to pass. Restarting networking is a brutal way of flushing the conntrack table (because entries get removed when the addresses they relate to get removed); more subtly, there are conntrack table manipulation tools ...


0

ssl.SSLError: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed This suggests that the hostname you are connecting with doesn't match the hostname in the certificate. With mosquitto_pub try using the --insecure option. Alternatively, you've not got the right chain of CA certificates and so the server ...


0

Any rules you apply using iptables take affect immediately (loaded in kernel). Most provably you have logical issues in your firewall and/or network configuration. A dump of your iptables rules would be helpful.


1

You can use sysdig: sudo apt-get install sysdig; sysdig -c topfiles_bytes; There's also an interactive (top-like) terminal program that might be useful in your case. csysdig;


0

with RHEL7, one can grow file system using xfs_growfs(8), needless to say it is risky and before doing anything like that, make sure you have backup.. I asked similar question about a year ago and @Michael Hampton answer it: redhat - How to Increase the Size of an XFS File System? - Server Fault


1

Its extremely difficult to achieve what you want. I dont suggest reformatting as there is a means to salvage this. I'd drop /usr completely by copying the entire contents of it into the /usr mounted in /. Something like this should work. I haven't tested it. mkdir /tmp/reroot mount /dev/sda2 /tmp/reroot cp -a /usr/. /tmp/reroot/usr/. vi /etc/fstab # edit ...


1

You can move some content from /usr to /home with cp then soft linking the old location to the new. For example you can move the yum data folder, I already did it on some server on the past.


0

Partitions must be continuous on a disc, and as your /home and /usr aren't contiguous you can't do what you're proposing. Even if there were you would have to move the start of onw of them, that's generally very hard. It depends on the filesystem how you shrink (if you even can) or expand it, and none of output show what filesystem(s) you use.


0

You can't really resize a basic partition, since partitions are made via physical slices of the disk, so: sda 8:0 0 20G ├─sda1 8:1 0 9.8G 0 - 9.8G ├─sda2 8:2 0 4.9G 9.8G - 14,7G ├─sda3 8:3 0 1.5G 14,7G - 16,2G ├─sda4 8:4 0 1K 16,2G - 20G (LOGICAL PARTITION) └─sda5 8:5 0 1000M 16,2G(+1K) - 17,2G You ...


0

you can write find part more efficient (make sense when you have large amount of files) find ${DIR_REMOTE} -type f -name "*.jpg" 2>/dev/null also you can strip carriage return chars (\r) with sed: find ${DIR_REMOTE} -type f -name "*.jpg" 2>/dev/null | sed 's/\r//g'


3

Yes, that is the standard notation for port numbers when describing TCP / UDP connection endpoints.


0

It looks like i missed that net.ipv6.conf.default.autoconf was set to 1. Adding a file in /etc/sysctl.d to suppress this at boot solved the problem for me: root@wopr:~# cat /etc/sysctl.d/ipv6.conf net.ipv6.conf.default.accept_ra=0 net.ipv6.conf.default.autoconf=0 net.ipv6.conf.all.accept_ra=0 net.ipv6.conf.all.autoconf=0 net.ipv6.conf.eth0.accept_ra=0 ...


1

1800 seconds sounds like a default timeout for a Router Advertisement. My first guess would be that there is a Cisco router on the network that is configured with ipv6 nd ra suppress on the interface. In that mode the router will send out an RA when a host requests one with an RS, but doesn't refresh it regularly. A host sends an RS when bringing up the ...


0

You don't need to do ${SSH_USER}@${SSH_HOST}:"$(echo $f)" in your SCP command. I'd expect that this should work fine: ${SSH_USER}@${SSH_HOST}:"${f}" EDIT: re-reading your answer below, if you were going to echo in the copy command you'd need to do echo -n to disable printing a newline at the end.


1

Ok - I think i have found the solution. I've replaced the scp with rsync and it shown me the full path (which, in this case, was ended by ascii-sequence #\015). It looks like scp was looking for a file /some-path/some-file.jpg\r, because for loop divided the lines by \n ssh -t allocates a pseudo-terminal, which returns windows-like line endings (\r\n), ...


0

Resurrecting an old post, I know, but wanted to put this here for anyone that comes across the same issue. First you're going to want to drop cookies for users that aren't logged in. Here's a section from my vcl_recv sub: sub vcl_recv { # Some wordpress URL manipulation if (req.url ~ ...


0

pam_mkhomedir is running with root privileges and the NFS share is probably not exported with the no_root_squash option, so the root user gets mapped to NFS nobody.


1

I came across this issue with an older version of VirtualBox (virtualbox-4.1.18) on windows and ubuntu host machines. The problem was that i was running Ubuntu 14.04.4 server 32bit from the Ubuntu site (vanilla version). I installed Ubuntu 14.04.1 server 32bit and it worked! I then upgraded the install to Ubuntu 14.04.4 and it still works! It turns out ...


0

I solved this issue by deleting he contents of /etc/krb5kdc and then using sudo krb5_newrealm to recreate the realm. After I added the principals again and used kinit it worked fine.


0

Shortly: /usr/lib/hpsockd/log2ascii /var/cache/hpsockd/usage.log Debian package hpsockd has not detailed documentation .. The syntax of the configuration file can be found in /usr/share/doc/hpsockd/html/ An example configuration file /etc/hpsockd.conf is here: /usr/share/doc/hpsockd/examples/hpsockd.conf There you can also find instructions for Socks ...


1

Well, here goes my answer, according to the comments: In my opinion, there aren't that many ways to solve this as of today, 2016/05/09. Basically you've to try somehow to get a modern nginx into your system, compiled against >= openssl 1.0.2~. The only two options I see currently: Either you compile for yourself, which you don't want to do, which is ...


0

Here's what worked for me : 1.create the index file in /etc/courier/shared.tmp/index 2.call sharedindexinstall without any arguments this will generate /etc/courier/shared/index out of /etc/courier/shared.tmp/index you created earlier. 3.give the necessary rights and permissions on the desired folder (or inbox) to the desired user (or users) 4.If you ...


0

change www to be a CNAME targeted to @ instead of an A record. Leave the @ as an A record. An exception to this would be when you want example.com to point to some different IP address than www.example.com. But if you setup www.example.com as a CNAME that points to example.com. then whatever you point example.com to then www.example.com will follow. ...


0

I was getting the same error today. By using wireshark to examine the conversation between saslauthd and the LDAP server I was able to determine two things that might help you... The default filter appears to be (uid=%u) The query from saslauthd restricts the size of the result to 1 record. In my case a search for uid=fred was returning two records from ...


0

If you're using a bridge you must use one physical interface in it. So your /etc/network/interfaces should look like this instead: auto lo vmbr0 iface vmbr0 inet static address AAA.AAA.AAA.AAA netmask 255.255.255.0 bridge_ports none bridge_stp off bridge_fd 0 bridge_ports eth1 ...


0

Try and see if your vlan interfaces are still removable via vconfig: vconfig rem yourInterfaces.name Also, sometimes when "ifdown" gives that error using ifconfig still works: ifconfig yourInterfaces.name down One option to try: ip link delete interface.name


0

Changing /etc/ppp/pptpd-options to the following options worked for me: refuse-pap refuse-chap refuse-mschap #require-chap #require-mschap #require-mschap-v2 #require-mppe-128 mppe-stateful


0

Per OpenVPN 2.0.x: --shaper n Limit bandwidth of outgoing tunnel data to n bytes per second on the TCP/UDP port. If you want to limit the bandwidth in both directions, use this option on both peers. OpenVPN uses the following algorithm to implement traffic shaping: Given a shaper rate of n bytes per second, after a datagram write of b bytes is ...


0

Be sure to enable both filter and deflate modules. sudo a2enmod deflate sudo a2enmod filter


1

I faced the same issue. When nothing else worked, this worked for me : Find the pid of svscanboot through ps auxf. You will see that it starts svscan which monitors all the services. kill -9 -pid. svscanboot will start automatically and so will all services under svscan. I faced the issue when named pipe of svcan gets corrupt when no disk space is left ...


1

No, it's not possible via configuration. I'd recommend just having a counter in your program counting the number of requests it has made, and subtract this from the total. You can see the documentation for mod_status here; https://httpd.apache.org/docs/current/mod/mod_status.html As you can see, the only extra option you have is turning ExtendedStatus on. ...


0

This is not exactly an answer but might be used to help. A colleague showed me this the other day. You can find out where a package is from using this command: apt-cache policy <package-name> For example: apt-cache policy xterm xterm: Installed: 271-1ubuntu2.1 Candidate: 271-1ubuntu2.1 Version table: *** 271-1ubuntu2.1 0 ...


1

To set the MySQL password you need to do the following for your script: ADMIN_PASS=YourPassword #MySql settings echo "mysql-server-5.6 mysql-server/root_password password $ADMIN_PASS" \ | debconf-set-selections echo "mysql-server-5.6 mysql-server/root_password_again password $ADMIN_PASS" \ | debconf-set-selections Just change the numbers for the ...


0

I've found the error. I didn't configure Dovecot properly. This is the tutorial i used: https://www.crahl.ca/blog/postfixdovecotpostfixadmin-on-ubuntu-14-04/


1

I agree with Khaled's comments and would also add to end of his phrase: "These subnets are connected to the same physical interface. The Linux router will return ICMP redirect message when the received packet should be forwarded over the same physical interface" to the same destination subnet then redirecting the request to the next hop. That ...


0

I have just found the solution: aptitude --schedule-only install <package1> <package2> && aptitude


1

Good question. As far as I know there is no way to find out where a package was installed from after you removed the deb-line from you sources.list-file. The only way to save all the sources would look something like this: % grep -h -e "^.*deb " /etc/apt/sources.list /etc/apt/sources.list.d/* | sort | uniq deb ...


1

initdb is part of the postgresql-9.5 package as provided by pgdg, and it should be located where you don't find it. $ dpkg -S initdb postgresql-9.5: /usr/share/locale/it/LC_MESSAGES/initdb-9.5.mo postgresql-9.5: /usr/share/locale/zh_CN/LC_MESSAGES/initdb-9.5.mo postgresql-9.5: /usr/share/locale/ko/LC_MESSAGES/initdb-9.5.mo postgresql-9.5: ...


0

I just took a look into the postinst-maintainer-script /var/lib/dpkg/info/libapache2-mod-php5.postinst. It states: php5_enable() { PHP_MODULE=$(a2query -m | sed -n 's/^\(php[\.0-9]*\) (enabled.*)/\1/p') if [ -n "$PHP_MODULE" -a "$PHP_MODULE" != "php@PHP_VERSION@" ]; then apache2_msg err "ERROR: $PHP_MODULE module already enabled, not ...


0

This is not really an error. The script just assumes that the php5 module in your Apache2 instance is not enabled (and tries to enable it), and because of that it gives you this message (which imho should probably be a warning, if not just an information, since the service still works fine). As for the service restart - the Apache wasn't restarted most ...



Top 50 recent answers are included