Tag Info

New answers tagged

0

From the Wikipedia page on the Filesystem Hierarchy Standard: Modern Linux distributions include a /run directory as a temporary filesystem (tmpfs) which stores volatile runtime data, and which is being considered for the next version of the FHS. According to the FHS version 2.3, this data should be stored in /var/run but this was a problem in some cases ...


1

Some utilities traditionally used /var/run, other /run to store their process related material. When these were real on disc directories it did not matter too much that these were separate directories. Nowadays /run/ is often implemented as a tmpfs ( mount | fgrep run ) and data in those directories won't survive a reboot (which is a good thing). It makes a ...


0

Here's an excerpt from your kernel logs: [194844.372691] ata1.00: exception Emask 0x0 SAct 0x700 SErr 0x0 action 0x0 [194844.372702] ata1.00: irq_stat 0x40000008 [194844.372710] ata1.00: failed command: READ FPDMA QUEUED [194844.372723] ata1.00: cmd 60/08:40:98:cc:96/00:00:0b:00:00/40 tag 8 ncq 4096 in [194844.372723] res ...


3

I had exactly the same problem before. In my case we had multiple users which (for political reasons) had to share the same user account which gets messy if different people want different preferences or expect their own command history. The solution was to create an own home directory for each real user and change HOME at login time. To do this I used ssh ...


0

To fix this, I edited sendEmail-v1.55 at line 1884 to change 'SSLv3 TLSv1' to 'SSLv3'. OSX 10.10.1


1

Preliminary note: it appears that xmodmap has recently changed; old settings won't work. For your case, look at the number of values for keycode 53 (6 values: x X x X multiply approximate), which works, and for keycode 32 (4 values: o O odiaeresis Odiaeresis), which doesn't work. ISO_Level3_Shift will select the 5th or 6th value, but they are not set for ...


9

I think this should do it: tar -xzf file.tar.gz -C ~/locationX folder1 -C ~/locationY folder2 The -C option means to change to the specified directory before doing the extraction. Specifying filename arguments after the tarfile name restricts the extraction to just those files or directories. And you can repeat this -Changing directories as you do. Note ...


0

It seems that, for some mysterious reason, restarting openssh made the trick....


0

The solution for this problem was to do the following: Install libssl-dev Recompile Libre (a restund dependency) and reinstall Recompile restund and reinstall. That fixed it! Thanks to Richard Aas at the re-devel mailing list for the answer.


2

Your caracteristics are way too restrictive. The key notion here is: a daemon is a background process, therefore it cannot be the controlling process of a terminal, nor can it have a controlling terminal. This simple "rule" allows daemons to survive across terminals open/close and users login/logout. Each terminal has a controlling session, that is, a set ...


0

That just means the daemon's parent (pid 677) started the new session, forked, and the child (pid 678) inherited that session and kept running. This could happen if some wrapper script was used to daemonize something (and for some reason didn't exec its target - perhaps to handle restarts), or just because the process chose to fork again prior to entering ...


0

Could it be the blocksize of the disks? Check it on each disk with: blockdev --getbsz /dev/<id of the disk> For example: blockdev --getbsz /dev/sdb1


0

Copy one of /proc/config, /proc/config.gz, /boot/config-$(uname -r) from your ubuntu installation as .config inside the /usr/src/linux/. Then make oldconfig, and continue as usual.


0

On Ubuntu, the proper way to install a service/daemon is to add a file to /etc/init.d as described in http://askubuntu.com/questions/335242/how-to-install-an-init-d-script-in-ubuntu


0

sudo is not using regular expression, it is using standard shell glob patterns. So for blocking an IPv4 address you must use: blockuser ALL=NOPASSWD:/usr/sbin/ufw deny from [0-9]*[0-9]*[0-9]*[0-9]* to any \. is not allowed


0

It's a driver issue, install the new omega drivers, that solved the problem for me and I run a dual hd7970 and had the same issue until the driver update, so its the ability of the driver not the card its self and trust me this will solve the issue and will also allow you to do more with your card.


0

Another option, if it is available, is to use the screen command. Screen is a terminal multiplexer that allows you to disconnect from a long term running process and later reconnect to the same session so you can check its status and/or take other actions. screen is a feature rich program and can take some practice to master. I'd recommend you read the ...


