Jump to content

Razoon

Forum Members
  • Posts

    23
  • Joined

  • Last visited

Posts posted by Razoon

  1. 7 минут назад, Кинетиковод сказал:

    Экспресс-вопрос, не могу войти в приложение. У меня отдельный юзер для WEB. Его учётку принимать отказывается. У админа права только для cli, добавил ещё и веб, при входе не ругается, а просто ничего не происходит. В логах всё чисто. Как же войти-то тогда?

    Оказывается для его высоко преосвященства пароль был слишком длинный. Вбил админу короткий и подключился. Это странно, что Кинетик всё устраивает, а приложение нет.

    у меня пароль 14 символов цифро-буквенный разного регистра и никаких проблем с подключением. Видимо у вас локальный баг.

  2. 5 часов назад, TheBB сказал:

    @Razoon , "облако" поднималось на Giga2 ("собрат" Ultra) c прошивкой 2.09 и системой Entware-3x...

    Проверю (позже) на 2.06 с Entware-Keenetic

    кстати, файловая системе на носителе ntfs, мб в этом проблема? Попробую сначала на ext3 перенакатить.

  3. /opt/etc/lighttpd/certs # lighttpd -t -f /opt/etc/lighttpd/lighttpd.conf
    2017-07-25 00:07:05: (configfile.c.1154) source: /opt/etc/lighttpd/conf.d/30-fastcgi.conf line: 61 pos: 1 parser failed somehow near here: /rails/someapp/public/dispatch.fcgi
    2017-07-25 00:07:05: (configfile.c.1154) source: /opt/etc/lighttpd/lighttpd.conf line: 31 pos: 1 parser failed somehow near here: (EOL)
    /opt/etc/lighttpd/certs # /opt/etc/init.d/S80lighttpd start
     Starting lighttpd... Segmentation fault

     /opt/etc/init.d/S80lighttpd start
     Starting lighttpd...              failed.

    а вот это выдает при попытке проверить конфиг

  4. В 16.06.2017 в 22:41, TheBB сказал:

    lighttpd+php7+sqlite+ssl=owncloud-10.0.2

    ставим пакеты

    
    opkg install ca-certificates curl lighttpd lighttpd-mod-cgi lighttpd-mod-fastcgi openssl-util \
    php7-cli php7-fastcgi php7-mod-ctype php7-mod-curl php7-mod-dom php7-mod-fileinfo php7-mod-gd \
    php7-mod-hash php7-mod-json php7-mod-mbstring php7-mod-pdo-sqlite php7-mod-session php7-mod-simplexml \
    php7-mod-sqlite3 php7-mod-xml php7-mod-xmlreader php7-mod-xmlwriter php7-mod-zip tar
    

    забираем архив

    
    curl https://download.owncloud.org/community/owncloud-10.0.2.tar.bz2 --output oc.tar.bz2

    распаковываем

    
    tar xjvf oc.tar.bz2 -C /opt/share/www/

    правим php.ini

      Показать содержимое

     

    
    
    [PHP]
    zend.ze1_compatibility_mode = Off
    
    ; Language Options
    
    engine = On
    ;short_open_tag = Off
    precision    =  12
    y2k_compliance = On
    output_buffering = Off
    ;output_handler =
    zlib.output_compression = Off
    ;zlib.output_compression_level = -1
    ;zlib.output_handler =
    implicit_flush = Off
    unserialize_callback_func =
    serialize_precision = 100
    
    ;open_basedir =
    disable_functions =
    disable_classes =
    
    ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ; <span style="color: ???????"> would work.
    ;highlight.string  = #DD0000
    ;highlight.comment = #FF9900
    ;highlight.keyword = #007700
    ;highlight.bg      = #FFFFFF
    ;highlight.default = #0000BB
    ;highlight.html    = #000000
    
    ;ignore_user_abort = On
    ;realpath_cache_size = 16k
    ;realpath_cache_ttl = 120
    
    ; Miscellaneous
    
    expose_php = On
    
    ; Resource Limits
    
    max_execution_time = 30	; Maximum execution time of each script, in seconds.
    max_input_time = 60	; Maximum amount of time each script may spend parsing request data.
    ;max_input_nesting_level = 64
    memory_limit = 32M
    
    ; Error handling and logging
    
    ; Error Level Constants:
    ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 6.0.0)
    ; E_ERROR           - fatal run-time errors
    ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    ; E_WARNING         - run-time warnings (non-fatal errors)
    ; E_PARSE           - compile-time parse errors
    ; E_NOTICE          - run-time notices (these are warnings which often result
    ;                     from a bug in your code, but it's possible that it was
    ;                     intentional (e.g., using an uninitialized variable and
    ;                     relying on the fact it's automatically initialized to an
    ;                     empty string)
    ; E_STRICT			- run-time notices, enable to have PHP suggest changes
    ;                     to your code which will ensure the best interoperability
    ;                     and forward compatibility of your code
    ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ;                     initial startup
    ; E_COMPILE_ERROR   - fatal compile-time errors
    ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ; E_USER_ERROR      - user-generated error message
    ; E_USER_WARNING    - user-generated warning message
    ; E_USER_NOTICE     - user-generated notice message
    ; E_DEPRECATED      - warn about code that will not work in future versions
    ;                     of PHP
    ; E_USER_DEPRECATED - user-generated deprecation warnings
    ;
    ; Common Values:
    ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices and coding standards warnings.)
    ;   E_ALL & ~E_NOTICE | E_STRICT  (Show all errors, except for notices)
    ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ;   E_ALL | E_STRICT  (Show all errors, warnings and notices including coding standards.)
    ; Default Value: E_ALL & ~E_NOTICE
    error_reporting  =  E_ALL & ~E_NOTICE & ~E_STRICT
    
    display_errors = On
    display_startup_errors = Off
    log_errors = Off
    log_errors_max_len = 1024
    ignore_repeated_errors = Off
    ignore_repeated_source = Off
    report_memleaks = On
    ;report_zend_debug = 0
    track_errors = Off
    ;html_errors = Off
    ;docref_root = "/phpmanual/"
    ;docref_ext = .html
    ;error_prepend_string = "<font color=#ff0000>"
    ;error_append_string = "</font>"
    ; Log errors to specified file.
    ;error_log = /opt/var/log/php_errors.log
    ; Log errors to syslog.
    ;error_log = syslog
    
    ; Data Handling
    
    ;arg_separator.output = "&amp;"
    ;arg_separator.input = ";&"
    variables_order = "EGPCS"
    request_order = "GP"
    register_globals = Off
    register_long_arrays = Off
    register_argc_argv = On
    auto_globals_jit = On
    post_max_size = 512M
    ;magic_quotes_gpc = Off
    magic_quotes_runtime = Off
    magic_quotes_sybase = Off
    auto_prepend_file =
    auto_append_file =
    default_mimetype = "text/html"
    ;default_charset = "iso-8859-1"
    ;always_populate_raw_post_data = On
    
    ; Paths and Directories
    
    ; UNIX: "/path1:/path2"
    ;include_path = ".:/php/includes"
    doc_root = "/opt/share/www"
    user_dir =
    extension_dir = "/opt/lib/php"
    enable_dl = On
    ;cgi.force_redirect = 1
    ;cgi.nph = 1
    ;cgi.redirect_status_env = ;
    cgi.fix_pathinfo=1
    ;fastcgi.impersonate = 1;
    ;fastcgi.logging = 0
    ;cgi.rfc2616_headers = 0
    
    ; File Uploads
    
    file_uploads = On
    upload_tmp_dir = "/opt/tmp"
    upload_max_filesize = 512M
    max_file_uploads = 20
    
    ; Fopen wrappers
    
    allow_url_fopen = On
    allow_url_include = Off
    ;from="john@doe.com"
    ;user_agent="PHP"
    default_socket_timeout = 60
    ;auto_detect_line_endings = Off
    

     

    правим lighttpd.conf

      Скрыть содержимое

     

    
    
    server.document-root        = "/opt/share/www"
    server.upload-dirs          = ( "/tmp" )
    server.errorlog             = "/opt/var/log/lighttpd/error.log"
    server.pid-file             = "/opt/var/run/lighttpd.pid"
    #server.username             = "http"
    #server.groupname            = "www-data"
    
    index-file.names            = ( "index.php", "index.html",
                                    "index.htm", "default.htm",
                                  )
    
    static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
    
    ### Options that are useful but not always necessary:
    #server.chroot               = "/"
    server.port                 = 81
    #server.bind                 = "localhost"
    #server.tag                  = "lighttpd"
    #server.errorlog-use-syslog  = "enable"
    server.network-backend      = "writev"
    
    ### Use IPv6 if available
    #include_shell "/opt/share/lighttpd/use-ipv6.pl"
    
    #dir-listing.encoding        = "utf-8"
    #server.dir-listing          = "enable"
    
    include "/opt/etc/lighttpd/mime.conf"
    include "/opt/etc/lighttpd/conf.d/*.conf"
    
    $HTTP["url"] =~ "^/owncloud/data/" {
    url.access-deny = ("")
    }
    $HTTP["url"] =~ "^/owncloud($|/)" {
    dir-listing.activate = "disable"
    }
    
    #ssl
    $SERVER["socket"] == ":443" {
        ssl.engine = "enable"
        ssl.pemfile = "/opt/etc/lighttpd/certs/lighttpd.pem"
    
        # enforce strong cypher
        ssl.use-sslv2 = "disable"
        ssl.cipher-list = "TLSv1+HIGH !SSLv2 RC4+MEDIUM !aNULL !eNULL !3DES @STRENGTH"
    }

     

    правим 30-fastcgi.conf

      Показать содержимое

     

    
    
    #######################################################################
    ##
    ##  FastCGI Module 
    ## --------------- 
    ##
    ## See http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModFastCGI
    ##
    server.modules += ( "mod_fastcgi" )
    
    ##
    ## PHP Example
    ## For PHP don't forget to set cgi.fix_pathinfo = 1 in the php.ini.
    ##
    ## The number of php processes you will get can be easily calculated:
    ##
    ## num-procs = max-procs * ( 1 + PHP_FCGI_CHILDREN )
    ##
    ## for the php-num-procs example it means you will get 17*5 = 85 php
    ## processes. you always should need this high number for your very
    ## busy sites. And if you have a lot of RAM. :)
    ##
    fastcgi.server = ( ".php" =>
                       ( "php-local" =>
                         (
                           "socket" => "/opt/tmp/php-fastcgi-1.socket",
                           "bin-path" => "/opt/bin/php-fcgi",
                           "max-procs" => 1,
                           "broken-scriptfilename" => "enable",
                         )
                       ),
    #                   ( "php-tcp" =>
    #                     (
    #                       "host" => "127.0.0.1",
    #                       "port" => 9999,
    #                       "check-local" => "disable",
    #                       "broken-scriptfilename" => "enable",
    #                     )
    #                   ),
    #
    #                   ( "php-num-procs" =>
    #                     (
    #                       "socket" => socket_dir + "/php-fastcgi-2.socket",
    #                       "bin-path" => server_root + "/cgi-bin/php5",
    #                       "bin-environment" => (
    #                         "PHP_FCGI_CHILDREN" => "16",
    #                         "PHP_FCGI_MAX_REQUESTS" => "10000",
    #                       ),
    #                       "max-procs" => 5,
    #                       "broken-scriptfilename" => "enable",
    #                     )
    #                   ),
                    )
    
    ##
    ## Ruby on Rails Example
    ##
    ## Normally you only run one Rails application on one vhost.
    ##
    #$HTTP["host"] == "rails1.example.com" {
    #  server.document-root  = server_root + "/rails/someapp/public"
    #  server.error-handler-404 = "/dispatch.fcgi"
    #  fastcgi.server = ( ".fcgi" =>
    #    ("someapp" =>
    #      ( "socket" => socket_dir + "/someapp-fcgi.socket",
    #        "bin-path" => server_root + "/rails/someapp/public/dispatch.fcgi",
    #        "bin-environment" => (
    #              "RAILS_ENV" => "production",
    #              "TMP" => home_dir + "/rails/someapp",
    #        ),
    #      )
    #    )
    #  )
    #}
    
    ##
    ## Another example with multiple rails applications on one vhost.
    ##
    ## http://blog.lighttpd.net/articles/2005/11/23/lighttpd-1-4-8-and-multiple-rails-apps
    ##
    #$HTTP["host"] == "rails2.example.com" {
    #  $HTTP["url"] =~ "^/someapp1" {
    #    server.document-root  = server_root + "/rails/someapp1/public"
    #    server.error-handler-404 = "/dispatch.fcgi"
    #    fastcgi.server = ( ".fcgi" =>
    #      ("someapp1" =>
    #        ( "socket" => socket_dir + "/someapp1-fcgi.socket",
    #          "bin-path" => server_root + "/rails/someapp1/public/dispatch.fcgi",
    #          "bin-environment" => (
    #                "RAILS_ENV" => "production",
    #                "TMP" => home_dir + "/rails/someapp1",
    #          ),
    #          "strip-request-uri" => "/someapp1/"
    #        )
    #      )
    #    )
    #  }
    #
    #  $HTTP["url"] =~ "^/someapp2" {
    #    server.document-root  = server_root + "/rails/someapp2/public"
    #    server.error-handler-404 = "/dispatch.fcgi"
    #    fastcgi.server = ( ".fcgi" =>
    #      ("someapp2" =>
    #        ( "socket" => socket_dir + "/someapp2-fcgi.socket",
    #          "bin-path" => server_root + "/rails/someapp2/public/dispatch.fcgi",
    #          "bin-environment" => (
    #                "RAILS_ENV" => "production",
    #                "TMP" => home_dir + "/rails/someapp2",
    #          ),
    #          "strip-request-uri" => "/someapp2/"
    #        )
    #      )
    #    )
    #  }
    #}
    
    ## chrooted webserver + external PHP
    ##
    ## $ spawn-fcgi -f /usr/bin/php-cgi -p 2000 -a 127.0.0.1 -C 8
    ##
    ## webserver chrooted to /srv/www/
    ## php running outside the chroot
    #
    #fastcgi.server = ( 
    #  ".php" => (( 
    #    "host" => "127.0.0.1",
    #    "port" => "2000",
    #    "docroot" => "/srv/www/servers/www.example.org/htdocs/"
    #  )))
    #
    #server.chroot = "/srv/www"
    #server.document-root = "/servers/wwww.example.org/htdocs/"
    #
    
    ##
    #######################################################################
    

     

    создаём папку

    
    mkdir -p ../etc/lighttpd/certs

    переходим в неё, создаём pem-файл и задаём ему права

    
    cd /opt/etc/lighttpd/certs/
    openssl req -new -x509 -keyout lighttpd.pem -out lighttpd.pem -days 1095 -nodes
    chmod 400 lighttpd.pem

    проверяем корректность конфига

    
    lighttpd -t -f /opt/etc/lighttpd/lighttpd.conf

    запускаем сервер (или рестартим запущенный)

    
    /opt/etc/init.d/S80lighttpd start

    идём по адресу (своего устройства) и вводим данные (свои) и жмём "Завершить установку"

    screen_186.png

    на выходе имеем

    screen_187.png

    "закручиваем гайки" и настраиваем под себя...

    сделал по этой инструкции, в ответ в журнале

    Jul 25 00:08:32ndmkernel: mtdoops_proc: page is busy
    Jul 25 00:08:32ndmkernel: mtdoops_proc: page is busy
    Jul 25 00:08:34ndmkernel: Kernel bug detected[#14]:
    Jul 25 00:08:34ndmkernel: Cpu 0
    Jul 25 00:08:34ndmkernel: $ 0   : 00000000 00000002 00000001 80000000
    Jul 25 00:08:34ndmkernel: $ 4   : 811c7be0 7f999faf 81000000 00001fff
    Jul 25 00:08:34ndmkernel: $ 8   : 7f999faf 8137e000 00000011 fffffff8
    Jul 25 00:08:34ndmkernel: $12   : 20343232 000000ad 00000000 004a0000
    Jul 25 00:08:34ndmkernel: $16   : 0000000e 811c7be0 8137e000 7f999faf
    Jul 25 00:08:34ndmkernel: $20   : 00000000 00000006 00000000 82f3fe20
    Jul 25 00:08:34ndmkernel: $24   : 0049927c 2aaf73c0                  
    Jul 25 00:08:34ndmkernel: $28   : 82f3c000 82f3fda8 82f3fe24 80030a58
    Jul 25 00:08:34ndmkernel: Hi    : 0000025b
    Jul 25 00:08:34ndmkernel: Lo    : 0002f2b0
    Jul 25 00:08:34ndmkernel: epc   : 80031708 kmap_coherent+0x8/0xac     Tainted: P      
    Jul 25 00:08:34ndmkernel: ra    : 80030a58 __flush_anon_page+0x4c/0x84
    Jul 25 00:08:34ndmkernel: Status: 11000303    KERNEL EXL IE 
    Jul 25 00:08:34ndmkernel: Cause : 50807c34
    Jul 25 00:08:34ndmkernel: PrId  : 00019555
    Jul 25 00:08:34ndmkernel: Modules linked in: hw_nat(P) esp4 igmpsn(P) rt539x_ap5(P) rt539x_ap2(P) ntc(P) fastvpn snd_pcm_oss snd_usb_audio snd_pcm snd_usbmidi_lib ip6t_rt rndis_host hmac nfsd snd_hwdep ip_set_ipportnethash nf_nat_rtsp nfs ip_set_macipmap snd_mixer_oss ip_set_ipportiphash ip_set_portmap dm9601 snd_rawmidi arptable_filter ip6table_raw lockd ip6t_ipv6header cdc_ether nf_nat_sip ip6t_LOG ip_set_ipporthash ip_set_iptree snd_seq_device ip_set_setlist ip6table_filter snd_timer ip6t_ah ip_set_ipmap asix xcbc snd ip6t_frag nf_nat_ftp ext3 ipt_set ip_set_nethash uvcvideo ip6table_mangle ip_set_iptreemap ip_set_iphash nf_nat_pptp nf_nat_h323 ipt_SET nf_conntrack_pptp ip6t_hbh sch_tbf ip_set cls_tcindex ip6t_mh sch_red resetnds(P) thfsplus mtdoops_proc xfrm4_mode_beet tun cls_u32 act_ipt nf_conntrack_ipv6 raeth ext2 cls_basic crypto_hash nf_conntrack_h323 ip6_tables hw_cdc_net ip6t_owner pptp sierra sunrpc pppol2tp usbnet act_pedit sch_sfq sch_gred tfat(P) jbd xfrm_user deflate nf_conntrack_p [...]
    Jul 25 00:08:34ndmkernel: Process pidof (pid: 2295, threadinfo=82f3c000, task=87e7f800)
    Jul 25 00:08:34ndmkernel: Stack : 88274320 0000000e 0000000b 8137e000 7f999faf 8007f0c4 00000044 82f3fec8
    Jul 25 00:08:34ndmkernel:         8032c220 80094ff0 00000010 0000000e 00000000 0000000b 7f999faf 86ae0000
    Jul 25 00:08:34ndmkernel:         80363000 00000000 00001000 80000000 00000001 8007f248 81237400 80363000
    Jul 25 00:08:34ndmkernel:         8032bf98 00000001 00000000 00000001 82f3fe24 82f3fe20 00000000 811c7be0
    Jul 25 00:08:34ndmkernel:         80363034 00002001 00000000 80363000 0000000b 00001000 86ae0000 82f3ff10
    Jul 25 00:08:34ndmkernel:         ...
    Jul 25 00:08:34ndmkernel: Call Trace:
    Jul 25 00:08:34ndmkernel: [<80031708>] kmap_coherent+0x8/0xac
    Jul 25 00:08:34ndmkernel: [<80030a58>] __flush_anon_page+0x4c/0x84
    Jul 25 00:08:34ndmkernel: [<8007f0c4>] get_user_pages+0x274/0x2ec
    Jul 25 00:08:34ndmkernel: [<8007f248>] access_process_vm+0x10c/0x200
    Jul 25 00:08:34ndmkernel: [<800cee50>] proc_pid_cmdline+0x70/0x120
    Jul 25 00:08:34ndmkernel: [<800d0034>] proc_info_read+0xd4/0x114
    Jul 25 00:08:34ndmkernel: [<80094720>] vfs_read+0xc0/0x14c
    Jul 25 00:08:34ndmkernel: [<800948d4>] sys_read+0x58/0xc0
    Jul 25 00:08:34ndmkernel: [<8002f7a4>] stack_done+0x20/0x3c
    Jul 25 00:08:34ndmkernel: 
    Jul 25 00:08:34ndmkernel: 
    Jul 25 00:08:34ndmkernel: Code: 00000000  8c820000  7c420240 <00028036> 8f820014  3c038037  7ca51300  24420001  af820014 

    куда копать господа?

    а, да zyxel keenetic ultra ndms v2.06(AAGJ.4)C2

  5. [more]

    Зачем сюда. Есть же спец тема по тестированию прошивок.

    Не должно userspace приложение приводить к ошибкам ядра.

    Надеюсь у Вас стоит Entware-keenetic, а не Entware-ng!

    Установка mysql сервера возможно не была тут описана

    1. Установка

    ~ # opkg install mysql-server
    Installing mysql-server (5.1.73-2) to root...
    Downloading http://pkg.entware-keenetic.ru/binaries/keenle/mysql-server_5.1.73-2_keenle.ipk.
    Installing libmysqlclient (5.1.73-2) to root...
    Downloading http://pkg.entware-keenetic.ru/binaries/keenle/libmysqlclient_5.1.73-2_keenle.ipk.
    Installing libreadline (6.3-1) to root...
    Downloading http://pkg.entware-keenetic.ru/binaries/keenle/libreadline_6.3-1_keenle.ipk.
    Configuring libmysqlclient.
    Configuring libreadline.
    Configuring mysql-server.
    

    2. Редактируем

    ~ # mcedit /opt/etc/my.cnf
    
    ~ # cat /opt/etc/my.cnf
    [client]
    port            = 3306
    socket          = /opt/var/run/mysqld.sock
    
    [mysqld]
    user            = root
    socket          = /opt/var/run/mysqld.sock
    port            = 3306
    basedir         = /opt/
    
    ############ Don't put this on the NAND #############
    # Figure out where you are going to put the databases
    # And run mysql_install_db --force
    datadir         = /opt/var/mysql/
    ....
    

    См. строки basedir и datadir

    3. Инициализируем

    ~ # mysql_install_db --datadir=/opt/var/mysql --basedir=/opt --force
    Installing MySQL system tables...
    OK
    Filling help tables...
    OK
    
    To start mysqld at boot time you have to copy
    support-files/mysql.server to the right place for your system
    
    PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
    To do so, start the server, then issue the following commands:
    
    /opt/bin/mysqladmin -u root password 'new-password'
    /opt/bin/mysqladmin -u root -h Extra password 'new-password'
    .....
    

    4. Запускаем серевер и задаем пароль

    ~ # /opt/etc/init.d/S70mysqld start
    Starting mysqld...              done.
    ~ # mysqladmin -u root password "secret"
    

    5. Используем )))

    [/more]

    Дык, в той теме она описана.

    И если не в той ветке создал тему, то сори, перенесите пожалуйста в правильную ветку.

  6. Всем доброго времени суток после установки ownCloud под этой инструкции в журнале начало выдавать примерно следующее


    Jun 05 13:49:23ndmkernel: Kernel bug detected[#26]:
    Jun 05 13:49:23ndmkernel: Cpu 0
    Jun 05 13:49:23ndmkernel: $ 0 : 00000000 00000002 00000001 80000000
    Jun 05 13:49:23ndmkernel: $ 4 : 811547c0 7f8e9fd4 81000000 00001fff
    Jun 05 13:49:23ndmkernel: $ 8 : 7f8e9fd4 813a9000 00000011 fffffff8
    Jun 05 13:49:23ndmkernel: $12 : 20302030 000000b6 00000000 004a0000
    Jun 05 13:49:23ndmkernel: $16 : 0000000e 811547c0 813a9000 7f8e9fd4
    Jun 05 13:49:23ndmkernel: $20 : 00000000 00000006 00000000 8509fe20
    Jun 05 13:49:23ndmkernel: $24 : 00498278 2aaf7c70
    Jun 05 13:49:23ndmkernel: $28 : 8509c000 8509fda8 8509fe24 80030a78
    Jun 05 13:49:23ndmkernel: Hi : 000000ba
    Jun 05 13:49:23ndmkernel: Lo : 0002e3d9
    Jun 05 13:49:23ndmkernel: epc : 80031728 kmap_coherent+0x8/0xac Tainted: P
    Jun 05 13:49:23ndmkernel: ra : 80030a78 __flush_anon_page+0x4c/0x84
    Jun 05 13:49:23ndmkernel: Status: 11000303 KERNEL EXL IE
    Jun 05 13:49:23ndmkernel: Cause : 50805834
    Jun 05 13:49:23ndmkernel: PrId : 00019555
    Jun 05 13:49:23ndmkernel: Modules linked in: hw_nat(P) igmpsn(P) rt539x_ap5(P) rt539x_ap2(P) ntc(P) ip6t_rt rndis_host nf_nat_rtsp dm9601 ip6table_raw ip6t_ipv6header cdc_ether nf_nat_sip ip6t_LOG ip6table_filter ip6t_ah asix ip6t_frag nf_nat_ftp ext3 ip6table_mangle nf_nat_pptp nf_nat_h323 nf_conntrack_pptp ip6t_hbh ip6t_mh resetnds(P) thfsplus tun nf_conntrack_ipv6 raeth ext2 crypto_hash nf_conntrack_h323 ip6_tables hw_cdc_net ip6t_owner pptp sierra pppol2tp usbnet tfat(P) jbd deflate nf_conntrack_proto_gre phr(P) nf_conntrack_rtsp nf_conntrack_ftp fastvpn tntfs(P) ip6t_eui64 nf_conntrack_sip powerstat ip6t_REJECT fastnat ip6_queue nf_nat_proto_gre xt_mac
    Jun 05 13:49:23ndmkernel: Process pidof (pid: 16116, threadinfo=8509c000, task=8a247400)
    Jun 05 13:49:23ndmkernel: Stack : 82a03d60 0000000e 0000000b 813a9000 7f8e9fd4 8007eec4 00000044 8509fec8
    Jun 05 13:49:23ndmkernel: 80334210 80094df0 00000010 0000000e 00000000 0000000b 7f8e9fd4 8f4a8000
    Jun 05 13:49:23ndmkernel: 8036e000 00000000 00001000 80000000 00000001 8007f048 81237400 8036e000
    Jun 05 13:49:23ndmkernel: 80333f88 00000001 00000000 00000001 8509fe24 8509fe20 00000000 811547c0
    Jun 05 13:49:23ndmkernel: 8036e034 00002001 00000000 8036e000 0000000b 00001000 8f4a8000 8509ff10
    Jun 05 13:49:23ndmkernel: ...
    Jun 05 13:49:23ndmkernel: Call Trace:
    Jun 05 13:49:23ndmkernel: [<80031728>] kmap_coherent+0x8/0xac
    Jun 05 13:49:23ndmkernel: [<80030a78>] __flush_anon_page+0x4c/0x84
    Jun 05 13:49:23ndmkernel: [<8007eec4>] get_user_pages+0x274/0x2ec
    Jun 05 13:49:23ndmkernel: [<8007f048>] access_process_vm+0x10c/0x200
    Jun 05 13:49:23ndmkernel: [<800ce6e0>] proc_pid_cmdline+0x70/0x120
    Jun 05 13:49:23ndmkernel: [<800cf8c4>] proc_info_read+0xd4/0x114
    Jun 05 13:49:23ndmkernel: [<80094520>] vfs_read+0xc0/0x14c
    Jun 05 13:49:23ndmkernel: [<800946d4>] sys_read+0x58/0xc0
    Jun 05 13:49:23ndmkernel: [<8002f7a4>] stack_done+0x20/0x3c
    Jun 05 13:49:23ndmkernel:
    Jun 05 13:49:23ndmkernel:
    Jun 05 13:49:23ndmkernel: Code: 00000000 8c820000 7c420240 <00028036> 8f820014 3c038038 7ca51300 24420001 af820014
    
    

    а в ssh выглядит вот так (при запуске любого исполняемого скрипта)


    /opt/share # /opt/etc/init.d/S70mysqld start
    Starting mysqld... Segmentation fault
    Segmentation fault
    Segmentation fault
    Segmentation fault
    Segmentation fault
    Segmentation fault
    
    

    Железо keenetic ultra

    Прошивка ndm v2.05 C4

    Файл подкачки 500мб

    После установки всей истории загрузка процессора подскочила до 100% и не спадает.

  7. устройство и прошивка какие?

    keenetic ultra ndm v2.05 C4

    в журнале сыпет вот этим

    Jun 05 13:49:23ndmkernel: Kernel bug detected[#26]:
    Jun 05 13:49:23ndmkernel: Cpu 0
    Jun 05 13:49:23ndmkernel: $ 0   : 00000000 00000002 00000001 80000000
    Jun 05 13:49:23ndmkernel: $ 4   : 811547c0 7f8e9fd4 81000000 00001fff
    Jun 05 13:49:23ndmkernel: $ 8   : 7f8e9fd4 813a9000 00000011 fffffff8
    Jun 05 13:49:23ndmkernel: $12   : 20302030 000000b6 00000000 004a0000
    Jun 05 13:49:23ndmkernel: $16   : 0000000e 811547c0 813a9000 7f8e9fd4
    Jun 05 13:49:23ndmkernel: $20   : 00000000 00000006 00000000 8509fe20
    Jun 05 13:49:23ndmkernel: $24   : 00498278 2aaf7c70
    Jun 05 13:49:23ndmkernel: $28   : 8509c000 8509fda8 8509fe24 80030a78
    Jun 05 13:49:23ndmkernel: Hi    : 000000ba
    Jun 05 13:49:23ndmkernel: Lo    : 0002e3d9
    Jun 05 13:49:23ndmkernel: epc   : 80031728 kmap_coherent+0x8/0xac     Tainted: P
    Jun 05 13:49:23ndmkernel: ra    : 80030a78 __flush_anon_page+0x4c/0x84
    Jun 05 13:49:23ndmkernel: Status: 11000303    KERNEL EXL IE
    Jun 05 13:49:23ndmkernel: Cause : 50805834
    Jun 05 13:49:23ndmkernel: PrId  : 00019555
    Jun 05 13:49:23ndmkernel: Modules linked in: hw_nat(P) igmpsn(P) rt539x_ap5(P) rt539x_ap2(P) ntc(P) ip6t_rt rndis_host \
    nf_nat_rtsp dm9601 ip6table_raw ip6t_ipv6header cdc_ether nf_nat_sip ip6t_LOG ip6table_filter ip6t_ah asix ip6t_frag \
    nf_nat_ftp ext3 ip6table_mangle nf_nat_pptp nf_nat_h323 nf_conntrack_pptp ip6t_hbh ip6t_mh resetnds(P) thfsplus tun \
    nf_conntrack_ipv6 raeth ext2 crypto_hash nf_conntrack_h323 ip6_tables hw_cdc_net ip6t_owner pptp sierra pppol2tp usbnet \
    tfat(P) jbd deflate nf_conntrack_proto_gre phr(P) nf_conntrack_rtsp nf_conntrack_ftp fastvpn tntfs(P) ip6t_eui64 nf_conntrack_sip \
    powerstat ip6t_REJECT fastnat ip6_queue nf_nat_proto_gre xt_mac
    Jun 05 13:49:23ndmkernel: Process pidof (pid: 16116, threadinfo=8509c000, task=8a247400)
    Jun 05 13:49:23ndmkernel: Stack : 82a03d60 0000000e 0000000b 813a9000 7f8e9fd4 8007eec4 00000044 8509fec8
    Jun 05 13:49:23ndmkernel:         80334210 80094df0 00000010 0000000e 00000000 0000000b 7f8e9fd4 8f4a8000
    Jun 05 13:49:23ndmkernel:         8036e000 00000000 00001000 80000000 00000001 8007f048 81237400 8036e000
    Jun 05 13:49:23ndmkernel:         80333f88 00000001 00000000 00000001 8509fe24 8509fe20 00000000 811547c0
    Jun 05 13:49:23ndmkernel:         8036e034 00002001 00000000 8036e000 0000000b 00001000 8f4a8000 8509ff10
    Jun 05 13:49:23ndmkernel:         ...
    Jun 05 13:49:23ndmkernel: Call Trace:
    Jun 05 13:49:23ndmkernel: [<80031728>] kmap_coherent+0x8/0xac
    Jun 05 13:49:23ndmkernel: [<80030a78>] __flush_anon_page+0x4c/0x84
    Jun 05 13:49:23ndmkernel: [<8007eec4>] get_user_pages+0x274/0x2ec
    Jun 05 13:49:23ndmkernel: [<8007f048>] access_process_vm+0x10c/0x200
    Jun 05 13:49:23ndmkernel: [<800ce6e0>] proc_pid_cmdline+0x70/0x120
    Jun 05 13:49:23ndmkernel: [<800cf8c4>] proc_info_read+0xd4/0x114
    Jun 05 13:49:23ndmkernel: [<80094520>] vfs_read+0xc0/0x14c
    Jun 05 13:49:23ndmkernel: [<800946d4>] sys_read+0x58/0xc0
    Jun 05 13:49:23ndmkernel: [<8002f7a4>] stack_done+0x20/0x3c
    Jun 05 13:49:23ndmkernel:
    Jun 05 13:49:23ndmkernel:
    Jun 05 13:49:23ndmkernel: Code: 00000000  8c820000  7c420240 <00028036> 8f820014  3c038038  7ca51300  24420001  af820014
    

    И загрузка процессора подскочила до 100% и не спадает. Файл подкачки 500 мегабайт.

  8. Выдает примерно следующее

    /opt/share # /opt/etc/init.d/S70mysqld start
    Starting mysqld... Segmentation fault
    Segmentation fault
    Segmentation fault
    Segmentation fault
    Segmentation fault
    Segmentation fault
    

    и такая реакция на любой исполняемый скрипт, будь то запуск nginx или mysql без разницы(((

  9. Товарищи, не планируется ли реализация полноценного сервера vpn на наших девайсах, а не тот куцый что есть сейчас только с PPTP, хотелось бы l2tp шифрование и ему подобное.

    Что такое "l2tp шифрование"? Что такое "ему подобное"?

    запятую пропустил, а насчет ему подобного ipsec не не слышал??

×
×
  • Create New...