I have a bug with apache restart and need your help.
Server: VPS with Debian Jessie
i-mscp: 1.3.14
When I try to restart my apache, there are some error message
Code
- Feb 23 06:25:04 server1 systemd[1]: Reloading LSB: Apache2 web server.Feb 23 06:25:04 server1 apache2[20905]: Reloading web server: apache2 failed!Feb 23 06:25:04 server1 apache2[20905]: The apache2 configtest failed. Not doing anything. ... (warning).Feb 23 06:25:04 server1 apache2[20905]: Output of config test was:Feb 23 06:25:04 server1 apache2[20905]: apache2: Syntax error on line 219 of /etc/apache2/apache2.conf: Syntax error on line 20 of /etc/apache2/sites-enabled/00_names...ne too longFeb 23 06:25:04 server1 apache2[20905]: Action 'configtest' failed.Feb 23 06:25:04 server1 apache2[20905]: The Apache error log may have more information.Feb 23 06:25:04 server1 systemd[1]: apache2.service: control process exited, code=exited status=1Feb 23 06:25:04 server1 systemd[1]: Reload failed for LSB: Apache2 web server.Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
So I found the file /etc/apache2/sites-enabled/00_nameserver.conf and it's realy contain lof ot "interesting" char in line 20
Code
- # Prevent www-data to access the entire file system and set default
- #A<U+0083>Â<U+0083>A<U+0082>Â<U+0083>A<U+0083>Â<U+0082>A<U+0082>Â<U+0083>A<U+0083>Â<U+0083>A<U+0082>Â<U+0082>A<U+0083>Â<U+0082>A<U+0082>Â<U+0083>A<U+0083>Â<U+0083>A<U+0082>Â<U+0083>A<U+0083>Â<U+0082>A<U+0082>Â<U+0082>A<U+0083>Â<U+0083>A<U+0082>Â<U+0082>A<U+0083>Â<U+0082>A<U+0082>Â<U+0083>A<U+0083>Â<U+0083>A<U+0082>Â<U+0083>A<U+0083>Â<U+0082>A<U+0082>Â
I can't modify this file, and can't copy it to other folder.
Can I regenerate this file somehow with the i-mscp panel?
Now I can't restart/reload my apache and new client's sites not working.
Thank you for your suggestions!