ish-app / ish

Linux shell for iOS
https://ish.app
Other
16.58k stars 871 forks source link

ifquery: could not parse /etc/network/interfaces (Apache and proftpd) #2076

Open freebrowser1 opened 1 year ago

freebrowser1 commented 1 year ago

When starting Apache I get this message:

:~# rc-service apache2 start
grep: /proc/filesystems: No such file or directory
 * Checking local filesystems  ...                                                                                                                                                       [ ok ]
grep: /proc/filesystems: No such file or directory
grep: /proc/filesystems: No such file or directory
 * Remounting filesystems ...                                                                                                                                                            [ ok ]
grep: /proc/filesystems: No such file or directory
grep: /proc/filesystems: No such file or directory
 * Mounting local filesystems ...                                                                                                                                                        [ ok ]
grep: /proc/filesystems: No such file or directory
grep: /proc/filesystems: No such file or directory
 * Starting networking ...
ifquery: could not parse /etc/network/interfaces
 * ERROR: networking failed to start
 * ERROR: cannot start apache2 as networking would not start

The same occurs when I start proftpd while sshd runs normally:

~# rc-service proftpd start
grep: /proc/filesystems: No such file or directory
 * Starting networking ...
ifquery: could not parse /etc/network/interfaces
 * ERROR: networking failed to start
 * ERROR: cannot start proftpd as networking would not start

It appears that a file is missing, but when I look at my Ubuntu in /etc/networks, then this file is missing as well, but Apache does not complain about this.

I tried starting networkmanager:

~# rc-service networkmanager start
 * rc-service: service `networkmanager' does not exist

Then I installed it apk add networkmanager but to no avail. Same issue.

freebrowser1 commented 1 year ago

Update: A workaround:

touch /etc/network/interfaces

creates an empty file and then Apache does start (albeit with some errors, but it runs).