Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem with syslog/bind
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
oharra
n00b
n00b


Joined: 23 Dec 2007
Posts: 41

PostPosted: Sun Dec 23, 2007 11:33 pm    Post subject: problem with syslog/bind Reply with quote

Some time ago my domains stopped working, I don't know the exact cause but at that time I tried to install CSF firewall but it didn't succeed, and everything was back uninstalled. At first Bind8 didn't give an error message, just "failed to start bind", and when I got it to give a fault, it reffered to the syslog-ng.conf. The first line of the file with options was reffered too, I changed things there, removed it, and than it gave the same error for the next line. I tried with another default config too, and was just the same. So it looks that the config file is somehow not compatible anymore, it's weird that this happens without I modified anything of that. I can't get it to work. Bind gives the same error as when I start syslog, my control panel is Webmin by the way. The error it gives is "syntax error at 1
Parse error reading configuration file, exiting. (line 1)". Any help with this would be appreciated 8)

Thanks
Back to top
View user's profile Send private message
SLBMEH
Apprentice
Apprentice


Joined: 16 Aug 2003
Posts: 299
Location: Pittsburgh, PA

PostPosted: Mon Dec 24, 2007 1:04 am    Post subject: Reply with quote

did you do an update and ignore an etc-update?

the only time bind stops working for me is when i need to etc-update and skip it...
_________________
Steve - Semper Fi
Back to top
View user's profile Send private message
oharra
n00b
n00b


Joined: 23 Dec 2007
Posts: 41

PostPosted: Mon Dec 24, 2007 10:11 am    Post subject: Reply with quote

SLBMEH wrote:
did you do an update and ignore an etc-update?

the only time bind stops working for me is when i need to etc-update and skip it...


I wasn't aware of an update but it's possible, I hope it can be fixed like that. And how can I do this etc-update ?
Back to top
View user's profile Send private message
SLBMEH
Apprentice
Apprentice


Joined: 16 Aug 2003
Posts: 299
Location: Pittsburgh, PA

PostPosted: Mon Dec 24, 2007 8:38 pm    Post subject: Reply with quote

When you upgrade with emerge it may show a warning that X amount of files need updated.

You run the command 'etc-update' and it will walk you through. I broke my system quite a few times because I skipped the etc-update, I learned not to put emerge -uDv world in a cron task...
_________________
Steve - Semper Fi
Back to top
View user's profile Send private message
oharra
n00b
n00b


Joined: 23 Dec 2007
Posts: 41

PostPosted: Mon Dec 24, 2007 11:08 pm    Post subject: Reply with quote

SLBMEH wrote:
When you upgrade with emerge it may show a warning that X amount of files need updated.

You run the command 'etc-update' and it will walk you through. I broke my system quite a few times because I skipped the etc-update, I learned not to put emerge -uDv world in a cron task...


Thanks for the tip, I did the upgrade, this was the output : "Scanning Configuration files...
Automerging trivial changes in: qmail
Exiting: Nothing left to do; exiting. :)"

So it seems that it didn't update syslog or bind, but when I tried to start bind now it

"failed to start BIND : * Caching service dependencies ... [ ok ] * Starting named ... [ !! ]", I tried to start syslog again too and it gives the same error as before, "Failed to start Syslog-NG server : syntax error at 1, Parse error reading configuration file, exiting. (line 1)"

It's really weird, especially because I don't know the cause, any more help would be appreciated.
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1664

PostPosted: Thu Dec 27, 2007 9:02 pm    Post subject: Reply with quote

Sounds frustrating. I dont really have anything to suggest other than looking at line one and making sure you did not uncomment a header and using cfg-update instead of etc-update.
It indexes your config files and allows you to revert to old configs.
_________________
Donate to Gentoo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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