Posts

Showing posts from September, 2013

xorg - bumblebee: X did not start properly - Ask Ubuntu

bumblebee doesn't work, without giving me clear error message other "x did not start properly". here result of optirun -vvv glxgears : [19243.370955] [debug]reading file: /etc/bumblebee/bumblebee.conf [19243.400070] [info]configured driver: nvidia [19243.400238] [debug]optirun version 3.2.1 starting... [19243.400249] [debug]active configuration: [19243.400257] [debug] bumblebeed config file: /etc/bumblebee/bumblebee.conf [19243.400268] [debug] x display: :0 [19243.400272] [debug] ld_library_path: /usr/lib/nvidia-current:/usr/lib32/nvidia-current [19243.400277] [debug] socket path: /var/run/bumblebee.socket [19243.400285] [debug] accel/display bridge: auto [19243.400292] [debug] vgl compression: proxy [19243.400315] [debug] vglrun options: [19243.400323] [debug] primus ld path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus [19243.400465] [debug]using auto-detected bridge primus [19243.405523] [info]response: no - error: [xorg] (ee) [19243.4055...

grub2 - Quiet boot not working - Ask Ubuntu

following blank installation of both ubuntu 16.10 , 16.04 on asus 1215n i'm experiencing problems bios quiet boot functionality. quiet boot feature builtin in laptop prevents post output displayed before bootstrap , shortening boot time little bit. after installing each operating systems (no dual boot, reverted 16.04 due , other problems) feature doesn't work anymore: on each reboot post logs. happens in particular conditions (like power outage) , makes me think ubuntu shutdown doesn't ends correctly. i used have ubuntu 16.04 installed in dual boot windows 7 , microsoft mbr on sector 0 (grub installed on ubuntu partition) , there no problem. computer is efi has old stile bios (not uefi). tried google no luck. any ideas?

uefi - ubuntu 16.10 virtualbox doesn't get signed - Ask Ubuntu

i having problems virtualbox5.1 working on ubuntu 16.10 uefi secure boot enabled, start selfstudy of vagrant , further :). hoping, can me pinpoint problem or direct me in right way. i researched web lot, , came procedure, not working me, when "sudo modinfo vboxdrv", missing signature info. i show output, think relevant. if need more info, feel free tell me: uname -r 4.8.0-26-generic dpkg -s sign-file linux-headers-4.8.0-22-generic: /usr/src/linux-headers-4.8.0-22-generic/scripts/.sign-file.cmd linux-headers-4.8.0-26-generic: /usr/src/linux-headers-4.8.0-26-generic/scripts/.sign-file.cmd linux-headers-4.8.0-26: /usr/src/linux-headers-4.8.0-26/scripts/sign-file.c linux-headers-4.8.0-22-generic: /usr/src/linux-headers-4.8.0-22-generic/scripts/sign-file linux-headers-4.8.0-26-generic: /usr/src/linux-headers-4.8.0-26-generic/scripts/sign-file linux-headers-4.8.0-22: /usr/src/linux-headers-4.8.0-22/scripts/sign-file.c linux-headers-4.8.0-22-generic: /usr/src/linux-header...

software recommendation - Is there a terminal that allows setting of a background image - Ask Ubuntu

based on answer i can't set background image on gnome terminal 3.14 have given trying set background on gnome terminal. in link (or maybe in link link) mentioned xfce-terminal allow background image. package can find in ubuntu 16.04 repos xfce4-terminal doesn't seem allow either. is there terminal out there let me set background image runs in gnome on ubuntu 16.04 or need switch desktop environments completely? you can always run of terminal emulators in of desktop environments, there's no need switch desktop that. e.g. can run konsole (kde's terminal emultor) under gnome desktop, or gnome-terminal under kde, etc. newer gnome-terminal version have indeed removed support background image. notable terminal emulators use same terminal emulation widget gnome-terminal (namely vte , preferably gtk+-3 based version rather old unmaintained , quite buggy gtk+-2 based one) , support background image terminix xfce4-terminal version 0.8, both easy compile...

command line - Startup several applications on boot (each in their own terminal) + Auto-Mount Harddisk - Ask Ubuntu

when boot linux server, have run following things manually: start our mc server single command line start telegram bot single command line start dns update client single command line (login harddrive) what approach automate process? i've seen "minecraft startup scrips", contain lot of lines of code absolutely unnecessary in case. use own slim server-manager can run simple command. the goal is, boot server , gets done automatically, after logged in user (i'm user on system). simply go start applications , , add new entry, name wish , write following in command box: gnome-terminal -e "command" *instead of gnome-terminal can use whichever terminal like. substitute command of commands, easier 1 command per entry.

How to set a file size limit for a directory? - Ask Ubuntu

