New answers tagged

0

No, you cannot as the double sided media does not offer a single data space. You have to flip the medium and remount it to get the other side and thus cannot copy a 9GB install medium to such a disk.


0

You probably ended up typing Ctrl-Z which suspended tmux. Try typing fg, then enter to continue.


0

go to your html folder cd /var/www/html check current files in the html folder using ls command ls delete wordpress installation folder from there . you can use terminal to do that. sudo rm -rf * remember -rf forcefully delete all sub-directories . -r > remove the entire directory and all its contents, including subdirectories. f -> force ...


1

Make sure you keep backup before doing this. find folder called wordpress in /var/www and delete them using rm -rf or if you have extracted the content of wordpress in /var/www then simply remove contents of /var/www/html/. If you have installed wordpress using apt-get then use sudo apt-get purge wordpress. remove the database from mysql using DROP DATABASE ...


0

This has already been answered on ask ubuntu. Including the same answer here. Type export SWT_GTK3=0in the terminal and start eclipse. If that works, then a more persistent fix is to put the 2 lines in italics below into eclipse.ini: --launcher.GTK_version 2 before the line: --launcher.appendVmargs


1

You seem to look at your crontab with crontab -l. The corresponding command for editing crontabs is crontab -e. This command will edit crontabs that are generally in the directory /var/spool/cron/crontabs/. In this directory you will find files named after usernames owning the crontab.


1

The functions called (get_review_data, save_stats, check_for_new_reviews, etc.) should be listed within the php code and python code, /home/mycompany/public_html/index.php and /home/scraper/scraper.py Examining those files should show what's actually being executed.


2

ps -o user= -p PIDHERE This selects the process PIDHERE with -p, then instructs ps to format the output by printing only the column named user; the = sign means "rename the column user to (nothing)", effectively removing the header line.


0

You may just have to map them manually in Arch (I had to do something similar in one of my Debian installs). You just need to map the keys of interest. This page should be helpful.


0

This has been answered a number of times online, these two look like a pretty good place to start: What's the proper way to prepare chroot to recover a broken Linux installation? How to restore a system after accidentally removing all kernels? If you have specific problems while going through a tutorial you can create a question for that (provided it ...


0

Answer extracted from question: It is the loopback interface: -A INPUT -i virbr0 -p udp -m udp --dport 53 -j ACCEPT -A INPUT -i virbr0 -p tcp -m tcp --dport 53 -j ACCEPT -A INPUT -i virbr0 -p udp -m udp --dport 67 -j ACCEPT -A INPUT -i virbr0 -p tcp -m tcp --dport 67 -j ACCEPT -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT -A INPUT -j LOG ...


1

Based on L.Levrel response, using the tools supplied in OS X (this should also work in Ubuntu). find . -type f -name '*.pdf' -exec grep -alE '/Producer \(pdfTeX|/Producer\(pdfTeX' {} +


3

You can look at the "/Producer" line: find -name '*.pdf' | xargs grep -al '^/Producer (pdfTeX' or with double quotes find -name '*.pdf' | xargs grep -al "^/Producer (pdfTeX" or with null-separated list of files find -name '*.pdf' -print0 | xargs -0 grep -al '^/Producer (pdfTeX'


0

If running nemo from a terminal works for you until you close the terminal, then run nohup nemo & With nohup, Nemo won't be killed when you exit the terminal.


2

Recommended updates are, well, recommended. You can read the stable release updates policy. They fall into three categories: Critical bugs such as data loss, impossibility to install, etc. Updates to data files which become necessary over time, such as the timezone database, antivirus signatures, hardware support lists, etc. Some of these may be code ...


2

When working with LVM (Logical Volume Manager) you should bare in mind that the order of operation is imperative. If you do not follow the order you risk losing your data. If you already have a PV(Physical Volume) and a VG(Volume Group) it is easier to extend the volume group by adding additional devices. To extend the volume group e.g vg1 you can do the ...


2

Try in terminal: $ firefox --new-instance -ProfileManager You will get something like this: Then to run with a specific profile: $ firefox --new-instance -P "Default User" Here you can also find profile directories. (Note: I have to use --new-instance, because I already have the browser open to answer this). If it works, I guess you could use ...


0

I've worked it out (I think). After reading about using gvfs-mount I found I could mount the share from the command line using: gvfs-mount 'smb://10.0.0.2/nick/' So now it was a case of doing that automatically. I used "Startup Applications" for this: Then I added an entry for each desired disk: Each entry looked like this: That seems to ...


0

I had the same problem. The following command fixed it: sysctl -w kernel.sched_rt_runtime_us=-1 Source: https://lists.opensuse.org/opensuse-security/2011-04/msg00015.html


