Menu
  • HOME
  • TAGS

Nexus 4 undetected on fedora 17 [closed]

usb,linux-device-driver,fedora,nexus-4

I believe that older versions of Fedora lack MTP support. I'd strongly suggest updating to Fedora 20, I've had good luck plugging in Android devices; as soon as I plug them in a file browser comes up. Make sure you have the simple-mtpfs package installed.

httpd doesn't run files

apache,webserver,fedora

Please note that simply putting some files inside the /var/www/html/ directory should make Apache display them. Here are some possible pointers that you might have missed. Specify your DocumentRoot correctly in your httpd.conf. This is usually located at /etc/httpd/conf/httpd.conf. DocumentRoot "/var/www/html" And make sure Apache allows people to access it,...

Cloudbees Jenkins job cannot install packages via Yum

jenkins,fedora,cloudbees

I am not aware that you can install additional software on the CloudBees Jenkins master node. But you can request from CloudBees support that additional software packages will be installed on the automatically created CloudBees build nodes. As alternative you can also create your own build nodes (called OPE in...

5 Different Fedora server categories

linux,fedora

I'm guessing you might be talking about "groups" and not "categories". If you run the yumex package management GUI, you'll find that if you sort by "Groups" under the "Servers" group you'll find things like: "Directory Server" "DNS Name Server" "FTP Server" "Mail Server" "Basic Web Server"...

Finding .emacs file Fedora 20

linux,fedora,emacs24

~/.emacs is for your own, personal configuration. You must create it yourself. (If you like, you can create ~/.emacs.d/init.el instead.)

Fedora PDO driver not found

php,pdo,fedora

I had linebreaks in my DSN string, I think that was the problem. I've changed it to: $host = MY_HOST; $db = MY_DB; $user = MY_USER; $password = MY_PASS; try { $this->_dbh = new PDO( "mysql:host=$host;dbname=$db;charset=utf8;", $user, $password ); } catch (PDOException $e) { printf( 'Connection failed: %s<br>', $e->getMessage() );...

The xsp4 web server cannot be fo found .Please insure it is installed

c#,mono,fedora

I have decided to wait until the exciting full release of vNext which will include New flexible and cross-platform runtime Ability to self-host "ASP.NET vNext (and Rosyln) runs on Mono, on both Mac and Linux today. While Mono isn't a project from Microsoft, we'll collaborate with the Mono team, plus...

NFS Vagrant on Fedora 22

vagrant,rpc,fedora,nfs,libvirt

Looks like when using libvirt the user is given control over nfs and rpcbind, and Vagrant doesn't even try to touch those things like I had assumed it did. Running these solved my issue: service rpcbind start service nfs stop service nfs start ...

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

java,linux,eclipse,fedora,openjdk

The problem - and the solution - are explained here: Cannot run Eclipse; JVM terminated. Exit code=13 Please run whereis java and ls -l /usr/bin/java. If you happen to have multiple JDKs, you should also consider alternatives. For example, run alternatives --display java. NOTE: The -vm option and its...

Fedora20 could not boot with serial

linux,serial-port,fedora

finally I solved this problem by appending: console=tty console=ttyS0,115200n8 rather than: console=tty0 console=ttyS0,115200 in boot command line I don't know why,but it works,thanks god.

Chroma key webcam video with gstreamer

linux,video,gstreamer,fedora

You should connect alpha with xvimagesink via videoconvert element: gst-launch-1.0 v4l2src device=/dev/video0 ! queue ! \ video/x-h264,width=1920,height=1080,framerate=30/1 ! \ h264parse ! avdec_h264 ! alpha method=green ! videoconvert ! \ xvimagesink sync=false ...

packages from tcllib not found

tcl,fedora

Tcl looks up packages in two ways: with auto_path and with tcl::tm::path. 1. The auto_path — the traditional mechanism. When you do package require, the package manager looks to see if the package is already present, or if instructions for obtaining the package from the filesystem are present. If neither...

Sublime API missing

python,sublimetext,sublimetext3,fedora

You are not supposed to "execute" sublime.py, it gets loaded by Sublime Text internally where the sublime_api module is provided by the C++ integration. There should be some other executable which will load the real application....

Not able to install through Yum?

linux,fedora,yum

Looks like not all your repos are valid and some of them are duplicated. Have a look at yum-config-manager, at the files in /etc/yum.repos.d/ and at /etc/yum.conf...

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

python,linux,shell,unicode,fedora

Provided your locale settings are correct, it should just work. $ python Python 2.5.2 (r252:60911, Jan 24 2010, 17:44:40) [GCC 4.3.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> string = raw_input('Write something in Japanese: ') Write something in Japanese: あ >>> print string あ >>>...

Toshiba satellite won't boot from USB [closed]

linux,ubuntu,fedora

For anyone who has had this same issue the answer was to go into the BIOS and: Disable "Fast Boot" Disable "Secure Boot" Switch to CSM boot mode (under advanced) Enable USB Legacy Mode Posted from ubuntu 14...

OpenVPN not creating default route on Fedora 21

fedora

Add this to your .ovpn configuration file. route-delay 5...

PhpMyAdmin Blank Page on fodora 22 localhost server [closed]

php,mysql,phpmyadmin,fedora,lamp

Possibly you can get more info via 2 things 1- Enabling php display_errors in php.ini file which you can find by running php --ini changing display_errors to on and save it then restart apache web server and revisit phpmyadmin url which should show you the error 2- looking in apache...

OpenShift Origin on Fedora 19

fedora,openshift-origin

I figured out that problem was in ssh check. I was not able to ssh to broker but installation script was facing as if ssh is OK. Needed packages: (yum -y install) ruby unzip httpd-tools puppet augeas bind Interesting. I solved it by adding repos and install some things: cat...

Misunderstanding beaglebone GPIO pinmux

fedora,beagleboneblack,gpio

I incorrectly thought that kernel pins were calculated as 32 * N + M for gpioN[M]. The kernel pin is determined by the offset from 44e10. pin 8 above has offset 820, which corresponds to gpio0[22] and p8.19. If you export 22 and check p8.19, the desired result is produced....

Run java with terminal

java,eclipse,fedora

First you compile your .java files javac *.java then you run it by typing, java main where main is the class with your main method, in the terminal....

nginx says forbidden, user nginx at fedora

nginx,permissions,fedora

it's a SELinux issue tail /var/log/audit/audit.log type=AVC msg=audit(1399879586.183:2081199): avc: denied { search } for pid=26495 comm="nginx" name="dev" dev="dm-1" ino=269277 scontext=system_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=dir type=SYSCALL msg=audit(1399879586.183:2081199): arch=c000003e syscall=2 success=no exit=-13 a0=7fdd65ed2219 a1=800 a2=0 a3=0 items=0 ppid=26494 pid=26495 auid=4294967295 uid=996 gid=1000 euid=996 suid=996 fsuid=996 egid=1000 sgid=1000 fsgid=1000 ses=4294967295...

Linux: How can I display all linux users that have an UID between 300 and 500?

linux,grep,fedora

egrep 'x:3[0-9][0-9]:|x:4[0-9][0-9]:|x:500:' /etc/passwd or more eloquent egrep 'x:[3-4][0-9][0-9]:|x:500:' /etc/passwd ...

where does VirtualBox create partitions on mac for fedora installation?

osx,virtualbox,fedora

Creating a virtual hard-disk in the host operating system (In virtualBox) will not overwrite any files on your hard drive. It will only utilize unused space on your disk. Overwriting the hard-disk in the guest operating system will not delete any files in the host, but it will overwrite/wipe files...

Magento Installation permission issue

magento,permissions,installation,fedora

Probably you have a problem with SELinux permissions. You should try this: chcon -R -t httpd_sys_rw_content_t /var/www/html/magento/ chmod -R a+w /var/www/html/magento/ ...

plutil: command not found

bash,shell,fedora

You can use yum to look for a package knowing the binary you want. For instance, if I want to install the package that provides plutil, I simply run this command: $> yum provides plutil Unfortunately, the result is No matches found... But you say you read that the libplist...

Laravel permission denied in storage/meta/services.json

php,apache,laravel-4,fedora

I have discovered the cause of this problem. Looks like selinux does not allow to httpd service (apache web server) write in my app folder. So, I did: setsebool -P httpd_unified 1 Now everthing is working fine!...

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

linux,fedora,gnome-terminal

setfont modifies the font in the VGA console (what you get when you press CTRL-ALT-F1, etc) It won't do anything in Terminal. Normally only the root user can access the console device that setfont needs to connect to in order to make the font change. This is why you get...

Butchered Ruby on Rails Installation

ruby-on-rails,linux,fedora,uninstall

Ok, after reading the comments I figured out the problem! I ran a yum list | grep ruby and similar searches and found that I had not, contrary to what I believed, removed all the packages I had installed. After deleting the remaining packages my usr/share/ruby folder vanished to the...

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

fedora,xfce,mate

As I interpret your question, you want to install switchdesk $ yum install switchdesk switchdesk-gui and run that. You can also try changing settings in /etc/sysconfig/desktop as described here. If you want to simply try out a different desktop environment at login time, try installing lightdm or kdm (from the...

Install red5 in Fedora

fedora,red5

You must install JAVA: cd /opt/ wget "http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jdk-7u79-linux-x64.tar.gz" tar xzf jdk-7u79-linux-x64.tar.gz cd /opt/jdk1.7.0_79/ alternatives --install /usr/bin/java java /opt/jdk1.7.0_79/bin/java 2 alternatives --config java ...

Working on a Dockerfile in order to build a WordPress image

wordpress,debian,docker,fedora,dockerfile

The WordPress image Dockerfile does begin with FROM php:5.6-apache. But the php:5.6-apache image Dockerfile starts with FROM debian:jessie. Hence the apt-get. Each image builds up based on another base image. ...

Popular error - org.sqlite.JDBC

java,eclipse,sqlite,jdbc,fedora

Download the SQLite-jar at http://search.maven.org/remotecontent?filepath=org/xerial/sqlite-jdbc/3.8.10.1/sqlite-jdbc-3.8.10.1.jar Add the jar file to your class path (open Eclipse project properties, there you'll find the build path) Run your program. You usually use Maven, Gradle or manual dependency management when using Java. Linux package managers are very limited in java support....

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

python,linux,fedora,p4python

You need to install the python header files something like: yum install python-devel ...

Run a particular ssh command in background for 24/7 on VPS server

linux,ssh,fedora,netcat

If the job needs to resume after system reboot, it's a system service. So you have several options: Write an init script and add it to your default run level. If your distro uses systemd write a configuration file to start your command as a service. You can use another...

sdl2-sys won't compile -

rust,fedora,sdl-2,rust-cargo

Do you have a C compiler installed? It looks to me like it's complaining about cc.

SELinux influences "failed to open stream: Permission denied” PHP error

php,permissions,fedora,lamp,selinux

I am not expert but have had a few issues with SELinux myself. I read a few articles and from what I can gather SELinux is another layer of Security for your server and really should be left on, rather than switched off due to ignorance (that was the quote...

Building libsndfile in Fedora with Ogg Flac and Vorbis

linux,fedora,libsndfile

In many distributions, a package, like libogg, contains only the shared (and maybe static) libraries for the package - whatever is required to run other programs that are already linked with that library. The C header files and other support files that are needed for actually building a new application...

Problems verifying SSL certificate

ssl,fedora,signing

When you verify a certificate, you are checking whether it's CA is recognised, and it matches the CA's fingerprint. It doesn't look like you are providing the CA cert to the openssl command. Try specifying -CA <your CA cert file: $ openssl x509 --help ... -CA arg - set the...

Syntax To Get Total File Size

bash,fedora,7zip

du -hc files_2014-11-03* | tail -1 I would use -c instead of -s -c, --total produce a grand total ...

How to use mock with epel-7

fedora,rhel,chroot,epel

Turns out the reason was that the repos were not being configured properly. Changed the repos and everything worked fine. Thanks.

trying to download a dataset from a website

apache,download,website,server,fedora

These two for cycles run in bash should do it: for S in S{001..109}; do mkdir ${S} cd ${S} for R in R{01..14}; do file="http://www.physionet.org/pn4/eegmmidb/${S}/${S}${R}.edf" wget "$file" wget "${file}.event" done cd .. done ...

Pandoc failed to compile on GHC 7.8.2

haskell,fedora,ghc,pandoc

It looks like you're missing the dynamic libraries. Most likely, you need to install cabal-install-1.18 or later, wipe our your package database, and install again. For more information, see: https://plus.google.com/115504368969270249241/posts/R8EYrABDrvv

y.tab.c not generated on fedora with bison -d

c,fedora,bison,fedora20

Thinking that bison would produce ch1-05.tab.c instead of y.tab.c wasn't silly at all, in fact that's what it did. Bison is GNU's version of Yacc, and though it is compatible with it in terms of grammar description, there are some differences in usage. If you want to revert to conservative...

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

docker,fedora

I was asked to post the solution as an answer, so here it is. SOLUTION Ok, I found out what was the problem - it was my docker config in /etc/sysconfig/docker of course. Steps I took to find it out: firstly, I renamed /var/lib/docker/ to allow docker to recreate its...

Force linux to use php as php55

php,linux,fedora

You can create an alias: alias php="php55" Now if you type php it uses php55...

Is there anyway to install scala without sbt?

scala,install,sbt,fedora,yum

You should have Java installed: sudo yum install java-1.8.0-openjdk.x86_64 Then download and install Scala: wget http://www.scala-lang.org/files/archive/scala-2.11.7.tgz tar xvf scala-2.11.7.tgz sudo mv scala-2.11.7 /usr/lib sudo ln -s /usr/lib/scala-2.11.7 /usr/lib/scala echo "export PATH=$PATH:/usr/lib/scala/bin" >> ~/.bashrc rm scala-2.11.7.tgz ...

Monodevelop C++ debugging issue

c++,debugging,monodevelop,fedora,xterm

This is due to a recent gnome-terminal change. Recent gnome-terminal no longer accepts the --disable-factory argument. Install the xterm package, then in a gnome-terminal session do the following: $ unset GNOME_DESKTOP_SESSION_ID $ monodevelop This will cause monodevelop to use xterm as its external terminal and all should be well....

Unable to change filesystem label using selinux policy module

fedora,selinux,libselinux

For clarification: "load the policy" does not set "file contexts" of existing files automatically. Existing files should relabeled according to your new policy. New files will get the new label automatically. To restore missingmislabeled labels you can use the following command, e.g.: restorecon -Rv /var/lib/docker/ From the restorecon manual: "It...

Linux / Fedora sandboxing processes and filesystem changes

docker,sandbox,fedora,chroot,linux-containers

I think you are on the right track with Linux containers. The feature you want is a Union Mount, where processes see a layered filesystem, and write only to the top layer. Docker for example uses union mounts, but starts with a file system image as the lowest layer, not...

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

php,latex,fedora,pdflatex,php-5.2

the pdflatex.fmt must be readable by the web browser in order to be accessible for the exec command, also the server might be chrooted and if so, the chroot folder might not have access to all the pdflatex parts. check it...

bash script not running as expected from cron vs. shell.

linux,bash,shell,cron,fedora

Your test from the command line is not valid, because you are basically executing the process id, which will give you a command not found. From the command line you will need to test this way: # pidof perl | wc -l without the $() The issue you are most...

Access denied (403) for PHP files with Nginx + PHP-FPM

nginx,permissions,fedora,php-fpm,http-status-code-403

Here are some possible solutions: In your php-fpm www.conf set security.limit_extensions to .php or .php5 or whatever suits your environment. For some users, completely removing all values or setting it to FALSE was the only way to get it working. In your nginx config file set fastcgi_pass to your socket...

mysql driver for qt database fedora

c++,mysql,qt,fedora

You can't just copy the Qt4 MYSQL driver into Qt5. Install it from the same place you installed the rest of Qt5. (Package qt5-qtbase-mysql perhaps: https://apps.fedoraproject.org/packages/qt5-qtbase-mysql ).

All functionalities are not working in program run via .desktop file icon

python,icons,pyside,fedora,scapy

(using answer instead of comment to use nicer formatting) This can be due to wrong working directories. Consider the following example: testfile = open("testfile.txt", 'w') testfile.write("TEST") testfile.close() stored in the file /tmp/subdir/test.py. If I now open a terminal and do the following: cd /tmp/subdir python /tmp/subdir/test.py the testfile.txt is created...

SDL2 resize buggy in Fedora 21 but fine in windows

c++,linux,resize,fedora,sdl-2

Thanks for the help. The problem was that SDL was handling the window resizing, but then I was also manually handling it. I don't know why it wasn't an issue in windows, I guess it is handled differently in windows. Solution: remove the following line SDL_SetWindowSize(window, event.window.data1, event.window.data2); ...

arm-linux-gnu-gcc collect2: fatal error: cannot find 'ld'

c,gcc,cross-compiling,fedora

I think you encountered an instance of bug 1122003. It seems to have been solved in gcc-arm-linux-gnu-4.9.1-1.1.fc22.x86_64, or you should be able to work around it with the --with-ld flag in the meanwhile.

Cannot connect to rails server on Fedora 21

ruby-on-rails,fedora

Resolved! I have to use -b for rails server to work on not only localhost. $ rails s -b 0.0.0.0 It was changed: https://github.com/rack/rack/commit/28b014484a8ac0bbb388e7eaeeef159598ec64fc...

Installing fedora-20 using vagrant

linux,vagrant,fedora

Command vagrant up failed because my proxy denied the access to atlas.hashicorp.com. If we can access any website using browser that does not mean we can access it using command prompt. Command prompt by default doesn't use the proxy setting from internet explorer. In order to fix this issue, I...

How to mvndebug in fedora

java,linux,maven,debugging,fedora

Fedora's command line is case sensitive, and I believe the command is mvnDebug, with a capital D. Try that. Does mvn work? If not, you need to sudo yum install maven2 to install it....

Concatenate error runtime scripting linux

linux,shell,scripting,concatenation,fedora

The shell is very picky about spaces around =. Instead of var= "${var} humans" you should have : var="${var} humans" no spaces allowed !...

Building Blender on Fedora 20, OSL compilation failed

c++,fedora,blender

You'll need more information. The install_deps.sh script will download and compile each library for you, you should be able to find the OSL source files, and manually try building it. As it is a linking error chances are a library (or required version) is missing, or not where it is...

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

docker,fedora

The systemctl command talks to systemd over a DBus connection. It is unlikely that you are running systemd in your container, so systemctl has nothing with which to talk. While it is possible to run systemd in a container, doing so is often (but not always!) a sign that you...

linker error while linking boost log tutorial (undefined references)

c++,boost,fedora,ld

Just add a line #define BOOST_LOG_DYN_LINK 1 as the first line of boosttest.cc. Alternatively, you can add -DBOOST_LOG_DYN_LINK to you compilation step (not the linking step, as you posted in the question): g++ -std=c++11 -Wall -pedantic -g -O0 -DBOOST_LOG_DYN_LINK -c boosttest.cc g++ boosttest.o -lpthread -lboost_log -o boosttest ...

How to change version string of the kernel?

linux,kernel,version,fedora,uname

At the top of the top-level Makefile, there are four lines VERSION = 3 PATCHLEVEL = 18 SUBLEVEL = 7 EXTRAVERSION = The values are different for different kernel versions, of course. These are used to construct the version string, so changing them before building the kernel changes the version...

piping stockfish misbehaves in fedora

c++,pipe,virtual-machine,fedora

I see you're using Stockfish. I too have exactly experienced this behavior from Stockfish. The problem lies within how it handles output. Defined in misc.h: #define sync_cout std::cout << IO_LOCK And looking at the code again we'll see that IO_LOCK is an enum which is used in an overloaded friend...