Cannot access sen2agri web interface after logging in using default values


#1

Hi all!

I successfully uninstalled 1.6 and installed the newer version (1.7).

However, after entering the default username and password (sen2agri) in the web interface (http://locahost/login.php) I have a blank page.

The URL shows this: http://localhost/verifyLogin.php

Thank you.

Brent


#2

Does sudo cat /var/log/httpd/error_log say anything about a missing sp_authenticate function?


#3

Hello,

Here are the details of the command:

[Sun Dec 10 03:16:04.045004 2017] [auth_digest:notice] [pid 4522] AH01757: generating secret for digest authentication …
[Sun Dec 10 03:16:04.045385 2017] [lbmethod_heartbeat:notice] [pid 4522] AH02282: No slotmem from mod_heartmonitor
[Sun Dec 10 03:16:04.624218 2017] [mpm_prefork:notice] [pid 4522] AH00163: Apache/2.4.6 (CentOS) PHP/7.0.26 configured – resuming normal operations
[Sun Dec 10 03:16:04.624239 2017] [core:notice] [pid 4522] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’
[Sun Dec 10 07:39:34.569458 2017] [:error] [pid 1839] [client 212.87.33.43:59744] script ‘/var/www/html/wp-login.php’ not found or unable to stat
[Sun Dec 10 11:44:08.432151 2017] [:error] [pid 16460] [client 185.2.81.90:43932] script ‘/var/www/html/xmlrpc.php’ not found or unable to stat

There are no log details on sp_authenticate_ function.
Is this problem connected to the file directory of “/mnt/”…? I transferred it to “/home/mnt…” since the mount point of “/home/” is bigger than the root.

Regards,
Brent


#4

Hi,

I see no errors there in your log fragment. Can you please open the site and try to log in, then attach the full log web server log (error.log and access.log in the same directory), the output of systemctl and that of journalctl --since today?


#5

We usually recommend making symlinks for that, but it shouldn’t affect the login functionality.


#6

Hi,
This is the error log:
[Sun Dec 10 03:16:04.045004 2017] [auth_digest:notice] [pid 4522] AH01757: generating secret for digest authentication …
[Sun Dec 10 03:16:04.045385 2017] [lbmethod_heartbeat:notice] [pid 4522] AH02282: No slotmem from mod_heartmonitor
[Sun Dec 10 03:16:04.624218 2017] [mpm_prefork:notice] [pid 4522] AH00163: Apache/2.4.6 (CentOS) PHP/7.0.26 configured – resuming normal operations
[Sun Dec 10 03:16:04.624239 2017] [core:notice] [pid 4522] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’
[Sun Dec 10 07:39:34.569458 2017] [:error] [pid 1839] [client 212.87.33.43:59744] script ‘/var/www/html/wp-login.php’ not found or unable to stat
[Sun Dec 10 11:44:08.432151 2017] [:error] [pid 16460] [client 185.2.81.90:43932] script ‘/var/www/html/xmlrpc.php’ not found or unable to stat
[Mon Dec 11 11:53:23.852115 2017] [:error] [pid 16460] [client 127.0.0.1:36948] PHP Fatal error: Uncaught Error: Call to undefined function split() in /var/www/html/verifyLogin.php:19\nStack trace:\n#0 /var/www/html/verifyLogin.php(38): SignIn()\n#1 {main}\n thrown in /var/www/html/verifyLogin.php on line 19, referer: http://localhost/login.php
[Mon Dec 11 12:02:18.594523 2017] [:error] [pid 1840] [client 127.0.0.1:38336] PHP Fatal error: Uncaught Error: Call to undefined function split() in /var/www/html/verifyLogin.php:19\nStack trace:\n#0 /var/www/html/verifyLogin.php(38): SignIn()\n#1 {main}\n thrown in /var/www/html/verifyLogin.php on line 19, referer: http://localhost/login.php
[Tue Dec 12 01:39:31.428647 2017] [:error] [pid 1839] [client 104.130.163.241:35882] script ‘/var/www/html/wp-login.php’ not found or unable to stat
[Tue Dec 12 15:28:04.183550 2017] [:error] [pid 1840] [client 94.102.49.4:33570] script ‘/var/www/html/scripts/setup.php’ not found or unable to stat
[Wed Dec 13 15:50:28.797638 2017] [cgi:error] [pid 16460] [client 188.165.29.35:45262] script not found or unable to stat: /var/www/cgi-bin/php
[Wed Dec 13 18:19:05.811467 2017] [:error] [pid 14446] [client 127.0.0.1:33646] PHP Fatal error: Uncaught Error: Call to undefined function split() in /var/www/html/verifyLogin.php:19\nStack trace:\n#0 /var/www/html/verifyLogin.php(38): SignIn()\n#1 {main}\n thrown in /var/www/html/verifyLogin.php on line 19, referer: http://localhost/login.php
[Wed Dec 13 18:47:16.786097 2017] [mpm_prefork:notice] [pid 4522] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Dec 13 21:00:16.033676 2017] [suexec:notice] [pid 6180] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server’s fully qualified domain name, using 2a01:4f8:13b:3a0e::2. Set the ‘ServerName’ directive globally to suppress this message
[Wed Dec 13 21:00:16.045373 2017] [auth_digest:notice] [pid 6180] AH01757: generating secret for digest authentication …
[Wed Dec 13 21:00:16.045692 2017] [lbmethod_heartbeat:notice] [pid 6180] AH02282: No slotmem from mod_heartmonitor
[Wed Dec 13 21:00:16.169001 2017] [mpm_prefork:notice] [pid 6180] AH00163: Apache/2.4.6 (CentOS) PHP/7.0.26 configured – resuming normal operations
[Wed Dec 13 21:00:16.169056 2017] [core:notice] [pid 6180] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’
[Wed Dec 13 21:09:21.305115 2017] [:error] [pid 6183] [client 127.0.0.1:59272] PHP Fatal error: Uncaught Error: Call to undefined function split() in /var/www/html/verifyLogin.php:19\nStack trace:\n#0 /var/www/html/verifyLogin.php(38): SignIn()\n#1 {main}\n thrown in /var/www/html/verifyLogin.php on line 19, referer: http://localhost/login.php
[Wed Dec 13 21:09:26.744848 2017] [:error] [pid 6185] [client 127.0.0.1:59296] PHP Fatal error: Uncaught Error: Call to undefined function split() in /var/www/html/verifyLogin.php:19\nStack trace:\n#0 /var/www/html/verifyLogin.php(38): SignIn()\n#1 {main}\n thrown in /var/www/html/verifyLogin.php on line 19, referer: http://localhost/login.php
[Wed Dec 13 21:09:50.601478 2017] [:error] [pid 6188] [client 127.0.0.1:59368] PHP Fatal error: Uncaught Error: Call to undefined function split() in /var/www/html/verifyLogin.php:19\nStack trace:\n#0 /var/www/html/verifyLogin.php(38): SignIn()\n#1 {main}\n thrown in /var/www/html/verifyLogin.php on line 19, referer: http://localhost/login.php
[Thu Dec 14 11:23:02.117801 2017] [:error] [pid 6188] [client 127.0.0.1:48788] PHP Fatal error: Uncaught Error: Call to undefined function split() in /var/www/html/verifyLogin.php:19\nStack trace:\n#0 /var/www/html/verifyLogin.php(38): SignIn()\n#1 {main}\n thrown in /var/www/html/verifyLogin.php on line 19, referer: http://localhost/login.php
[Thu Dec 14 11:24:18.877269 2017] [:error] [pid 6189] [client 127.0.0.1:49058] PHP Fatal error: Uncaught Error: Call to undefined function split() in /var/www/html/verifyLogin.php:19\nStack trace:\n#0 /var/www/html/verifyLogin.php(38): SignIn()\n#1 {main}\n thrown in /var/www/html/verifyLogin.php on line 19, referer: http://localhost/login.php

