Am Samstag, 6. Juli 2013 20:00:52 UTC+2 schrieb Ashu Joshi:
>
> I was getting a similar error when I was trying to install "opkg install
> python-compiler". If you try to run "systemctl start bonescript.socket" -
> it will fail as well. So it was NOT about the service not running. If you
> open this file (bonescript.socket) you will notice it is listening on Port
> 80. On my BBB - the node.js server was running - run "ps -ax" to find it.
> If you kill the server and then start the bonescript.socket - you should be
> able to get past this problem. In simple words - bonescript.socket does not
> run because Port 80 was already being used.
How can I kill all processes accessing port 80? I tried already:
systemctl disable cloud9.service
systemctl disable gateone.service
systemctl disable bonescript.service
systemctl disable bonescript-autorun.service
systemctl disable avahi-daemon.service
systemctl disable gdm.service
and
root@beaglebone1:/home/root(6)# systemctl stop cloud9.service
root@beaglebone1:/home/root(7)# systemctl stop gateone.service
root@beaglebone1:/home/root(8)# systemctl stop bonescript.service
root@beaglebone1:/home/root(9)# systemctl stop bonescript-autorun.service
root@beaglebone1:/home/root(10)# systemctl stop avahi-daemon.service
Warning: Stopping avahi-daemon.service, but it can still be activated by:
avahi-daemon.socket
But I still get "bonescript.socket failed":
root@beaglebone1:/home/root(11)# opkg install ethtool
Package ethtool (3.5-r0.1) installed in root is up to date.
Configuring bonescript.
Job for bonescript.socket failed. See 'systemctl status bonescript.socket' and
'journalctl -xn' for details.
Collected errors:
* pkg_run_script: package "bonescript" postinst script returned status 1.
* opkg_configure: bonescript.postinst returned 1.
root@beaglebone1:/home/root(12)# systemctl status bonescript.socket
bonescript.socket
Loaded: loaded (/lib/systemd/system/bonescript.socket; enabled)
Active: inactive (dead)
CGroup: name=systemd:/system/bonescript.socket
Oct 14 14:07:41 beaglebone1 systemd[1]: Starting bonescript.socket.
Oct 14 14:07:41 beaglebone1 systemd[1]: Failed to listen on bonescript.socket.
Oct 14 14:09:13 beaglebone1 systemd[1]: Starting bonescript.socket.
Oct 14 14:09:13 beaglebone1 systemd[1]: Failed to listen on bonescript.socket.
Oct 14 14:10:41 beaglebone1 systemd[1]: Starting bonescript.socket.
Oct 14 14:10:41 beaglebone1 systemd[1]: Failed to listen on bonescript.socket.
Oct 14 15:53:28 beaglebone1 systemd[1]: Starting bonescript.socket.
Oct 14 15:53:28 beaglebone1 systemd[1]: Failed to listen on bonescript.socket.
Oct 14 16:02:50 beaglebone1 systemd[1]: Starting bonescript.socket.
Oct 14 16:02:50 beaglebone1 systemd[1]: Failed to listen on bonescript.socket.
root@beaglebone1:/home/root(13)# journalctl -xn
-- Logs begin at Sat 2013-10-12 23:56:23 CEST, end at Mon 2013-10-14 16:02:53
CEST. --
Oct 14 16:02:12 beaglebone1 systemd[1]: Stopped Avahi mDNS/DNS-SD Stack.
Oct 14 16:02:49 beaglebone1 systemd[1]: Reloading.
Oct 14 16:02:50 beaglebone1 systemd[1]: Starting Bonescript autorun...
Oct 14 16:02:50 beaglebone1 systemd[1]: Started Bonescript autorun.
Oct 14 16:02:50 beaglebone1 systemd[1]: Starting Bonescript server...
Oct 14 16:02:50 beaglebone1 systemd[1]: Started Bonescript server.
Oct 14 16:02:50 beaglebone1 systemd[1]: Starting bonescript.socket.
Oct 14 16:02:50 beaglebone1 systemd[1]: Socket service bonescript.service
already active, refusing.
root@beaglebone1:/home/root(14)# systemctl stop bonescript.service
root@beaglebone1:/home/root(15)# systemctl stop bonescript.socket
Oct 14 16:02:50 beaglebone1 systemd[1]: Failed to listen on bonescript.socket.
Oct 14 16:02:53 beaglebone1 bonescript[1848]: [35B blob data]
root@beaglebone1:/home/root(16)# opkg install ethtool
Package ethtool (3.5-r0.1) installed in root is up to date.
Configuring bonescript.
Job for bonescript.socket failed. See 'systemctl status bonescript.socket' and
'journalctl -xn' for details.
Collected errors:
* pkg_run_script: package "bonescript" postinst script returned status 1.
* opkg_configure: bonescript.postinst returned 1.
root@beaglebone1:/home/root(17)# systemctl stop bonescript-autorun.service
root@beaglebone1:/home/root(18)# opkg install ethtool
Package ethtool (3.5-r0.1) installed in root is up to date.
Configuring bonescript.
Job for bonescript.socket failed. See 'systemctl status bonescript.socket' and
'journalctl -xn' for details.
Collected errors:
* pkg_run_script: package "bonescript" postinst script returned status 1.
* opkg_configure: bonescript.postinst returned 1.
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.