Running Mga 7 I see:
Dec 13 23:29:22 dougshost.douglaidlaw.net systemd[1]: Starting CUPS Scheduler...
Dec 13 23:29:22 dougshost.douglaidlaw.net systemd[1]: cups.service: Succeeded.
Dec 13 23:29:22 dougshost.douglaidlaw.net systemd[1]: Stopped CUPS
Scheduler.
Then:
Dec 13 23:29:22 dougshost.douglaidlaw.net systemd[1]: cups.service:
Start request repeated to> <yada, yada as before>
My question is: the service was started successfully. Why was it stopped?
On Sat, 14 Dec 2019 00:50:21 +1100, Doug Laidlaw wrote:
Running Mga 7 I see:
Dec 13 23:29:22 dougshost.douglaidlaw.net systemd[1]: Starting CUPS
Scheduler...
Dec 13 23:29:22 dougshost.douglaidlaw.net systemd[1]: cups.service:
Succeeded.
Dec 13 23:29:22 dougshost.douglaidlaw.net systemd[1]: Stopped CUPS
Scheduler.
Did you know about the --no-hostname option. It is handy to for cutting
down the journal noise and would save wasted space on all Usenet servers
and last, and not least, make it easier for anyone reading your post.
Then:
Dec 13 23:29:22 dougshost.douglaidlaw.net systemd[1]: cups.service:
Start request repeated to> <yada, yada as before>
My question is: the service was started successfully. Why was it stopped?
Luke, use the force (journalctl).
I do not see how in the hell you would expect us to know what was going
on at the time of the desired event.
At this point all I can suggest is:
1. Create a guest account
2. put it in the systemd-journal group so it can view the journal
without having to be root.
3. post guest account id and password
4. poke a hole in router and system firewalls to allow ssh access
5. give us your WAN/Internet address.
That way we can login and look in the journal, and any criminal
can see if they can gain root control of you system.
Very funny! In other words, this is the last place I should look for help.
Running Mga 7 I see:
Dec 13 23:29:22 dougshost.douglaidlaw.net systemd[1]: Starting CUPS Scheduler...
Dec 13 23:29:22 dougshost.douglaidlaw.net systemd[1]: cups.service: Succeeded.
Dec 13 23:29:22 dougshost.douglaidlaw.net systemd[1]: Stopped CUPS Scheduler.
Then:
Dec 13 23:29:22 dougshost.douglaidlaw.net systemd[1]: cups.service:
Start request repeated to> <yada, yada as before>
My question is: the service was started successfully. Why was it stopped?
On 12/13/19 8:50 AM, Doug Laidlaw wrote:
Running Mga 7 I see:
Dec 13 23:29:22 dougshost.douglaidlaw.net systemd[1]: Starting CUPS
Scheduler...
Dec 13 23:29:22 dougshost.douglaidlaw.net systemd[1]: cups.service:
Succeeded.
Dec 13 23:29:22 dougshost.douglaidlaw.net systemd[1]: Stopped CUPS
Scheduler.
Then:
Dec 13 23:29:22 dougshost.douglaidlaw.net systemd[1]: cups.service:
Start request repeated to> <yada, yada as before>
My question is: the service was started successfully. Why was it stopped?
I had thought that the race condition had gone away when I upgraded my motherboard/processor, because since then whenever I go to print
something cups is up and running. However, after your post I decided to
run, as root, this command:
journalctl -ab --no-hostname | grep cups
The result indicates the race condition still exists. I don't know why
my cups service is working anyway.
Remember the bug for this? Some users have reported there that if they
boot with the printer powered down the service starts, but if they boot
with it powered up it doesn't.
IMO, this is one of those times when you won't get the answer you seek
here.
You need to consult with a developer, and most of those don't
follow this newsgroup.
Running Mga 7 I see:
Dec 13 23:29:22 dougshost.douglaidlaw.net systemd[1]: Starting CUPS Scheduler...
Dec 13 23:29:22 dougshost.douglaidlaw.net systemd[1]: cups.service: Succeeded.
Dec 13 23:29:22 dougshost.douglaidlaw.net systemd[1]: Stopped CUPS Scheduler.
Then:
Dec 13 23:29:22 dougshost.douglaidlaw.net systemd[1]: cups.service:
Start request repeated to> <yada, yada as before>
My question is: the service was started successfully. Why was it stopped?
On 14/12/19 1:07 am, Bit Twister wrote:
Very funny! In other words, this is the last place I should look for help.
At this point all I can suggest is:
1. Create a guest account
2. put it in the systemd-journal group so it can view the journal
without having to be root.
3. post guest account id and password
4. poke a hole in router and system firewalls to allow ssh access
5. give us your WAN/Internet address.
That way we can login and look in the journal, and any criminal
can see if they can gain root control of you system.
On 2019-12-13, Doug Laidlaw <laidlaws@hotkey.net.au> wrote:
On 14/12/19 1:07 am, Bit Twister wrote:
Very funny! In other words, this is the last place I should look for help. >>
At this point all I can suggest is:
1. Create a guest account
2. put it in the systemd-journal group so it can view the journal
without having to be root.
3. post guest account id and password
4. poke a hole in router and system firewalls to allow ssh access
5. give us your WAN/Internet address.
That way we can login and look in the journal, and any criminal
can see if they can gain root control of you system.
No. Bittwister just got out of bed grumpy today. He is usually very
helpful, but we all have those days when everyone in the world pisses us
off.
As I stated this seems to be a bug that noone knows what causes it. It
seems to be rare, so it is hard to duplicate for those who might be able
to fix it (Apple?)
Try putting a
systemctl restart cups
into /etc/rc.d/rc.local
it might help.
Or try putting
@reboot systemctl restart cups
into root crontab.
No guarentee these will work -- I do not have the problem and do not
need these.
On Fri, 13 Dec 2019 20:05:39 -0000 (UTC), William Unruh wrote:time. :)
On 2019-12-13, Doug Laidlaw <laidlaws@hotkey.net.au> wrote:
On 14/12/19 1:07 am, Bit Twister wrote:
Very funny! In other words, this is the last place I should look for help. >>>
At this point all I can suggest is:
1. Create a guest account
2. put it in the systemd-journal group so it can view the journal
without having to be root.
3. post guest account id and password
4. poke a hole in router and system firewalls to allow ssh access
5. give us your WAN/Internet address.
That way we can login and look in the journal, and any criminal
can see if they can gain root control of you system.
No. Bittwister just got out of bed grumpy today. He is usually very
helpful, but we all have those days when everyone in the world pisses us
off.
I'll have you know I am the most even tempered man in town, mad all the
Just trying to get Doug's attention, again, and lurkers, to always provide information instead just a post with no other usable information.
As I stated this seems to be a bug that noone knows what causes it. It
seems to be rare, so it is hard to duplicate for those who might be able
to fix it (Apple?)
Try putting a
systemctl restart cups
into /etc/rc.d/rc.local
it might help.
Or try putting
@reboot systemctl restart cups
into root crontab.
No guarentee these will work -- I do not have the problem and do not
need these.
Yep, I will go along with that guarantee.
At first glance of the post, Doug has already indicated he gets a cups restart after cups was up.
On my system, my new_boot_logs script disables cups. I do that just
to have one less service running for a criminal to have in an attempt
to get root privs.
What I have noticed is that I can power up the printer, and print without having to start cups. Apparently cups is started upon udev finding the
new usb connect.
Your suggestions are just a one-shot restart. If a service is failing
to run or just going down for some reason and you always want it running,
on a systemd setup, the proper way is to create a drop in file with
the command to restart on abnormal termination.
For drop in file creation, you create a
/etc/systemd/system/whatever.service.d directory, and a file with
whatever commands/values desired to add to the service setup.
For example, I want mythbackend to automagically restart if it crashes
and I do not want it started until dhcpd has started. I have dhcpd
assigning ip addresses to my network tv tuners.
To do so I do a
mkdir --parents /etc/systemd/system/mythbackend.service.d
In the event that there maybe more than one file, I want my drop in file
to run last so I created
/etc/systemd/system/mythbackend.service.d/xx__mythbackend.conf
There is where I set desired parameters and directives.
# cat /etc/systemd/system/mythbackend.service.d/xx__mythbackend.conf #****************************************************
#
# Created by /local/bin/mythtv_changes Mon 12 Aug 05:24 2019
#
#****************************************************
[Unit]
After=dhcpd.service
StartLimitBurst=3
StartLimitIntervalSec=30
StartLimitAction=none
[Service]
Restart=on-abnormal
#***end /etc/systemd/system/mythbackend.service.d/xx__mythbackend.conf **
I'll have you know I am the most even tempered man in town, mad all thetime. :)
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 293 |
Nodes: | 16 (2 / 14) |
Uptime: | 217:06:36 |
Calls: | 6,621 |
Calls today: | 3 |
Files: | 12,171 |
Messages: | 5,317,619 |