(I need to post the logs in separate replied due to character limits)


#7

acccess_log outputs:
212.87.33.43 - - [10/Dec/2017:07:39:04 +0800] “GET /status?full=true HTTP/1.1” 404 204 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:07 +0800] “GET / HTTP/1.1” 302 - “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:08 +0800] “GET /login.php HTTP/1.1” 200 3394 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:08 +0800] “GET /script HTTP/1.1” 404 204 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:09 +0800] “GET /jenkins/script HTTP/1.1” 404 212 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:10 +0800] “GET /login HTTP/1.1” 404 203 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:11 +0800] “GET /jmx-console HTTP/1.1” 404 209 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:11 +0800] “GET /manager/html HTTP/1.1” 404 210 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:12 +0800] “GET / HTTP/1.1” 302 - “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:12 +0800] “GET /login.php HTTP/1.1” 200 3394 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:15 +0800] “GET //administrator HTTP/1.1” 404 211 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:15 +0800] “GET /joomla/administrator HTTP/1.1” 404 218 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:15 +0800] “GET /cms/administrator HTTP/1.1” 404 215 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:16 +0800] “GET /Joomla/administrator HTTP/1.1” 404 218 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:16 +0800] “GET /msd HTTP/1.1” 404 201 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:17 +0800] “GET /mySqlDumper HTTP/1.1” 404 209 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:18 +0800] “GET /msd1.24stable HTTP/1.1” 404 211 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:19 +0800] “GET /msd1.24.4 HTTP/1.1” 404 207 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:19 +0800] “GET /mysqldumper HTTP/1.1” 404 209 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:19 +0800] “GET /MySQLDumper HTTP/1.1” 404 209 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:20 +0800] “GET /mysql HTTP/1.1” 404 203 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:22 +0800] “GET /sql HTTP/1.1” 404 201 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:22 +0800] “GET /dumper HTTP/1.1” 404 204 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:23 +0800] “GET /MySQL HTTP/1.1” 404 203 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:24 +0800] “GET /phpmyadmin HTTP/1.1” 404 208 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:24 +0800] “GET /phpMyAdmin HTTP/1.1” 404 208 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:24 +0800] “GET /mysql HTTP/1.1” 404 203 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:25 +0800] “GET /sql HTTP/1.1” 404 201 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:25 +0800] “GET /myadmin HTTP/1.1” 404 205 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:26 +0800] “GET /phpMyAdmin-4.2.1-all-languages HTTP/1.1” 404 228 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:26 +0800] “GET /phpMyAdmin-4.2.1-english HTTP/1.1” 404 222 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:28 +0800] “GET /xampp/phpmyadmin HTTP/1.1” 404 214 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:28 +0800] “GET /typo3/phpmyadmin HTTP/1.1” 404 214 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:28 +0800] “GET /webadmin HTTP/1.1” 404 206 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:29 +0800] “GET / HTTP/1.1” 302 - “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:29 +0800] “GET /login.php HTTP/1.1” 200 3394 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:30 +0800] “GET /sqlite/main.php HTTP/1.1” 404 213 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:30 +0800] “GET /SQLite/SQLiteManager-1.2.4/main.php HTTP/1.1” 404 233 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:31 +0800] “GET /SQLiteManager-1.2.4/main.php HTTP/1.1” 404 226 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:31 +0800] “GET /sqlitemanager/main.php HTTP/1.1” 404 220 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:32 +0800] “GET /SQlite/main.php HTTP/1.1” 404 213 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:32 +0800] “GET /SQLiteManager/main.php HTTP/1.1” 404 220 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:33 +0800] “GET /webdav HTTP/1.1” 404 204 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:33 +0800] “GET / HTTP/1.1” 302 - “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:34 +0800] “GET /login.php HTTP/1.1” 200 3394 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:34 +0800] “GET //wp-login.php HTTP/1.1” 404 210 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:34 +0800] “GET /wordpress/wp-login.php HTTP/1.1” 404 220 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:35 +0800] “GET /wp/wp-login.php HTTP/1.1” 404 213 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:35 +0800] “GET /blog/wp-login.php HTTP/1.1” 404 215 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:36 +0800] “GET /Wordpress/wp-login.php HTTP/1.1” 404 220 “-” "Python-urllib/2.7"
212.87.33.43 - - [10/Dec/2017:07:39:36 +0800] “GET /Blog/wp-login.php HTTP/1.1” 404 215 “-” "Python-urllib/2.7"
52.187.36.175 - - [10/Dec/2017:08:19:47 +0800] “GET /w00tw00t.at.ISC.SANS.DFind:) HTTP/1.1” 400 226 “-” "-"
66.70.218.233 - - [10/Dec/2017:10:45:13 +0800] “HEAD /wp-content/plugins/woocommerce/vendor/phpunit/phpunit/src/Util/Filter.php HTTP/1.1” 404 - “-” "Go-http-client/1.1"
185.2.81.90 - - [10/Dec/2017:11:44:08 +0800] “GET /xmlrpc.php HTTP/1.1” 404 208 “-” "curl/7.35.0"
191.96.249.136 - - [10/Dec/2017:11:51:07 +0800] “GET /phpmyadmin/scripts/setup.php HTTP/1.0” 404 226 “-” "-"
191.96.249.136 - - [10/Dec/2017:15:01:11 +0800] “” 400 226 “-” "-"
191.96.249.136 - - [10/Dec/2017:15:01:11 +0800] “GET /web-console/ServerInfo.jsp HTTP/1.1” 404 224 “-” "-"
104.236.158.66 - - [10/Dec/2017:19:35:06 +0800] “GET / HTTP/1.1” 302 - “-” "Mozilla/5.0 zgrab/0.x"
104.236.136.146 - - [10/Dec/2017:20:04:12 +0800] “GET / HTTP/1.1” 302 - “-” "Mozilla/5.0 zgrab/0.x"
82.202.249.91 - - [10/Dec/2017:23:31:30 +0800] “GET / HTTP/1.1” 302 - “-” "Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36"
82.202.249.91 - - [10/Dec/2017:23:31:30 +0800] “GET /login.php HTTP/1.1” 200 3394 “-” "Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36"
141.212.122.144 - - [11/Dec/2017:05:21:00 +0800] “GET /x HTTP/1.1” 400 226 “-” "Telesphoreo"
185.94.189.170 - - [11/Dec/2017:08:11:39 +0800] “GET / HTTP/1.1” 302 - “-” "curl/7.38.0"
159.203.94.245 - - [11/Dec/2017:09:18:29 +0800] “GET / HTTP/1.1” 302 - “-” "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36"
159.203.94.245 - - [11/Dec/2017:09:18:29 +0800] “GET /login.php HTTP/1.1” 200 3394 “http://94.130.129.241:80/” "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36"
173.249.2.217 - - [11/Dec/2017:10:02:24 +0800] “GET /muieblackcat HTTP/1.1” 404 210 “-” "-"
173.249.2.217 - - [11/Dec/2017:10:02:24 +0800] “GET //phpMyAdmin/scripts/setup.php HTTP/1.1” 404 226 “-” "-"
173.249.2.217 - - [11/Dec/2017:10:02:24 +0800] “GET //phpmyadmin/scripts/setup.php HTTP/1.1” 404 226 “-” "-"
173.249.2.217 - - [11/Dec/2017:10:02:24 +0800] “GET //pma/scripts/setup.php HTTP/1.1” 404 219 “-” "-"
173.249.2.217 - - [11/Dec/2017:10:02:24 +0800] “GET //myadmin/scripts/setup.php HTTP/1.1” 404 223 “-” "-"
173.249.2.217 - - [11/Dec/2017:10:02:24 +0800] “GET //MyAdmin/scripts/setup.php HTTP/1.1” 404 223 “-” "-"
221.138.103.125 - - [11/Dec/2017:10:03:37 +0800] “GET / HTTP/1.0” 302 - “-” "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)"
127.0.0.1 - - [11/Dec/2017:11:15:32 +0800] “GET /verifyLogin.php HTTP/1.1” 200 3 “Cannot access sen2agri web interface after logging in using default values” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [11/Dec/2017:11:15:32 +0800] “GET /favicon.ico HTTP/1.1” 404 209 “-” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [11/Dec/2017:11:53:17 +0800] “GET /verifyLogin.php HTTP/1.1” 200 3 “http://localhost/login.php” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [11/Dec/2017:11:53:19 +0800] “GET /verifyLogin.php HTTP/1.1” 200 3 “http://localhost/login.php” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [11/Dec/2017:11:53:21 +0800] “GET /login.php HTTP/1.1” 200 3394 “-” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [11/Dec/2017:11:53:23 +0800] “POST /verifyLogin.php HTTP/1.1” 500 3 “http://localhost/login.php” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [11/Dec/2017:11:59:19 +0800] “GET / HTTP/1.1” 302 - “-” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [11/Dec/2017:11:59:19 +0800] “GET /login.php HTTP/1.1” 200 3394 “-” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [11/Dec/2017:12:02:18 +0800] “POST /verifyLogin.php HTTP/1.1” 500 3 “http://localhost/login.php” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
13.56.229.65 - - [11/Dec/2017:14:20:02 +0800] “GET / HTTP/1.1” 302 - “-” "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36"
13.56.229.65 - - [11/Dec/2017:14:20:02 +0800] “GET /login.php HTTP/1.1” 200 3394 “http://www.esscgeo.ml/” "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36"
178.73.215.171 - - [11/Dec/2017:21:36:11 +0800] “GET / HTTP/1.0” 302 - “-” "-"
117.50.7.159 - - [11/Dec/2017:23:41:55 +0800] “GET / HTTP/1.0” 302 - “-” "-"
104.130.163.241 - - [12/Dec/2017:01:39:21 +0800] “GET /status?full=true HTTP/1.1” 404 204 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:21 +0800] “GET / HTTP/1.1” 302 - “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:22 +0800] “GET /login.php HTTP/1.1” 200 3394 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:22 +0800] “GET /script HTTP/1.1” 404 204 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:22 +0800] “GET /jenkins/script HTTP/1.1” 404 212 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:22 +0800] “GET /login HTTP/1.1” 404 203 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:22 +0800] “GET /jmx-console HTTP/1.1” 404 209 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:23 +0800] “GET /manager/html HTTP/1.1” 404 210 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:23 +0800] “GET / HTTP/1.1” 302 - “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:23 +0800] “GET /login.php HTTP/1.1” 200 3394 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:23 +0800] “GET //administrator HTTP/1.1” 404 211 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:23 +0800] “GET /joomla/administrator HTTP/1.1” 404 218 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:24 +0800] “GET /cms/administrator HTTP/1.1” 404 215 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:24 +0800] “GET /Joomla/administrator HTTP/1.1” 404 218 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:24 +0800] “GET /msd HTTP/1.1” 404 201 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:24 +0800] “GET /mySqlDumper HTTP/1.1” 404 209 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:24 +0800] “GET /msd1.24stable HTTP/1.1” 404 211 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:25 +0800] “GET /msd1.24.4 HTTP/1.1” 404 207 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:25 +0800] “GET /mysqldumper HTTP/1.1” 404 209 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:25 +0800] “GET /MySQLDumper HTTP/1.1” 404 209 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:25 +0800] “GET /mysql HTTP/1.1” 404 203 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:25 +0800] “GET /sql HTTP/1.1” 404 201 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:26 +0800] “GET /dumper HTTP/1.1” 404 204 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:26 +0800] “GET /MySQL HTTP/1.1” 404 203 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:26 +0800] “GET /mysqldump HTTP/1.1” 404 207 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:26 +0800] “GET /dump HTTP/1.1” 404 202 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:26 +0800] “GET /Dumper HTTP/1.1” 404 204 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:27 +0800] “GET /msd1.21 HTTP/1.1” 404 205 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:27 +0800] “GET /phpmyadmin HTTP/1.1” 404 208 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:27 +0800] “GET /phpMyAdmin HTTP/1.1” 404 208 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:27 +0800] “GET /mysql HTTP/1.1” 404 203 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:27 +0800] “GET /sql HTTP/1.1” 404 201 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:28 +0800] “GET /myadmin HTTP/1.1” 404 205 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:28 +0800] “GET /phpMyAdmin-4.2.1-all-languages HTTP/1.1” 404 228 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:28 +0800] “GET /phpMyAdmin-4.2.1-english HTTP/1.1” 404 222 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:28 +0800] “GET /xampp/phpmyadmin HTTP/1.1” 404 214 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:28 +0800] “GET /typo3/phpmyadmin HTTP/1.1” 404 214 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:29 +0800] “GET /webadmin HTTP/1.1” 404 206 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:29 +0800] “GET / HTTP/1.1” 302 - “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:29 +0800] “GET /login.php HTTP/1.1” 200 3394 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:29 +0800] “GET /sqlite/main.php HTTP/1.1” 404 213 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:29 +0800] “GET /SQLite/SQLiteManager-1.2.4/main.php HTTP/1.1” 404 233 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:30 +0800] “GET /SQLiteManager-1.2.4/main.php HTTP/1.1” 404 226 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:30 +0800] “GET /sqlitemanager/main.php HTTP/1.1” 404 220 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:30 +0800] “GET /SQlite/main.php HTTP/1.1” 404 213 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:30 +0800] “GET /SQLiteManager/main.php HTTP/1.1” 404 220 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:30 +0800] “GET /webdav HTTP/1.1” 404 204 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:31 +0800] “GET / HTTP/1.1” 302 - “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:31 +0800] “GET /login.php HTTP/1.1” 200 3394 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:31 +0800] “GET //wp-login.php HTTP/1.1” 404 210 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:31 +0800] “GET /wordpress/wp-login.php HTTP/1.1” 404 220 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:31 +0800] “GET /wp/wp-login.php HTTP/1.1” 404 213 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:32 +0800] “GET /blog/wp-login.php HTTP/1.1” 404 215 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:32 +0800] “GET /Wordpress/wp-login.php HTTP/1.1” 404 220 “-” "Python-urllib/2.7"
104.130.163.241 - - [12/Dec/2017:01:39:32 +0800] “GET /Blog/wp-login.php HTTP/1.1” 404 215 “-” "Python-urllib/2.7"
210.14.78.91 - - [12/Dec/2017:12:02:51 +0800] “GET / HTTP/1.1” 302 - “-” "Mozilla/5.0 zgrab/0.x"
94.102.49.4 - - [12/Dec/2017:15:28:00 +0800] “GET /w00tw00t.at.blackhats.romanian.anti-sec:) HTTP/1.1” 404 239 “-” "ZmEu"
94.102.49.4 - - [12/Dec/2017:15:28:00 +0800] “GET /phpmyadmin/scripts/setup.php HTTP/1.1” 404 226 “-” "ZmEu"
94.102.49.4 - - [12/Dec/2017:15:28:00 +0800] “GET /phpMyAdmin/scripts/setup.php HTTP/1.1” 404 226 “-” "ZmEu"
94.102.49.4 - - [12/Dec/2017:15:28:00 +0800] “GET /mysqladmin/scripts/setup.php HTTP/1.1” 404 226 “-” "ZmEu"
94.102.49.4 - - [12/Dec/2017:15:28:00 +0800] “GET /PMA2012/ HTTP/1.1” 404 206 “-” "ZmEu"
94.102.49.4 - - [12/Dec/2017:15:28:00 +0800] “GET /pma2012/ HTTP/1.1” 404 206 “-” "ZmEu"
94.102.49.4 - - [12/Dec/2017:15:28:00 +0800] “GET /PMA2011/ HTTP/1.1” 404 206 “-” "ZmEu"
94.102.49.4 - - [12/Dec/2017:15:28:01 +0800] “GET /pma2011/ HTTP/1.1” 404 206 “-” "ZmEu"
94.102.49.4 - - [12/Dec/2017:15:28:02 +0800] “GET /phpmyadmin2/ HTTP/1.1” 404 210 “-” "ZmEu"
94.102.49.4 - - [12/Dec/2017:15:28:02 +0800] “GET /phpmyadmin3/ HTTP/1.1” 404 210 “-” "ZmEu"
94.102.49.4 - - [12/Dec/2017:15:28:02 +0800] “GET /phpmyadmin4/ HTTP/1.1” 404 210 “-” "ZmEu"
94.102.49.4 - - [12/Dec/2017:15:28:02 +0800] “GET /pma/scripts/setup.php HTTP/1.1” 404 219 “-” "ZmEu"
94.102.49.4 - - [12/Dec/2017:15:28:02 +0800] “GET /myadmin/scripts/setup.php HTTP/1.1” 404 223 “-” "ZmEu"
94.102.49.4 - - [12/Dec/2017:15:28:02 +0800] “GET /MyAdmin/scripts/setup.php HTTP/1.1” 404 223 “-” "ZmEu"
94.102.49.4 - - [12/Dec/2017:15:28:02 +0800] “GET /mysql/scripts/setup.php HTTP/1.1” 404 221 “-” "ZmEu"
94.102.49.4 - - [12/Dec/2017:15:28:02 +0800] “GET /phpMyAdmin-2.10.0.0/scripts/setup.php HTTP/1.1” 404 235 “-” "ZmEu"
94.102.49.4 - - [12/Dec/2017:15:28:03 +0800] “GET /phpMyAdmin-2.11.11/scripts/setup.php HTTP/1.1” 404 234 “-” "ZmEu"
94.102.49.4 - - [12/Dec/2017:15:28:03 +0800] “GET /phpMyAdmin-2.11.11.3/scripts/setup.php HTTP/1.1” 404 236 “-” "ZmEu"
94.102.49.4 - - [12/Dec/2017:15:28:04 +0800] “GET /phpMyAdmin-3.0.0.0-all-languages/scripts/setup.php HTTP/1.1” 404 248 “-” "ZmEu"
94.102.49.4 - - [12/Dec/2017:15:28:04 +0800] “GET /dbadmin/scripts/setup.php HTTP/1.1” 404 223 “-” "ZmEu"
94.102.49.4 - - [12/Dec/2017:15:28:04 +0800] “GET /db/scripts/setup.php HTTP/1.1” 404 218 “-” "ZmEu"
94.102.49.4 - - [12/Dec/2017:15:28:04 +0800] “GET /scripts/setup.php HTTP/1.1” 404 215 “-” "ZmEu"
94.102.49.4 - - [12/Dec/2017:15:28:04 +0800] “GET /phpMyAdmin-2/scripts/setup.php HTTP/1.1” 404 228 “-” "ZmEu"
94.102.49.4 - - [12/Dec/2017:15:28:04 +0800] “GET /mysql/ HTTP/1.1” 404 204 “-” "ZmEu"
195.62.53.168 - - [12/Dec/2017:17:23:30 +0800] “GET / HTTP/1.0” 302 - “-” "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:30.N) Gecko/20110302 Firefox/30.0"
178.62.195.55 - - [12/Dec/2017:19:22:02 +0800] “GET /muieblackcat HTTP/1.1” 404 210 “-” "-"
178.62.195.55 - - [12/Dec/2017:19:22:02 +0800] “GET //phpMyAdmin/scripts/setup.php HTTP/1.1” 404 226 “-” "-"
178.62.195.55 - - [12/Dec/2017:19:22:02 +0800] “GET //phpmyadmin/scripts/setup.php HTTP/1.1” 404 226 “-” "-"
178.62.195.55 - - [12/Dec/2017:19:22:02 +0800] “GET //pma/scripts/setup.php HTTP/1.1” 404 219 “-” "-"
178.62.195.55 - - [12/Dec/2017:19:22:02 +0800] “GET //myadmin/scripts/setup.php HTTP/1.1” 404 223 “-” "-"
178.62.195.55 - - [12/Dec/2017:19:22:02 +0800] “GET //MyAdmin/scripts/setup.php HTTP/1.1” 404 223 “-” "-"
185.218.234.185 - - [12/Dec/2017:20:44:43 +0800] “GET /w00tw00t.at.ISC.SANS.DFind:) HTTP/1.1” 400 226 “-” "-"
66.240.205.34 - - [12/Dec/2017:21:36:09 +0800] “Gh0st\xad” 400 226 “-” "-"
104.236.169.88 - - [13/Dec/2017:04:33:49 +0800] “GET / HTTP/1.1” 302 - “-” “Mozilla/5.0 zgrab/0.x"
164.52.0.141 - - [13/Dec/2017:04:50:56 +0800] “\x16\x03\x01\x01”\x01” 400 226 “-” "-"
164.52.0.141 - - [13/Dec/2017:04:51:03 +0800] “USER test +iw test :Test Wuz Here” 400 226 “-” "-"
164.52.0.141 - - [13/Dec/2017:04:51:04 +0800] “GET / HTTP/1.1” 302 - “-” "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0"
104.236.158.39 - - [13/Dec/2017:06:39:39 +0800] “SSH-2.0-Go” 400 226 “-” "-"
185.130.212.129 - - [13/Dec/2017:07:34:10 +0800] “GET / HTTP/1.1” 302 - “-” "-"
185.130.212.129 - - [13/Dec/2017:07:34:10 +0800] “GET /login.php HTTP/1.1” 200 3394 “-” "-"
104.236.149.165 - - [13/Dec/2017:14:32:41 +0800] “GET / HTTP/1.1” 302 - “-” "Mozilla/5.0 zgrab/0.x"
188.165.29.35 - - [13/Dec/2017:15:50:28 +0800] “POST //%63%67%69%2D%62%69%6E/%70%68%70?%2D%64+%61%6C%6C%6F%77%5F%75%72%6C%5F%69%6E%63%6C%75%64%65%3D%6F%6E+%2D%64+%73%61%66%65%5F%6D%6F%64%65%3D%6F%66%66+%2D%64+%73%75%68%6F%73%69%6E%2E%73%69%6D%75%6C%61%74%69%6F%6E%3D%6F%6E+%2D%64+%64%69%73%61%62%6C%65%5F%66%75%6E%63%74%69%6F%6E%73%3D%22%22+%2D%64+%6F%70%65%6E%5F%62%61%73%65%64%69%72%3D%6E%6F%6E%65+%2D%64+%61%75%74%6F%5F%70%72%65%70%65%6E%64%5F%66%69%6C%65%3D%70%68%70%3A%2F%2F%69%6E%70%75%74+%2D%64+%63%67%69%2E%66%6F%72%63%65%5F%72%65%64%69%72%65%63%74%3D%30+%2D%64+%63%67%69%2E%72%65%64%69%72%65%63%74%5F%73%74%61%74%75%73%5F%65%6E%76%3D%30+%2D%64+%61%75%74%6F%5F%70%72%65%70%65%6E%64%5F%66%69%6C%65%3D%70%68%70%3A%2F%2F%69%6E%70%75%74+%2D%6E HTTP/1.1” 404 209 “-” "-"
146.52.99.55 - - [13/Dec/2017:16:17:59 +0800] “GET / HTTP/1.0” 302 - “-” "-"
139.59.133.235 - - [13/Dec/2017:16:31:43 +0800] “GET / HTTP/1.0” 302 - “-” "masscan/1.0 (https://github.com/robertdavidgraham/masscan)"
208.100.26.229 - - [13/Dec/2017:17:32:30 +0800] “GET / HTTP/1.0” 302 - “-” "-"
208.100.26.229 - - [13/Dec/2017:17:32:32 +0800] “GET / HTTP/1.0” 302 - “-” "-"
208.100.26.229 - - [13/Dec/2017:17:32:32 +0800] “HEAD / HTTP/1.1” 302 - “-” "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
208.100.26.229 - - [13/Dec/2017:17:32:32 +0800] “GET / HTTP/1.1” 302 - “-” "-"
208.100.26.229 - - [13/Dec/2017:17:32:32 +0800] “HEAD /login.php HTTP/1.1” 200 - “-” "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
13.56.229.65 - - [13/Dec/2017:17:41:18 +0800] “GET / HTTP/1.1” 302 - “-” "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36"
13.56.229.65 - - [13/Dec/2017:17:41:18 +0800] “GET /login.php HTTP/1.1” 200 3394 “http://www.esscgeo.ml/” "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36"
60.191.38.77 - - [13/Dec/2017:18:17:05 +0800] “GET / HTTP/1.1” 302 - “-” "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 Firefox/47.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET / HTTP/1.1” 302 - “-” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET /login.php HTTP/1.1” 200 3394 “-” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET /libraries/bootstrap-3.3.6/css/bootstrap.min.css HTTP/1.1” 200 121260 “http://localhost/login.php” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET /libraries/bootstrap-3.3.6/css/bootstrap-theme.min.css HTTP/1.1” 200 23409 “http://localhost/login.php” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET /styles/styles.css HTTP/1.1” 200 21123 “http://localhost/login.php” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET /styles/theme.css HTTP/1.1” 200 6865 “http://localhost/login.php” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET /libraries/openlayers/build/ol.css HTTP/1.1” 200 5176 “http://localhost/login.php” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET /libraries/bootstrap-treeview/bootstrap-treeview.css HTTP/1.1” 200 2396 “http://localhost/login.php” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET /libraries/aspnetcdn/ajax/jQuery/jquery-2.1.4.min.js HTTP/1.1” 200 84345 “http://localhost/login.php” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET /libraries/bootstrap-3.3.6/js/bootstrap.min.js HTTP/1.1” 200 36868 “http://localhost/login.php” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET /libraries/cloudflare/ajax/libs/d3/3.5.6/d3.min.js HTTP/1.1” 200 151145 “http://localhost/login.php” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET /libraries/flot-0.8.3/jquery.flot.min.js HTTP/1.1” 200 52966 “http://localhost/login.php” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET /libraries/flot-0.8.3/jquery.flot.time.min.js HTTP/1.1” 200 6891 “http://localhost/login.php” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET /libraries/flot-0.8.3/jquery.flot.stack.min.js HTTP/1.1” 200 2465 “http://localhost/login.php” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET /libraries/nvd3-1.1.11/nv.d3.js HTTP/1.1” 200 449277 “http://localhost/login.php” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET /libraries/bootstrap-treeview/bootstrap-treeview.js HTTP/1.1” 200 35665 “http://localhost/login.php” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET /images/bg.gif HTTP/1.1” 200 866 “http://localhost/styles/theme.css” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET /images/logo5.png HTTP/1.1” 200 323876 “http://localhost/login.php” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET /images/menu.gif HTTP/1.1” 200 191 “http://localhost/styles/theme.css” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET /images/menu.png HTTP/1.1” 200 19539 “http://localhost/styles/theme.css” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET /images/main2.png HTTP/1.1” 200 2650 “http://localhost/styles/theme.css” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET /images/main.gif HTTP/1.1” 200 56 “http://localhost/styles/theme.css” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET /images/main.jpg HTTP/1.1” 200 3405 “http://localhost/styles/theme.css” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET /images/bar.gif HTTP/1.1” 200 56 “http://localhost/styles/theme.css” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET /images/bar2.gif HTTP/1.1” 200 851 “http://localhost/styles/theme.css” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:02 +0800] “GET /images/bar.jpg HTTP/1.1” 200 3117 “http://localhost/styles/theme.css” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:18:19:05 +0800] “POST /verifyLogin.php HTTP/1.1” 500 3 “http://localhost/login.php” “Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0”
::1 - - [13/Dec/2017:18:19:07 +0800] “OPTIONS * HTTP/1.0” 200 - “-” "Apache/2.4.6 (CentOS) PHP/7.0.26 (internal dummy connection)"
127.0.0.1 - - [13/Dec/2017:21:09:17 +0800] “GET /login.php HTTP/1.1” 200 3394 “-” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:21:09:17 +0800] “GET /favicon.ico HTTP/1.1” 404 209 “-” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:21:09:21 +0800] “POST /verifyLogin.php HTTP/1.1” 500 3 “http://localhost/login.php” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:21:09:23 +0800] “GET /login.php HTTP/1.1” 200 3394 “-” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:21:09:26 +0800] “POST /verifyLogin.php HTTP/1.1” 500 3 “http://localhost/login.php” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:21:09:29 +0800] “GET /login.php HTTP/1.1” 200 3394 “-” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:21:09:50 +0800] “POST /verifyLogin.php HTTP/1.1” 500 3 “http://localhost/login.php” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [13/Dec/2017:21:09:55 +0800] “GET /login.php HTTP/1.1” 200 3394 “-” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
159.203.94.245 - - [14/Dec/2017:01:17:39 +0800] “GET / HTTP/1.1” 302 - “-” "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36"
159.203.94.245 - - [14/Dec/2017:01:17:39 +0800] “GET /login.php HTTP/1.1” 200 3394 “http://94.130.129.241:80/” "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36"
141.212.122.64 - - [14/Dec/2017:01:33:32 +0800] “GET / HTTP/1.1” 302 - “-” "Mozilla/5.0 zgrab/0.x"
141.212.122.64 - - [14/Dec/2017:01:33:33 +0800] “GET /login.php HTTP/1.1” 200 3394 “http://94.130.129.241:80/” "Mozilla/5.0 zgrab/0.x"
5.101.6.170 - - [14/Dec/2017:11:09:45 +0800] “GET / HTTP/1.1” 302 - “-” "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0"
127.0.0.1 - - [14/Dec/2017:11:22:58 +0800] “GET /login.php HTTP/1.1” 200 3394 “-” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [14/Dec/2017:11:22:58 +0800] “GET /favicon.ico HTTP/1.1” 404 209 “-” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [14/Dec/2017:11:23:02 +0800] “POST /verifyLogin.php HTTP/1.1” 500 3 “http://localhost/login.php” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [14/Dec/2017:11:24:14 +0800] “GET /login.php HTTP/1.1” 200 3394 “-” "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
127.0.0.1 - - [14/Dec/2017:11:24:18 +0800] “POST /verifyLogin.php HTTP/1.1” 500 3 “http://localhost/login.php” “Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0”


#8

systemctl output:
UNIT LOAD ACTIVE SUB DESCRIPTION
proc-sys-fs-binfmt_misc.automount loaded active running Arbitrary Executable File Formats File System Automount Point
sys-devices-pci0000:00-0000:00:17.0-ata2-host1-target1:0:0-1:0:0:0-block-sda-sda1.device loaded active plugged ST4000NM0245-1Z2107 rescue:0
sys-devices-pci0000:00-0000:00:17.0-ata2-host1-target1:0:0-1:0:0:0-block-sda-sda2.device loaded active plugged ST4000NM0245-1Z2107 rescue:1
sys-devices-pci0000:00-0000:00:17.0-ata2-host1-target1:0:0-1:0:0:0-block-sda-sda3.device loaded active plugged ST4000NM0245-1Z2107 rescue:2
sys-devices-pci0000:00-0000:00:17.0-ata2-host1-target1:0:0-1:0:0:0-block-sda-sda4.device loaded active plugged ST4000NM0245-1Z2107 rescue:3
sys-devices-pci0000:00-0000:00:17.0-ata2-host1-target1:0:0-1:0:0:0-block-sda-sda5.device loaded active plugged ST4000NM0245-1Z2107 5
sys-devices-pci0000:00-0000:00:17.0-ata2-host1-target1:0:0-1:0:0:0-block-sda.device loaded active plugged ST4000NM0245-1Z2107
sys-devices-pci0000:00-0000:00:17.0-ata3-host2-target2:0:0-2:0:0:0-block-sdb-sdb1.device loaded active plugged ST4000NM0245-1Z2107 rescue:0
sys-devices-pci0000:00-0000:00:17.0-ata3-host2-target2:0:0-2:0:0:0-block-sdb-sdb2.device loaded active plugged ST4000NM0245-1Z2107 rescue:1
sys-devices-pci0000:00-0000:00:17.0-ata3-host2-target2:0:0-2:0:0:0-block-sdb-sdb3.device loaded active plugged ST4000NM0245-1Z2107 rescue:2
sys-devices-pci0000:00-0000:00:17.0-ata3-host2-target2:0:0-2:0:0:0-block-sdb-sdb4.device loaded active plugged ST4000NM0245-1Z2107 rescue:3
sys-devices-pci0000:00-0000:00:17.0-ata3-host2-target2:0:0-2:0:0:0-block-sdb-sdb5.device loaded active plugged ST4000NM0245-1Z2107 5
sys-devices-pci0000:00-0000:00:17.0-ata3-host2-target2:0:0-2:0:0:0-block-sdb.device loaded active plugged ST4000NM0245-1Z2107
sys-devices-pci0000:00-0000:00:1f.6-net-enp0s31f6.device loaded active plugged Ethernet Connection (2) I219-LM
sys-devices-platform-serial8250-tty-ttyS0.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS0
sys-devices-platform-serial8250-tty-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS1
sys-devices-platform-serial8250-tty-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS2
sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS3
sys-devices-virtual-block-md0.device loaded active plugged /sys/devices/virtual/block/md0
sys-devices-virtual-block-md1.device loaded active plugged /sys/devices/virtual/block/md1
sys-devices-virtual-block-md2.device loaded active plugged /sys/devices/virtual/block/md2
sys-devices-virtual-block-md3.device loaded active plugged /sys/devices/virtual/block/md3
sys-devices-virtual-net-virbr0.device loaded active plugged /sys/devices/virtual/net/virbr0
sys-devices-virtual-net-virbr0\x2dnic.device loaded active plugged /sys/devices/virtual/net/virbr0-nic
sys-module-configfs.device loaded active plugged /sys/module/configfs
sys-module-fuse.device loaded active plugged /sys/module/fuse
sys-subsystem-net-devices-enp0s31f6.device loaded active plugged Ethernet Connection (2) I219-LM
sys-subsystem-net-devices-virbr0.device loaded active plugged /sys/subsystem/net/devices/virbr0
sys-subsystem-net-devices-virbr0\x2dnic.device loaded active plugged /sys/subsystem/net/devices/virbr0-nic
-.mount loaded active mounted /
boot.mount loaded active mounted /boot
dev-hugepages.mount loaded active mounted Huge Pages File System
dev-mqueue.mount loaded active mounted POSIX Message Queue File System
home-andresi-thinclient_drives.mount loaded active mounted /home/andresi/thinclient_drives
home-ariela-thinclient_drives.mount loaded active mounted /home/ariela/thinclient_drives
home-brentf-thinclient_drives.mount loaded active mounted /home/brentf/thinclient_drives
home-sheras-thinclient_drives.mount loaded active mounted /home/sheras/thinclient_drives
home.mount loaded active mounted /home
proc-fs-nfsd.mount loaded active mounted /proc/fs/nfsd
proc-sys-fs-binfmt_misc.mount loaded active mounted Arbitrary Executable File Formats File System
run-user-1000-gvfs.mount loaded active mounted /run/user/1000/gvfs
run-user-1000.mount loaded active mounted /run/user/1000
run-user-1001-gvfs.mount loaded active mounted /run/user/1001/gvfs
run-user-1001.mount loaded active mounted /run/user/1001
run-user-1002-gvfs.mount loaded active mounted /run/user/1002/gvfs
run-user-1002.mount loaded active mounted /run/user/1002
run-user-1003-gvfs.mount loaded active mounted /run/user/1003/gvfs
run-user-1003.mount loaded active mounted /run/user/1003
run-user-995.mount loaded active mounted /run/user/995
sys-fs-fuse-connections.mount loaded active mounted FUSE Control File System
sys-kernel-config.mount loaded active mounted Configuration File System
sys-kernel-debug.mount loaded active mounted Debug File System
tmp-.mount_NextclmGrQQV.mount loaded active mounted /tmp/.mount_NextclmGrQQV
var-lib-nfs-rpc_pipefs.mount loaded active mounted /var/lib/nfs/rpc_pipefs
brandbot.path loaded active waiting Flexible branding
cups.path loaded active waiting CUPS Printer Service Spool
systemd-ask-password-plymouth.path loaded active waiting Forward Password Requests to Plymouth Directory Watch
systemd-ask-password-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch
session-10499.scope loaded active running Session 10499 of user andresi
session-10500.scope loaded active running Session 10500 of user andresi
session-3879.scope loaded active abandoned Session 3879 of user andresi


