Tag Info

New answers tagged

0

I've mentioned the Solution here on Unix Stackexchange. Either try the grub-mkconfig method by booting into Linux through Super Grub 2 Disk that I also mentioned, OR, directly recover Windows Loader and recover Linux later when you need it. It's all mentioned in the Link.


0

Grub2 has two parts -- one in the MBR and the other one on a regular partition. The rescue prompt means grub has failed to load its second part. To fix that, you need to reinstall grub from a real system. Either you can boot from live CD/USB (easy), or you can redirect the rescue terminal to load the other parts, if you know where from (not so easy). Check ...


0

dnsmasq-base: Installed: 2.68-1 Candidate: 2.68-1 Version table: *** 2.68-1 0 500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages 100 /var/lib/dpkg/status dnsmasq: Installed: (none) Candidate: (none) Version table: ap-hotspot: Installed: (none) Candidate: 0.3-1~webupd8~4 Version table: 0.3-1~webupd8~4 0 ...


7

You can mount a tmpfs partititon and write the file there: mount -t tmpfs -o size=500m tmpfs /mountpoint This partition now is limited to 500 MB. If your temporary file grows larger than 500 MB an error will occur: no space left on device. But, it doesn't matter when you specify a larger amount of space than your systems RAM has. tmpfs uses swap space ...


3

Try this with Ubuntu: ramtmp="$(mktemp -p /dev/shm/)" tac scriptnameYYYYMMDD.txt > "$ramtmp"


1

Host only network: it connects the vmware to the host private network, but cannot connect directly to the external network. This will make use of the host ip address in a private network. NAT: will connect directly to the host and can connect directly to the external network. Will It shares the host ip address in external communication. Bridged: this will ...


0

I would find out exactly what OS and CPU type the remote system is using, then build a local VM using the same OS and CPU type. Then build a working environment inside that, which you can then tar up and unpack on the remote system. When building the software, I would make heavy use of --prefix options to configure scripts to force all binaries into a ...


0

