Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

possible bug when starting and stopping lamson #3

Open
russellballestrini opened this issue Nov 12, 2011 · 0 comments
Open

possible bug when starting and stopping lamson #3

russellballestrini opened this issue Nov 12, 2011 · 0 comments

Comments

@russellballestrini
Copy link

When testing lamson I was able to reproduce the following on

ubuntu 10.04 and
Lamson-Version: 1.1
Repository-Revision: c74b850cf2
Repository-Hash: c74b850cf2f78e0397ee48338de99eaad543f668

I'm able to start and stop lamson but never able to start lamson again because the 'lock' file doesn't get cleaned up...

Steps to reproduce:

fox@cammy:/mymailserver$
fox@cammy:
/mymailserver$ lamson status
Lamson not running.
fox@cammy:/mymailserver$ ll run
total 12
drwxr-xr-x 3 fox fox 4096 2011-11-12 03:53 ./
drwxr-xr-x 7 fox fox 4096 2011-11-12 03:48 ../
drwx------ 5 fox fox 4096 2011-11-12 03:48 undeliverable/
fox@cammy:
/mymailserver$
fox@cammy:/mymailserver$ lamson start
fox@cammy:
/mymailserver$
fox@cammy:/mymailserver$ lamson status
Lamson running with PID 8509
fox@cammy:
/mymailserver$
fox@cammy:/mymailserver$ ll run
total 16
drwxr-xr-x 3 fox fox 4096 2011-11-12 03:54 ./
drwxr-xr-x 7 fox fox 4096 2011-11-12 03:48 ../
-rw-rw-rw- 2 fox fox 0 2011-11-12 03:54 cammy.MainThread-8507
-rw-r--r-- 1 fox fox 5 2011-11-12 03:54 smtp.pid
-rw-rw-rw- 2 fox fox 0 2011-11-12 03:54 smtp.pid.lock
drwx------ 5 fox fox 4096 2011-11-12 03:48 undeliverable/
fox@cammy:
/mymailserver$
fox@cammy:/mymailserver$
fox@cammy:
/mymailserver$ lamson stop
Stopping processes with the following PID files: ['./run/smtp.pid']
Attempting to stop lamson at pid 8509
fox@cammy:/mymailserver$
fox@cammy:
/mymailserver$ lamson status
Lamson not running.
fox@cammy:/mymailserver$
fox@cammy:
/mymailserver$
fox@cammy:/mymailserver$ ll run
total 12
drwxr-xr-x 3 fox fox 4096 2011-11-12 03:54 ./
drwxr-xr-x 7 fox fox 4096 2011-11-12 03:48 ../
-rw-rw-rw- 2 fox fox 0 2011-11-12 03:54 cammy.MainThread-8507
-rw-rw-rw- 2 fox fox 0 2011-11-12 03:54 smtp.pid.lock
drwx------ 5 fox fox 4096 2011-11-12 03:48 undeliverable/
fox@cammy:
/mymailserver$
fox@cammy:/mymailserver$
fox@cammy:
/mymailserver$ lamson start
fox@cammy:/mymailserver$
fox@cammy:
/mymailserver$
fox@cammy:/mymailserver$ lamson status
Lamson not running.
fox@cammy:
/mymailserver$
fox@cammy:/mymailserver$
fox@cammy:
/mymailserver$ ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant