9

This is the message displayed in my terminal screen when I typed

sudo ap-hotspot start

Another process is already running

Which process is running and how do I stop it?

ElefantPhace
  • 3,291
sigdelsanjog
  • 7,280

2 Answers2

12

I found this solution

sudo rm /tmp/hotspot.pid

this will delete the process id created temporarily and no more the error is displayed. This worked in my case.

sourav c.
  • 46,280
sigdelsanjog
  • 7,280
2

The problem may be with the recent version hostapd package that installs with ap-hotspot.

First uninstall ap-hotspot. Download old hostapd package(bug free) you can get it from

wget http://archive.ubuntu.com/ubuntu/pool/universe/w/wpa/hostapd_1.0-3ubuntu2.1_amd64.deb

To install hostpad.deb you can use gdebi package manager or simply

sudo dpkg -i hostapd_1.0-3ubuntu2.1_amd64.deb

After installation hold the package so no latest versions gets updated

   sudo apt-mark hold hostapd

Now install ap-hotspot normally.

  • Do not update the hostapd package.
Sudheer
  • 5,213
  • Do we install ap-hotspot again? I did so sudo apt-get install and again configured and started ap-hotspot but again error was displayed " Another process already running... ps -ef | grep ap-hotspot this displayed algosig 19117 17645 0 23:14 pts/8 00:00:00 grep --color=auto ap-hotspot – sigdelsanjog Sep 18 '14 at 17:27