#9

journalctl --since today:

  • Logs begin at Sun 2017-10-22 11:54:11 +08, end at Thu 2017-12-14 11:48:24 +08. –
    Dec 14 00:00:00 ESSCGeo-Sen2Agri sen2agri-orchestrator[6406]: GetNewEvents took 3 ms
    Dec 14 00:00:01 ESSCGeo-Sen2Agri systemd[1]: Created slice User Slice of root.
    Dec 14 00:00:01 ESSCGeo-Sen2Agri systemd[1]: Starting User Slice of root.
    Dec 14 00:00:01 ESSCGeo-Sen2Agri systemd[1]: Started Downloads Sentinel-2 products.
    Dec 14 00:00:01 ESSCGeo-Sen2Agri systemd[1]: Starting Downloads Sentinel-2 products…
    Dec 14 00:00:01 ESSCGeo-Sen2Agri systemd[1]: Started Downloads Landsat 8 products.
    Dec 14 00:00:01 ESSCGeo-Sen2Agri systemd[1]: Starting Downloads Landsat 8 products…
    Dec 14 00:00:01 ESSCGeo-Sen2Agri systemd[1]: Started Runs MACCS on L1C products.
    Dec 14 00:00:01 ESSCGeo-Sen2Agri systemd[1]: Starting Runs MACCS on L1C products…
    Dec 14 00:00:01 ESSCGeo-Sen2Agri systemd[1]: Started Session 10489 of user root.
    Dec 14 00:00:01 ESSCGeo-Sen2Agri systemd[1]: Starting Session 10489 of user root.
    Dec 14 00:00:01 ESSCGeo-Sen2Agri CROND[15840]: (root) CMD (/usr/lib64/sa/sa1 1 1)
    Dec 14 00:00:01 ESSCGeo-Sen2Agri systemd[1]: Removed slice User Slice of root.
    Dec 14 00:00:01 ESSCGeo-Sen2Agri systemd[1]: Stopping User Slice of root.
    Dec 14 00:00:01 ESSCGeo-Sen2Agri demmaccs_launcher.py[15839]: 2017-12-14 00:00:01.502507:[15839]:No unprocessed L1C found in DB
    Dec 14 00:00:01 ESSCGeo-Sen2Agri downloader.py[15838]: 2017-12-14 00:00:01.517700:[15838]:No information regarding sites
    Dec 14 00:00:01 ESSCGeo-Sen2Agri downloader.py[15837]: 2017-12-14 00:00:01.518049:[15837]:No information regarding sites
    Dec 14 00:00:10 ESSCGeo-Sen2Agri sen2agri-orchestrator[6406]: GetNewEvents took 0 ms
    Dec 14 00:00:18 ESSCGeo-Sen2Agri sen2agri-monitor-agent[6563]: No such file or directory
    Dec 14 00:00:18 ESSCGeo-Sen2Agri sen2agri-http-listener[6524]: InsertNodeStatistics took 18 ms
    Dec 14 00:00:18 ESSCGeo-Sen2Agri sen2agri-http-listener[6524]: service took 19 ms
    Dec 14 00:00:18 ESSCGeo-Sen2Agri sen2agri-http-listener[6524]: RequestMapper::service took 19 ms
    Dec 14 00:00:20 ESSCGeo-Sen2Agri sen2agri-orchestrator[6406]: GetNewEvents took 1 ms
    Dec 14 00:00:21 ESSCGeo-Sen2Agri sen2agri-scheduler[4894]: GetScheduledTasks took 3 ms
    Dec 14 00:00:30 ESSCGeo-Sen2Agri sshd[15876]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.177.172.60 user=root
    Dec 14 00:00:30 ESSCGeo-Sen2Agri sshd[15876]: pam_succeed_if(sshd:auth): requirement “uid >= 1000” not met by user "root"
    Dec 14 00:00:30 ESSCGeo-Sen2Agri sen2agri-orchestrator[6406]: GetNewEvents took 1 ms
    Dec 14 00:00:32 ESSCGeo-Sen2Agri sshd[15876]: Failed password for root from 61.177.172.60 port 61056 ssh2
    Dec 14 00:00:32 ESSCGeo-Sen2Agri sshd[15876]: pam_succeed_if(sshd:auth): requirement “uid >= 1000” not met by user "root"
    Dec 14 00:00:34 ESSCGeo-Sen2Agri sshd[15876]: Failed password for root from 61.177.172.60 port 61056 ssh2
    Dec 14 00:00:34 ESSCGeo-Sen2Agri sshd[15876]: pam_succeed_if(sshd:auth): requirement “uid >= 1000” not met by user "root"
    Dec 14 00:00:36 ESSCGeo-Sen2Agri sshd[15876]: Failed password for root from 61.177.172.60 port 61056 ssh2
    Dec 14 00:00:37 ESSCGeo-Sen2Agri sshd[15876]: Received disconnect from 61.177.172.60 port 61056:11: [preauth]
    Dec 14 00:00:37 ESSCGeo-Sen2Agri sshd[15876]: Disconnected from 61.177.172.60 port 61056 [preauth]
    Dec 14 00:00:37 ESSCGeo-Sen2Agri sshd[15876]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.177.172.60 user=root
    Dec 14 00:00:40 ESSCGeo-Sen2Agri sen2agri-orchestrator[6406]: GetNewEvents took 2 ms
    Dec 14 00:00:44 ESSCGeo-Sen2Agri sshd[15881]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.177.172.60 user=root
    Dec 14 00:00:44 ESSCGeo-Sen2Agri sshd[15881]: pam_succeed_if(sshd:auth): requirement “uid >= 1000” not met by user "root"
    Dec 14 00:00:46 ESSCGeo-Sen2Agri sshd[15881]: Failed password for root from 61.177.172.60 port 24295 ssh2
    Dec 14 00:00:46 ESSCGeo-Sen2Agri sshd[15881]: pam_succeed_if(sshd:auth): requirement “uid >= 1000” not met by user "root"
    Dec 14 00:00:48 ESSCGeo-Sen2Agri sshd[15881]: Failed password for root from 61.177.172.60 port 24295 ssh2
    Dec 14 00:00:48 ESSCGeo-Sen2Agri sshd[15881]: pam_succeed_if(sshd:auth): requirement “uid >= 1000” not met by user "root"
    Dec 14 00:00:50 ESSCGeo-Sen2Agri sen2agri-orchestrator[6406]: GetNewEvents took 2 ms
    Dec 14 00:00:51 ESSCGeo-Sen2Agri sshd[15881]: Failed password for root from 61.177.172.60 port 24295 ssh2
    Dec 14 00:00:51 ESSCGeo-Sen2Agri sshd[15881]: Received disconnect from 61.177.172.60 port 24295:11: [preauth]
    Dec 14 00:00:51 ESSCGeo-Sen2Agri sshd[15881]: Disconnected from 61.177.172.60 port 24295 [preauth]
    Dec 14 00:00:51 ESSCGeo-Sen2Agri sshd[15881]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.177.172.60 user=root
    Dec 14 00:01:00 ESSCGeo-Sen2Agri sen2agri-orchestrator[6406]: GetNewEvents took 1 ms
    Dec 14 00:01:00 ESSCGeo-Sen2Agri systemd[1]: Started Runs MACCS on L1C products.
    Dec 14 00:01:00 ESSCGeo-Sen2Agri systemd[1]: Starting Runs MACCS on L1C products…
    Dec 14 00:01:00 ESSCGeo-Sen2Agri systemd[1]: Started Downloads Landsat 8 products.
    Dec 14 00:01:00 ESSCGeo-Sen2Agri systemd[1]: Starting Downloads Landsat 8 products…
    Dec 14 00:01:00 ESSCGeo-Sen2Agri systemd[1]: Started Downloads Sentinel-2 products.
    Dec 14 00:01:00 ESSCGeo-Sen2Agri systemd[1]: Starting Downloads Sentinel-2 products…
    Dec 14 00:01:00 ESSCGeo-Sen2Agri demmaccs_launcher.py[15887]: 2017-12-14 00:01:00.835815:[15887]:No unprocessed L1C found in DB
    Dec 14 00:01:00 ESSCGeo-Sen2Agri downloader.py[15889]: 2017-12-14 00:01:00.859423:[15889]:No information regarding sites
    Dec 14 00:01:00 ESSCGeo-Sen2Agri downloader.py[15888]: 2017-12-14 00:01:00.859423:[15888]:No information regarding sites
    Dec 14 00:01:01 ESSCGeo-Sen2Agri systemd[1]: Created slice User Slice of root.
    Dec 14 00:01:01 ESSCGeo-Sen2Agri systemd[1]: Starting User Slice of root.
    Dec 14 00:01:01 ESSCGeo-Sen2Agri systemd[1]: Started Session 10490 of user root.
    Dec 14 00:01:01 ESSCGeo-Sen2Agri systemd[1]: Starting Session 10490 of user root.

