ApacheDS unable to start correctly - linux

I recently installed ApacheDS on a Ubuntu server 12.04 LTS,
when I start it via
sudo /etc/init.d/apacheds-[...]-default start
it gives me this output :
chown: invalid user: `#user#:apacheds'
Unknown id: #user#
I installed ApacheDS using the binary installer downloaded from the official website. I also used the default settings for everything during the installation.
Is there a work around or a way to make ApacheDS start correctly ?
Thanks

Related

Nagios web interface access not found

i have installed Nagios in ubuntu 18.04 by following the instructions given in digitalocean-nagios-installation-ubuntu18.04 . After installation, while we accessing nagios web-interface we are facing How can we resolve this?

Pycharm Startup Error: Unable to detect graphics environment

I'm trying to setup Pycharm professional edition on Fedora 25 x64.
After downloading the files and extracting them, I'm trying to run the script ./pycharm.sh in the bin directory.
This is the error I get:
Startup Error: Unable to detect graphics environment
I have checked my Java version
[root#localhost bin]# java -version
openjdk version "1.8.0_144"
OpenJDK Runtime Environment (build 1.8.0_144-b01)
OpenJDK 64-Bit Server VM (build 25.144-b01, mixed mode)
I tried as well to set the DISPLAY variable:
export DISPLAY=:0
And this is what I get:
[root#localhost bin]# ./pycharm.sh
No protocol specified
Start Failed: Failed to initialize graphics environment
java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
Any suggestions please ?
I had the same error installing in a clean Ubuntu 17.10, with Gnome on Wayland. At #mattdm's suggestion in your comments, I just opened a new terminal (as myself, not root) and it ran fine. I was running as root (after unpacking everything to /opt/) when I got the error.
mike#feynman:~$ /opt/pycharm/bin/pycharm.sh
Once you register/activate, just click the "* Configure v" pulldown from the welcome window, and select "Create Desktop Entry" to make it available from your OS menus. I'm assuming JetBrains made this work for whichever linux flavor you prefer.
Your X environment is not properly set (manually setting DISPLAY doesn't always work). Possibly because you're attempting this as root and root is not the owner of the graphics session. There could be other reasons, too.
You won't be able to run xclock or any other X app either in this situation - this is the clue that it's not a pycharm-related problem. For example if you ssh to localhost as root, not as the user currently logged in into the graphical session:
laptop:~ # ssh localhost
Password:
Last login: Thu Nov 23 22:19:06 2017 from localhost
Have a lot of fun...
laptop:~ # export DISPLAY=:0
laptop:~ # xclock
No protocol specified
Error: Can't open display: :0
laptop:~ # konsole
No protocol specified
Segmentation fault
laptop:~ # pycharm
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=350m; support was removed in 8.0
No protocol specified
Start Failed: Failed to initialize graphics environment
You'd also see the same behaviour if you attempt the same in a text-mode console.
To address this issue open a new terminal from the graphics environment - if it is properly installed you should be able to run any of the X apps, including pycharm (or at least it shouldn't fail with that error).
In fedora
I have installed pycharm using fedy. This is worked.
Or change to a another user and try except root.
Phpstrom, Webstrom, PyCharm
Above three of them worked same like that.
In my case I am runing pycharm through docker, which is different host, run command xhost + , this would disable access control and client would be able to connect from any host.
Try running the program from another user instead of root. It worked for me.
I used OpenJDK instead of Oracle Java, because PyCharm hangs on Raspberry Pi.
In the file /etc/java-8-openjdk/accessibility.properties, disabling the entry assistive_technologies (simply comment out with a #) solved the issue.
This is what resolved my issue:
export DISPLAY='localhost:11'

DockerToolbox-1.12.2 - Windows 7 - Error: connect ENOENT //./pipe/docker_engine

I have installed DockerToolbox-1.12.2.exe in Windows 7 from https://github.com/docker/toolbox/releases/tag/v1.12.2 link. After installation, if I try to launch Kitamatic, I am getting
Error: connect ENOENT //./pipe/docker_engine.
I have tried RETRY SETUP and USE VIRTUALBOX options available, but didn't helped much. Can anyone suggest, how to proceed?
Because on Windows 7, docker is not supported native. So, you must have Virtual Box installed on your machine. If it is not already installed, you can re-run the docker toolbox installer, it asks you to install the Oracle VirtualBox with installation.
If it is already installed on your machine, open it and check if there is any default VM created in it and what is the error you are facing when you click on Use VirtualBox?

Buster static page generator generate does not work under ubuntu

I've ghost bloggind platform based on node.js installed locally on ubuntu 16.04 under var/www.
http://localhost:2368/ghost/ works perfectly. I can add new posts, etc.. However while running buster generate in the console from the var/www directory I got the following error :
Connecting to 127.0.0.1:2368... failed: Connection refused.
I'm totally new to linux, servers, node.js...
Is it something about permissions ? Should I change something with chmod/chown ?
Is it something related to Apache ?
Thanks for your help

arangodb hello-foxxx sample application installation in OSX

I'm trying to run the 'hello-foxx' example on my Mac OSX 10.10.5 Yosemite but fail.
ArangoDB is installed and running (from the App store)
Foxx-Manager runs (typing foxx-manager returns the response as described in the manual)
The anrangodb web interface runs (but w/o the 'application' menu
When I execute:foxx-manager install hello-foxx /example
from my home directory I receive the following error:
'Cannot call method 'byExample' of null'
I also tried to run it directly from git:
foxx-manager install https://github.com/arangodb-foxx/demo-hello-foxx.git /example
returns the same error.
tried a local installation and received the same error.
Any ideas?
I can't find the log files. Where should I look?
Many thanks.
The app store version is three versions behind the current release. I recommend installing Arrangodb with Homebrew instead. I did this yesterday and had no problems with Foxx Demo on Yosemite.

Resources