Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:dpi:faq:dpiui_faq:start [2018/07/13 09:41] – kvazikrav | en:dpi:faq:dpiui_faq:start [2024/07/29 12:36] (current) – removed elena.krasnobryzh | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== 11 dpiui related questions ====== | ||
| - | {{indexmenu_n> | ||
| - | 1. Diagnostics of marketing campaigns | ||
| - | | ||
| - | а) Check that the marketing campaign dates in the "from .. to" | ||
| - | (day of the week) form and its action period in the | ||
| - | " | ||
| - | campaigns input form | ||
| - | б) synchronization log > 0? | ||
| - | ls -la / | ||
| - | | ||
| - | If the synchronization log is empty, check that there is a cron job: | ||
| - | grep advsync / | ||
| - | it should be: | ||
| - | */1 * * * * / | ||
| - | | ||
| - | check that the process is running, run: | ||
| - | / | ||
| - | | ||
| - | if there are errors you need to check the installation | ||
| - | |||
| - | в) if the log is not empty (is not 0), check in synchronization log how the campaigns are organized: | ||
| - | grep adv_id= -A1 / | ||
| - | the output has to be like the following: | ||
| - | adv_id=3, 2017-01-12, 2017-02-12, 2017-Feb-07 10:33, | ||
| - | phttp= url: someinfo.mynet.ru/? | ||
| - | adv_id=5, 2017-01-29, 2017-02-12, 2017-Feb-07 10:33, | ||
| - | phttp= url: www.mynet.ru/? | ||
| - | | ||
| - | г) Check the DPI download counter: | ||
| - | grep 'read t=' / | ||
| - | DPISubs have to be > 0, it means there are campaigs on the DPI | ||
| - | read t=2017-Feb-07 10:38 DPISubs=6 LastRecs=6 DiffSubs=0 LastSubs=6 | ||
| - | In this case, 6 subscribers for all campaigns have been loaded to the DPI. | ||
| - | | ||
| - | | ||
| - | 0!) check that the ntf_server=< | ||
| - | is specified int the / | ||
| - | |||
| - | | ||
| - | | ||
| - | This option is responsible for the notification option initialization, | ||
| - | а) check the content of the subsurlsntf.lst file located in the temporary directory: | ||
| - | cat / | ||
| - | 0 1198406 | ||
| - | 1 11984920 | ||
| - | 2 11983297 | ||
| - | 3 11.0.6.64 | ||
| - | ... | ||
| - | the 1-st value is the identifier (numerical order) in the URL / | ||
| - | the 2-nd value is the subscriber login or its IP | ||
| - | б) check if there are files in the DPI directory: | ||
| - | ls -la / | ||
| - | -rw-r--r--. 1 root root 50264 Feb 7 19:25 / | ||
| - | -rw-r--r--. 1 root root 57732 Feb 7 19:25 / | ||
| - | -rw-rw-r--. 1 dpisu dpisu 1130487 Feb 7 19:25 / | ||
| - | | ||
| - | the / | ||
| - | cat / | ||
| - | check that these files are the same using diff utility | ||
| - | | ||
| - | the / | ||
| - | promo.mynet.ru/? | ||
| - | promo.mynet.ru/? | ||
| - | ... | ||
| - | numerical order from this file is used in the / | ||
| - | the numbering starts from 0 | ||
| - | | ||
| - | If the required files are in place and are the same according to diff output, then the files are correctly prepared for loading | ||
| - | |||
| - | в) check the activated services: | ||
| - | fdpi_ctrl list all --service 50 | ||
| - | The output: | ||
| - | Autodetected fastdpi params : dev=' | ||
| - | connecting 127.0.0.1: | ||
| - | ================================ | ||
| - | TestUser | ||
| - | 192.168.2.1 | ||
| - | 192.168.2.2 | ||
| - | 192.168.2.3 | ||
| - | 192.168.3.4 | ||
| - | ------------------ | ||
| - | total: 5 | ||
| - | | ||
| - | If you get a similar output and the logins/IPs match the / | ||
| - | |||
| - | 2. Notification is not working, files in the directory are in place ls / | ||
| - | а) check that the DPI loads the data:\\ | ||
| - | touch / | ||
| - | the following message should appear in the fastdpi_alrt.log: | ||
| - | bl_updater_thread : Notifications(updatenotifications) list loaded with result, rc=0 : Success: loaded. | ||
| - | if it doesn' | ||
| - | б) check that the device orientation is correct (in_dev - towards subscribers / out_dev towards internet)\\ | ||
| - | в) check that the [[en: | ||
| - | |||
| - | 3. What should I do if the DPI-UI password is forgotten? How to reset the admin password? Given the local access to the server and having the access to the database tables? | ||
| - | there were two ways: | ||
| - | 1. you can delete a user with id = 100001 and run: | ||
| - | / | ||
| - | It will create the default admin account. | ||
| - | 2. set the the default password for the user 100001: | ||
| - | " | ||
| - | |||
| - | 4. the server with DPIUI quickly consumes space in / | ||
| - | these files can be deleted such a way: | ||
| - | 15 4 * * * /bin/find / | ||
| - | if the command was not specified during the installation, | ||
| - | |||
| - | 5. clickstream data are not added to the the appropriate tables, clickstream is received, there is information in the port.dump buffer file (for example, 1500.dump) | ||
| - | a) take the file from the clickstream directory ( use option dumpfiledir=/ | ||
| - | for example - url_29072016_091016.dump.gz, | ||
| - | | ||
| - | The usual problem that the hostname is not configured. You will be notified about by the following exception: | ||
| - | - ERROR org.apache.spark.SparkContext - Error initializing SparkContext. | ||
| - | java.net.UnknownHostException: | ||
| - | check: | ||
| - | ping `hostname` | ||
| - | configure the hostname in a proper way and/or specify it in the /etc/hosts | ||
| - | - ERROR Exception in thread " | ||
| - | least 4.718592E8. Please use a larger heap size. - when initializing Spark, add the memory - it requires at least 4GB of RAM | ||
| - | If there are other exceptions/ | ||
| - | b) Если п. а) без ошибок прошел, | ||
| - | If a) and b) items didn't do the trick, please report to the technical support | ||
| - | 6. The DPI configuration being changed by means of dpiui don't take effect, there are no errors when saving it. | ||
| - | | ||
| - | After such a replacement on DPI, you need to do: | ||
| - | chown -R dpisu:dpisu /tmp/dpi | ||
| - | chmod a+w -R /tmp/dpi | ||