Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bind Seg Fault on E450
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
ddolbel
n00b
n00b


Joined: 30 Nov 2005
Posts: 30

PostPosted: Mon May 15, 2006 1:26 am    Post subject: Bind Seg Fault on E450 Reply with quote

Just installed bind 9.3.2 on my e450 which has quad 400 cpus and 2gig of Ram, now I'm finding BIND won't start.
After checking config files and such, and trying to start the daemon, without any errors
in the logs, I issued this command at the prompt only to see the seg fault error. How can I troubleshoot this?


alpha# /usr/sbin/named -u named -n 1 -g -c /etc/bind/named.conf -d 9

starting BIND 9.3.2 -u named -n 1 -g -c /etc/bind/named.conf -d 9
using 1 CPU
Segmentation fault

has anyone got any ideas on how I can fix this.??????????
I'm at a total loss at the moment.
Back to top
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Mon May 15, 2006 10:56 pm    Post subject: Reply with quote

Please you provide the output of the command "emerge info", it'll help in troubleshooting.

Thanks!
Back to top
View user's profile Send private message
ddolbel
n00b
n00b


Joined: 30 Nov 2005
Posts: 30

PostPosted: Sat May 20, 2006 11:39 am    Post subject: Reply with quote

Thanks for the reply,

I fixed the prob, i had to change the optimisation flags, once changed it worked fine

Thanks for help.
Back to top
View user's profile Send private message
appetitus
Apprentice
Apprentice


Joined: 28 Sep 2003
Posts: 210

PostPosted: Fri Jun 23, 2006 10:37 am    Post subject: Reply with quote

I had to drop the optimization down to -O2 from -O3 to stop named from segfaulting. Someone should file a bug, the named.ebuild needs a mod to cut down the optimization on sparc (e.g. as in ./net-print/lprng/lprng-3.8.28.ebuild: # wont compile with -O3, needs -O2).

I'd file a bug, but my last sparc is going into a remote location, as a backup DNS and email box, and isn't going to be kept current (so I cannot followup on a bug filing). 10 yrs of sparcs R.I.P.
_________________
Being a Gentoo user means living in a house inhabited by a family of crazed carpenters. When you wake up, the house is different. Maybe there is a new turret, or some walls have moved, or perhaps someone has removed the floor under your bed.
Back to top
View user's profile Send private message
gust4voz
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 373
Location: Buenos Aires, Argentina

PostPosted: Fri Jun 23, 2006 12:54 pm    Post subject: Reply with quote

We also don't recommend -O3 for sparc, among other issues it makes debugging a problem.
_________________
Gustavo Zacarias
Gentoo/SPARC monkey
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum