
11th September 2009, 10:30
|
|
Junior Member
|
|
Join Date: Sep 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
ISPC Cron-Log shows errors
Monitor -> Logfiles -> Show ISCP Cron-Log always shows: E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
OS: Fresh ISPconfig 3 install on Debian Lenny 5.0.2
|

12th September 2009, 12:03
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Is another apt process running?
|

15th September 2009, 07:45
|
|
Junior Member
|
|
Join Date: Sep 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
"Is another apt process running? " -> No, definitely not.
Just for testing purpose: I opened an aptitude instance -> worked fine.
Tried to open a second aptitude instance: Error because of the first aptitude instance running. This is the correct behavior.
|

15th September 2009, 10:37
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,897
Thanks: 693
Thanked 4,190 Times in 3,208 Posts
|
|
Maybe you run a apt command manually at the time were this happened. This is uncritical, just keep an eye on it if this happens more often.
|

15th September 2009, 11:33
|
|
Junior Member
|
|
Join Date: Sep 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I did not run an apt command the time it happend. Might be this is an automatic scheduled apt command during startup of the server.
The server is for testing purpose only and started when it is needed.
The time of the errors shown in the log are always directly after booting the server.
|

16th September 2009, 12:24
|
|
Junior Member
|
|
Join Date: Sep 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Ok, let's come back on this issue.
I did some more investigation:
The error messages seem to be outdated. The content of the file: /var/log/ispconfig/cron.log is from the time of the server install and has never been updated.
If i run the crontab scripts manually, always "finished" is the output.
|

16th September 2009, 12:27
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,897
Thanks: 693
Thanked 4,190 Times in 3,208 Posts
|
|
Thene verything is perfect. The cron log file contains only error messages, so you will never get the finished message there and if it does not contain new lines, then there vare no errors.
|

16th September 2009, 12:30
|
|
Junior Member
|
|
Join Date: Sep 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Seems to be a bit confusing if outdated errors are pending in a logfile. The logfile should be updated and show the actual status of the cron jobs. There is no information that the errors shown do not need any action.
|

16th September 2009, 12:33
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,897
Thanks: 693
Thanked 4,190 Times in 3,208 Posts
|
|
If you want to see the current status, look into the ispconfig monitor. You just looked into the wrong file! The file you checked is only for errors and why shall old errors be deleted if vthe file shall contain the history of errors like nay error log file.
|

16th September 2009, 12:35
|
|
Junior Member
|
|
Join Date: Sep 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Ok, i can follow you, but each error line in the logfile should contain a timestamp.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 13:53.
|
Recent comments
8 hours 5 min ago
14 hours 46 min ago
18 hours 37 min ago
20 hours 15 min ago
1 day 4 hours ago
1 day 14 hours ago
1 day 14 hours ago
1 day 18 hours ago
1 day 22 hours ago
1 day 23 hours ago