| View previous topic :: View next topic |
| Author |
Message |
El_Presidente_Pufferfish Veteran


Joined: 11 Jul 2002 Posts: 1171 Location: Seattle
|
Posted: Tue Apr 15, 2008 12:40 pm Post subject: |
|
|
| no4b wrote: | | Once I upgraded to baselayout-2 /etc/conf.d/net.eth0 and /etc/init.d/net.eth0 disappeared. I recreated /etc/conf.d/net.eth0 but I don't know where I can find example of /etc/init.d/net.eth0. |
configuration for all net.* devices is done in /etc/conf.d/net
the init script net.eth0 should simply be a link to /etc/init.d/net.lo |
|
| Back to top |
|
 |
no4b Bodhisattva


Joined: 18 Jan 2004 Posts: 773 Location: Tarnów, Poland
|
Posted: Tue Apr 15, 2008 12:59 pm Post subject: |
|
|
Ok, thx. _________________ GTK2/GNOME - The weakest link! |
|
| Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6274 Location: Blighty
|
Posted: Tue Apr 15, 2008 1:18 pm Post subject: |
|
|
ln -s net.lo /etc/init.d/net.eth0
And you're done
EDIT: Meh, me is late with this one as the answer is few posts up. _________________ When baselayout tells you to update config files or things break WE REALLY DO MEAN IT
Please add SOLVED to the thread title if your issue has been
Strip comments from configs please |
|
| Back to top |
|
 |
Fred Krogh l33t

Joined: 07 Feb 2005 Posts: 657 Location: Tujunga, CA
|
Posted: Tue Apr 15, 2008 11:51 pm Post subject: Need gdm for DISPLAYMANAGER in /etc/conf.d/xdm |
|
|
I had been using xdm here and gnome wouldn't start with that. (Maybe it shouldln't have worked in the past?)
Also I decided to try rc_parallel="YES" in /etc/rc.conf. It seems to work fine, but complains that mysql failed to start. In fact it seems to have started just fine. Unless I get some reassurance I'm going to use "NO" for now.
Fred |
|
| Back to top |
|
 |
katafitos n00b


Joined: 22 Nov 2006 Posts: 51 Location: Greece
|
Posted: Wed Apr 16, 2008 1:42 am Post subject: |
|
|
udev is blocking openrc for me when I try to upgrade to baselayout-2
| Code: | [ebuild N ] sys-fs/udev-115-r1 USE="(-selinux)" 0 kB
[ebuild U ] sys-apps/baselayout-2.0.0 [1.12.11.1] USE="-build (-bootstrap%) (-static%) (-unicode%*)" 23 kB
[ebuild N ] sys-apps/openrc-0.2.1-r2 USE="ncurses pam unicode -debug" 139 kB
[blocks B ] <sys-fs/udev-118-r2 (is blocking sys-apps/openrc-0.2.1-r2) |
|
|
| Back to top |
|
 |
yngwin Developer


Joined: 19 Dec 2002 Posts: 4219 Location: Suzhou, China
|
Posted: Wed Apr 16, 2008 1:47 am Post subject: |
|
|
| katafitos wrote: | | udev is blocking openrc for me when I try to upgrade to baselayout-2 |
Upgrade udev first. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
| Back to top |
|
 |
katafitos n00b


Joined: 22 Nov 2006 Posts: 51 Location: Greece
|
Posted: Wed Apr 16, 2008 1:51 am Post subject: |
|
|
| yngwin wrote: | | katafitos wrote: | | udev is blocking openrc for me when I try to upgrade to baselayout-2 |
Upgrade udev first. |
I unmasked it using autounmask
I should have thought that..
Thank you! |
|
| Back to top |
|
 |
meulie l33t


Joined: 17 Jun 2003 Posts: 845 Location: a Dutchman living in Norway
|
Posted: Wed Apr 16, 2008 7:59 am Post subject: |
|
|
Got some problems with rc_depend_strict as well. I have set it to 'NO', but my laptop still whines about net.wlan0 not being available when I try to start, for example, the ssh server even though I am online via ethernet. _________________ Greetz,
Evert Meulie |
|
| Back to top |
|
 |
Hwoarang Developer


Joined: 24 Feb 2007 Posts: 701 Location: Leeds, UK
|
Posted: Wed Apr 16, 2008 10:06 am Post subject: |
|
|
| Does anyone have a problem with nfsmount on shutdown? I get an error mesasege " nfsmount failed to stop" |
|
| Back to top |
|
 |
octoploid n00b


Joined: 21 Oct 2006 Posts: 65
|
Posted: Wed Apr 16, 2008 1:09 pm Post subject: |
|
|
| Hwoarang wrote: | | Does anyone have a problem with nfsmount on shutdown? I get an error mesasege " nfsmount failed to stop" |
Yes, I have similar problems with dmcrypt on shutdown when I use rc_parallel="YES".
No problems with rc_parallel="NO". _________________ Myself and mine gymnastic ever |
|
| Back to top |
|
 |
