WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Can't start apache service  (Read 822 times)

Offline Adam

  • Full Member
  • ***
  • Posts: 121
Can't start apache service
« 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:~$

Offline andyj

  • Sr. Member
  • ****
  • Posts: 476
Re: Can't start apache service
« Reply #1 on: February 23, 2017, 02:42:28 AM »
What version TC and CPU is this for?

Offline Adam

  • Full Member
  • ***
  • Posts: 121
Re: Can't start apache service
« Reply #2 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.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1576
Re: Can't start apache service
« Reply #3 on: February 24, 2017, 05:48:04 AM »
Code: [Select]
version; getBuild
Download a copy and keep it handy: Core book ;)

Offline Adam

  • Full Member
  • ***
  • Posts: 121
Re: Can't start apache service
« Reply #4 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:~$

Offline andyj

  • Sr. Member
  • ****
  • Posts: 476
Re: Can't start apache service
« Reply #5 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)?