View previous topic :: View next topic |
Author |
Message |
oharra n00b
Joined: 23 Dec 2007 Posts: 41
|
Posted: Sun Dec 23, 2007 11:33 pm Post subject: problem with syslog/bind |
|
|
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
Thanks |
|
Back to top |
|
|
SLBMEH Apprentice
Joined: 16 Aug 2003 Posts: 299 Location: Pittsburgh, PA
|
Posted: Mon Dec 24, 2007 1:04 am Post subject: |
|
|
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 |
|
|
oharra n00b
Joined: 23 Dec 2007 Posts: 41
|
Posted: Mon Dec 24, 2007 10:11 am Post subject: |
|
|
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 |
|
|
SLBMEH Apprentice
Joined: 16 Aug 2003 Posts: 299 Location: Pittsburgh, PA
|
Posted: Mon Dec 24, 2007 8:38 pm Post subject: |
|
|
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 |
|
|
oharra n00b
Joined: 23 Dec 2007 Posts: 41
|
Posted: Mon Dec 24, 2007 11:08 pm Post subject: |
|
|
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 |
|
|
turtles Veteran
Joined: 31 Dec 2004 Posts: 1664
|
Posted: Thu Dec 27, 2007 9:02 pm Post subject: |
|
|
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 |
|
|
|