FAQ Database Discussion Community


Docker 1.4.1 fails to start on Fedora 21: FATA[0000] EOF

docker,fedora
Recently my docker service on local Fedora 21 stopped working. When I try to run the daemon using: sudo systemctl start docker It ends with: Job for docker.service failed. See "systemctl status docker.service" and "journalctl -xe" for details. Checking docker status by sudo systemctl status docker ● docker.service - Docker...

Sublime API missing

python,sublimetext,sublimetext3,fedora
I try to install 'Sublime Text 3' on Fedora 21 from official site, but when I execute "sublime.py" it says: Traceback (most recent call last): File "sublime.py", line 1, in <module> import sublime_api ImportError: No module named sublime_api but in "sublime.py" has: import sublime_api ...

trying to download a dataset from a website

apache,download,website,server,fedora
I am trying to download a dataset from a website but I can't download the whole folder .. I have to download each file separately which will need a lot of time. I am wondering if there is anyway to download the whole folder at a time?? The website link:...

Installing fedora-20 using vagrant

linux,vagrant,fedora
I have sucessfully installed vmware and vagrant in my win 7 64 bit system. I am trying to install Fedora using vagrant using following command: 1)vargrant init chef/fedora-20 output: A `Vagrantfile` has been placed in this directory. You are now ready to `vagrant up` your first virtual environment! Please read...

NFS Vagrant on Fedora 22

vagrant,rpc,fedora,nfs,libvirt
I'm trying to run Vagrant using libvirt as my provider. Using rsync is unbearable since I'm working with a huge shared directory, but vagrant does succeed when the nfs setting is commented out and the standard rsync config is set. config.vm.synced_folder ".", "/vagrant", mount_options: ['dmode=777','fmode=777'] Vagrant hangs forever on this...

SDL2 resize buggy in Fedora 21 but fine in windows

c++,linux,resize,fedora,sdl-2
I'm building a cross platform C++ OpenGL game using SDL2 as the window manager, and I recently discovered that resizing the window has some strange issues in linux. Other windows like Terminal work fine for resizing. It may also be worth noting that Fedora is in a VMware Virtual Machine....

Eclipse Fails to Load (Exit Code 13) on fresh Fedora 22 w/ latest OpenJDK

java,linux,eclipse,fedora,openjdk
Alright, before you chop off my head, I've spent the last two days poking around the internet trying to find a solution, and I'm at my wit's end. Additionally, I can't seem to login to askFedora, so here I am. So, having installed Eclipse through the terminal via sudo dnf...

Building Blender on Fedora 20, OSL compilation failed

c++,fedora,blender
When trying to build Blender on Fedora 20, I got the following error when running the install_deps.sh script: Linking CXX shared library liboslexec.so [ 81%] Built target oslexec make: *** [all] Error 2 ERROR! OpenShadingLanguage-1.5.11 failed to compile, exiting Does anyone know how to fix this compilation error ?...

Unable to change filesystem label using selinux policy module

fedora,selinux,libselinux
I am using fedora 21 I have written a selinux policy moudle for an application. I have defined new types is .te file and created a .fc file in which defines the labelling of files with the types I have created. i can successfully load the policy using "make load"....

How do I set the default window manager under Fedora 21?

fedora,xfce,mate
Fedora 21 comes with the ugly Gnome 3, and I installed XFCE and MATE, but I don't know, how to set either of them as a default X window manager. After I logout from Gnome 3, I don't see any selection from installed window managers.

Error in linux console : Couldn't get a file descriptor referring to the console

linux,fedora,gnome-terminal
When I start Terminal the first 2 messages that i see it is : Couldn't get a file descriptor referring to the console Couldn't get a file descriptor referring to the console and then prompt from console , and nothing another , also this problem creates when type setfont :...

Not able to install through Yum?

linux,fedora,yum
I have installed Sublime on my machine after unable to install I went to install mysqld i have got the following error: # yum install mysqld Loaded plugins: langpacks, refresh-packagekit Repository sublime2 is listed more than once in the configuration Repository sublime2-dev is listed more than once in the configuration...

Install red5 in Fedora

fedora,red5
This is my first question here, so please be compassionate. I am trying to install red5 on my fedora (latest version - 64 bit). Steps: cd /opt/ wget http://www.red5.org/downloads/red5/1_0_1/red5-1.0.1.tar.gz tar xzf red5-1.0.1.tar.gz mv red5-server-1.0/ red5 cd /opt/red5 ./red5.sh & Red5 is installed successfully but when I open http://myip:5080 then it...

Cloudbees Jenkins job cannot install packages via Yum

jenkins,fedora,cloudbees
I have Jenkins running on a Cloudbees Fedora 17 node. I need my job to be able to install certain packages to build my project correctly for deployment but my yum install commands fail because the jenkins user does not have the correct permissions. I cannot SSH into the box...

Problems verifying SSL certificate

ssl,fedora,signing
For school we are currently studying SSL certificates. For this week's assignment we had to install Fedora Workstation on VirtualBox and do some SSL-stuff. One of the assignments was the following: generate a public/private keypair and a CSR with the openssl command. I generated a public/private keypair using the following...

Popular error - org.sqlite.JDBC

java,eclipse,sqlite,jdbc,fedora
package aplikacjajava; import java.sql.*; public class main { public main( String args[] ) { Connection c = null; try { Class.forName("org.sqlite.JDBC"); c = DriverManager.getConnection("jdbc:sqlite:projekt.db"); } catch ( Exception e ) { System.err.println( e.getClass().getName() + ": " + e.getMessage() ); System.exit(0); } System.out.println("Opened database successfully"); } } Error: java.lang.ClassNotFoundException: org.sqlite.JDBC I...

Cannot connect to rails server on Fedora 21