i have directory on system used specific reason applications , users, don't want size allowed exceed 2gb, there way of setting sort of limit doesn't allow file size exceed or other amount decide set in future? when size limit exceeded should undo last change (though there should option have stops operation , doesn't care if half file copied , left there) , display warning user. i running ubuntu gnome 16.10 gnome 3.22. usual filesystem quota on ext4 per-user/group, not per-directory. zfs can sort-of set directory quota, creating filesystem of fixed size off zfs volume. simple trick, though, create 2gb file, create filesystem on it, , mount @ desired folder: $ touch 2gbarea $ truncate -s 2g 2gbarea $ mke2fs -t ext4 -f 2gbarea mke2fs 1.43.3 (04-sep-2016) discarding device blocks: done creating filesystem 524288 4k blocks , 131072 inodes filesystem uuid: bf1b2ee8-a7df-4a57-9d05-a8b60323e2bf superblock backups stored on blocks: ...

apt - Errors while trying to install applications - Ask Ubuntu

today started having problems installing applications, spent half day googling , nothing try works. here's terminal output: link pastebin (it's long) i same output when using apt install -f apt dist-upgrade apt upgrade apt autoremove first tried turning off , on again - didn't fix it, , it's preventing me installing anything. then tried apt remove --purge on packages listed @ end, commands listed above, same result. it bugs me, because switched i3wm , can't install customize or expand functionality. thanks help! i tried removing packages manually suggested in comments i removed /var/lib/dpkg/info/ every file mentioned @ end of error log. now, have managed install few applications without errors. far seems working fine, won't happen again. help! edit: after tried boot again time later, error saying file /boot missing - give up, i'll reinstall ubuntu

networking - wifi problem with HP spectre x2 - Ask Ubuntu

i have issues wifi, have hp spectre 13 x2 , wifi card intel wireless-ac 7260 , works long not reboot laptop. when wifi working: rfkill list 3: phy0: wireless lan soft blocked: no hard blocked: no 10: nfc0: nfc soft blocked: yes hard blocked: no 11: hci0: bluetooth soft blocked: no hard blocked: no when on wmi can see this dmesg | grep wmi [ 2.571021] wmi: mapper loaded [ 10.505719] acer_wmi: acer laptop acpi-wmi extras [ 89.246158] acer_wmi: acer laptop wmi extras unloaded and after reboot laptop have acer-wireless lan in rfkill list must run command: rmmod -f acer-wmi , echo "blacklist acer.wmi" | sudo tee /etc/modprobe.d/acer-wmi.conf , wait few minutes/hours iwconfig lo no wireless extensions. wlp7s0 ieee 802.11abgn essid:"......." mode:managed frequency:5.24 ghz access point:......as:32 bit rate=26 mb/s tx-power=20 dbm retry short limit:7 rts thr:off fragmen...

14.04 - ubuntu grub boot loader not appear - Ask Ubuntu

this question has answer here: no grub after installing ubuntu beside windows 7 [duplicate] 5 answers recovering grub after installing windows 7? [duplicate] 6 answers how install ubuntu alongside pre-installed windows uefi? 12 answers i have installed ubuntu 14.04 dual boot windows 10 ubuntu not loaded windows loaded.and ubuntu grub loader not appear on start choose os boot.so how can solve ubuntu grub loader issue ? my pc hp.

command line - Remove CGroup from systemctl status output - Ask Ubuntu

i have php7.0-fpm running 125 start servers, , check status after restarting it. systemctl status , of course produces on 130 lines of output, making difficult read quickly. root@web2:/etc/php/7.0/fpm/pool.d# systemctl --no-pager --full status php7.0-fpm ● php7.0-fpm.service - php 7.0 fastcgi process manager loaded: loaded (/lib/systemd/system/php7.0-fpm.service; enabled; vendor preset: enabled) active: active (running) since thu 2016-10-27 13:38:29 cdt; 13min ago process: 5961 execstartpre=/usr/lib/php/php7.0-fpm-checkconf (code=exited, status=0/success) main pid: 5971 (php-fpm7.0) status: "processes active: 0, idle: 125, requests: 12, slow: 0, traffic: 0req/sec" tasks: 126 memory: 294.2m cpu: 728ms cgroup: /system.slice/php7.0-fpm.service ├─5971 php-fpm: master process (/etc/php/7.0/fpm/php-fpm.conf) ├─5974 php-fpm: pool www ├─5975 php-fpm: pool www ├─5976 php-fpm: pool www ├─5977 php-f...

antivirus - Why Clamtk is not scanning anything? - Ask Ubuntu

Image
i new ubuntu had installed clamtk antivirus using command: sudo apt-get install clamav clamtk and unable scan anything. whenever try scan completes within 1 second , this: which shows 0 files scanned,but selected directory , scanned it.where problem?i had tried updating clamtk using command sudo freshclam shows error error: /var/log/clamav/freshclam.log locked process error: problem internal logger (updatelogfile = /var/log/clamav/freshclam.log). the clamtk settings may not selected correctly. default, settings may disabled , may have activate them below. please check configuration -> settings menu items below , activate them ticking/selecting; tick -> scan files larger 20 mb tick -> scan directories recursively

64 bit - Installing 64-bit kernel in 32-bit Ubuntu 14.04 - Ask Ubuntu

