Starting apache2 fails because of authpuppy settings
I edited the apache2 default folder ( /etc/apache2/
and replaced with :
I use this configuration because authpuppy directory is in the apache's root (/var/www) or i have commit a mistake?
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName authpuppy.localhost
ServerAlias authpuppy.test
DocumentRoot /var/www/
DirectoryIndex index.php
<Directory /var/www/
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
Alias /sf /var/www/
<Directory "/var/www/
AllowOverride All
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwne
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
=======
Was this code supposed to be replaced with the default apache2 file or a new file should've been created and under what name ? Because when i replaced the default codes apache2 could run and i dont see any errors in the code which i replaced with the original since i got it from this site.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- AuthPuppy Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Asoh Frank Senior
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
It should work ok. What does apache say when it fails. Check the log files, directory /var/log/
Revision history for this message
|
#2 |
[Sat Dec 22 18:47:01 2012] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
[Sat Dec 22 23:24:35 2012] [notice] caught SIGTERM, shutting down
[Sun Jan 01 00:01:02 2006] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
[Tue Feb 12 11:40:01 2013] [notice] caught SIGTERM, shutting down
[Sun Jan 01 01:52:34 2006] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
[Tue Feb 12 13:07:12 2013] [notice] caught SIGTERM, shutting down
[Sun Jan 01 03:19:40 2006] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
[Tue Feb 12 13:32:23 2013] [notice] caught SIGTERM, shutting down
[Sun Jan 01 03:44:46 2006] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
[Sun Jan 01 04:04:46 2006] [notice] caught SIGTERM, shutting down
[Sun Jan 01 00:00:37 2006] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
[Sun Jan 01 00:27:22 2006] [notice] caught SIGTERM, shutting down
[Sun Jan 01 00:28:19 2006] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
[Sun Jan 01 01:03:49 2006] [notice] caught SIGTERM, shutting down
[Sun Jan 01 01:04:49 2006] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
[Wed Feb 13 13:44:56 2013] [notice] caught SIGTERM, shutting down
[Sun Jan 01 00:00:38 2006] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-12 configured -- resuming normal operations
[Thu Feb 14 09:31:15 2013] [error] [client 127.0.0.1] script '/var/www/
[Thu Feb 14 09:37:21 2013] [error] [client 192.168.1.1] script '/var/www/
[Thu Feb 14 09:37:37 2013] [error] [client 127.0.0.1] script '/var/www/
[Thu Feb 14 09:52:16 2013] [notice] caught SIGTERM, shutting down
[Sun Jan 01 01:31:51 2006] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-12 configured -- resuming normal operations
[Thu Feb 14 12:05:28 2013] [notice] caught SIGTERM, shutting down
(2)No such file or directory: apache2: could not open error log file /var/log/
Unable to open logs
(2)No such file or directory: apache2: could not open error log file /var/log/
Unable to open logs
(2)No such file or directory: apache2: could not open error log file /var/log/
Unable to open logs
(2)No such file or directory: apache2: could not open error log file /var/log/
Unable to open logs
(2)No such file or directory: apache2: could not open error log file /var/log/
Revision history for this message
|
#3 |
Just to add, I have this in my /etc/hosts
127.0.0.1 localhost.local localhost voyage
192.168.1.1 authpuppy.localhost
I dont know if that is correct. Please could you advice ?
Revision history for this message
|
#4 |
Read my previous message. Just make sure the log file really exists and is writeable by apache
Revision history for this message
|
#5 |
Hi, The file exists and this is my output : from var/log/
[Sat Dec 22 18:47:01 2012] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
[Sat Dec 22 23:24:35 2012] [notice] caught SIGTERM, shutting down
[Sun Jan 01 00:01:02 2006] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
[Tue Feb 12 11:40:01 2013] [notice] caught SIGTERM, shutting down
[Sun Jan 01 01:52:34 2006] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
[Tue Feb 12 13:07:12 2013] [notice] caught SIGTERM, shutting down
[Sun Jan 01 03:19:40 2006] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
[Tue Feb 12 13:32:23 2013] [notice] caught SIGTERM, shutting down
[Sun Jan 01 03:44:46 2006] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
[Sun Jan 01 04:04:46 2006] [notice] caught SIGTERM, shutting down
[Sun Jan 01 00:00:37 2006] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
[Sun Jan 01 00:27:22 2006] [notice] caught SIGTERM, shutting down
[Sun Jan 01 00:28:19 2006] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
[Sun Jan 01 01:03:49 2006] [notice] caught SIGTERM, shutting down
[Sun Jan 01 01:04:49 2006] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
[Wed Feb 13 13:44:56 2013] [notice] caught SIGTERM, shutting down
[Sun Jan 01 00:00:38 2006] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-12 configured -- resuming normal operations
[Thu Feb 14 09:31:15 2013] [error] [client 127.0.0.1] script '/var/www/
[Thu Feb 14 09:37:21 2013] [error] [client 192.168.1.1] script '/var/www/
[Thu Feb 14 09:37:37 2013] [error] [client 127.0.0.1] script '/var/www/
[Thu Feb 14 09:52:16 2013] [notice] caught SIGTERM, shutting down
[Sun Jan 01 01:31:51 2006] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-12 configured -- resuming normal operations
[Thu Feb 14 12:05:28 2013] [notice] caught SIGTERM, shutting down
(2)No such file or directory: apache2: could not open error log file /var/log/
Unable to open logs
(2)No such file or directory: apache2: could not open error log file /var/log/
Unable to open logs
(2)No such file or directory: apache2: could not open error log file /var/log/
Unable to open logs
(2)No such file or directory: apache2: could not open error log file /var/log/
Unable to open logs
(2)No such file or directory: apache2: could not open error log file /var/log/
Unable to open logs
(2)No such file or directory: apache2: could not open error log file /var/log/
Unable to open logs
(2)No such file or directory: apache2: could not open error log file /var/log/
Unable to open logs
(2)No such file or directory: apache2: could not open error log file /var/log/
Unable to open logs
=======
This is the permission. Is it correct ? if not how to authorize apache to take full control ?
ls -l error.log
-rw-r----- 1 root adm 10025 Feb 15 18:26 error.log
Revision history for this message
|
#6 |
more from the logs
[Fri Feb 15 18:15:44 2013] [error] [client 127.0.0.1] File does not exist: /var/www/admin
[Fri Feb 15 18:15:49 2013] [error] [client 192.168.1.1] File does not exist: /var/www/ping
[Fri Feb 15 18:16:01 2013] [error] [client 127.0.0.1] File does not exist: /var/www/admin
[Fri Feb 15 18:16:41 2013] [error] [client 192.168.1.1] File does not exist: /var/www/
[Fri Feb 15 18:16:49 2013] [error] [client 192.168.1.1] File does not exist: /var/www/ping
[Fri Feb 15 18:16:52 2013] [error] [client 192.168.1.1] File does not exist: /var/www/index.php
[Fri Feb 15 18:17:49 2013] [error] [client 192.168.1.1] File does not exist: /var/www/ping
[Fri Feb 15 18:18:49 2013] [error] [client 192.168.1.1] File does not exist: /var/www/ping
[Fri Feb 15 18:19:49 2013] [error] [client 192.168.1.1] File does not exist: /var/www/ping
[Fri Feb 15 18:20:49 2013] [error] [client 192.168.1.1] File does not exist: /var/www/ping
[Fri Feb 15 18:21:46 2013] [error] [client 192.168.1.2] File does not exist: /var/www/
[Fri Feb 15 18:21:49 2013] [error] [client 192.168.1.1] File does not exist: /var/www/ping
[Fri Feb 15 18:22:10 2013] [error] [client 192.168.1.2] File does not exist: /var/www/
[Fri Feb 15 18:22:39 2013] [error] [client 192.168.1.2] File does not exist: /var/www/
[Fri Feb 15 18:22:41 2013] [error] [client 192.168.1.2] File does not exist: /var/www/
[Fri Feb 15 18:22:49 2013] [error] [client 192.168.1.1] File does not exist: /var/www/ping
[Fri Feb 15 18:23:08 2013] [error] [client 192.168.1.2] File does not exist: /var/www/index.php
[Fri Feb 15 18:23:08 2013] [error] [client 192.168.1.2] File does not exist: /var/www/
[Fri Feb 15 18:23:10 2013] [error] [client 192.168.1.2] File does not exist: /var/www/index.php
[Fri Feb 15 18:23:11 2013] [error] [client 192.168.1.2] File does not exist: /var/www/
[Fri Feb 15 18:23:21 2013] [error] [client 192.168.1.2] File does not exist: /var/www/
[Fri Feb 15 18:23:21 2013] [error] [client 192.168.1.2] File does not exist: /var/www/
[Fri Feb 15 18:25:45 2013] [notice] SIGUSR1 received. Doing graceful restart
(2)No such file or directory: apache2: could not open error log file /var/log/
Unable to open logs
(2)No such file or directory: apache2: could not open error log file /var/log/
Unable to open logs
(2)No such file or directory: apache2: could not open error log file /var/log/
Unable to open logs
Revision history for this message
|
#7 |
I changed the path as you suggested and now apache2 runs smoothly ! Thanks.
Please when i open : links http://
+++++++
root@voyage:
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@localhost and inform them of the time the error
occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
--
Apache/2.2.22 (Debian) Server at authpuppy.localhost Port 80
+++++++
However authpuppy.localhost doesnt open in the nodes in my network but by using its IP (192.168.1.1), i get the same error as above 500.
This is the output of what i get from wifi -d -f 7 when i try to connect a node to the server
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:55 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[5][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[6][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[6][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[6][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[6][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
User-Agent: WiFiDog 20090925
Host: authpuppy.localhost
]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
[7][Wed Apr 1 07:20:56 2020][4100]
Date: Wed, 01 Apr 2020 07:20:56 GMT
Server: Apache/2.2.22 (Debian)
Vary: Accept-Encoding
Content-Length: 624
Connection: close
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
webmaster@
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<hr>
<address>
</body></html>
]
[4][Wed Apr 1 07:20:56 2020][4100]
[6][Wed Apr 1 07:21:19 2020][4100]
[7][Wed Apr 1 07:21:19 2020][4100]
[7][Wed Apr 1 07:21:19 2020][4100]
[6][Wed Apr 1 07:21:28 2020][4100]
[7][Wed Apr 1 07:21:28 2020][4100]
[7][Wed Apr 1 07:21:28 2020][4100]
[6][Wed Apr 1 07:21:30 2020][4100]
[7][Wed Apr 1 07:21:30 2020][4100]
[7][Wed Apr 1 07:21:30 2020][4100]
[6][Wed Apr 1 07:21:31 2020][4100]
[7][Wed Apr 1 07:21:31 2020][4100]
[7][Wed Apr 1 07:21:31 2020][4100]
[6][Wed Apr 1 07:21:31 2020][4100]
[7][Wed Apr 1 07:21:31 2020][4100]
[7][Wed Apr 1 07:21:31 2020][4100]
[6][Wed Apr 1 07:21:32 2020][4100]
[7][Wed Apr 1 07:21:32 2020][4100]
[7][Wed Apr 1 07:21:32 2020][4100]
[6][Wed Apr 1 07:21:34 2020][4100]
[7][Wed Apr 1 07:21:34 2020][4100]
[7][Wed Apr 1 07:21:34 2020][4100]
Revision history for this message
|
#8 |
You'll have a more verbose error message by running authpuppy with debug option: authpuppy.
For instance, given your wifidog output, try from your browser
http://
You'll see what the error is and maybe find how to correct it
Revision history for this message
|
#9 |
Hi, i cant even get a more verbose error with that attempt.
On my nodes browser, i get :
+++++++
This is chrome below. But i test on both chrome and IE(on IE i get 404 error)
Not Found
The requested URL /frontend_
Apache/2.2.22 (Debian) Server at authpuppy.localhost Port 80
+++++++
For my Internal Interface (wifi0) dns is 8.8.8.8 8.8.4.4 . My IPs for both External and Internal are static.
+++++++
But i try the URL you gave me on the box terminal itself using "links" it gives such response :
[2] 4130
[3] 4131
[4] 4132
[5] 4133
[3] Done sys_uptime=2799
[4] Done sys_memfree=138784
+++++++
Could it be just a something i am missing ? been working on these for 3 days.Any tips will be appreciated.
Revision history for this message
|
#10 |
Wow, i think i had a problem with my apache and its dependencies. I did a clean install again and i got this output after typing links 192.168.1.1 .
dpkg: warning: files list file for package 'apache2-utils' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'initscripts' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'pgadmin3-data' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'apache2-
dpkg: warning: files list file for package 'postfix' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'postgresql-
dpkg: warning: files list file for package 'postgresql-
dpkg: warning: files list file for package 'apache2-doc' missing; assuming package has no files currently installed
(Reading database ... 27021 files and directories currently installed.)
Preparing to replace util-linux 2.20.1-5.2 (using .../util-
insserv: warning: script 'portald' missing LSB tags and overrides
insserv: warning: script 'proxy.sh' missing LSB tags and overrides
insserv: There is a loop between service nocatsplash and portald if stopped
insserv: loop involving service portald at depth 2
insserv: loop involving service nocatsplash at depth 1
insserv: Stopping proxy.sh depends on nocatsplash and therefore on system facility `$all' which can not be true!
insserv: Stopping portald depends on nocatsplash and therefore on system facility `$all' which can not be true!
insserv: Stopping proxy.sh depends on nocatsplash and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing /var/cache/
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
root@voyage:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 41 not upgraded.
root@voyage:
root@voyage:~# service apache2 start
[....] Starting web server: apache2httpd (pid 12904) already running
. ok
root@voyage:~# links 192.168.1.1
This is the default web page for this server.
The web server software is running but no content has been added, yet.
OK
root@voyage:~# links authpuppy.localhost
root@voyage:~# cd /etc/apache2/
root@voyage:
000-default
root@voyage:
000-default
root@voyage:
root@voyage:
root@voyage:
000-default default
root@voyage:
root@voyage:
root@voyage:
root@voyage:~# service apache2 re
reload restart
root@voyage:~# service apache2 restart
[ ok ] Restarting web server: apache2 ... waiting .
root@voyage:~# links 192.168.1.1
This is the default web page for this server.
The web server software is running but no content has been added, yet.
OK
root@voyage:~# links authpuppy.localhost
root@voyage:~# cd /etc/apache2/
root@voyage:
000-default default
root@voyage:
root@voyage:
root@voyage:~# service apache2 restart
[ ok ] Restarting web server: apache2 ... waiting .
root@voyage:~# links 192.168.1.1
Welcome to authPuppy. Before getting started, we need some information on
the database. You will need to know the following items before proceeding.
1. Database name
2. Database username
3. Database password
4. Database host
In all likelihood, these items were supplied to you by your Web Host. If
you do not have this information, then you will need to contact them
before you can continue. If you're all ready...
[ Let's go! ]
Image http://
+++++++
Does this mean that i am now on track ?
Revision history for this message
|
#11 |
Presently, i can see the network Login and Administrative Login page.
But when i click on any of them, i get a webpage cannot be found error.
.......
When i use this link you provided, http://
I get
Warning: ob_start(): function "not found or invalid name in /var/www/
Notice: ob_start(): failed to create buffer in /var/www/
_______
But it was the link above which you provided help me to go through the installation phase ; i even created an admin etc. But now it just wont work anymore after i logout of the admin page.
Also i will like to ask, when adding a node, what is gw id ?
And I dont get a redirect to the login page when accessing e.g google.com i just get page not displayed error. Isnt there redirection ?
Thank you.
Revision history for this message
|
#12 |
Presently, i can see the network Login and Administrative Login page.
But when i click on any of them, i get a webpage cannot be found error.
.......
When i use this link you provided, http://
I get
Warning: ob_start(): function "not found or invalid name in /var/www/
Notice: ob_start(): failed to create buffer in /var/www/
_______
But it was the link above which you provided help me to go through the installation phase ; i even created an admin etc. But now it just wont work anymore after i logout of the admin page.
Also i will like to ask, when adding a node, what is gw id ?
And I dont get a redirect to the login page when accessing e.g google.com i just get page not displayed error. Isnt there redirection ?
Thank you.
Revision history for this message
|
#13 |
Also on my terminal after running wifidog -f -d 7,
all is get is
Invalid request path ' '
Revision history for this message
|
#14 |
Since this question doesn't correspond to the thread i created a new thread. Thank you.