Error NFS server start - runtime-error

I try to start nfs server, but I have this problem. Any idea? Thanks
OS: Debian 8 Jessie

Reproduce your problem and run journalctl -xn to see what is really happening, though you are not using the Linux under rpm, I suggest you to ask for further help at debian`s bug tracking system: https://www.debian.org/Bugs/

Related

Get both console and tty after upgrade Debian to Jessie 8.0 in openvz

I can not use this machine via proxmox's console, because there are both console and tty, I confirmed that this problem came after dist-upgrade!
I just fix this by removing:
/etc/systemd/system/getty.target.wants/getty#tty1.service
and it now tty1 is gone. Still don't know if it will breaks anything.

Java program doesn't start on Unix machine

When I start Java application from command line on AIX 6.1 machine the application just doesn't start. All I get is a blinking cursor, hitting CTRL+C doesn't help. It seats in the list of processes all the time.
Even running the following command produces the same result so I don't think it is program related.
java -version
Cursor is blinking on the next line and nothing happens. When I open second session and type
ps -ef
I get the following:
tomcat 32243914 31850686 0 13:50:27 pts/7 0:00 -ksh
tomcat 5439538 32243914 1 13:50:50 pts/7 0:00 /usr/java6/jre/bin/java -version
On Windows my program runs just fine. So I think it is JRE or Unix related.
I'm not a Unix expert so I would appreciate any suggestions on how to trouble shoot this.
sounds strange , it seems that your process does not give hands back... No return
Do you have top binary installed on your AIX machine ?
Could you check that this machine follows the long list of requirements to run the java binary ? You may find useful information on the IBM java package webpage I guess...
Do you have lsof binaries or any other standard debuging tool ? lsof would point to any problem related to your AIX machine
HTH
Jerome
We have an intermittent similar issue with Java on Solaris. Sometimes rebooting the machine helps. Other times we have to remove the .java file from the user's home directory. Very random and annoying. The box can be up for months before it happens, or mere hours...

Error -1001 in clGetPlatformIDs Call !

I am trying to start working with OpenCL. I have two NVidia graphics card, I installed "developer driver" as well as SDK from NVidia website. I compiled the demos but when I run
./oclDeviceQuery
I see:
OpenCL SW Info:
Error -1001 in clGetPlatformIDs Call
!!!
How can I fix it? Does it mean my nvidia cards cannot be detected? I am running Ubuntu 10.10 and X server works properly with nvidia driver.
I am pretty sure the problem is not related to file permissions as it doesn't work with sudo either.
In my case I have solved it by installing nvidia-modprobe package available in ubuntu (utopic/multiverse). And the driver itself (v346) was installed from https://launchpad.net/~mamarley/+archive/ubuntu/nvidia
Concretely, I have installed nvidia-opencl-icd-346, nvidia-libopencl1-346, nvidia-346-uvm, nvidia-346 and libcuda1-346. Not sure if they are all needed for OpenCL.
This is a result of not installing the ICD portion of Nvidia's openCL runtime. The ICD profile will instruct your application of the different openCL implementations installed on the system as multiple implementations from different vendors can coexist. Whe your application does not find the ICD information it gives the Error -1001.
Run your program as root. In case of success: you have trouble with cl_khr_icd- extension to load the vendor driver.
If you not running X11, you have to create device files manually or by (boot-)script:
ERROR: clGetPlatformIDs -1001 when running OpenCL code (Linux)
Same problem for me on a Linux system. Solution is to add the user to the video group:
# sudo usermod -aG video your-user-name
Since I just spend a couple of hours on this, I thought I would share:
I got the error because I was connected to the machine per remote desktop (mstsc). On the machine itself everything worked fine.
I have been told that it should work with TeamViewer by the way.
Dont know if you ever solved this problem, but I had the same issue and solved it in this post: ERROR: clGetPlatformIDs -1001 when running OpenCL code (Linux)
Hope it helps!
I have solved it in Ubuntu 13.10 saucy for intel opencl by created link:
sudo ln -s /opt/intel/opencl-1.2-3.2.1.16712/etc/intel64.icd /etc/OpenCL/vendors/nvidia.icd
I just ran into this problem on ubuntu 14.04 and I could not find ANY working answers anywhere online including this thread (though this was the first to show up on google). What ended up working for me was to remove ALL previous nvidia software and then to reinstall it using the .run file provided on the nvidia website. Installing the components through apt-get seems to fail for some reason.
1) Download CUDA .run file: https://developer.nvidia.com/cuda-downloads
2) Purge all previous nvidia packages
sudo apt-get purge nvidia-*
3) Install all run file components (you will likely have to stop X or restart in recovery mode to run this)
sudo sh cuda_X.X.XX_linux.run
This is because OpenCL has the same brain damaged one library per vendor setup that OpenGL has. A likely reason for the -1001 error is that you have compiled with a different library than the linker is trying to dynamically load.
So see if this is the problem run:
$ ldd oclDeviceQuery
...
libOpenCL.so.1 => important path here (0x00007fe2c17fb000)
...
Does the path point towards the NVidia-provided libOpenCL.so.1 file? If it doesn't, you should recompile the program with an -L parameter pointing towards the directory containing NVidia's libOpenCL.so.1. If you can't do that, you can override the linker's path like this:
$ LD_LIBRARY_PATH=/path/to/nvidias/lib ./oclDeviceQuery
For me, I was missing the CUDA OpenCL library, Running sudo apt install cuda-opencl-dev-12-0 solved it.
You should get number of platforms, allocate the memory for platforms, again get this platforms and then create context from this platform. There is good example:
http://developer.amd.com/support/KnowledgeBase/Lists/KnowledgeBase/DispForm.aspx?ID=71
This might be due to querying clGetPlatformIDs by multiple threads at the same time

How do I use the bootstrap and configure commands in Ubuntu?

I am trying to solve a problem getting QDevelop to build code given to me from another workstation and I am getting all kinds of errors which I posted a question about but havn't received any responses. See: QDevelop Qt IDE in Ubuntu 10.04 LTS Lucid Lynx qwt
I found someone having the same problem and I don't understand their solution. See: http://www.ruby-forum.com/topic/202124
Greetings,
I removed libqwt-dev and did a .bootstrap and .configure and make and
all is now well.
Rob
My question is how do I use the .bootstrap command (./bootstrap)? And what the heck does it do for that matter? I can't find anything when I Google it.
While I am at it what does .configure (./configure?) do and how do I use it also?
I am running Ubuntu 10.04 Lucid Lynx
Thanks,
DemiSheep
I switched to another IDE and OS's. :)

minimal rsync installation on windows xp?

I want to install rsync on windows xp.
I have searched the web, but most of the solutions suggest using cygwin, but is there any other way to do this?
I don't want to install cygwin because it takes lot of space. Moreover, I need to make it communicate with a rsync daemon on Linux, therefore alternatives to rsync on windows won't help.
Thanks
First hit on Google for "rsync win32".

Resources