0

head -142 /var/lib/dpkg/status | tail doing this I got Status: install ok installed Priority: optional Section: python Installed-Size: 182 Maintainer: Ubuntu Developers Architecture: all Source: python-setuptools Version: 3.3-1ubuntu1 Provides: python2.7-setuptools Depends: python:any (>= 2.7), python:any (<< 2.8)


1

To remove inkscape and all its settings do: sudo apt-get remove --purge inkscape If this dosn't work look in your home folder, show hidden files, look for ~/.config/inkscape that folder should contain your users settings so you can transfer and/or delete those settings.


0

Try disabling the media keys in Keyboard > Shortcuts > Sound and Media, then restart Chrome.


0

It seems I found the culprit in my .bash_profile file. It included the entry umask 027 After commenting the line out, the permissions are fixed!


4

This script will not run correctly at boot time as gnome-terminal, firefox and gedit will expect a X session to be running. The init.d and/or systemd route is too early in the boot process for your requirements. You'd be better off creating a .desktop file and configuring your system to auto-start this on login. Create a the file as follows:- $ gedit ...


3

With GNU xargs: xargs -d '\n' mkdir -p -- < foo.txt xargs will run as few mkdir commands as possible. With standard syntax: (export LC_ALL=C sed 's/[[:blank:]"\'\'']/\\&/g' < foo.txt | xargs mkdir -p --) Where it's not efficient is that mkdir -p a/b/c will attempt some mkdir("a") and possibly stat("a") and chdir("a") and same for "a/b" even ...


0

I know we will get lot of answers for this question.But still you can TRY this :) :D while read -r line; do mkdir -p "$line" ; done < file.txt


-1

Try this one-liner: for i in $(cat foo.txt) ; do mkdir -p $i ; done This will create the directory/directory-tree in the current working directory. Not in bulk (as in all-the-directories-getting-created-simulataneously), but the creation will be done one after another.


5

A filesystem goes into read-only mode when it has consistency issues. It is a way to prevent possible data corruption. Your next would be to take a backup of all important data from this drive since this could also mean that the hard-drive could be on its way out. When you rebooted the machine, the / partition got mounted back in the regular rw mode from ...


1

No, it won't log you off. Linux (and pretty much any UNIX-like OS) is a multi-user, multi-session environment, so in your example,you'll have two independent user sessions.


2

You can have multiple connections without a problem. Each connection will have its own shell. In the future you may want to start the script with nohup and background the script. This will allow the script to continue to run, even if you loose your shell. Also you can continue to use your existing shell without needing to open a new connection nohup ...


0

I'm not sure at all about how do those scripts you are looking at work. After looking at them it seems to me that they cannot work at all because the clean_all function is missing; maybe it was supposed to exist in /lib/init/bootclean.sh, but that file doesn't exist in my 14.10. What you should be looking for is the upstart job to empty /tmp on every ...


0

Reinstall input device drivers sudo apt-get install --reinstall xserver-xorg-input-all


1

Check the manual: man limits.conf That will show you that the first field in that configuration file is the <domain> or simplified: the users or groups for whom the setting is applied to. So when you use root there it's completely expected that it only works for root and not for any other user. Try the following to apply it to all users or better ...


4

This is well presented already in OpenSSH documentation such as man pages. In the configuration file ~/.ssh/config Host 123.4.5.67 User another On the command line: ssh -l another 123.4.5.67


1