0

In all likelihood the host you're trying to connect to has an "internal" name and it is either different or not available outside of the school firewall. If you have an IT help desk you might want to ask them if the server is accessible from the outside.


0

First, ensure that os-prober is installed in Ubuntu. If not: sudo apt-get install os-prober Double check that your Grub config is stored in the usual place: ls /boot/grub/ grub.cfg Then generate a new one: grub-mkconfig -o /boot/grub/grub.cfg Hopefully this should solve the problem. If not, let us know.


2

As others have suggested you probably have the original files underneath /var/lib. If you don't (or can't) usefully boot the system into single user mode you can also access these with a "bind mount": mkdir -p -m700 /mnt/dsk mount --bind / /mnt/dsk cd /mnt/dsk/var/lib You are now in the "old" /var/lib that is hidden underneath the "new" /var/lib and you ...


0

What is the sum of / ( du -sh / )? The same as in df 99G? I thing files from /var/lib are still on /dev/xvda1 partition. They are "hidden" under mounted partition /dev/xvdf. You must boot live cd (e.g. sysrescure), then: mkdir /test mount /dev/xvda1 /test and try du -sh /test/var/ You should see your "hidden" space. You have to remove this files.


1

That's because 'migrating' your /var/lib to another partition does not automatically clean your original files. The trick would be to boot from another system (maybe a livecd), from there mount your /dev/xvda1 and delete the files in there. Please be careful, and make sure all the files are actually available in your new partition before trying this.


0

Using multiple IP ranges or excluding certain IPs is not directly possible with OpenVPN's built-in DHCP server using a single configuration file. I propose 3 possible solutions: Workaround, but not guaranteed to work DHCP-proxy mode, simple, clean and lots of other options Multiple instances, more complex, could have performance benefits However, I ...


0

(Trying to improve @shcherbak answer.) To get info about the running display server write in the console: ps -e | grep tty7 For example I get as output 1477 tty7 00:00:27 Xorg . So I am running Xorg, i.e., X11. Explanation: tty7 is the terminal where you have the GUI in your linux system. Therefore, this should be the terminal where the display ...


0

A display of localhost:10.0 is usually not the real display but an intermediate ssh process that is designed to allow you to use X11 windows after doing ssh -X somehost. So you should not usually set DISPLAY to it by hand as it will only work through the ssh tunnel if it still exists. A display of localhost:0.0 is a tcp connection to the X11 server on the ...


1

TestDisk is the way to go. Read https://help.ubuntu.com/community/DataRecovery and follow the steps. If you can, use a different computer to browse and ask for advice and stop using your machine. Normal use of your computer can overwrite the data that you are trying to recover.


0

Outcoing connections to port 22 seems to be blocked in your school network. You can try to make your ssh server to listen some other port where you don't have any services listening on like e.g. 443 which might not be blocked. Just add.. Port <alternative_portnumber> ..to/etc/ssh/sshd_config in your server and restart ssh service. Then try again ...


2

ssh: connect to host IP port 22: Operation timed out This message is indicating that the secure shell client is not able to establish a connection to the server to which you are attempting to connect. As you mention this only happens from within a school network (and that you are able to connect from elsewhere), it's exceedingly likely that the campus ...


0

I learned that this what systemd "Target Units" are for. By using a Target Unit, I get the benefits I want without needing to create the fake [Service] section I had above. A working example "Target Unit" file looks like this: # named like app.target [Unit] Description=App Web Service # This collection of apps should be started at boot time. [Install] ...


1

