“NetworkManager is not running”- error. After manually upgrading nmcli to 1.0.6 on ubuntu 12.04
I need to use the new version of NetworkManager on ubuntu 12.04.
I've installed NetworkManager-1.0.6 from source code, from gnome Projects web site
(And allot of it's dependencies).
After installation,
I tried to run:
$ nmcli connection
Error: NetworkManager is not running.
then I tried:
$ service network-manager start
start: Rejected send message, 1 matched rules; type="method_call",
sender=":1.156" (uid=1000 pid=9473 comm="start network-manager ")
interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="
(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0
pid=1 comm="/sbin/init")
$ service network-manager status
network-manager stop/waiting
As root it appears that the network-manager start running but it's still stays in the same status:
$ sudo service network-manager start
network-manager start/running, process 9975
$ sudo service network-manager status
network-manager stop/waiting
What can I check ?
How can I make it work ?
Should I install/update the network-manager in a different way?
12.04 package-management network-manager
add a comment |
I need to use the new version of NetworkManager on ubuntu 12.04.
I've installed NetworkManager-1.0.6 from source code, from gnome Projects web site
(And allot of it's dependencies).
After installation,
I tried to run:
$ nmcli connection
Error: NetworkManager is not running.
then I tried:
$ service network-manager start
start: Rejected send message, 1 matched rules; type="method_call",
sender=":1.156" (uid=1000 pid=9473 comm="start network-manager ")
interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="
(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0
pid=1 comm="/sbin/init")
$ service network-manager status
network-manager stop/waiting
As root it appears that the network-manager start running but it's still stays in the same status:
$ sudo service network-manager start
network-manager start/running, process 9975
$ sudo service network-manager status
network-manager stop/waiting
What can I check ?
How can I make it work ?
Should I install/update the network-manager in a different way?
12.04 package-management network-manager
add a comment |
I need to use the new version of NetworkManager on ubuntu 12.04.
I've installed NetworkManager-1.0.6 from source code, from gnome Projects web site
(And allot of it's dependencies).
After installation,
I tried to run:
$ nmcli connection
Error: NetworkManager is not running.
then I tried:
$ service network-manager start
start: Rejected send message, 1 matched rules; type="method_call",
sender=":1.156" (uid=1000 pid=9473 comm="start network-manager ")
interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="
(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0
pid=1 comm="/sbin/init")
$ service network-manager status
network-manager stop/waiting
As root it appears that the network-manager start running but it's still stays in the same status:
$ sudo service network-manager start
network-manager start/running, process 9975
$ sudo service network-manager status
network-manager stop/waiting
What can I check ?
How can I make it work ?
Should I install/update the network-manager in a different way?
12.04 package-management network-manager
I need to use the new version of NetworkManager on ubuntu 12.04.
I've installed NetworkManager-1.0.6 from source code, from gnome Projects web site
(And allot of it's dependencies).
After installation,
I tried to run:
$ nmcli connection
Error: NetworkManager is not running.
then I tried:
$ service network-manager start
start: Rejected send message, 1 matched rules; type="method_call",
sender=":1.156" (uid=1000 pid=9473 comm="start network-manager ")
interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="
(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0
pid=1 comm="/sbin/init")
$ service network-manager status
network-manager stop/waiting
As root it appears that the network-manager start running but it's still stays in the same status:
$ sudo service network-manager start
network-manager start/running, process 9975
$ sudo service network-manager status
network-manager stop/waiting
What can I check ?
How can I make it work ?
Should I install/update the network-manager in a different way?
12.04 package-management network-manager
12.04 package-management network-manager
edited Aug 31 '15 at 11:51
Prashant Chikhalkar
1,52511220
1,52511220
asked Aug 31 '15 at 11:41
שלומי שטיין
16114
16114
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
First, you cannot run launch a daemon without root access using Upstart (the init daemon of Ubuntu). Moreover, the network-manager program needs root access as its goal is to allow regular user access to the network (which is restricted to root user in most Unix systems).
As for your problem, you need to find out where the problem come from. You can try to have a look in the logs (/var/log/messages or /var/log/messages.log on Ubuntu 12.04). Another option is to launch the application and see the error message, by running directly network-manager daemon from your shell:
sudo /usr/bin/NetworkManager --no-daemon
Also, did you remove the ubuntu network-manager package before installing from source? And how did you install it from source?
Thank you for you answer. I tried now to run the network-manager deamon and got:$ cat: /var/log/messages.log: No such file or directoryI downloaded the source code, extracted and compiled with :$ ./configure && make && sudo make installI removed withsudo apt-get remove network-manager*
– שלומי שטיין
Aug 31 '15 at 14:03
The file is actually/var/log/messages. You should open it withlessas it is probably a big file. Also you might need root rights depending on your configuration.
– Nicop
Aug 31 '15 at 14:06
This is missing either.sudo less /var/log/messages. /var/log/messages.: No such file or directory
– שלומי שטיין
Aug 31 '15 at 14:19
Then try to find a log available.sudo ls -l /var/log. Here is a doc to see each log function: help.ubuntu.com/community/LinuxLogFiles. You may want to look for a file namedsyslogoreverything.
– Nicop
Aug 31 '15 at 14:26
At first it was looking for a .conf file, so I have touched a .conf file where he was looking for. and when I run i get this error in the syslog.$ cat /var/log/syslogAug 31 17:52:54 shlomi-PC kernel: [28326.161479] NetworkManager[16105]: segfault at 20 ip 00007f86035a1076 sp 00007ffc59b18120 error 4 in libglib-2.0.so.0.3200.4[7f860355b000+f2000]can I do something with it ?
– שלומי שטיין
Aug 31 '15 at 14:54
|
show 3 more comments
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f667714%2fnetworkmanager-is-not-running-error-after-manually-upgrading-nmcli-to-1-0-6%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
First, you cannot run launch a daemon without root access using Upstart (the init daemon of Ubuntu). Moreover, the network-manager program needs root access as its goal is to allow regular user access to the network (which is restricted to root user in most Unix systems).
As for your problem, you need to find out where the problem come from. You can try to have a look in the logs (/var/log/messages or /var/log/messages.log on Ubuntu 12.04). Another option is to launch the application and see the error message, by running directly network-manager daemon from your shell:
sudo /usr/bin/NetworkManager --no-daemon
Also, did you remove the ubuntu network-manager package before installing from source? And how did you install it from source?
Thank you for you answer. I tried now to run the network-manager deamon and got:$ cat: /var/log/messages.log: No such file or directoryI downloaded the source code, extracted and compiled with :$ ./configure && make && sudo make installI removed withsudo apt-get remove network-manager*
– שלומי שטיין
Aug 31 '15 at 14:03
The file is actually/var/log/messages. You should open it withlessas it is probably a big file. Also you might need root rights depending on your configuration.
– Nicop
Aug 31 '15 at 14:06
This is missing either.sudo less /var/log/messages. /var/log/messages.: No such file or directory
– שלומי שטיין
Aug 31 '15 at 14:19
Then try to find a log available.sudo ls -l /var/log. Here is a doc to see each log function: help.ubuntu.com/community/LinuxLogFiles. You may want to look for a file namedsyslogoreverything.
– Nicop
Aug 31 '15 at 14:26
At first it was looking for a .conf file, so I have touched a .conf file where he was looking for. and when I run i get this error in the syslog.$ cat /var/log/syslogAug 31 17:52:54 shlomi-PC kernel: [28326.161479] NetworkManager[16105]: segfault at 20 ip 00007f86035a1076 sp 00007ffc59b18120 error 4 in libglib-2.0.so.0.3200.4[7f860355b000+f2000]can I do something with it ?
– שלומי שטיין
Aug 31 '15 at 14:54
|
show 3 more comments
First, you cannot run launch a daemon without root access using Upstart (the init daemon of Ubuntu). Moreover, the network-manager program needs root access as its goal is to allow regular user access to the network (which is restricted to root user in most Unix systems).
As for your problem, you need to find out where the problem come from. You can try to have a look in the logs (/var/log/messages or /var/log/messages.log on Ubuntu 12.04). Another option is to launch the application and see the error message, by running directly network-manager daemon from your shell:
sudo /usr/bin/NetworkManager --no-daemon
Also, did you remove the ubuntu network-manager package before installing from source? And how did you install it from source?
Thank you for you answer. I tried now to run the network-manager deamon and got:$ cat: /var/log/messages.log: No such file or directoryI downloaded the source code, extracted and compiled with :$ ./configure && make && sudo make installI removed withsudo apt-get remove network-manager*
– שלומי שטיין
Aug 31 '15 at 14:03
The file is actually/var/log/messages. You should open it withlessas it is probably a big file. Also you might need root rights depending on your configuration.
– Nicop
Aug 31 '15 at 14:06
This is missing either.sudo less /var/log/messages. /var/log/messages.: No such file or directory
– שלומי שטיין
Aug 31 '15 at 14:19
Then try to find a log available.sudo ls -l /var/log. Here is a doc to see each log function: help.ubuntu.com/community/LinuxLogFiles. You may want to look for a file namedsyslogoreverything.
– Nicop
Aug 31 '15 at 14:26
At first it was looking for a .conf file, so I have touched a .conf file where he was looking for. and when I run i get this error in the syslog.$ cat /var/log/syslogAug 31 17:52:54 shlomi-PC kernel: [28326.161479] NetworkManager[16105]: segfault at 20 ip 00007f86035a1076 sp 00007ffc59b18120 error 4 in libglib-2.0.so.0.3200.4[7f860355b000+f2000]can I do something with it ?
– שלומי שטיין
Aug 31 '15 at 14:54
|
show 3 more comments
First, you cannot run launch a daemon without root access using Upstart (the init daemon of Ubuntu). Moreover, the network-manager program needs root access as its goal is to allow regular user access to the network (which is restricted to root user in most Unix systems).
As for your problem, you need to find out where the problem come from. You can try to have a look in the logs (/var/log/messages or /var/log/messages.log on Ubuntu 12.04). Another option is to launch the application and see the error message, by running directly network-manager daemon from your shell:
sudo /usr/bin/NetworkManager --no-daemon
Also, did you remove the ubuntu network-manager package before installing from source? And how did you install it from source?
First, you cannot run launch a daemon without root access using Upstart (the init daemon of Ubuntu). Moreover, the network-manager program needs root access as its goal is to allow regular user access to the network (which is restricted to root user in most Unix systems).
As for your problem, you need to find out where the problem come from. You can try to have a look in the logs (/var/log/messages or /var/log/messages.log on Ubuntu 12.04). Another option is to launch the application and see the error message, by running directly network-manager daemon from your shell:
sudo /usr/bin/NetworkManager --no-daemon
Also, did you remove the ubuntu network-manager package before installing from source? And how did you install it from source?
answered Aug 31 '15 at 12:18
Nicop
113
113
Thank you for you answer. I tried now to run the network-manager deamon and got:$ cat: /var/log/messages.log: No such file or directoryI downloaded the source code, extracted and compiled with :$ ./configure && make && sudo make installI removed withsudo apt-get remove network-manager*
– שלומי שטיין
Aug 31 '15 at 14:03
The file is actually/var/log/messages. You should open it withlessas it is probably a big file. Also you might need root rights depending on your configuration.
– Nicop
Aug 31 '15 at 14:06
This is missing either.sudo less /var/log/messages. /var/log/messages.: No such file or directory
– שלומי שטיין
Aug 31 '15 at 14:19
Then try to find a log available.sudo ls -l /var/log. Here is a doc to see each log function: help.ubuntu.com/community/LinuxLogFiles. You may want to look for a file namedsyslogoreverything.
– Nicop
Aug 31 '15 at 14:26
At first it was looking for a .conf file, so I have touched a .conf file where he was looking for. and when I run i get this error in the syslog.$ cat /var/log/syslogAug 31 17:52:54 shlomi-PC kernel: [28326.161479] NetworkManager[16105]: segfault at 20 ip 00007f86035a1076 sp 00007ffc59b18120 error 4 in libglib-2.0.so.0.3200.4[7f860355b000+f2000]can I do something with it ?
– שלומי שטיין
Aug 31 '15 at 14:54
|
show 3 more comments
Thank you for you answer. I tried now to run the network-manager deamon and got:$ cat: /var/log/messages.log: No such file or directoryI downloaded the source code, extracted and compiled with :$ ./configure && make && sudo make installI removed withsudo apt-get remove network-manager*
– שלומי שטיין
Aug 31 '15 at 14:03
The file is actually/var/log/messages. You should open it withlessas it is probably a big file. Also you might need root rights depending on your configuration.
– Nicop
Aug 31 '15 at 14:06
This is missing either.sudo less /var/log/messages. /var/log/messages.: No such file or directory
– שלומי שטיין
Aug 31 '15 at 14:19
Then try to find a log available.sudo ls -l /var/log. Here is a doc to see each log function: help.ubuntu.com/community/LinuxLogFiles. You may want to look for a file namedsyslogoreverything.
– Nicop
Aug 31 '15 at 14:26
At first it was looking for a .conf file, so I have touched a .conf file where he was looking for. and when I run i get this error in the syslog.$ cat /var/log/syslogAug 31 17:52:54 shlomi-PC kernel: [28326.161479] NetworkManager[16105]: segfault at 20 ip 00007f86035a1076 sp 00007ffc59b18120 error 4 in libglib-2.0.so.0.3200.4[7f860355b000+f2000]can I do something with it ?
– שלומי שטיין
Aug 31 '15 at 14:54
Thank you for you answer. I tried now to run the network-manager deamon and got:
$ cat: /var/log/messages.log: No such file or directory I downloaded the source code, extracted and compiled with : $ ./configure && make && sudo make install I removed with sudo apt-get remove network-manager*– שלומי שטיין
Aug 31 '15 at 14:03
Thank you for you answer. I tried now to run the network-manager deamon and got:
$ cat: /var/log/messages.log: No such file or directory I downloaded the source code, extracted and compiled with : $ ./configure && make && sudo make install I removed with sudo apt-get remove network-manager*– שלומי שטיין
Aug 31 '15 at 14:03
The file is actually
/var/log/messages. You should open it with less as it is probably a big file. Also you might need root rights depending on your configuration.– Nicop
Aug 31 '15 at 14:06
The file is actually
/var/log/messages. You should open it with less as it is probably a big file. Also you might need root rights depending on your configuration.– Nicop
Aug 31 '15 at 14:06
This is missing either.
sudo less /var/log/messages. /var/log/messages.: No such file or directory– שלומי שטיין
Aug 31 '15 at 14:19
This is missing either.
sudo less /var/log/messages. /var/log/messages.: No such file or directory– שלומי שטיין
Aug 31 '15 at 14:19
Then try to find a log available.
sudo ls -l /var/log. Here is a doc to see each log function: help.ubuntu.com/community/LinuxLogFiles. You may want to look for a file named syslog or everything.– Nicop
Aug 31 '15 at 14:26
Then try to find a log available.
sudo ls -l /var/log. Here is a doc to see each log function: help.ubuntu.com/community/LinuxLogFiles. You may want to look for a file named syslog or everything.– Nicop
Aug 31 '15 at 14:26
At first it was looking for a .conf file, so I have touched a .conf file where he was looking for. and when I run i get this error in the syslog.
$ cat /var/log/syslog Aug 31 17:52:54 shlomi-PC kernel: [28326.161479] NetworkManager[16105]: segfault at 20 ip 00007f86035a1076 sp 00007ffc59b18120 error 4 in libglib-2.0.so.0.3200.4[7f860355b000+f2000] can I do something with it ?– שלומי שטיין
Aug 31 '15 at 14:54
At first it was looking for a .conf file, so I have touched a .conf file where he was looking for. and when I run i get this error in the syslog.
$ cat /var/log/syslog Aug 31 17:52:54 shlomi-PC kernel: [28326.161479] NetworkManager[16105]: segfault at 20 ip 00007f86035a1076 sp 00007ffc59b18120 error 4 in libglib-2.0.so.0.3200.4[7f860355b000+f2000] can I do something with it ?– שלומי שטיין
Aug 31 '15 at 14:54
|
show 3 more comments
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f667714%2fnetworkmanager-is-not-running-error-after-manually-upgrading-nmcli-to-1-0-6%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown