FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 06-05-2011, 10:35 AM
Arthur Dent
 
Default What's with systemd?

Hello all,

I have just upgraded my F13 machine to F15. This acts as a server,
providing mail and web etc. (only 3 users - it's for me and my family).
I have tried very hard to understand how systemd works but I'm just not
there yet.

I was OK with init scripts and chkconfig, but now when I try to start a
service I often get a cheery "OK" on the terminal, but in fact the
service has failed completely. Even if I get a "Failed" message I can't
find anywhere the reason why the startup failed. I have resorted to
starting the offending application by typing the name of the binary into
a terminal to see what messages it provides...

Anyway... Rant over...

The real problem I have is that after a reboot, several key services
fail to start. The crucial ones (for me) are sendmail and dovecot. There
are no messages in any logs (that I can find), but my mailchain just
isn't working.

I start them manually, and then all is well. I can't understand why
(especially sendmail) fails to start after a reboot.

Any ideas?

Thanks in advance...

Mark

# chkconfig dovecot --list

Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.

# chkconfig sendmail --list

Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.

sendmail 0ff 1ff 2n 3n 4n 5n 6ff

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 06-05-2011, 01:12 PM
Jorge Fábregas
 
Default What's with systemd?

On 06/05/2011 06:35 AM, Arthur Dent wrote:
> I have tried very hard to understand how systemd works but I'm just not
> there yet.

Hi,

I haven't used it yet. Check out this link (from the main systemd
author) which has plenty of information:

http://0pointer.de/blog/projects/systemd-docs.html

Regards,
Jorge
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 06-05-2011, 02:05 PM
"Garry T. Williams"
 
Default What's with systemd?

On Sunday, June 05, 2011 06:35:37 Arthur Dent wrote:
> The real problem I have is that after a reboot, several key services
> fail to start. The crucial ones (for me) are sendmail and dovecot. There
> are no messages in any logs (that I can find), but my mailchain just
> isn't working.

I have encountered the same problem (sendmail not starting). For now,
I am just doing this after boot:

sudo systemctl start sendmail.service

You will want to do the same with dovecot.service .

I'm probably missing something having to do with systemd(?).

--
Garry Williams
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 06-05-2011, 02:07 PM
Kevin Fenzi
 
Default What's with systemd?

On Sun, 5 Jun 2011 10:05:34 -0400
"Garry T. Williams" <gtwilliams@gmail.com> wrote:

> On Sunday, June 05, 2011 06:35:37 Arthur Dent wrote:
> > The real problem I have is that after a reboot, several key services
> > fail to start. The crucial ones (for me) are sendmail and dovecot.
> > There are no messages in any logs (that I can find), but my
> > mailchain just isn't working.
>
> I have encountered the same problem (sendmail not starting). For now,
> I am just doing this after boot:
>
> sudo systemctl start sendmail.service
>
> You will want to do the same with dovecot.service .
>
> I'm probably missing something having to do with systemd(?).

Does:

sudo systemctl enable sendmail.service

fix it to start on boot?

Or:

sudo chkconfig sendmail on

?

kevin
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 06-05-2011, 02:25 PM
"Garry T. Williams"
 
Default What's with systemd?

On Sunday, June 05, 2011 10:07:35 Kevin Fenzi wrote:
> Does:
>
> sudo systemctl enable sendmail.service
>
> fix it to start on boot?
>
> Or:
>
> sudo chkconfig sendmail on
>
> ?

I did systemctl enable sendmail.service initially tinking that was all
I needed. When I noticed that failed at reboot, I did chkconfig
sendmail on and that didn't help matters.

I see a mail-transfer-agent.target in /lib/systemd/system, but my
systemd knowledge is lacking. Should this unit be referenced in
another unit, say multiuser.target? Should there be a link to it in
/usr/lib/systemd/user?

Would systemd.log_level=debug be of any use?

--
Garry Williams
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 06-05-2011, 03:14 PM
"Garry T. Williams"
 
Default What's with systemd?

On Sunday, June 05, 2011 10:05:34 Garry T. Williams wrote:
> On Sunday, June 05, 2011 06:35:37 Arthur Dent wrote:
> > The real problem I have is that after a reboot, several key services
> > fail to start. The crucial ones (for me) are sendmail and dovecot. There
> > are no messages in any logs (that I can find), but my mailchain just
> > isn't working.
>
> I have encountered the same problem (sendmail not starting).

