-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BIND error #132
Comments
Could you kindly share your /etc/named.conf file with us? |
// // -- THE FOLLOWING LINES WERE GENERATED BY PLESK. IF YOU MODIFY THEM, THEY WILL BE OVERWRITTEN WHEN THESE SETTINGS ARE MANAGED IN PLESK UI. -- key "rndc-key" { controls { zone "." { zone "0.0.127.IN-ADDR.ARPA" { // -- PLEASE ADD YOUR CUSTOM DIRECTIVES BELOW THIS LINE. -- // -- ALL LINES BELOW WERE GENERATED BY PLESK. IF YOU MODIFY THEM, THEY WILL BE OVERWRITTEN WHEN THESE SETTINGS ARE MANAGED IN PLESK UI. -- zone "REMOVED DOMAINNAME" { |
Ive removed the domain and the secret. |
Hmm, at first glance, there doesn't appear to be anything unusual. |
no is just like domain.nl |
Alright, let me investigate what else might be causing the issue. |
By the way, wouldn't recreating the DNS configuration file help? You can do so by following these steps:
|
Could you please also provide the /etc/named-user-options.conf configuration file? |
that file is empty... |
Great, we have identified the root cause of the problem. To work around this issue, you can simply add a comment through the Plesk WebUI: "Tools & Settings" -> "DNS Settings" -> "Server-wide Settings" -> "Additional DNS settings". For example, you could add:
I will implement an automatic workaround in the centos2alma tool to address this issue. Additionally, I will attempt to contact the elevate developers to encourage them to fix the problem on their end. |
The additional field contains the following : If i click apply the file is still empty even with the workaround line in it. U sure just adding this line is enough and can i try upgrade to alma again ? |
Could you please check if /etc/named-user-options.conf is a symbolic link to /var/named/chroot/etc/named-user-options.conf? If it's not, you can simply remove the file, and centos2alma will recreate the link. Note: If the /var/named/chroot/etc/named-user-options.conf file is empty, it seems unusual. You can try adding something to the file from the command line.
I'm quite certain you'll encounter the problem again during the conversion if the file is empty. |
okay, cool. Thanks for the quick response. Ive agreed with the customer to try again tomorrow @ 10.30 local time. i will get back to you after that. Thanks for now. |
Just an update:
|
Just upgraded. Process is now in conversion but after recreating the file nothing popped up in the early stages. Thanks for your help, its really appreciated. |
Ran the upgrade for the third time, mariadb had been removed from the server during the conversion. So installed that from the repo and tried to start. Problems with httpd because of the following : After trying to solve all problems i went back to a snapshot. Think i will plan this forward to Q1 next year because in total we lost 4 hours on trying to upgrade it properly. |
This shouldn't have occurred. Could you kindly provide a feedback archive if you have one? What version of mariadb is installed on the server? |
No sorry, dont have the archive. MariaDB10.4 was installed. |
Hmm, I've checked versions 10.3 and 10.11 yesterday.
Could you also please share the /etc/httpd/conf/plesk.conf.d/webmails/gh49.nl_webmail.conf config file, so I could address the problem as well. |
mariadb.repo file : [mariadb-main] [mariadb-maxscale] [mariadb-tools] |
#ATTENTION! #DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
|
Thank you! I'll investigate it as soon as possible |
the mariadb that was installed after the upgrade came from the alma repo, thats what i saw. So maybe there are mistakes in the repo file or something ? |
It could be an issue related to repository mapping. Typically, we should be using the same MariaDB repository but for a different distribution, likely RHEL 8 in this case. However, if such a repository doesn't exist, Leapp might map MariaDB packages to those from the Alma repository. |
Regarding the mariadb.repo, it appears that the repository URLs are no longer accessible. I've checked both "https://dlm.mariadb.com/repo/mariadb-server/10.4/yum/rhel/7/x86_64" and "https://dlm.mariadb.com/repo/maxscale/latest/yum/rhel/7/x86_64," and both of them return a 404 error. In theory, we could implement a check for all the repositories used within the scope of the conversion to prevent the removal of MariaDB. |
During the upgrade i seem to get an error from the bind config check without a plausible error.
2023-08-23 11:17:05,857 - INFO - ====> * check_bind
2023-08-23 11:17:05,858 - INFO - Actor parsing BIND configuration and checking for known issues in it.
2023-08-23 11:17:05,998 - INFO - Process Process-367:
2023-08-23 11:17:05,998 - INFO - Traceback (most recent call last):
2023-08-23 11:17:05,998 - INFO - File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
2023-08-23 11:17:05,998 - INFO - self.run()
2023-08-23 11:17:05,998 - INFO - File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
2023-08-23 11:17:05,998 - INFO - self._target(*self._args, **self._kwargs)
2023-08-23 11:17:05,998 - INFO - File "/usr/lib/python2.7/site-packages/leapp/repository/actor_definition.py", line 72, in _do_run
2023-08-23 11:17:05,998 - INFO - actor_instance.run(*args, **kwargs)
2023-08-23 11:17:05,998 - INFO - File "/usr/lib/python2.7/site-packages/leapp/actors/init.py", line 290, in run
2023-08-23 11:17:05,998 - INFO - self.process(*args)
2023-08-23 11:17:05,998 - INFO - File "/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/actors/checkbind/actor.py", line 32, in process
2023-08-23 11:17:05,998 - INFO - facts = iscmodel.get_facts('/etc/named.conf')
2023-08-23 11:17:05,998 - INFO - File "/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/actors/checkbind/libraries/iscmodel.py", line 81, in get_facts
2023-08-23 11:17:05,998 - INFO - parser.walk(cfg.root_section(), find_calls, state)
2023-08-23 11:17:05,999 - INFO - File "/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/libraries/isccfg.py", line 879, in walk
2023-08-23 11:17:05,999 - INFO - for statement in it:
2023-08-23 11:17:05,999 - INFO - File "/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/libraries/isccfg.py", line 223, in next
2023-08-23 11:17:05,999 - INFO - statement = next(self.iter)
2023-08-23 11:17:05,999 - INFO - File "/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/libraries/isccfg.py", line 181, in next
2023-08-23 11:17:05,999 - INFO - val = self.parser.find_next_key(cfg, index, self.section.end)
2023-08-23 11:17:05,999 - INFO - File "/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/libraries/isccfg.py", line 689, in find_next_key
2023-08-23 11:17:05,999 - INFO - while istr[index] in self.CHAR_KEYWORD and index < end_index:
2023-08-23 11:17:05,999 - INFO - IndexError: string index out of range
The text was updated successfully, but these errors were encountered: