I can't manage NetworkManager via /etc/rc.d/rc.networkmanager script
Hi, I got such error
Code:
root@darkstar:# /etc/rc.d/rc.networkmanager restart |
igadoter --
I just now looked at my /var/log/messages file ( and dmesg too ) on Slackware64 Current and they're chock-full of NetworkManager entries. Are there any interesting messages from NetworkManager in your /var/log/{messages,syslog} files ? HTH. -- kjh |
Thanks for reply. I found this in /var/log/messages
Code:
Mar 20 16:15:23 darkstar NetworkManager[1428]: <info> [1521558923.3778] bus-manager: |
igadoter --
What version of Slackware are you running ... and ... I assume it is a full install ? -- kjh |
Sorry I should post this at beginning - 14.2 64 bit - full install with AlienBob multlib. But I never touched NetworkManager or anything related to D-Bus.
|
Quote:
You can manually start NM without the rc script, which would provide more output spew if using the --debug option. Another thought: ensure /etc/rc.d/rc.inet1.conf is not configured -- empty entries and no gateway. |
Sorry for delay was little busy: restarting D-Bus simply killed SeaMonkey window. But it is true restarting D-Bus and then starting NetworkManager allows to connect to demon. But such solution seems to be disaster for many desktop applications like SeaMonkey I mentioned. So as now procedure should be to logout, then go to ttys login, and there from command line reactivate NetworkManager by stopping NetworkManager, restarting D-Bus and starting again NetworkManager. But this means that one cannot in real world manage NetworkManager via this script - it is simply far too complex. If I am right then this script should be removed. And as it is now - demon for NetworkManager - once started cannot be stopped.
|
Ensure rc.messagebus and rc.networkmanager are executable (chmod +x). Reboot.
FYI as English is not your native language: daemon rather than demon. :) |
Yes they both executable. What do you mean by reboot system? There is no need for reboot - I restarted NetworManager - it works - but for me the script /etc/rc.d/rc.networkmanager is not of much use - it seems tha one cannot restart MetworkManager by simply
Quote:
Quote:
Quote:
Edit: maybe there is misunderstanding. I am not complaining that NetworkManager doesn't start or run. I complain that one cannot manage it via /etc/rc.d/rc.networkmanger script. Such command Code:
# /etc/rc.d/rc.networkmanager restart |
I suspect your system is not running correctly. A reboot often resolves such issues. Been there done that for more than 3 decades. :)
If you do not want to reboot then drop to run level 1 and then return to run level 3 or 4. Close all apps. As root run init 1. Login as root and run init 3 or init 4. |
Quote:
Code:
# /etc/rc.d/rc.networkmanager restart |
Quote:
|
For me also works fine here. I mean now it works fine. I just tried.
|
Quote:
Quote:
At this point, if the problem persists and you have indeed rebooted many times without success, inspecting the logs is the only way others are going to be able to help. One nice trick is to open a terminal window or console and use tail -f /var/log/messages to watch the log in real-time while restarting rc.networkmanager. |
Ok I don't like to feel stupid. This is pattern I repeated three times
Code:
1* boot the system Code:
# /etc/rc.d/rc.networkmanager restart Edit: now it seems for me that restarting D-Bus fixes the problem. |
All times are GMT -5. The time now is 11:44 AM. |