Try this sudo chown -v hooman. simple-todos/ Dont forget the dot after hooman ls -l | grep simple drwxr-xr-x 2 root root 4096 Dec 12 11:23 simple-todo sudo chown -v kaustubh. simple-todos/ changed ownership of `simple-todos/' from root:root to kaustubh:kaustubh kaustubh@hacked:~/test$ ls -l | grep simple drwxr-xr-x 2 kaustubh kaustubh ...


2

You should probably try to use an already existing monitoring solution for this. This is pretty much exactly what they're designed to do, monitor for conditions and send out alerts (SMS or email). You might want to check out nagios or zabbix for a free monitoring solution. I haven't used it but it looks like Cacti supports alerting on thresholds collectd ...


1

I have installed Debian testing Jessie on the Thinkpad Helix. Overall the experience is acceptable. The tablet works, the pen works, the docking system works. It runs very hot, but I'm reasonably sure would happen with any OS, and I haven't tried any tricks to tune it. I'd recommend the effort.


0

I have the same problem. Have temporarily solved it by filtering the outgoing traffic to the ip in question, by typing in the following command: sudo iptables -A OUTPUT -d <ip-adress>/24 -j DROP sudo iptables-save The "/24" means it only cares about the first three numbers in the ip-adress. The problem is that it keeps coming back with new ...


1

This only applies to commands specified by the --pre-invoke and --post-invoke options, not when the commands are set in the configuration. This can be demonstrated by putting your echo command into a script: # cat > /tmp/pre-invoke.sh <<'EOF' #!/bin/sh echo This is testhook. Current action is $DPKG_HOOK_ACTION; exit 0 EOF # chmod +x ...


1

In addition to LVM internal RAID and mdadm RAID that Hauke mentioned Btrfs and ZFS have RAID support built-in. Btrfs has RAID-0, RAID-1, RAID-10 and staring with Linux 3.9 RAID-5 and RAID-6. Those are in compatible with other Btrfs version with at least the same version. ZFS has RAID-0, RAID-1, RAID-10, RAID-5, RAID-6, RAID-0 under different names, as well ...


2

There are several ways to create a SoftRAID with Linux: LVM's internal RAID and four versions of MD RAID (mdadm): 0.90, 1.0, 1.1, 1.2. Every non-ancient Linux should understand them all. There should not be any problem with a distro change.


0

I remember doing something in line with what you're asking... after a few different iterations, what solved my particular problem least painfully was just taking the main/full installation, then looking at the size of various packages... and removing the stuff that actually took up a fair bit of space and I knew (or at least thought) I wasn't going to use. ...


0

Your system should work properly with the battery out. Having to replace the battery sounds like a hardware issue. Anyway, I've seen something similar happen in Ubuntu VMs, where the wrong framebuffer is being selected, which causes very, very slow console updates. In this case, try adding vga16fb.modeset=0 to your kernel boot options. 1


0

Turns out this was a problem with RVM itself. https://github.com/wayneeseguin/rvm/issues/3180


0

Go to resolv.config $ sudo nano /etc/resolv.conf Add this and save in the file at last: nameserver 8.8.8.8 Save the file by Ctrl+X followed by yReturn. Then restart the service as: sudo service network-manager restart


0

Oh, nevermind. I just realized that I don't seem to have 32-bit libraries. The makefile should have -m64 in place of -m32.


0

This is a classic case of stateless VDI. oVirt or RHEV both provide this functionality as well as a restricted user portal allowing the user to start a VM with the OS they need. When the VM starts, a snapshot is being taken. When the VM is stopped, the snapshot is discarded, and all VMs are back at golden image state


0

The source tarball is available from: HERE


0

If lspci|grep snd_ens1371 gives some output the sound kernel modules are loaded & sound is probably muted in alsamixer. Muted channels show up as 'MM' & can be unmuted by selecting them & pressing M. If alsamixer does not detect a sound card run: alsactl init If you are using pulseaudio check /etc/asound.confcontains a minimum of: pcm.pulse ...


0

Error: ERROR cinder.openstack.common.rpc.common AMQP server on 10.192.1.126:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 1 seconds. solve: You stop all the service in cinder, ofter First restart the rabbitmq-server, and you check rabbitmq start or not. give the commands $ ps -ef | grep rabbitmq, and $ netstat -tulpn|grep 5672. ofter ...


0

Error: 3) ERROR cinder.brick.local_dev.lvm Unable to locate Volume Group cinder-volumes 4) ERROR cinder.backup.manager Error encountered during initialization of driver: LVMISCSIDriver 5) ERROR cinder.backup.manager Bad or unexpected response from the storage volume backend API: Volume Group cinder-volumes does not exist Answer: You check the file ...


0

This appears to work: # VBoxManage hostonlyif remove vboxnet0 This removes the host-only network. Then restarting VirtualBox brought the interface back and it works. For now. Honestly, I don't know if I've actually found the solution or if it's just dumb luck and it will stop working in a few minutes.



Top 50 recent answers are included