Reklama
#1866532 15.06.2014 21:36:39
Panowie administratorzy, w związku z tym, że duża ilość przemienników d-star w PL posiada nieaktualny dstarmonitor polecam zrobienie upgrade na Waszych przemiennikach.
http://dsync.dstar.info/
Robimy to w bardzo prosty sposób. Trzeba się zalogować na shell na konto roota i wykonać następujące polecenia:
cd /tmp
wget -N dsync.dstar.info/dsm_installer_g2
/bin/bash ./dsm_installer_g2
Wybrać U - upgrade.
Następnie wykonać polecenie:
/dstar/scripts/gw_schedule -d
/dstar/scripts/gw_schedule -d
Wykonujemy to dwa razy i możemy sprawdzić status na stronie http://dsync.dstar.info/
Status naszego przemiennika powinien być już OK.
No i to wszystko
http://dsync.dstar.info/
Robimy to w bardzo prosty sposób. Trzeba się zalogować na shell na konto roota i wykonać następujące polecenia:
cd /tmp
wget -N dsync.dstar.info/dsm_installer_g2
/bin/bash ./dsm_installer_g2
Wybrać U - upgrade.
Następnie wykonać polecenie:
/dstar/scripts/gw_schedule -d
/dstar/scripts/gw_schedule -d
Wykonujemy to dwa razy i możemy sprawdzić status na stronie http://dsync.dstar.info/
Status naszego przemiennika powinien być już OK.
No i to wszystko
- Mariusz - Kielce -
Temperatura za oknem
Temperatura za oknem
#1883035 07.07.2014 18:18:26
Coś nie idzie:
[admin@sr1uvs ~]$ cd /tmp
[admin@sr1uvs tmp]$ wget -N dsync.dstar.info/dsm_installer_g2
--2014-07-07 18:14:51-- http://dsync.dstar.info/dsm_installer_g2
Resolving dsync.dstar.info... 78.158.56.61
Connecting to dsync.dstar.info|78.158.56.61|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10471 (10K) [text/plain]
Saving to: `dsm_installer_g2'
100%[======================================>] 10,471 --.-K/s in 0.08s
2014-07-07 18:14:51 (121 KB/s) - `dsm_installer_g2' saved [10471/10471]
[admin@sr1uvs tmp]$ /bin/bash ./dsm_installer_g2
Welcome to the D-STAR Monitor G2 installer
Version 3.0 July 18, 2013 nj6n
ERROR: You must have root privileges to execute this script.
#### Nothing done ####
[admin@sr1uvs tmp]$ u
-bash: u: command not found
[admin@sr1uvs tmp]$ wget -N dsync.dstar.info/dsm_installer_g2/bin/bash ./dsm_installer_g2
--2014-07-07 18:17:22-- http://dsync.dstar.info/dsm_installer_g2/bin/bash
Resolving dsync.dstar.info... 78.158.56.61
Connecting to dsync.dstar.info|78.158.56.61|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-07-07 18:17:22 ERROR 404: Not Found.
--2014-07-07 18:17:22-- http://./dsm_installer_g2
Resolving .... failed: Name or service not known.
wget: unable to resolve host address `.'
[admin@sr1uvs tmp]$
[admin@sr1uvs tmp]$ wget -N dsync.dstar.info/dsm_installer_g2
--2014-07-07 18:20:42-- http://dsync.dstar.info/dsm_installer_g2
Resolving dsync.dstar.info... 78.158.56.61
Connecting to dsync.dstar.info|78.158.56.61|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10471 (10K) [text/plain]
Server file no newer than local file `dsm_installer_g2' -- not retrieving.
[admin@sr1uvs tmp]$ /bin/bash ./dsm_installer_g2
Welcome to the D-STAR Monitor G2 installer
Version 3.0 July 18, 2013 nj6n
ERROR: You must have root privileges to execute this script.
#### Nothing done ####
[admin@sr1uvs tmp]$
[admin@sr1uvs tmp]$
[admin@sr1uvs ~]$ cd /tmp
[admin@sr1uvs tmp]$ wget -N dsync.dstar.info/dsm_installer_g2
--2014-07-07 18:14:51-- http://dsync.dstar.info/dsm_installer_g2
Resolving dsync.dstar.info... 78.158.56.61
Connecting to dsync.dstar.info|78.158.56.61|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10471 (10K) [text/plain]
Saving to: `dsm_installer_g2'
100%[======================================>] 10,471 --.-K/s in 0.08s
2014-07-07 18:14:51 (121 KB/s) - `dsm_installer_g2' saved [10471/10471]
[admin@sr1uvs tmp]$ /bin/bash ./dsm_installer_g2
Welcome to the D-STAR Monitor G2 installer
Version 3.0 July 18, 2013 nj6n
ERROR: You must have root privileges to execute this script.
#### Nothing done ####
[admin@sr1uvs tmp]$ u
-bash: u: command not found
[admin@sr1uvs tmp]$ wget -N dsync.dstar.info/dsm_installer_g2/bin/bash ./dsm_installer_g2
--2014-07-07 18:17:22-- http://dsync.dstar.info/dsm_installer_g2/bin/bash
Resolving dsync.dstar.info... 78.158.56.61
Connecting to dsync.dstar.info|78.158.56.61|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-07-07 18:17:22 ERROR 404: Not Found.
--2014-07-07 18:17:22-- http://./dsm_installer_g2
Resolving .... failed: Name or service not known.
wget: unable to resolve host address `.'
[admin@sr1uvs tmp]$
[admin@sr1uvs tmp]$ wget -N dsync.dstar.info/dsm_installer_g2
--2014-07-07 18:20:42-- http://dsync.dstar.info/dsm_installer_g2
Resolving dsync.dstar.info... 78.158.56.61
Connecting to dsync.dstar.info|78.158.56.61|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10471 (10K) [text/plain]
Server file no newer than local file `dsm_installer_g2' -- not retrieving.
[admin@sr1uvs tmp]$ /bin/bash ./dsm_installer_g2
Welcome to the D-STAR Monitor G2 installer
Version 3.0 July 18, 2013 nj6n
ERROR: You must have root privileges to execute this script.
#### Nothing done ####
[admin@sr1uvs tmp]$
[admin@sr1uvs tmp]$
wpis edytowany 07.07.2014 18:22:51
#1883056 07.07.2014 18:40:14
Z tego co widzę nie masz uprawnień roota:
ERROR: You must have root privileges to execute this script.
ERROR: You must have root privileges to execute this script.
- Mariusz - Kielce -
Temperatura za oknem
Temperatura za oknem
#1883123 07.07.2014 19:58:44
Poważnie nikt? To kto instalował soft?
- Mariusz - Kielce -
Temperatura za oknem
Temperatura za oknem
#1883169 07.07.2014 20:50:29
My???
Aaaaaa już chyba wiem. Ale to nie ja Wam instalowałem
Aaaaaa już chyba wiem. Ale to nie ja Wam instalowałem
- Mariusz - Kielce -
Temperatura za oknem
Temperatura za oknem
#1883192 07.07.2014 21:06:23
Spoko, myślałem że dam radę od ręki ale niestety. Ale wiem co dalej.
#1883219 07.07.2014 21:36:19
Spróbuj przez komendę su (no ale to hasło
) albo przynajmniej przez takie cudo jak sudo (może to macie dostępne na serwerze).
73
Adam
73
Adam
#1883273 07.07.2014 22:33:36
przez sudo idzie
zapomniałem o tym, dzięki za podpowiedź.
Proces wykonany.
Options: (R)e-install or (U)pgrade or (E)xit: u
Gateway: SR1UVS
Stopping DSM ... [ OK ]
Verifying library compat-libstdc++-296 is installed.
*** compat-libstdc++-296 is already installed.
Moving /opt/dstarmon to /opt/dstarmon-20140707-223149 ... [Done]
Downloading DStarMonitor... [Done]
Installing DStarMonitor applications... [Done]
Using existing configuration files ... [Done]
Dplus is installed, updating DSM properties...
Setting CtrlrIP Address to: 172.16.0.1
Updating DSM Properites for SR1UVS ... [Done]
Installing init script... [Done]
grep: /var/log/dstarmon.log.0: No such file or directory
cat: /var/run/dsm_version: No such file or directory
Starting DStarMonitor [ OK ]
DSM 3.0.4b02 Running, PID = 30043
Here is the DStarMonitor Log file, no errors should be shown here:
tail /var/log/dstarmon.log.0
-----------------------------------------------------------------------
2014-07-07 20:32:11 UTC
STDERR: ok
2014-07-07 20:32:11 UTC net.ae5pl.dstarmonitor.DStarMonitor <init>
INFO: Listening on eth1
2014-07-07 20:32:11 UTC net.ae5pl.dstarmonitor.DStarMonitor <init>
INFO: Repeater controller at 172.16.0.1 on port 20000
2014-07-07 20:32:12 UTC net.ae5pl.aprssrvr.UpstreamDialer$UpstreamClientRcv run
INFO: Upstream connected:Socket[addr=DPRSGW-1.dstarusers.org/46.246.93.93,port=14580,localport=33976]
2014-07-07 20:32:14 UTC net.ae5pl.dstarmonitor.DStarDBConn run
INFO: Connected to jdbc:mysql://dsm.dstarusers.org:3306/DSTAR2
IMPORTANT NOTE: Complete documentation can be found in the directory: /opt/dstarmon/docs
DSM Upgrade Procedure.pdf DStarMonitor.pdf DStarQueryUsersGuide.pdf
Installation is complete.
[admin@sr1uvs tmp]$
Proces wykonany.
Options: (R)e-install or (U)pgrade or (E)xit: u
Gateway: SR1UVS
Stopping DSM ... [ OK ]
Verifying library compat-libstdc++-296 is installed.
*** compat-libstdc++-296 is already installed.
Moving /opt/dstarmon to /opt/dstarmon-20140707-223149 ... [Done]
Downloading DStarMonitor... [Done]
Installing DStarMonitor applications... [Done]
Using existing configuration files ... [Done]
Dplus is installed, updating DSM properties...
Setting CtrlrIP Address to: 172.16.0.1
Updating DSM Properites for SR1UVS ... [Done]
Installing init script... [Done]
grep: /var/log/dstarmon.log.0: No such file or directory
cat: /var/run/dsm_version: No such file or directory
Starting DStarMonitor [ OK ]
DSM 3.0.4b02 Running, PID = 30043
Here is the DStarMonitor Log file, no errors should be shown here:
tail /var/log/dstarmon.log.0
-----------------------------------------------------------------------
2014-07-07 20:32:11 UTC
STDERR: ok
2014-07-07 20:32:11 UTC net.ae5pl.dstarmonitor.DStarMonitor <init>
INFO: Listening on eth1
2014-07-07 20:32:11 UTC net.ae5pl.dstarmonitor.DStarMonitor <init>
INFO: Repeater controller at 172.16.0.1 on port 20000
2014-07-07 20:32:12 UTC net.ae5pl.aprssrvr.UpstreamDialer$UpstreamClientRcv run
INFO: Upstream connected:Socket[addr=DPRSGW-1.dstarusers.org/46.246.93.93,port=14580,localport=33976]
2014-07-07 20:32:14 UTC net.ae5pl.dstarmonitor.DStarDBConn run
INFO: Connected to jdbc:mysql://dsm.dstarusers.org:3306/DSTAR2
IMPORTANT NOTE: Complete documentation can be found in the directory: /opt/dstarmon/docs
DSM Upgrade Procedure.pdf DStarMonitor.pdf DStarQueryUsersGuide.pdf
Installation is complete.
[admin@sr1uvs tmp]$
wpis edytowany 07.07.2014 22:39:55
Reklama