Upstart issue in chroot Precise
location: ubuntuforums.com - date: June 5, 2012
Hi,
I'm running Ubuntu 12.04/Precise in a chroot on my Synology NAS and all's running well except, when updating packages with apt, I get errors like this:
Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
It seems to be an issue with Upstart in a chroot environment, and was supposed to have been fixed back in August last year. Indeed, chroot compatibility is listed as a feature of 12.04, yet I'm still encountering the error!
I've implemented a workaround from the comments of the original bug, whereby you do the following:
Code:
dpkg-divert --local --rename --add /sbin/initctl
ln -s /bin/true /sbin/initctl
... and that works insofar as the apt upgrade now finishes "successfully", but surely I shouldn't need to do this in 12.04? And how does this workaround work exactly? Isn't it just tricking apt into thinking its command has succeeded, whereas actually it's done nothing? And if that's the case then I'd ass
after upgrade 13.04 > 13.10 issue with upstart for startparbridge
location:
ubuntuforums.com - date:
August 29, 2013
On this server is my puppet master...
I discovered an issue with an upstart for startpar-bridge...
[email protected]:/etc/init# puppet resource service
Error: Could not run: Execution of '/sbin/status startpar-bridge' returned 1: status: Unknown parameter: JOB
[email protected]:/etc/init# /sbin/status startpar-bridge
status: Unknown parameter: JOB
Google search finds nothing...
Any ideas?
(Precise) HTC One Storage Issue
location: ubuntuforums.com - date: June 13, 2013
I recently acquired an HTC One. So far, so boring. Now, this thing has 32 GB of internal storage, with about 25 or so available to the user. But when I plug it into my computer (running on Ubuntu 12.04, which is why I'm here and not somewhere else), it for some reason believes there's only 1.6 Gigabytes, despite correctly recognising that there's well more than that saved on the phone already.... and then it freezes for a bit as though it tried dividing by zero and succeeded. How much of those 1.6 GB it claims to be free is different every time I plug it in.
In case it helps, the phone also seems to have a file system by the name of "gPhoto2".
SOLUTION:
Thanks to that Mark Phelps person, I googled for something else than before... and stumbled upon this:
http://www.webupd8.org/2012/12/how-t...-go-mtpfs.html
The guide there is just about perfect, works like an absolute charm.
'backlight 'up'' permission issue on upgrade from Precise to Trusty
location: ubuntuforums.com - date: April 28, 2014
The backlight 'up' and 'down' function keys on my Toshiba Satellite now require an admin password everytime I use them. For some reason (which I can't remember) in the distant past, I set it up to use the ctrl-F6 and ctrl-F7 key combinations rather than Fn-F6 and Fn-F7 for their control. Any ideas?
Upstart "unknown job" issue
location: ubuntuforums.com - date: December 28, 2013
I set up nginx according to instructions here https://groups.google.com/d/msg/cloj...w/N8eDnwJPXuAJ and it all went well but I am unable to start with
Code:
$ start <my app name>
I created `/etc/init/nomilkfor.me.conf` and this is what is in the file:
Code:
description "ubuntu 13.10 on Samsung laptop"
author "zeynel"
start on startup
stop on shutdown
setuid deploy
chdir /deploy
console log
env PORT=4000
exec java -jar my-webapp-0.1.0-standalone.jar
I reload nginx with
Code:
$ sudo nginx -s reload
and I try
Code:
$ start nomilkfor.me
but I get
Code:
start: Unknown job: nomilkfor.me
What am I doing wrong?
I also tried to open the log files in `/var/log/upstart` but I could not open them with nano.
I also tried (as suggested
redhat linux upstart (initctl) issue on reboot
location: linuxexchange.com - date: July 26, 2013
Morning,
I have monit I am testing on redhat 6.4 system. I setup a /etc/init/monit.conf:
description "Monit service manager"
limit core unlimited unlimited
start on runlevel [2345]
stop on runlevel [!2345]
expect daemon
respawn
exec /local/mis/monit/bin/monit -c /local/mis/monit/etc/monitrc
pre-stop exec /local/mis/monit/bin/monit -c /local/mis/monit/etc/monitrc quit
At the command line as root I can run stop monit and start monit just fine and it shows pid number. However, during reboot, it does not start. It shows start/running with no pid if I run initctl list, but if you check with ps -ef monit is not running. I can run stop monit and then run start monit just fine after a reboot. I am at a lose with how to troubleshoot. My system has /var/log/messages, but no /var/log/syslog. I see options to use log-priority info, but I am not sure how to set that as the level for logging during the reboot. The /var/log/message does not mention monit and /var/log/boot.log does n
OpenCV linking issue on BeagleBone Black and Ubuntu 12.04 (Precise Pangolin)
location: linuxexchange.com - date: January 22, 2015
I have BeagleBone Black with Ubuntu 12.04 (Precise Pangolin). I downloaded the OpenCV library from apt using the command:
sudo apt-get install -y libopencv-dev
This command installed required headers and libraries. Then I compiled my own program which is just showing a window with the following command:
gcc -I/usr/inlcude/ -I/usr/include/opencv2/ -L/usr/lib/ -lopencv_core -lopencv_highgui -lm opencv_test.c -o test
After some seconds it shows that it is unable to find a reference with 'lrint' and many more and at last showing the linking errors for cvNameWindow, cvShowImage, etc.
I think that this may be the problem of installed libraries. I downloaded the latest OpenCV Source, cross compiled the code provided on the OpenCV wiki with -DUSE_NEON=ON flags on my Ubuntu machine. I copied these headers and libraries into the extra partition which is ext4 formatted. Again I issued the follwing command:
gcc -I/usr/inlcude/ -I/media/misc/opencv/include/opencv/ -I/media/misc/opencv/
mongoDB upstart script not starting on ubuntu precise when configdbs are set in the mongod.conf file
location: linuxexchange.com - date: January 1, 1970
i have multiple servers running ubuntu-1204-precise-v20141212 where i have installed mongoDB by following this instructions.
By modifying the config file /etc/mongod.conf i have successfully created a replica set and three config servers in order to build a sharded cluster.
However, when it comes to the mongos instance, the upstart script refuse to start, while running the direct command "sudo mongos --config /etc/mongod.conf" works without problems.
The only line added in this case to the config file is
configdb = host1:27019,host2:27019,host3:27019
as shown in the mongodb manual
all the config servers are reachable, as i could see by running the mongos command directly.
Unfortunately, since the mongos instance is not starting, i don't even have a log file under /var/log/mongodb reporting a possible error, and i have no idea how to find out why the upstart script is failing to start :/
Thank you for any advice :)
Ubuntu VS Windows 4to1 performance issue
location: linuxquestions.com - date: March 10, 2011
Ubuntu V 10.10, vs Windows 2k server. Comparable hardware. From a XP workstation on the same gigabit switch. Share uses Samba.
I start a copy of a 2GB file from the workstation to my Linux share, and then to my W2k server. The copy to the w2k machine finishes in less than 60 seconds, the copy to my Linux machine takes 4 minutes.
I am a windows veteran, but a Linux newbie. Are there settings I should look at, or something faster than Samba?
CentOS issue
location: linux.com - date: February 24, 2011
is there a reason I would have a problem installing CentOS 5.5 netinstall x86_64 bit version on a system with Ubuntu server 10.10 already on it?
please wait...
Page: 1 2 3 4 5 6 7 8 9 10