Hwoarang Developer


Joined: 24 Feb 2007 Posts: 701 Location: Leeds, UK
|
Posted: Wed Apr 16, 2008 3:26 pm Post subject: |
|
|
| Ah i see. I have also set "YES". I ll change it |
|
| Back to top |
|
 |
webhawg Apprentice


Joined: 18 Oct 2002 Posts: 284
|
Posted: Wed Apr 16, 2008 3:47 pm Post subject: |
|
|
| UberLord wrote: | ln -s net.lo /etc/init.d/net.eth0
And you're done  |
This doesn't seem to work for me. I have /etc/conf.d/net configured properly. But for some reason it doesn't start on boot. Once I've booted up... "/etc/init.d/net.eth0 start" starts just fine. But it won't start on boot. Any suggestions?
I have net.eth0 in rc-update. What's wrong? What am I missing? |
|
| Back to top |
|
 |
Fred Krogh l33t

Joined: 07 Feb 2005 Posts: 657 Location: Tujunga, CA
|
Posted: Wed Apr 16, 2008 3:52 pm Post subject: |
|
|
| Do you have net.lo started at the boot level? |
|
| Back to top |
|
 |
webhawg Apprentice


Joined: 18 Oct 2002 Posts: 284
|
Posted: Wed Apr 16, 2008 3:57 pm Post subject: |
|
|
| Fred Krogh wrote: | | Do you have net.lo started at the boot level? |
Yes. |
|
| Back to top |
|
 |
frostschutz Advocate


Joined: 22 Feb 2005 Posts: 2194 Location: Germany
|
Posted: Wed Apr 16, 2008 6:37 pm Post subject: |
|
|
I still have issues with spamd not starting. I tried all your suggestions but all of them fail for me.
My main issue is actually that I don't know how to make it give me error messages. Output as the following gives me zero information as to what could be wrong:
| Code: |
spamd | * Caching service dependencies ... [ ok ]
spamd | * Starting spamd ...
spamd | * Failed to start spamd [ !! ]
spamd | * ERROR: spamd failed to start
|
This is with the --name spamd \ line added to the original init script. |
|
| Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6274 Location: Blighty
|
Posted: Wed Apr 16, 2008 6:41 pm Post subject: |
|
|
spamd is a perl daemon, iirc. As such, it needs special handling. Try starting with a pidfile referenced. If that fails, try starting perl and then pass spamd as the first argument. Like so
start-stop-daemon --start --exec /usr/bin/spamd -- spamd-options
becomes
start-stop-daemon --start --exec /usr/bin/perl -- /usr/bin/spamd spamd-options _________________ When baselayout tells you to update config files or things break WE REALLY DO MEAN IT
Please add SOLVED to the thread title if your issue has been
Strip comments from configs please |
|
| Back to top |
|
 |
frostschutz Advocate


Joined: 22 Feb 2005 Posts: 2194 Location: Germany
|
Posted: Wed Apr 16, 2008 6:43 pm Post subject: |
|
|
Found the problem... there were some old spamd (perl) instances still running and not cleaned up, and they occupied the socket. killall -9 perl solved that matter (although you shouldn't run this command if you have any other perl services as you may end up killing them too). The init script was hiding error messages by spamd...
If anyone is interested in the spamd init script that works for me, I nopasted it here:
http://phpfi.com/310389 (download link in upper right corner)
Make sure to zap (remove pidfile) and kill old perl instances that may occupy the spamd port first, i.e. this worked for me:
| Code: |
/etc/init.d/spamd zap
killall -9 perl
/etc/init.d/spamd start
|
|
|
| Back to top |
|
 |
tranquilcool Veteran

Joined: 25 Mar 2005 Posts: 1030
|
Posted: Thu Aug 07, 2008 8:55 am Post subject: |
|
|
with current baselayout(2) mysql, spamd and amavisd fail to start.
any help?
thanks. _________________ this is a strange strange world. |
|
| Back to top |
|
 |
JeliJami Veteran


Joined: 17 Jan 2006 Posts: 1086 Location: Belgium
|
Posted: Thu Aug 07, 2008 9:40 am Post subject: |
|
|
any error messages on start?
| Code: | | /etc/init.d/spamd restart |
_________________ Unanswered Post Initiative | Search | FAQ
Former username: davjel |
|
| Back to top |
|
 |
tranquilcool Veteran

Joined: 25 Mar 2005 Posts: 1030
|
Posted: Thu Aug 07, 2008 10:08 am Post subject: |
|
|
| JeliJami wrote: | any error messages on start?
| Code: | | /etc/init.d/spamd restart |
|
Starting spamd ...
* Failed to start spamd [ !! ]
* ERROR: spamd failed to start
let me put it better. the services are started and working. but even during boot
i still have 'the failed to start' errors plus /usr/sbin/spamd died. same for amavisd.
i am using openrc-svn _________________ this is a strange strange world. |
|
| Back to top |
|
 |
|