This is reported: https://bugzilla.redhat.com/show_bug.cgi?id=704393

--
Garry Williams
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 06-05-2011, 05:02 PM
Arthur Dent
 
Default What's with systemd?

On Sun, 2011-06-05 at 11:14 -0400, Garry T. Williams wrote:
> On Sunday, June 05, 2011 10:05:34 Garry T. Williams wrote:
> > On Sunday, June 05, 2011 06:35:37 Arthur Dent wrote:
> > > The real problem I have is that after a reboot, several key services
> > > fail to start. The crucial ones (for me) are sendmail and dovecot. There
> > > are no messages in any logs (that I can find), but my mailchain just
> > > isn't working.
> >
> > I have encountered the same problem (sendmail not starting).
>
> This is reported: https://bugzilla.redhat.com/show_bug.cgi?id=704393

Ahh - Thank you Gary.

I'm glad it's not just me. I though I had broken something...

Thanks again.

Mark

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 06-05-2011, 05:06 PM
Arthur Dent
 
Default What's with systemd?

On Sun, 2011-06-05 at 09:12 -0400, Jorge Fábregas wrote:
> On 06/05/2011 06:35 AM, Arthur Dent wrote:
> > I have tried very hard to understand how systemd works but I'm just not
> > there yet.
>
> Hi,
>
> I haven't used it yet. Check out this link (from the main systemd
> author) which has plenty of information:
>
> http://0pointer.de/blog/projects/systemd-docs.html
>
> Regards,
> Jorge

Hi Jorge,

Thanks very much. At first I was just going to moan that the page you
sent me was only the man pages (which I had already looked at), but then
I scrolled down and started to read the blog entries. Much more what I
am looking for.

I don't have much time at the moment, but I'll try to read more
thoroughly sometime next week.

Thanks again!

Mark

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 06-06-2011, 02:41 PM
Vikram Goyal
 
Default What's with systemd?

On Sun, Jun 05, 2011 at 11:35:37AM +0100, Arthur Dent wrote:
Hi,

>
> The real problem I have is that after a reboot, several key services
> fail to start. The crucial ones (for me) are sendmail and dovecot. There
> are no messages in any logs (that I can find), but my mailchain just
> isn't working.
>
> I start them manually, and then all is well. I can't understand why
> (especially sendmail) fails to start after a reboot.
>

Same problem here also. There are no error messages in maillog on why
sendmail process is dead after a boot. Has to be started manually.

--
vikram...
||||||||
||||||||
^^'^^||root||^^^'^^
// ))
//(( //
// / ||
|| / )) ((
--
Did it ever occur to you that fat chance and slim chance mean the same thing?

Or that we drive on parkways and park on driveways?
--
~|~
=
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 06-06-2011, 02:51 PM
Vikram Goyal
 
Default What's with systemd?

On Sun, Jun 05, 2011 at 10:25:16AM -0400, Garry T. Williams wrote:
> On Sunday, June 05, 2011 10:07:35 Kevin Fenzi wrote:
> > Does:
> >
> > sudo systemctl enable sendmail.service
> >
> > fix it to start on boot?
> >
> > Or:
> >
> > sudo chkconfig sendmail on
> >
> > ?
>
> I did systemctl enable sendmail.service initially tinking that was all
> I needed. When I noticed that failed at reboot, I did chkconfig
> sendmail on and that didn't help matters.
>
> I see a mail-transfer-agent.target in /lib/systemd/system, but my
> systemd knowledge is lacking. Should this unit be referenced in
> another unit, say multiuser.target? Should there be a link to it in
> /usr/lib/systemd/user?
>
> Would systemd.log_level=debug be of any use?
>

If one looks for dovecot entry through systemctl list-units, one can't
grep it.

The names are strange like, as mentioned, mail-transfer-agent.target.

It was easier earlier to check things through the names of the daemon
programs.

Strangely the output of systemctl list-units, is automatically piped through
, maybe "less" which may cause problems if used in scripts.

Also, why systemctl does not take two dashes for long args. Why are we
breaking away from set pattern of unix semantics & philosophy?

--
vikram...
||||||||
||||||||
^^'^^||root||^^^'^^
// ))
//(( //
// / ||
|| / )) ((
--
Most people can do without the essentials, but not without the luxuries.
--
~
~|~
=
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 10:42 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org