Project

General

Profile

Bug #972

Server State showing as stopped in Dashboard although functioning

Added by achmetinternet over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Apps
Target version:
-
Start date:
09/04/2012
Due date:
% Done:

0%


Description

I am getting a STOPPED status for my Transmission server and Crashplan Test server under Settings-->Servers. Maybe these are listed wrongly and two others should be listed? Because I had a problem with the Transmission and CrashPlan one-click-install-apps in the past.

crashplan.conf View (237 Bytes) achmetinternet, 09/10/2012 10:29 PM

server status.jpg View (32 KB) achmetinternet, 09/11/2012 10:47 PM

service stopped.jpg View (107 KB) achmetinternet, 09/11/2012 10:47 PM

History

#1 Updated by bigfoot65 over 9 years ago

Please indicate the OS.

Also, the Crashplan Test Server is not the official app. It was used for testing only and should be uninstalled. Install the official Amahi Crashplan app and the server should work correctly.

#2 Updated by achmetinternet over 9 years ago

The OS is Ubuntu 12.04.

I had bigger issues in the past with the original CrashPlan and cpg helped to fix it. If I delete now the Test one and install the official one, will I loose data?

#3 Updated by bigfoot65 over 9 years ago

There should be no data loss as the share it backs up should remain in place on uninstall. To be safe, you can rename the share before uninstall to ensure it does not disappear.

#4 Updated by achmetinternet over 9 years ago

But I meant the settings, i.e. does Crashplan after re-install know which folder I wanted to be backed up and does it remember my license key?

#5 Updated by achmetinternet over 9 years ago

  • Status changed from New to Closed

I re-installed it and just had to sign in again with my user ID and PW. Now it shows the server as running and all the settings as well as the license key were still there. I like.

#6 Updated by achmetinternet over 9 years ago

  • Status changed from Closed to Assigned

I just checked again and even with the regular app, the CrashPlan server is showing as stopped although when I check on the Server, the app seems to be running as I can access it via GUI. And even if I click start it is still showing stopped.

#7 Updated by bigfoot65 over 9 years ago

  • Assignee set to bigfoot65

I will do some additional testing and see if I can determine the issue. I am sure it's simple. Please post the /etc/monit.d/crashplan.conf file.

Then check look for the crashplan.pid file. Recommend doing sudo find -name crashplan.pid and post the location here.

Once I have that information, I should be able to resolve the server feature issue.

#8 Updated by bigfoot65 over 9 years ago

bigfoot65 wrote:

I will do some additional testing and see if I can determine the issue. I am sure it's simple. Please post the /etc/monit/conf.d/crashplan.conf file.

Then check look for the crashplan.pid file. Recommend doing sudo find -name crashplan.pid and post the location here.

Once I have that information, I should be able to resolve the server feature issue.

#9 Updated by achmetinternet over 9 years ago

The find command did not work in that way, i.e. the terminal did not do anything. And when I simply used "find crashplan.pid" it tells me there is no such directory or file.

#10 Updated by bigfoot65 over 9 years ago

Sorry, I did not give the correct command. It is:
sudo find / -name crashplan.pid

#11 Updated by achmetinternet over 9 years ago

Nothing happens when I enter that command. After a while it just starts a new line "user@HDA".

#12 Updated by bigfoot65 over 9 years ago

That indicates there is no pid file found then. I was afraid of that. I will try and see if I can find a solution.

#13 Updated by bigfoot65 over 9 years ago

I have updated the app to change how it handles the PID file. You will need to uninstall and reinstall the app. A reboot in between uninstall and reinstall might be best to ensure it's out of memory.

Once reinstalled, please stop the service via the command prompt. Then check the server status in the dashboard. Try starting and stopping it from the dashboard.

It does take a while to stop the service, so it may not show stopped right away. Report back on how it works for you.

#14 Updated by bigfoot65 over 9 years ago

  • Status changed from Assigned to Feedback

If it is resolved, please let me know and I will close the bug.

#15 Updated by achmetinternet over 9 years ago

It does not show as an installed app on the Home tab of the Dashboard btw.

I have uninstalled the app, then reboot, now installed again and even before stopping the service I checked and it says the server is running...should I check if I can now stop it from the Dashboard?

#16 Updated by achmetinternet over 9 years ago

Getting the following message when doing it as the regular user:

Stopping CrashPlan Engine ... /usr/local/crashplan/bin/CrashPlanEngine: line 144: kill: (15452) - Operation not permitted
Still running, killing PID=15452 ...
/usr/local/crashplan/bin/CrashPlanEngine: line 150: kill: (15452) - Operation not permitted
rm: cannot remove `/usr/local/crashplan/bin/../CrashPlanEngine.pid': Permission denied
OK

As root it worked.

#17 Updated by achmetinternet over 9 years ago

But in the Dashboard it is still showing as running not stopped. How long should one wait?

#18 Updated by bigfoot65 over 9 years ago

Was this output from install or command line service call? For command line, you have to start/stop services using sudo preceding the command.

Once you see the service is stopped via command line, the dashboard should indicate stopped.

I am unsure how long it would take stopping it via the dashboard. You may need to uncheck watchdog to see it actually stop. It may take 30 seconds or so and may require a refresh.

#19 Updated by achmetinternet over 9 years ago

I put into the terminal as firstadmin user (not root) the command "service crashplan stop". Then I got that error. As root it worked. I attached a screenshot.

I assumed that if I am root no need for sudo.

I have waited now 5.5h and it still shows as running (see screenshot).

#20 Updated by achmetinternet over 9 years ago

Ok, I turned off watchdog in the Dashboard, then stopped it as root with sudo preceding and it shows as stopped now in the Dashboard. Then I restarted it via the Dashboard.

I then used the command CrashPlanDesktop as root and had to reenter my credentials but the license and settings for folders to be backed up were still there.

So it could have been the Watchdog...good animal!

#21 Updated by bigfoot65 over 9 years ago

  • Status changed from Feedback to Closed

Closing as this appears to be resolved.

Also available in: Atom