Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: Adam on February 22, 2017, 08:29:13 PM

Title: Can't start apache service
Post by: Adam on February 22, 2017, 08:29:13 PM
Hi,

Has anyone experienced this problem before? Please let me know how to fix this. Thanks

Error Message
Code: [Select]
tc@box:~$ sudo apachectl -k start
httpd: Syntax error on line 66 of /usr/local/etc/httpd/httpd.conf: Cannot load modules/mod_authn_file.so into server: /usr/local/apache2/modules/mod_authn_file.so: undefined symbol: ap_log_rerror
tc@box:~$

line 66 of /usr/local/etc/httpd/httpd.conf
Code: [Select]
LoadModule authn_file_module modules/mod_authn_file.so
- /usr/local/etc/httpd/httpd.conf [Readonly] 66/506 13%

Code: [Select]
tc@box:~$ ls -lh /usr/local/apache2/modules/mod_authn_file.so
lrwxrwxrwx    1 root     root          63 Feb 23 04:18 /usr/local/apache2/modules/mod_authn_file.so -> /tmp/tcloop/apache2/usr/local/apache2/modules/mod_authn_file.so
tc@box:~$ file /usr/local/apache2/modules/mod_authn_file.so
/usr/local/apache2/modules/mod_authn_file.so: symbolic link to /tmp/tcloop/apache2/usr/local/apache2/modules/mod_authn_file.so
tc@box:~$
Title: Re: Can't start apache service
Post by: andyj on February 23, 2017, 02:42:28 AM
What version TC and CPU is this for?
Title: Re: Can't start apache service
Post by: Adam on February 24, 2017, 05:21:29 AM
What version TC and CPU is this for?

I downloaded this from this link
http://distro.ibiblio.org/tinycorelinux/7.x/x86/release/Core-current.iso

I believe it's version 7.2

If there is a specific command to check this, please let me know and I'll execute it.
Title: Re: Can't start apache service
Post by: Misalf on February 24, 2017, 05:48:04 AM
Code: [Select]
version; getBuild
Title: Re: Can't start apache service
Post by: Adam on February 24, 2017, 06:53:18 AM
Code: [Select]
version; getBuild

Thanks Misalf  :)
Should you require further info, please let me know
Code: [Select]
tc@box:~$ version; getBuild
7.2
x86
tc@box:~$
Title: Re: Can't start apache service
Post by: andyj on February 24, 2017, 08:43:21 PM
I can't reproduce the error, it works for me on both 32 and 64 bit. Are your extensions up to date (tce-update)?