NetworkManager gained support for bonding recently. I doubt it expects you to load the module manually. There's a minority of tutorials that don't tell you to load the module, so I wonder about the ifenslave script... hah. From the Debian 8 package, file ifenslave.pre-up: add_master() { # Return if $BOND_MASTER is already a bonding interface. [ -f ...


1

And now, the Ubuntu answer. The right way to do that is under the dæmon manager that comes with Ubuntu 14. What others have said here about designing a program explicitly to be a dæmon, and calling a daemon() library function, is entirely wrongheaded. Ironically, Ubuntu had upstart for three LTS releases prior to version 14 LTS — since ...


1

You need to move the line PartOf=app.service out of [Service] and into the [Unit] section, and add to the [Unit] of app.service the list of customers to start, eg Wants=app@customer1.service app@customer2.service or as sourcejedi said in the comments, Requires= the same thing. You can keep the PartOf to stop services you start by hand that are not in ...


0

Thanks a lot for the help. Among that bulk of links, I managed to find a solution for my problem. This one was particularly useful: http://askubuntu.com/questions/41681/blank-screen-after-installing-nvidia-restricted-driver


1

The C program performs the equivalent of this script: #!/bin/bash export LD_LIBRARY_PATH=. exec /usr/lib/mono/4.5/mono-service.exe Audio_Video_Recorder.exe --debug '>&' LOGCamster.txt echo "Oops!" >&2 exit 255 Notice that the >& and LOGCamster.txt are passed as literal arguments to your command line. Specifically, >& is not ...


3

The missing key is the key for the Samsung Unified Linux Driver Repository. Following the instructions added to the website yesterday should fix things: wget http://www.bchemnet.com/suldr/pool/debian/extra/su/suldr-keyring_1_all.deb sudo dpkg -i suldr-keyring_1_all.deb (assuming you trust the repository of course!).


1

Being Debian/Ubuntu based, it's not likely that the problem is due to rpath (still possible). More likely you're getting into trouble with "LD_LIBRARY_PATH=." which doesn't provide an absolute pathname. You can use strace to show which paths the executable tries to open, e.g., strace -f -o strace.log mono myprogram and look for the "open" calls. In ...


0

If your matter is to run the program out of a terminal here are some ways (your program must not ask for any user input): Using nohup : nohup program > program.log 2>program.err &. Then you can exit the terminal. Using atd service: echo "program > program.log 2>program.err" | at now or echo "program > program.log 2>program.err" ...


1

If your ubuntu is not too old (? probably at least 15.04), you should have a command locatectl which on its own will list some current settings eg: System Locale: LANG=en_US.UTF-8 VC Keymap: us X11 Layout: us X11 Model: pc105 Note the values for layout, model, variant, and options if any and provide them to sudo localectl in that order, with ...


0

I'm not sure if it because initctl dose not support the rotate option, and when it was removed, but you are not the only one effected by this, and there are open bug report for this on launchpad. Bug #1450770 “logrotate action “rotate” failed” Bug #1476296 “Nginx 1.8 (stable PPA) service commands don't work...” As mention by other answers ...


2

It means that "the system" (I'm using that term in a broad, general, ambiguous sense) doesn't know that the name ubuntu14-graphite corresponds to your host and its IP address.  (The fact that is is your host's name isn't enough to make this happen.)  This almost surely means that you don't have a line for ubuntu14-graphite in your /etc/hosts file†; ...


0

As suggested by Drav Sloan you can use su like: su -l kent-server -c 'cd /home/kent-server/mc/ && screen -d -m -S Minecraft Java -jar -Xmx5120M -Xms5120M spigot.jar' It is also possble to ahcieve a similar result using sudo such as: sudo -u kent-server /home/kent-server/mc/spigot.sh


0

I can recommend reading the ArchLinux wiki pages on this subject, as it will have much in common with a recent Ubuntu now that both use systemd. There are a lot of new problems introduced by having session permissions, and being able to run the X server without it being setuid root. Start by setting up a auto login to a VT, then run startx or xinit from ...


0

Try something like that $ export LOGIN_USER="Math" $ su - $LOGIN_USER $ sudo xhost local:$LOGIN_USER &>/dev/null source Ps: the accepted answer not worked for me


0

kayfire on www.linuxforums , suggested to try this on August 15 2007, http://www.linuxforums.org/forum/programming-scripting/100973-problem-change-ld_library_path-setenv.html. "As you have pointed out, the LD_LIBRARY_PATH is only loaded at startup of a new process. During runtime any change is ignored! That is why I have just called execve("path/app", ...


4

You really should not change the content of the /etc/os-release file. As you have seen yourself, you will experience problems in applications like Software Center, as these programs need the correct release description. If you simply change this bit of information, the programs are unable to find the proper software repositories, because they are looking ...


0

It appears part of the old gpt table is persisting, likely because the iso write is much smaller than the flash drive. So you should completely wipe it first. First make sure its entirely unmounted: umount /dev/sdb* Then delete existing fs on drive ( arch wiki suggestion) wipefs --all /dev/sdb Overwrite entire drive dd if=/dev/zero of=/dev/sdb Now ...


0

As I don't have a dedicated USB pendrive for my ISOs, so I usually end doing it very often and had to come up with a quick and reliable way to do it. Most of the time I do this for my Arch Linux or Arch Bang installs. So I'm using those distributions for the ISO names. This is what I do: dd if=/path/to/image.iso of=/dev/sd[usb-device] bs=[bytes-size] ...


2

I can now happily confirm that accessing the built-in flash drive works without problems using kernel 4.6.0-rc7 and manually binding the device using: echo 106b 2003 > /sys/bus/pci/drivers/nvme/new_id I'll submit a patch which will make the manual binding superfluous. During testing I had one episode of spurious timeouts which I was never able to ...



Top 50 recent answers are included