#10

It looks like you’re using PHP 7.0, which isn’t available in CentOS 7 by default, as far as I know. The site is using a deprecated function that got removed in the latest version. Let me look into this and I’ll provide you with a replacement.


Cannot Access the Sen2Agir web interface, tried starting httpd but failed
#11

Can you replace /var/www/html/verifyLogin.php's contents with this? You’ll need to edit the file as root (or save it someplace else and use sudo cp).

<?php
session_start();
require_once('ConfigParams.php');

function SignIn()
{
        $dbconn = pg_connect( ConfigParams::$CONN_STRING ) or die ( "Could not connect" );

        //starting the session for user
        if(!empty($_POST['user'])) {
                // Interrogate database for credentials
                $result = pg_query_params($dbconn, "SELECT * FROM sp_authenticate($1, $2)", array($_POST['user'], $_POST['pass'])) or die(pg_last_error());
                if ($row = pg_fetch_row($result)) {
                        $userId = $row[0];
                        $siteId = $row[1];
                        $siteId = isset($siteId) ? $siteId : "";

                        // set session variables
                        $_SESSION['userId'] = $userId;
                        $_SESSION['siteId'] = $siteId;
                        $_SESSION['userName'] = $_POST['user'];
                        $_SESSION['loginMessage'] = "";
                        header("Location: create_site.php");
                        exit;
                } else {
                        $_SESSION['loginMessage'] = "Invalid username or password. Please retry!";
                }
        } else {
                $_SESSION['loginMessage'] = "Please enter your credentials!";
        }
        header("Location: login.php");
        exit;
}

if(isset($_POST['submit'])) {
	SignIn();
}
?>

Installation MACCS failed
#12

It worked. Thank your very much!