i'm running ubuntu 14.04(32bit) on system , want use matlab(64bit). since ubuntu installation 32-bit i'm not able install matlab on it. i've read should able run 64-bit application in 32-bit ubuntu, if kernel 64-bit. have read this question , answer have saw these errors. $ sudo dpkg --add-architecture amd64 $ sudo apt-get update fetched 3,499 kb in 11s (304 kb/s) reading package lists... done w: gpg error: http://ppa.launchpad.net trusty inrelease: following signatures couldn't verified because public key not available: no_pubkey 531ee72f4c9d234c w: duplicate sources.list entry http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_main_binary-amd64_packages) w: duplicate sources.list entry http://security.ubuntu.com/ubuntu/ trusty-security/restricted amd64 packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-securit...

software installation - Installing Kiwix in Ubuntu 16.04 - Ask Ubuntu

i downloaded .zim file of wikipedia kiwix , being complete novice , newbie ubuntu, have no idea installation of real kiwix program. i searched questions in askubuntu came none of them had decipher. i understand have go 'kiwix-0.9' folder , type './configure'. got multiple errors.`` package libxul not found in pkg-config search path. perhaps should add directory containing `libxul.pc' pkg_config_path environment variable no package 'libxul' found configure: warning: unable determine gecko sdk version checking gecko version... 0 configure: warning: unable find nsisupports.idl checking xpidl... no checking python... /usr/bin/python configure: warning: unable find either xpidl binary or typelib.py or header.py scripts in '/home/famubu/desktop/kiwix- 0.9/src/dependencies/xulrunner-sdk/bin' directory. checking zlib.h usability... no checking zlib.h presence... no checking zlib.h... no configure: error: cannot find zlib header this pa...

16.04 - Ways to mount a Sd card / Usb drive in a different location - Ask Ubuntu

i wondering if can mount sd card or usb stick in different location rather /media if there way please tell me you can use (assuming desired directory ~/usb , current mount point /media/xcy/ccd3-9e9d ): $ mkdir ~/usb $ sudo mount --bind /media/xcy/ccd3-9e9d ~/usb then can use both of these 2 directories, or here way (assuming device name /dev/sdb1 ) $ umount /dev/sdb1 # unmount if it's mounted $ mkdir ~/usb # make dir if isn't exist $ sudo mount /dev/sdb1 ~/usb then can use ~/usb . you can find out device name , mount point mount (without options or arguments), in case, /dev/sdb1 , /media/xcy/ccd3-9e9d/ when insert usb drive.

can't install oracle 11g on ubuntu 16.04 - Ask Ubuntu

when run installer stuck in 84% , gives me error error in invoking target 'install' of makefile '/u01/app/oracle/product/11.2.0/dbhome_1/ctx/lib/ins_ctx.mk'. how can fix problem thank you. on debian jessie helped install: apt-get install zlib1g-dev and push retry in oracle installer. on ubuntu might similar.

updates - Ubuntu 17.04 - About This Computer - Ask Ubuntu

as know, when run daily-live updates of ubuntu 17.04 , click on settings > computer, still displays ubuntu 16.10 info screen. from previous questions, know annoyance @ stage of development process , correct info can displayed typing following command in terminal: cat /etc/os-release however, seems computer screen single graphics file, should easy , quick update. my real question is: can please update computer graphics file show correct info when start daily-live updates of new ubuntu release ? it prevent lot confusion , potential errors users/testers of new ubuntu releases.

boot - "No bootable devices found" after formating SD card by $ dd if=/dev/zero of=/dev/sda bs=4MB - Ask Ubuntu

i trying format -4gb- sd card, failed format directly, found can 0 out by: sudo unmount /dev/sda sudo dd if=/dev/zero of=/dev/sda bs=4mb after running these commands, stopped process take time, after while browser stopped , couldn't open again, tried log out , sign in again working again, laptop froze time did force shutdown.. turned on again each time no bootable devices found how can laptop working again without losing data? ...... laptop model: dell inspiron 5559 installed oses: ubuntu 16.04 , windows 8.1 ah, you've met fabled d isk d estroyer, eater of data. i'm going assume have single actual hard drive in computer, present @ /dev/sda . when unmounted /dev/sda (which nothing, way), targeting computer's hard drive. same command broke everything. let's break down: sudo dd if=/dev/zero of=/dev/sda bs=4mb in command, you're overwriting /dev/sda (your hard drive) /dev/zero (or no data). called dangerous idea, , why should ...

16.04 - Is it safe to disable Secure Boot? - Ask Ubuntu

i wanted know if safe me disable secure boot purpose of installing latest nvidia graphics driver. i running windows 10 alongside ubuntu 16.04 on acer aspire v nitro . each have own partition on same hdd. secure boot forces both windows , ubuntu require system level drivers "signed", proving approved authentic software. idea good, , on windows, microsoft signs of drivers. however, on ubuntu, user may require special drivers wireless card, video card, or specialty hardware. these drivers unsigned, can come number of different sources. if secure boot enabled, , drivers not signed, these drivers not load. in order them load, each driver must "signed". process of signing drivers not extremely difficult, can hassle... if change/update driver, or change/update kernel software part of ubuntu. each change require resign driver. so, imagine this... system running fine... have secure boot enabled... drivers signed... , use ubuntu's software updater ,...

Can not clone a git repository over ssh (Bad configuration option) - Ask Ubuntu

after upgrading ubuntu 16.10, can not clone repositories, served in gitlab, on ssh. if use git clone git@gitlab.com:user_name/repo_name.git command, this: ~/.ssh/config: line 8: bad configuration option: identityfile ~/.ssh/config: terminating, 1 bad configuration options fatal: not read remote repository. please make sure have correct access rights , repository exists. if comment identityfile line , run same command, this: debug1: reading configuration data ~/.ssh/config debug1: reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: applying options * /etc/ssh/ssh_config: line 55: bad configuration option: gssapiauthentication /etc/ssh/ssh_config: line 56: bad configuration option: gssapidelegatecredentials /etc/ssh/ssh_config: terminating, 2 bad configuration options fatal: not read remote repository. please make sure have correct access rights , repository exists. i checked whether gssapiauthentication , gssapidelegatecredenti...

networking - How to replace mdns4_minimal with BIND? - Ask Ubuntu

have ubuntu 16.04 lts version. according task should install bind dns server. noticed in nsswitch.conf has: hosts: files mdns4_minimal [notfound=return] dns mdns4 could please explain mdns4_minimal , mdns4 mean , how make system use local bind instance resolve dns queries? yes, know how start/stop bind. systemctl enable bind9 systemctl start/stop bind9. mdns or multicast dns service provided avahi/bonjour daemon, let small network computers use names no central dns present. uses default .local domain. if not using .local dns server set dns after mdns nsswitch.conf hosts: files mdns4_minimal dns [notfound=return] mdns4 otherwise .local used dns server (no use mdns service) hosts: files dns [notfound=return] mdns4_minimal mdns4 what difference between mdn4_minimal , mdns4? to answer you, better let know how collect such info , learn :) ( ## comment tell objective command below it) ## update "locate" database ~$ sudo updatedb ## searc...

xubuntu - How to repair /boot on LUKS encrypted harddrive? - Ask Ubuntu

i have laptop xubuntu installed. at install chose full disk encryption option. but yesterday accidentally dd-ed dsl image sda1 (/boot partition) instead sdb1 (pendrive). how can repair /boot ? hello tested following commands in laptop - yeah deleted in /dev/sda1 , got working again - here is: get live-image , boot it. first lets clean /dev/sda1 - open gparted; reformat /dev/sda1 ext2 , don't forget set "boot"-flag (right click on partition , select appropriate option) , confirm changes. now prepare chroot installed system , switch it: sudo cryptsetup luksopen /dev/sda5 sda5_crypt sudo vgscan --mknodes sudo vgchange -ay sudo mount /dev/mapper/ubuntu--vg-root /mnt sudo mount /dev/sda1 /mnt/boot in /dev /dev/pts /proc /sys /run; sudo mount -b $i /mnt$i; done sudo chroot /mnt okay let's delete , reinstall grub: apt purge grub-common (have terminal in fullscreen-mode due ncurses), might ask if shall delete - select yes; lets reinstall apt install...

Ubuntu 14.04 server PBIS and Samba - SMB drops domain - Ask Ubuntu

i have been working on while , keep running issues. used pbis domain machine on domain, ran issue version of samba comes ubuntu. downgraded sernet-samba, use pbis , install requirements it. i still getting password errors, after reviewing system logs notice when try connect server, domain drop,s, says username can not verified. after while sys log "domain online". line of system log lsass: [lsass] domain 'domain name' offline lsass: [lsass] failed authenticate user (name = 'username') -> error = 40121, symbol = lw_error_domain_is_offline

sound - Soundcard gets turned off after inactivity - Ask Ubuntu

for couple of years have asus sonar essence stx internal sound card, running on xubuntu 16.04. works fine, except noticed if stop using computer few minutes, sound off when come it. the "manual" way fix open pavucontrol (on sound settings... on panel bar), , switching port on output devices - e.g, selecting headphones 2 , going headphones 1 or speakers . the weird thing more frequent. used happen after waking resume, happening after few minutes , without going screensaver. enough of bother me try find solution issue. i noticed when lose sound, running pactl list sinks sink #7 state: suspended name: alsa_output.pci-0000_05_01.0.analog-stereo description: cmi8788 [oxygen hd audio] (virtuoso 100 (xonar st)) analog stereo (...) after switching port source thing, becomes: sink #7 state: idle name: alsa_output.pci-0000_05_01.0.analog-stereo description: cmi8788 [oxygen hd audio] (virtuoso 100 (xonar st)) analog stereo (...) omitted par...

Remove mailman from Ubuntu 14.04 LTS server - Ask Ubuntu

i use webmin configuring server , running update , upgrade softwarepackages. uses first apt-get update , apt-get -y -f upgrade command. yesterday try upgrade items (like bind9, etc) , seemed stop upgrading. reason tries install mailman on server, can't complete it. after more 15 minutes still not installed. so, aborted upgrade/install , rebooted server , tried again. again after waiting long time, mailman won't installed @ all. now want remove mailman server. remove it, have complete install of mailman first, says, can remove it. neither installing, neither removing seems work. i tried command: apt-get remove mailman -y reading package lists... building dependency tree... reading state information... following packages removed: mailman 0 upgraded, 0 newly installed, 1 remove , 12 not upgraded. 1 not installed or removed. after operation, 36.2 mb disk space freed. dpkg: error processing package mailman (--remove): package in bad inconsistent state; should ...

wireless - Wifi networks device not ready - Ask Ubuntu

im unable access network indicator because "device not ready" issue, problem happened after reverting networkmanager wicd network manager this method. the odd things is, connect wireless connection, unlike people cannot connect through wifi because of issue. im unable access network indicator because "device not ready" issue, problem happened after reverting networkmanager wicd network manager method. have tried removing unused package comes wicd ? if no, consider removing running autoremove command: sudo apt-get autoremove

How do I gain permission to move and see files in in an Ubuntu installation from a live USB? - Ask Ubuntu

Image
i want reinstall live usb have out pictures , music first. booted live usb , errors root owner of mountpoint, , (anonymous user of live session) have no permission there. can gain elevated permissions using sudo . task cp command, use file browser move files, open terminal typing ctrl + alt + t , type: sudo -i nautilus find files want , move/copy them desired location when done, close nautilus window , type exit in terminal drop privileges.

Find mime-type: contradictory results with file or xdg-mime - Ask Ubuntu

i trying find mime-type of file. used either 'file --mime-type' or 'xdg-mime', different answers? not sure understand? $ file --mime-type -b geplugin.kmz application/zip $ xdg-mime query filetype geplugin.kmz application/vnd.google-earth.kmz why have different answers? 1 should rely on? thanks! a short web-search google earth file format gave answer xdg-mime has more precise answer, yet 'z' stands 'zipped' fileformat, first true too.

networking - Wifi problem with Ubuntu Gnome 16.04.1 LTS - Ask Ubuntu

so in these days i'm having problems connecting every ap around me. when notebook startup ok , no connection drop. after while (could 5 minutes 30 or 1h) connection drops out , can't connect anymore. service network-manager restart doesn't help, neither switch off , on wifi card need reboot. don't know because signal (about -40dbm intensity , 70/70 quality). i've realtek rtl8723ae , output syslog: nov 2 22:38:53 notebook kernel: [ 897.126938] cfg80211: (5490000 khz - 5710000 khz @ 160000 khz), (n/a, 2700 mbm), (0 s) nov 2 22:38:53 notebook kernel: [ 897.126939] cfg80211: (57000000 khz - 66000000 khz @ 2160000 khz), (n/a, 4000 mbm), (n/a) nov 2 22:38:55 notebook networkmanager[893]: <info> [1478122735.1455] device (wlp8s0): supplicant interface state: associated -> 4-way handshake nov 2 22:38:55 notebook wpa_supplicant[985]: wlp8s0: wpa: key negotiation completed 64:**:**:**:**:59 [ptk=ccmp gtk=ccmp] nov 2 22:38:55 notebook wpa_supplican...

How to setup ksystemlog to open any *.log file by default? - Ask Ubuntu

i've used glogg while , happy it, cannot show unicode characters properly. i found ksystemlog in this question . seem need. can open log file within open file menu, , display unicode characters. every time need open different log file arriving randomly. not find way set default "open with.." command. find ways set specific log files default. "open with" ignores file try open. i've tried adding "open with" command: ksystemlog %u , no luck. i've tried creating desktop file it, doing wrong. any advice? ok, solved this, hope someone. since ksystemlog limitation is able open pre-defined files, decided copy log temporary file , define ksystemlog open file. this how it's done: 1) create bash script (called alog.sh): #!/bin/bash cp $1 /home/(user)/tmp.log ksystemlog 2) add desktop entry: [desktop entry] terminal=false name=klogger exec=alog.sh %u type=application icon=gnome-panel-launcher mimetype=text/x-log; ...

How do I reset a lost administrative password? - Ask Ubuntu

Image
i'm working on ubuntu system, , client has forgotten administrative password. doesn't remember entering one; there. i've tried suggestions on website, , have been unsuccessful in deleting password can download applets required running files. there solution? by default first user's account administrative account, if ui prompting password it's person's user password. if user doesn't remember password need reset it. need boot recovery mode. boot machine, , after bios screen, hold down left shift key. prompted menu looks this: i've noticed on systems timing when hit left shift key can tricky, miss , need try again. hit down arrow until select 2nd entry top (the 1 recovery mode in description ) , hit enter . now should see menu: using arrow keys scroll down root , hit enter . you should see root prompt, this: root@ubuntu:~# at stage should have read-only filesystem. have remount write permissions: mount -o rw,remount...

logs - apache2 is not starting - Ask Ubuntu

starting web server apache2 (99)cannot assign requested address: ah00072: make_sock: not bind address 10.0.1.43:8069 no listening sockets available, shutting down ah00015: unable open logs action 'start' failed. apache error log may have more information. apache2 instance did not start within 20 seconds. please read log files discover problems like error message says, " (99)cannot assign requested address: ah00072: make_sock: not bind address 10.0.1.43:8069 no listening sockets available, shutting down ". other process has allocated socket trying make apache use (probably earlier attempt start apache). find out process has tcp port 8069 open with: sudo lsof -i :8069

14.04 - Help on Python Ubuntu - Ask Ubuntu

Image
i installed bpython3 store. seems work fine , don't know how can run code writed. can me ? bpython fancy interface python interpreter. can't python development environment spyder install in python virtual environment, bpython installed there , runs ok. bpython3 run terminal. open terminal , type bpython3 start bpython3. type program 1 line @ time , press enter go new line. every time press enter python3 interpreter reads , executes current line interactively. can see screenshot, bpython3 has in-line syntax highlighting feature. you can save bpython3 session @ time using keyboard shortcut ctrl + s . prompted type name saved file. session saved default home directory. type exit() after python interpreter prompt or use keyboard shortcut ctrl + d exit bpython3.

Looking for PCIe tv-tuner card for OTA/ATSC and dual tuners that works with mythubuntu (16.04) - Ask Ubuntu

i live in ohio, , use ota has atsc. have given on trying hauppauge wintv-quadhd (for atsc) work. know sure card works? thanks! any of silicondust hdhomerun networked tuners work mythtv. i run 2 such tuners. older dual allows 2 separate coax inputs, , prime allows cablecard use encrypted/premium channels.

networking - Ctrl + c not working on continuous ping - Ask Ubuntu

so, having problem control key. seems happen on occasion. currently trying resolve wireless connection router in ubuntu server 16.04. sent command ping www.google.com without -c 4 option. attempting ping google , coming destination host unreachable on , on , on again. trying press ctrl+c, put c on screen , try ping again. i have tried both control keys , other things ctrl + alt, or ctrl + x. nothing works. has else had issue?

Can't get my wireless to work on Toshiba-Satellite-C70D-B - Ask Ubuntu

i've read of previous questions , answers , have not yet found need. i have lot of info, don't know it. one thing confuses me cannot "see" networks available, windows. output wireless info script disable secure boot in bios , wi-fi work. see this answer explanation.

keyboard - How to reset xkb? - Ask Ubuntu

i modified /usr/share/x11/xkb/symbols/pc file. after doing so, end , pgdn keys no longer work. did not file, attempted restore manually no results. ctrl/shift+end/pgdn still works, end/pgdn doesn't register key code in xkeybind or in browser. how reset xkb default? i'm running mint 18. i've researched extensively no avail, , have found similar questions here, no 1 quite same problem.

apache2 - repeated nginx ubuntu 16.04 error on update install - Ask Ubuntu

this question has answer here: nginx installation error in ubuntu 16.04 5 answers every time run sudo apt-get update error getting thrown regarding nginx. the following new packages installed: nginx 0 upgraded, 1 newly installed, 0 remove , 2 not upgraded. 1 not installed or removed. need 0 b/3.498 b of archives. after operation, 37,9 kb of additional disk space used. selecting unselected package nginx. (reading database ... 542828 files , directories installed.) preparing unpack .../nginx_1.10.0-0ubuntu0.16.04.4_all.deb ... unpacking nginx (1.10.0-0ubuntu0.16.04.4) ... setting nginx-full (1.10.0-0ubuntu0.16.04.4) ... job nginx.service failed because control process exited error code. see "systemctl status nginx.service" , "journalctl -xe" details. invoke-rc.d: initscript nginx, action "start" failed. dpkg: error processing package ng...

Slow picture updating on monitors after installing nvidia drivers - Ask Ubuntu

i'm using laptop monitor , second vga monitor. after installing nvidia drivers nvidia repository , cuda turn on nvidia card, , picture updating lazy. xorg.conf: section "serverlayout" identifier "layout" screen 0 "nvidia" inactive "intel" endsection section "device" identifier "intel" driver "modesetting" busid "pci:0@0:2:0" option "accelmethod" "none" endsection section "screen" identifier "intel" device "intel" endsection section "device" identifier "nvidia" driver "nvidia" busid "pci:1@0:0:0" option "constraincursor" "off" endsection section "screen" identifier "nvidia" device "nvidia" option "allowemptyinitialconfiguration" "on" option "ignoredisplaydevices" "crt...

server - Raise network issues Ubuntu 16.04 LTS - Ask Ubuntu

i'm having issues ubuntu lamp server. i've setup static addresses on /etc/network/interfaces , can't ping default-gateway or member servers on network. here's static ip address config , ip address status. firewall has been disabled now. when try restart networking services fails. can force interfaces ifup command. reason can't ping gateway of 10.10.0.1 ubuntu addresses ubuntu interfaces you should remove complexity in interfaces file. should work. don't need add route when both interfaces use same gateway. auto ens160 ens192 iface ens160 inet static address 10.10.0.130/16 mtu 1500 iface ens192 inet static address 10.10.0.131/16 gateway 10.10.0.1 dns-nameservers 10.10.0.5 10.10.0.127 mtu 1500

16.10 Nautilus options missing from menu - Ask Ubuntu

Image
i having trouble nautilus. when nautilus open have word "files" in menu bar. believe research normal. when click word "files" drop-down options - new window, sidebar, preferences, keyboard shortcuts, help, about, quit i want "connect server" there (and quite few other things). if start "sudo nautilus" terminal blank grey bar dropping down files there no options show. i believe have same problem https://askubuntu.com/questions/845273/nautilus-title-bar-menus-have-disappeared although describe differently was puzzled too, indeed intended behaviour in nautilus 3.20 - 16.10 ships with. screenshot in link looks there no longer app menu in title bar - "files" get. however, menu available via icon in top right corner, includes, example, "bookmark location" - in title bar menu believe. in answer specific question on connect server; appears @ bottom of window when click on other locations: question in link ha...

Ubuntu 16.04: restore screen refresh rate after suspend/resume - Ask Ubuntu

even after googling, cannot find answer maybe easy question. 1 of computers connected home main tv dp/hdmi cable. works fine. screen resolution detected right way, 1920x1080, if refresh rate set 50hz (50 hz interlaced). can run xrandr -r 60 , display nice 1920x1080@60hz desktop. (60 hz progressive). however, when stop using computer while, automatically goes sleep and, when wake up, resolution set bad 50 hz interlaced refresh rate. i added 15_screen-resume script in /etc/pm/sleep.d follow : #!/bin/sh case "$1" in resume) xrandr -r 60 date > /tmp/resume.txt ;; esac i can check if script ran date > /tmp/resume.txt command. know works if run pm-suspend shell, wait computer sleep , wake up. script not called if computer enters sleep mode on own after period of inactivity. question is: how call custom script @ wake after computer running ubuntu 16.04 entered sleep mode after period of inactivity? thanks help. it can confu...

16.04 - How to change the value of dirty_writeback_centisecs? - Ask Ubuntu

i change value of dirty_writeback_centisecs . after seeing tunables in powertop, there seems problem value 6000 considered bad powertop. echoes value 1500. however, change not persistent. i tried.. setting vm.dirty_writeback_centisecs=1500 in /etc/sysctl.conf , sys.vm.dirty_writeback_centisecs=1500 neither did work. also, in /etc/sysctl.d/99-sysctl.conf didn't work. the value still 6000 on restart. i guess, after changing parameters in /etc/sysctl.conf root privilege , saving , closing file, sudo sysctl -p command effect change. regards

unity - External monitor breaks display configuration randomly - Ask Ubuntu

if disconnect laptop, use while, go hook external monitor via hdmi, display freaks out. external monitor doesn't show @ all, windows on laptop monitor flicker , go on place. however, of time, if disconnect hdmi cable, wait couple minutes, , plug in, works fine. other times, need end session before plugging in monitor again. makes laptop less practical. any ideas on causing or how debug? i'm new unity, i've been using kde while. running ubuntu 16.04.1, intel® hd graphics 520 (i5-6200u), external monitor hp 25es connected via hdmi.

dual boot - WinUSB error mounting Windows 10 on external hard drive - Ask Ubuntu

i trying dual boot here , when trying create external hard drive windows 10 bootable made winusb gave following error: installation failed ! exit code: 256 log: formatting device... wait 3 seconds block device nodes populate... mkfs.fat: warning - lowercase labels might not work dos or windows mkfs.fat 4.0 (2016-05-06) mounting... copying... installing grub... installing i386-pc platform. installation complete. no error reported. installing grub.cfg... exiting... syncing... /usr/bin/winusb: line 78: 1148 terminating while true; sleep 0.05; echo 'pulse'; done cleaning... /usr/bin/winusb: line 78: 1294 terminating while true; sleep 0.05; echo 'pulse'; done unmounting , removing '/media/winusb_iso_1478797225_29588'... unmounting , removing '/media/winusb_target_1478797225_29588'... i researched different winusb solutions , none worked, did not show failed, when boot system through usb said system not found. have idea problem , how solve this? ...

nvidia - Ubuntu GNOME 16.04: System becomes Unrecoverable after locking the screen - Ask Ubuntu

i running ubuntu gnome 16.04 kernel version 4.7.10-040710 nvidia ge force 940mx gpu. problem comes whenever keep laptop busy program (such machine learning model or gpu intensive deep learning model) takes between 2-24 hours train. if try lock screen amidst code running or after code running, system enters unrecoverable state, wherein no combination of keys or actions effect black out screen. can't switch tty terminal check corresponding problem. here link part of syslog file near such failure. don't know how understand syslog, else have copied exact part here. any help/advice appreciated.

launcher - How to handle jupyter notebook files in Ubuntu? - Ask Ubuntu

Image
recently project jupyter added mime-type ipynb files: application/x-ipynb+json , , i'd launch these files without having allways launch terminal command: cd /path/to/notebook jupyter notebook so i've adapted blog post in order to: launch jupyter-notebook server when double clicking ipynb file add icon ipynb files. create desktop launcher launch jupyter notebook default folder or dragging , dropping file or folder. here's how looks, , see answer below understand how this. 1. create ipynb.xml mime-info file <mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'> <mime-type type="application/x-ipynb+json"> <comment>ipython notebook</comment> <glob pattern="*.ipynb"/> </mime-type> </mime-info> then store file in ~/.local/share/mime , update mime database. cp ipynb.xml ~/.local/share/mime update-mime-database ~/.local/share/m...

16.04 - Nividia drivers, black screen after grub - Ask Ubuntu

ubuntu 16.04, fresh install today. i've tried switching each of nvidia drivers listed under "additional drivers", 367.57, 304.132, 340.98, , tried instructions here adding graphics-drivers/ppa , tried installing driver 370 believe latest. ..every time upon restart , getting past grub black screen. fix reboot , use failsafex desktop revert nouveau. there nvidia drivers might work? or other things do? edit: 367.57 if start ubuntu failsafex driver work, it's under normal boot can't far login screen. not sure failsafex differently login screen. okay, looks there problem rendering splash screen stuff why black screen. fix i've found (turn shinies off). on ubuntu grub entry, edit linux line, add nomodeset , also change splash , quiet nosplash , noquiet . instructions here on how make permanent. might find works nomodeset link suggests. i'm not sure why need change additional configs too.

xorg - Screen resolution Issues, Intel HD graphics, Samsung Syncmaster SA10 - Ask Ubuntu

i installed ubuntu 16.04 lts first time on computer, came across problem. resolution settings limited 800x600 , 1024x768. after following instructions across net, have used xrandr resolution 1368x786 (for reason, cvt 1366 786 output gets me to). problem is, screen not centered, neither seem write aspect ratio (there vertical overscan horizontally unused pixels). i using intel hd graphics , monitor syncmaster sa10 (1366x786) replaced cable. faulty vga cable; there pin missing on 1 end. the screen displays now.

How can Bash script kill "sleeping" version of itself already running? - Ask Ubuntu

edit comments below wrote confusing/misleading introduction i'm rewriting it. i have bash script called " lock screen timer " can clicked on desktop. after 30 minutes locks screen , user has enter password unlock screen. if user changes mind, or want reset timer, should able click desktop shortcut again , should kill previouly running job sleeping , counting down. i've done little trial , error far , hit road-block. the relevant code snippet is: pgrep tv-timer > ~/tv-timer.log pid=$$ # current process id using cat ~/tv-timer.log : 16382 20711 one of these equal "$pid" above other running copy want use kill ##### . what's best way of figuring out 1 <> "$pid" , killing it? the first time script run there 1 entry equal "$pid" don't want kill. thanks help! the proposed duplicate ( prevent duplicate script run @ sametime ) problem within parent , child processes. accepted answers long , complicat...

Brightness controls act different after waking from suspend on dual-boot Macbook Air 6.1 - Ask Ubuntu

this appears variation on venerable "why-don't-brightness-controls-work-after-resume?" issue, interesting twist. the behaviour described below occurs on macbook air 6.1 absolutely stock install of 16.10 (literally changes reboot, run sudo apt-get update , change power settings closing lid triggers suspend). description after boot (good!): pre-boot brightness level retained, and brightness controls work expected. after wake (not good!): pre-suspend brightness level forgotten, and brightness controls work poorly (see below). to reproduce boot. increase & decrease brightness. observe. suspend (either closing lid or via ui). wake. increase & decrease brightness. observe. results normal brightness control at step 2, brightness controls work correctly in every way. can dim screen through twenty steps sunburn-bright off. broken brightness control at step 5, brightness controls do still work, but: brightness reset 0 (or @ lea...

networking - ssh to a computer run a command and mail the result - Ask Ubuntu

this scenario have cluster in university not connected internet. have computer connected internet. i want ssh via computer cluster , execute command , result , mail me can check status home. means need bash-script ssh cluster login password , run command , result , mail me result. thank you. i finaly python code: import paramiko import time import os def touch(path): open(path, 'a'): os.utime(path, none) ssh = paramiko.sshclient() ssh.set_missing_host_key_policy(paramiko.autoaddpolicy()) ssh.connect('ip', port=port, username='user', password='pass', key_filename='optional address private key') basecommand = "command" stdin, stdout, stderr = ssh.exec_command('some command') print(stdout.readlines()) stdin, stdout, stderr = ssh.exec_command(basecommand + 'ls') print(stdout.readlines()) #for copy file localpath = "local paths" + time.strftime("%y-%m-%d-%h...

command line - How to change the font size of just the prompt in bash? - Ask Ubuntu

i able identify prompt ( username@pcname ) in bunch of text. i know color of can changed , prompt can edited show want. how change font size of prompt? unfortunately that's not possible achieve. prompt , output text technically same object. text isn't located in separate buttons/window object set different font each. as alternative, consider doing following: use control sequences make highlight or appear bold. use all-caps prompt. spread prompt several lines