Errors after installing mongodb 2.4.14 and mysql - mysql

I have installed mongodb 2.4.14 using this guide.
But After Installing the mongodb I'm getting the errors just before completion. I have searched a lot but unable to eliminate those errors. Below is the error
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
insserv: warning: script 'mongodb' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script mongodb'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for scriptmongodb'
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
insserv: warning: script 'mongodb' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script mongodb'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for scriptmongodb'
And after installing mysql I am also getting errors
Renaming removed key_buffer and myisam-recover options (if present)
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
insserv: warning: script 'mongodb' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script mongodb'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for scriptmongodb'
Setting up mysql-server (5.7.15-0ubuntu0.16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for systemd (229-4ubuntu11) ...
Processing triggers for ureadahead (0.100.0-19) ...
Please Help

The problem is the upstart has replaced the init prior to ubuntu 15 so either you can edit the upstart script or you can install 14.04

Related

Pods stuck containercreating

previously my MySQL pod stuck at terminating status, and then I tried to force delete using command like this
kubectl delete pods <pod> --grace-period=0 --force
Later I tried to helm upgrade again, my pod was stuck at containercreating status, and this event from pod
17s Warning FailedMount pod/db-mysql-primary-0 MountVolume.SetUp failed for volume "pvc-f32a6f84-d897-4e35-9595-680302771c54" : kubernetes.io/csi: mount
er.SetUpAt failed to check for STAGE_UNSTAGE_VOLUME capability: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial unix
/var/lib/kubelet/plugins/dobs.csi.digitalocean.com/csi.sock: connect: no such file or directory"
17s Warning FailedMount pod/db-mysql-secondary-0 MountVolume.SetUp failed for volume "pvc-61fc6eda-97fa-455f-ac2c-df8ebcb90f1c" : kubernetes.io/csi: mount
er.SetUpAt failed to check for STAGE_UNSTAGE_VOLUME capability: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial unix
/var/lib/kubelet/plugins/dobs.csi.digitalocean.com/csi.sock: connect: no such file or directory"
anyone please can help me to resolve this issue, thanks a lot.
When you run the command
kubectl delete pods <pod> --grace-period=0 --force
you ask kubernetes to forget the Pod, not to delete it. You have to be careful while using this command. You have to make sure that the containers of the Pod are not running in the host especially when they are mounted to a PVC. Probably the containers is still running and attached to the PVC.
pool-product-8jd40 0
spec:
drivers: null
and on my some pool the driver csi not ready (null), it's supposed to be equal 1 (ready)
*sorry i can't attach the image yet

Connection Timeout at "./rebar get-deps" / compiling EJabberd

I am trying to compile eJabberd on CentOS6. I am following the steps mentioned # [https://www.process-one.net/docs/ejabberd/guide_en.html#htoc12][1]
However, this aborts with connection-timeout error while executing "make".
Following is the error snipet from command prompt:
*
[root#CentOS-6-64-EN ejabberd-15.04]# make
rm -rf deps/.got
rm -rf deps/.built
/usr/lib64/erlang/bin/escript rebar get-deps && :> deps/.got
==> rel (get-deps)
==> ejabberd-15.04 (get-deps)
Pulling p1_cache_tab from {git,"git://github.com/processone/cache_tab",
"cca096330ce39e8b56fe0e0c478df1ff452e7751"}
github.com[0: 192.30.252.131]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)
Initialized empty Git repository in /root/Desktop/eJabberd/ejabberd-15.04/deps/p1_cache_tab/.git/
ERROR: git clone -n git://github.com/processone/cache_tab p1_cache_tab failed with error: 128 and output:
github.com[0: 192.30.252.131]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)
Initialized empty Git repository in /root/Desktop/eJabberd/ejabberd-15.04/deps/p1_cache_tab/.git/
ERROR: 'get-deps' failed while processing /root/Desktop/eJabberd/ejabberd-15.04: rebar_abort
make: *** [deps/.got] Error 1
*
On trying the command "./rebar get-deps", I get the same connection timeout error.
My network connectivity is fine and it seems the github link is broken. Please Help!
You should try replacing the dependancy link to Github using https:// instead of git://
It should fix your issue.
We will check the project to make sure all our dependancies use https url scheme instead of ssh.

service start mysql error libstdc++.so.6: wrong ELF class: ELFCLASS32

I am having an issue with my MySQL installation and could do with some help
When every I try to start the MySQL service I get the error
[valve#Simple-vm2 ~]$ service mysql start
/usr/bin/my_print_defaults: error while loading shared libraries: libstdc++.so.6: wrong ELF class: ELFCLASS32
Starting MySQL.The server quit without updating PID file (/var/lib/mysql/Simple-vm2.servername.net.pid). [FAILED]
(servername hidden)
Any suggestions greatly appreciated!

Bad user name error in Xampp for mac

Suddenly, the apache and MySQL won't start anymore. I already restarted the mac several times, but the error persists:
Starting Apache Web Server...
Exit code: 8
Stdout:
apache config test fails, aborting
Stderr:
AH00543: httpd: bad user name lucasvallim
I didn't change any configuration at all, it was running normally but then this error appeared...
Any suggestions?

chkconfig issue in ubuntu 10.04

This happens chkconfig --add mysql command is executed. Have done ln -s /usr/lib/insserv/insserv /sbin/insserv but the issue prevails.
insserv: warning: script 'K20acpi-support' missing LSB tags and overrides
insserv: warning: script 'mysql' missing LSB tags and overrides
insserv: warning: script 'anacron' missing LSB tags and overrides
insserv: warning: script 'alsa-mixer-save' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `umountfs' overwrites defaults (empty).
.
.
.
insserv: warning: current start runlevel(s) (0) of script `halt' overwrites defaults (empty).
insserv: warning: script 'screen-cleanup' missing LSB tags and overrides
insserv: warning: script 'dbus' missing LSB tags and overrides
insserv: warning: script 'network-manager' missing LSB tags and overrides
insserv: warning: script 'acpi-support' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `sendsigs' overwrites defaults (empty).
insserv: There is a loop between service rsyslog and apache2 if stopped
insserv: loop involving service apache2 at depth 3
insserv: loop involving service rsyslog at depth 2
insserv: loop involving service udev at depth 1
insserv: There is a loop between service apache2 and rsyslog if stopped
insserv: exiting now without changing boot order!
/sbin/insserv failed, exit code 1
mysql 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Little Help would be appreciated.
Thank you.
For Ubuntu 10.04 sysv-rc-conf might be an option. Try install it by:
sudo sysv-rc-conf
It comes with CLI GUI interface.
http://manpages.ubuntu.com/manpages/lucid/man8/sysv-rc-conf.8.html
chkconfig is not native for Ubuntu/Debian, it comes from Redhat/Fedora world.
If you installed MySQL server on Ubuntu using standard mechanism:
sudo apt-get install mysql-server
then you don't really need to do anything special to make it work or register it as a service - it would be already registered in the system to be auto-started at boot.
You can still use service command for convenience like:
sudo service mysql restart