use liveCD, find partition where ubuntu is installed (use Gparted -similar partitioning program. mount the partition (Ext4-usually): "sudo mount /dev/sda1 /mnt" (where partition name is sda1 else sdb1, sda2 etc...). Now bind "sudo mount --bind /dev /mnt/dev && sudo mount --bind /dev/pts /mnt/dev/pts && sudo mount --bind /proc /mnt/proc ...


2

Your binary isn't executable, as indicated by the ls -lh output. To fix this, chmod 755 cataclysm Then you should be able to run ./cataclysm given that ldd shows you have all the required libraries already.


1

You need to use the American spelling: apt-get install software-center (this will install https://launchpad.net/ubuntu/+source/software-center).


1

Look up crouton. With it you are able to download and install Ubuntu, as well as debian, and kali. For more (a lot more) information, go to this website. Also, yes it is a full installation...


0

Depending on your xrandr you could use this api to use multiple monitors, as damien said you the better way to solve this situation is using : xrandr --output VGA1 --auto --left-of LVDS1 asuming that your first screen is LVDS1 and you want to use your VGA1 port. --auto is for autodetection of recommended resolution.


1

You need to set up remote port forwarding from the server to the Raspberry Pi. Below is just a brief explanation of what that means.1 Remote port forwarding Now comes the second part of this tutorial, which is remote port forwarding. This is again best to explain with an example. Say that you’re developing a Rails application on your local ...


5

To figure out if a package (Tor here) is installed by user, run this in terminal: apt-cache show tor | grep Priority if the priority was optional‍‍‍‍‍, The package was installed by user, If was standard (important on Debian ) it's a default installed package. Now to find out when the package is installed, check the apt logs in /var/log/apt/history.log. ...


0

Did you get the solution ? Same trouble here. Kernel 3.10.17 from git@github.com:wandboard-org/linux.git branch : wandboard_imx_3.10.17_1.0.1_ga System build with buildroot Process : modprobe brcmfmac dmesg output : brcmfmac: F1 signature read @0x18000000=0x16044330 brcmfmac: brcmf_sdioh_f0_write_byte: enable F2 failed:-62 brcmfmac: ...


0

As you see from the output you've posted, almost all of the space used is allocated to /, the top-level (or "root", but not to be confused with the root user) filesystem. In fact, on your system that's the only real mounted filesystem. And, you can see that that's 100% used. /dev/xvda1 9.8G 9.3G 0 100% / The next thing to do is to drill down on ...


0

The first step is to check system logs. go to directory /var/log and clear some old log files. Next you can check the entire /var directory with command: du -sh /var to see which directory "eat" the diskpace


0

Too many levels of symbolic links. That most likely means that you have a circular symlink. For example, let's create folder which links to itself: $ ln -s folder folder Now, let's cd on it: $ cd folder bash: cd: folder: Too many levels of symbolic links ls gives a similar result: $ ls folder ls: cannot access folder: Too many levels of symbolic ...


0

You can just use update-rc.d squid3 disable. You will get a warning about the init script not existing, but it will still disable the upstart job perfectly.


0

It appears that one of the network hops between server A and 166.111.8.28 is blocking DNS requests. This is sadly not all that uncommon and inconvenient to work around (you can use a VPN, but it has pretty high latency). You can investigate where the blockage is with the traceroute command. There are several versions around, not all of them support the same ...


0

It depends from how you are managing your services. With a daemontools-family service manager, just that. Your current run program will in essence boil down to#!/bin/nosh chdir / setuidgid mongodb mongod This is in fact the very basic MongoDB run program that comes in the regular services bundle of my nosh suite, which doesn't use a shell as a script ...


0

Remove everything except for return 0 within the start_resolvconf() function of /etc/init.d/dnsmasq.


0

I have figured out how to speed up Samba. Alone Samba is actually more tuned then I have realized. I stopped trying to tune the software itself and stepped backed and looked at my hardware. I noticed my Samba server was only running a 10/100 Ethernet port. I bought and installed a 10/100/1000 along with the 10/100/1000 router and all Cat 6 cables. Now my ...


0

Of course it is. Check this and this.


1

I think you've got multiple problems. First: port=5555 - this means that the dnsmasq process will listen for DNS queries on UDP (and probably TCP) port 5555. All of the DNS clients of your dnsmasq will have to query on that port, otherwise they won't get an answer. Your ISP's DNS hijacking is not material to this. I suspect you don't want to configure a ...


1

Based on what I'm reading it seems as though Postfix is inherently single threaded but gives off the appearance of multi-threading through being able to run multiple instances on the same server to essentially achieve the same thing. https://groups.google.com/forum/#!topic/mailing.postfix.users/DAcPHrLygAc A quick walkthrough is available here: ...


1

Install the fake-hwclock program: # apt-get install fake-hwclock fake-hwclock: Save/restore system clock on machines without working RTC hardware Some machines don't have a working realtime clock (RTC) unit, or no driver for the hardware that does exist. fake-hwclock is a simple set of scripts to save the kernel's current clock periodically (including ...


0

Based on your question I'm going to make an assumption. The web server process is in the same group as the group ownership of the directory. You removed the execute (x) bit from the directory permissions and only gave it back to the group. This means that the directory owner doesn't have execute permission and that is required to be able to change ...


4

With Debian You can do: dpkg-reconfigure -plow locales With Ubuntu The Debian solution doesn't work with Ubuntu, probably because the locales package comes from the langpack-locales source instead of glibc or eglibc. But you can choose which language-pack-* package to install. For finer configuration, you might want to modify files under the ...


2

fail2ban uses iptables to block (assuming you're using the default iptables-multiport "action" in f2b). iptables is just part of Linux, so isn't something you need to install. By Ubuntu defaults, if you look in /etc/fail2ban/jail.conf, you should see something like this: [ssh] enabled = true port = ssh filter = sshd logpath = /var/log/auth.log ...


0

Boot into recovery mode, hold shift after the BIOS loads. Select the second kernel with (recovery mode). If you still have the same problem, mouse/keyboard not responding then reboot and try again with the next available recovery mode kernal. I have once had to use the third option before it worked. Turn on networking network then fix the packages dpkg. ...


0

Remove the default gateway from network settings /etc/networking/interfaces and restart the network services networking restart /etc/init.d/networking restart or route -n route del default gw xxx.xxx.xx.gw where xxx.xxx.xxx.gw is your gateway


0

You can try checking the integrity of the Deb packages that are installed with debsums. It will check the files on your system against the files in the deb packages in the registered repositories. After which you can then re-install possible broken packages.. First install debsums sudo apt-get install debsums sudo debsums_init This will install and ...


0

Edit: I owe you an apology. I did some additional testing and the rules as written below do not work as I expected. I've updated my answer to reflect the results of my testing. You have a few options. If the 3G router has firewall capabilities configure a firewall rule that drops all traffic to/from Host A. Enable and configure ufw to only allow LAN ...


0

I was struggling with the same issue. After finally being able to solve the issue I HAVE to post it online so that this is of some help to the other novices around. I wanted to use putty to connect to my ubuntu on virtual box (comfort reasons,the VB is just weird.. I cant work unless it is on a proper terminal). Anyway, Make sure ssh client is installed ...


1

The easiest thing to do is remove the default route on host A. That way, it will only be able to contact other hosts on the local LAN, like host B. If you put up a host C on another LAN port, though, host A will be able to talk to it. The next step would be to put host A on a separate network/VLAN, and implement firewall rules to restrict it, though this ...


0

First you have to transfer the script to the linux machine, so before sshing to the remote server scp your script to -lets say- /tmp and then ssh and execute the file that should be in the linux machine's /tmp directory.


0

There are no RPMs of MySQL 5.1 for CentOS 7. Your only chance is to take the "generic tar-ball", its installation is described in the manual. At the top of my head, I see two potential points of trouble: 1) You may need to disable SElinux. 2) Some system library may have had an API change between the build platform of the binaries and CentOS 7. I have no ...


0

Migration between two major distribution versions are always risky. Particularly if there are some software with custom configurations. Could you make a clone of at least one of your servers and migrate it to identify where the migration doesn't work "out of the box" ?


-1

If you're sure the 'java' command can be called, wouldn't this work for you? export JAVA_HOME=$(dirname $(java -XshowSettings:properties -version 2>&1 | grep 'java\.home' | awk '{ print $3 }'))


2

From the ldd command it looks like the binary is looking in /lib/x86_64-linux-gnu and not /usr/lib/x86_64-linux-gnu where you found the symlink. Try running these and see if you still get the same error: sudo ln -s /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /lib/x86_64-linux-gnu/libcrypto.so.6 sudo ln -s /lib/x86_64-linux-gnu/libssl.so.1.0.0 ...


1

On Ubuntu, Upstart takes care of starting services. Restarting services as inetd can do is often not needed as the programs like sshd just start and run in the background, instead of being restarted again and again. If you install some serial ports you might have to install (x)inetd to allow login over a serial line, but I haven't seen any need recently for ...


0

Don't use allow-hotplug eth0 Try this config: auto eth0 iface eth0 inet static address 192.168.0.1 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 dns-nameservers 8.8.8.8


0

This seems like a basic permission issue to me. As root, run chmod +777 /path/to/mountpoint (like /mnt/drive) to allow all users unrestricted access to the mounted drive.


1

your loopback devicelo is bound to the network 127/8 (aka 127.0.0.1/255.0.0.0), thus any address in the range 127.0.0.1 to 127.255.255.254 is your local loopback. therefore, it doesn't matter whether you use 127.0.0.1 or 127.0.0.2. the reason why they (Debian) chose the scheme they chose are explained in the Debian-reference (and it's really a workaround ...


1

The question isn't very clear, but my best guess for what you're trying to do is connect to your VirtualBox using ssh. If this is the case, you only need a terminal opened from the computer you're on; to connect to the Ubuntu box, you don't need any "terminals" open. The odds are overwhelmingly good that your Ubuntu box is running sshd, which is the ...


1

The obvious answer is sometimes the correct one.  You need to write to the cache directory, so you need write permission to the cache directory.  The fact that you're able to do the ls -l demonstrates that you have all the necessary access to the releases directory. You can get the desired access by either adding your user to the nginx group or changing the ...


1

Just put your command in /etc/rc.local. Make sure it's on a single line. sudo wpa_supplicant -i eth0 -D wired -c /etc/wpa_supplicant/mywired.conf -B I assume that your connection is stable and not dropping. Do comment if your connection drops. I'll make a script. Have to sleep now.


0

To solve it, I had to remove the symlink in /etc/php5/cli/php.ini that points to ../fpm/php.ini. After that, all works as expected. I found the solution here.


1

Credit from: http://askubuntu.com/a/451889 Create a script to check status and start if not found: #!/bin/bash if [[ ! "$(/usr/sbin/service mysql status)" =~ "start/running" ]] then /usr/sbin/service mysql start fi Make sure script is executable: chmod +x /path/to/script Finally create a cron to run the script: sudo ...



Top 50 recent answers are included