ruby-on-rails,fedora
I started rails server but http://192.168.56.104:3000 is not available. Its address is correct because I can see the test page of Apache at http://192.168.56.104:80. I started the server: $ rails s Warning: Running `gem pristine --all` to regenerate your installed gemspecs (and deleting then reinstalling your bundle if you use...

I can't find the format file `pdflatex.fmt'!

php,latex,fedora,pdflatex,php-5.2
I want to run pdflatex from php on user request. Running from terminal works fine [php file.php] and creates pdf file. But when I try to run from browser by sending request to php, It gives this error "I can't find the format file `pdflatex.fmt'!" I am working with php5.2.6,...

mysql driver for qt database fedora

c++,mysql,qt,fedora
I understand it's the 100s time someone ask this but I'm still unable to have QMYSQL working. So I installed qt-mysql but I'm still having the QSqlDatabase: QMYSQL driver not loaded QSqlDatabase: available drivers: QSQLITE I copied /usr/lib64/qt4/plugins/sqldrivers/libqsqlmysql.so into /usr/lib64/qt5/plugins/sqldrivers/libqsqlmysql.so but no changes ... I've also added QT += sql...

P4API.cpp:39:20: fatal error: Python.h: No such file or directory

python,linux,fedora,p4python
Getting fatal error while installing p4python on linux machine. configuration: Python 2.7.5 os : fedora Below is the message I am getting while installing "p4python": $ pip install p4python creating build/lib.linux-x86_64-2.7 copying P4.py -> build/lib.linux-x86_64-2.7 running build_ext building 'P4API' extension creating build/temp.linux-x86_64-2.7 gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2...

How to change version string of the kernel?

linux,kernel,version,fedora,uname
I'm very new to Linux and very new to building/compiling my own kernel. For starters, I'm just trying to figure out how to change the version string of my kernel. For instance, when I do uname -a, it prints out "Linux localhost.localdomain 3.11.10-100.fc18.i686". I'd like to customize that, but I'm...

How to use mock with epel-7

fedora,rhel,chroot,epel
I have been trying to create a chroot for epel-7 using mock. Following this link: http://miroslav.suchy.cz/blog/archives/2015/05/20/why_mock_does_not_work_on_el_6_and_el7_and_how_to_fix_it/index.html I changed my .cfg file. Now when I tr to create chroot, I get the following error: sudo ./create_chroot.sh epel-7 INFO: mock.py version 1.2.8 starting (python version = 2.7.8)... Start: init plugins INFO: selinux...

Building libsndfile in Fedora with Ogg Flac and Vorbis

linux,fedora,libsndfile
I'm trying to build the libsndfile library in Fedora 20 with the added options of Flac, Ogg and Vorbis. So, as the readme says I installed flac ogg and vorbis using this command: sudo yum install flac libogg libvorbis After that I did the ./configure in libsndfile source like the...

Force linux to use php as php55

php,linux,fedora
Helllo, I have a little problem here. I have PHP 5.3 installed and it's accessible via php command, I also have php 5.5 accessible as php55 command. Now I need to force linux to use php55 when I write php command. Simple way: How I switch the versions of php?...

PhpMyAdmin Blank Page on fodora 22 localhost server [closed]

php,mysql,phpmyadmin,fedora,lamp
I follow this guide to install LAMP server on fedora 22 workstation How To Install LAMP Stack (Apache, MariaDB And PHP) In Fedora 22 Everything working well except phpmyadmin. When i need access it of the browser i see nothing (blank page) How i can fix this issue ? Any...

piping stockfish misbehaves in fedora

c++,pipe,virtual-machine,fedora
Somewhere in my project I use fork and pipe to execute another process and pipe its I/O to communicate with it (I'm writing it in C++). There is no problem when I compile it in Ubuntu 14.04, it will work just fine, but I compiled it in fedora on a...

Run java with terminal

java,eclipse,fedora
Is it possible to run in terminal java program that contains multiple files? When I'm using javac main.java terminal can't find any files except main.java...

Chroma key webcam video with gstreamer

linux,video,gstreamer,fedora
I'm trying to put together a green screen application with my Logitech C910 WebCam on Fedora 21. I've managed to get 1080p30 h264 video from the webcam to be displayed with gstreamer using the following command: gst-launch-1.0 v4l2src device=/dev/video0 ! queue ! \ video/x-h264,width=1920,height=1080,framerate=30/1 ! \ h264parse ! avdec_h264 !...

Working on a Dockerfile in order to build a WordPress image

wordpress,debian,docker,fedora,dockerfile
I'm a newbie using Docker, and I don't understand something. If I'm using the official Dockerfile used to build the official Wordpress image, we start with: FROM php:5.6-apache Then, to install extensions and models we have to use: RUN apt-get [install or Update] My question is: Why we are using...

How to enter Japanese hiragana characters to python 2.6 shell on linux?

python,linux,shell,unicode,fedora
I want to be able to enter the Hiragana characters via keyboard to python shell I already know how to display them. I do it like this : A = u'\u3042' print(A.encode("UTF-8")) and the output is あ as expected. But I intend to ask for user input, and the user...

Linux / Fedora sandboxing processes and filesystem changes

docker,sandbox,fedora,chroot,linux-containers
Is there a Linux (close) equivalent, that runs on Fedora, to the Windows program sandboxie? It's not perfect, but it basically creates a C:\Sandbox\\XYZ directory and any processes running in the XYZ sandbox are transparently (to the processes) locked to making changes in that folder. Sandboxie can allow processes running...

In fedora container systemctl gives Failed to get D-Bus connection

docker,fedora
When I in a fedora container systemctl use, I get: Failed to get D-Bus connection:: Unknown error -1 Does someone know how to fix this? Or can systemctl not be used in a docker container? ...