Βοήθεια με ups installation

...εγκαταστάσεις, αναβαθμίσεις, διαχείριση partitions, boot-loader, κλπ

Συντονιστής: adem1

Κανόνες Δ. Συζήτησης
Στην ενότητα αυτή γράφουμε θέματα/ προβλήματα μόνο για το UBUNTU ή τα παράγωγά του.

Βοήθεια με ups installation

Δημοσίευσηαπό sfikas » 22 Οκτ 2008, 17:16

Καλησπέρα παιδιά, έχω πάρει ένα UPS από το πλαίσιο το TURBO-X και αποφάσισα να εγκαταστήσω το προγραμματάκι που περιλαμβάνει η συσκευασία και στο Kubuntu μου, αλλά χρειάζομαι λίγο τη βοήθειά σας. Παραθέτω τις οδηγίες εγκατάστασης:

1.4 SIMPLE INSTALLATION
---------------------------------------------------------------------
* Hardware Installation
1.Connect the DB-9 male connector of the cable to the UPS
interface. (A DB-9 female connector of RS232 protocol type.).
2.Connect the female connector of DB-9 cable to the dedicated
RS232 serial port (If there is only a DB-25 connector on your
computer, uses a DB-9 to DB-25 converter).
* Software Installation
1.Log in as the super-user.
2.Use the 'ftp' utility in MS-DOS to copy files into the system
directory '/tmp'.
3.Follow the instructions below to make the filename conversion
after the 'ftp' file transfer:
# cd /tmp
# mv linux.z linux.Z
or # mv LINUX.Z linux.Z
# chmod 755 install
4.Execute the installation program:
# ./install
5.Select the target system from the menu, and configuration
the UPSilon for UNIX(make sure no other process uses the
same serial port), the installation program will launch the
UPSilon for UNIX daemon process automatically.
Note:If there is no network connection in your system, please
let your dealer know what kind of media you could use to
copy files into your system.
* How to give command
1.Start the UPSilon for UNIX daemon process
/etc/upsilon/upsilon start
2.Stop the UPSilon for UNIX daemon process
/etc/upsilon/upsilon stop
3.Configure the parameters:
/etc/upsilon/upsilon config
4.Event Notice by Pager
/etc/upsilon/upsilon.pgr
5.Event Notice by Email
/etc/upsilon/upsilon.eml
6.Monitor the UPS status:
/etc/upsilon/upsilon status
7.Send Commands Directly to the UPS
/etc/upsilon/upsilon issuer
8.Read Online Documentation
/etc/upsilon/upsilon help
9.History Information
/etc/upsilon/rupslog

Το πρόβλημά μου είναι στην αρχή στο βήμα 2 της εγκατάστασης λογισμικού που λέει για αντιγραφή του αρχείου με ftp. Μηπως γνωρίζετε τι πρέπει να κάνω?
Γνώσεις ⇛ Linux: Μέτρια ┃ Προγραμματισμός: Ναι PHP, MySQL, C, C++ ┃ Αγγλικά: Καλά
Λειτουργικά → Kubuntu 11.04 64bit
Προδιαγραφές → AMD Phenom(tm) 9500 Quad-Core Prosessor 2.21GHz ‖ RAM 4 GB
Κάρτες γραφικών: ATI Radeon hd5770 (asus)
Δίκτυα: eth0: Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller
sfikas
babeTUX
babeTUX
 
Δημοσιεύσεις: 61
Εγγραφή: 10 Ιουν 2008, 18:48
Εκτύπωση

Re: Βοήθεια με ups installation

Δημοσίευσηαπό linuxman » 22 Οκτ 2008, 18:10

Κώδικας: Επιλογή όλων

1. sudo su root
2. root@sfikas-desktop cd /folder with program
4. cp linux.z linux.Z /tmp
5 . τις υπόλοιπες εντολές .
Οδηγίες προς Νεοεισερχόμενους
1 Γνώσεις Linux: Πολύ καλό ┃ Προγραμματισμού: Ικανοποιητικό ┃ Αγγλικών: Ικανοποιητικό
2 Linux Mint 17.1 Rebecca 3.13.0-37-generic 64bit (el_GR.UTF-8, X-Cinnamon cinnamon)
3 Intel Core i5-2310M CPU @ 2.10GHz ‖ RAM 3866 MiB ‖ Dell Inc. 0D7C51 - Dell Inc. Dell System Vostro 3750
4 Intel 2nd Generation Core Processor Family Integrated Graphics [8086:0116] {i915}
5 wlan0: Intel Centrino Wireless-N 1030 [Rainbow Peak] [8086:008a] (rev 34) ⋮ eth0: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
http://www.greeklug.gr
Άβαταρ μέλους
linuxman
Επίτιμο μέλος
Επίτιμο μέλος
 
Δημοσιεύσεις: 10378
Εγγραφή: 10 Μάιος 2008, 20:41
Τοποθεσία: Thessaloniki / Macedonia / Greece
Εκτύπωση

Re: Βοήθεια με ups installation

Δημοσίευσηαπό sfikas » 24 Οκτ 2008, 17:19

σε ευχαριστώ φίλε για τη βοήθειά σου. Εγκατέστησα το Ups καθώς όατν πατάω τις εντολές εκκίνησης και τερματισμού, οι απαντήσεις που παίρνω είναι σωστής λειτουργίας. Το θέμα όμως τώρα είναι ότι δεν εμφανίζετε κάτι, και προβλιματίζομαι καθώς όταν πατάω τις υπόλοιπες εντολές που είναι για άνοιγμα βοήθειας, για άνοιγμα monitor μου βγάζει αυτό:
Error opening terminal: xterm.

Εγκατέστησα το xterm αλλά και πάλι παίρνω την ίδια απάντηση
Γνώσεις ⇛ Linux: Μέτρια ┃ Προγραμματισμός: Ναι PHP, MySQL, C, C++ ┃ Αγγλικά: Καλά
Λειτουργικά → Kubuntu 11.04 64bit
Προδιαγραφές → AMD Phenom(tm) 9500 Quad-Core Prosessor 2.21GHz ‖ RAM 4 GB
Κάρτες γραφικών: ATI Radeon hd5770 (asus)
Δίκτυα: eth0: Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller
sfikas
babeTUX
babeTUX
 
Δημοσιεύσεις: 61
Εγγραφή: 10 Ιουν 2008, 18:48
Εκτύπωση

Re: Βοήθεια με ups installation

Δημοσίευσηαπό ftso » 24 Οκτ 2008, 17:32

Εκτέλεσε την εντολή:
Κώδικας: Επιλογή όλων
cat /etc/upsilon/upsilon

και
Κώδικας: Επιλογή όλων
ls -l /etc/upsilon/


και πόσταρε το αποτέλεσμα τους.

Πως εκτελείς τις εντολές?

Εκτελείς για παράδειγμα:
Κώδικας: Επιλογή όλων
/etc/upsilon/upsilon help


και παίρνεις αυτό το σφάλμα?
Άβαταρ μέλους
ftso
Επίτιμο μέλος
Επίτιμο μέλος
 
Δημοσιεύσεις: 6409
Εγγραφή: 12 Μάιος 2008, 13:40
Τοποθεσία: Αθήνα
IRC: ftso
Εκτύπωση

Re: Βοήθεια με ups installation

Δημοσίευσηαπό sfikas » 25 Οκτ 2008, 05:22

Λοιπόν, ξεκινώνατς από το 2ο:
ls -l /etc/upsilon
total 356
-rw-r--r-- 1 root root 8 2008-10-25 05:14 busy
-r-xr-xr-x 1 root root 10303 2008-10-24 16:55 email
drwxr-xr-x 2 root root 4096 2008-10-24 16:55 help
-r-xr-xr-x 1 root root 7625 2008-10-24 16:55 pager
-rw-r--r-- 1 root root 123 2008-10-24 16:55 preshut.bat
-r-xr--r-- 1 root root 78486 2008-10-24 16:55 rupsd
-rw-r--r-- 1 root root 232 2008-10-24 16:55 rups.ini
-rw-r--r-- 1 root root 0 2008-10-24 16:55 rupslog
-rw-r--r-- 1 root root 12 2008-10-24 16:55 shutdown.ini
-r-xr-xr-x 1 root root 225376 2008-10-24 16:55 upsilon
-rw-r--r-- 1 root root 565 2008-10-24 16:55 upsilon.cfg
-rw-r--r-- 1 root root 0 2008-10-24 16:55 upsilon.eml
-rw-r--r-- 1 root root 0 2008-10-24 16:55 upsilon.pgr

στο 3ο που μου λες πράγματι καλά κατάλαβες. Όταν δίνω πχ /etc/upsilon/upsilon help βγαίνει το λάθος. Οι μόνες εντολές που λειτουργούν είναι το stop και το start.
Tώρα όσο αφορά το 1ο μάλλον δε μπορώ να postάρω τι βγάζει καθώς θέλουμε 3 σελίδες και τα μισά ειναι σύμβολα...
Γνώσεις ⇛ Linux: Μέτρια ┃ Προγραμματισμός: Ναι PHP, MySQL, C, C++ ┃ Αγγλικά: Καλά
Λειτουργικά → Kubuntu 11.04 64bit
Προδιαγραφές → AMD Phenom(tm) 9500 Quad-Core Prosessor 2.21GHz ‖ RAM 4 GB
Κάρτες γραφικών: ATI Radeon hd5770 (asus)
Δίκτυα: eth0: Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller
sfikas
babeTUX
babeTUX
 
Δημοσιεύσεις: 61
Εγγραφή: 10 Ιουν 2008, 18:48
Εκτύπωση

Re: Βοήθεια με ups installation

Δημοσίευσηαπό linuxman » 25 Οκτ 2008, 13:19

Εάν μπορείς να βρεις στο CD κάποιο αρχείο Readme or Install file μπορείς να το ανεβάσεις κάπου και να το δω και μετά θα μπορέσω να σου πω πως να το κάνεις
Οδηγίες προς Νεοεισερχόμενους
1 Γνώσεις Linux: Πολύ καλό ┃ Προγραμματισμού: Ικανοποιητικό ┃ Αγγλικών: Ικανοποιητικό
2 Linux Mint 17.1 Rebecca 3.13.0-37-generic 64bit (el_GR.UTF-8, X-Cinnamon cinnamon)
3 Intel Core i5-2310M CPU @ 2.10GHz ‖ RAM 3866 MiB ‖ Dell Inc. 0D7C51 - Dell Inc. Dell System Vostro 3750
4 Intel 2nd Generation Core Processor Family Integrated Graphics [8086:0116] {i915}
5 wlan0: Intel Centrino Wireless-N 1030 [Rainbow Peak] [8086:008a] (rev 34) ⋮ eth0: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
http://www.greeklug.gr
Άβαταρ μέλους
linuxman
Επίτιμο μέλος
Επίτιμο μέλος
 
Δημοσιεύσεις: 10378
Εγγραφή: 10 Μάιος 2008, 20:41
Τοποθεσία: Thessaloniki / Macedonia / Greece
Εκτύπωση

Re: Βοήθεια με ups installation

Δημοσίευσηαπό ftso » 25 Οκτ 2008, 13:31

sfikas έγραψε:Λοιπόν, ξεκινώνατς από το 2ο:
ls -l /etc/upsilon
total 356
-rw-r--r-- 1 root root 8 2008-10-25 05:14 busy
-r-xr-xr-x 1 root root 10303 2008-10-24 16:55 email
drwxr-xr-x 2 root root 4096 2008-10-24 16:55 help
-r-xr-xr-x 1 root root 7625 2008-10-24 16:55 pager
-rw-r--r-- 1 root root 123 2008-10-24 16:55 preshut.bat
-r-xr--r-- 1 root root 78486 2008-10-24 16:55 rupsd
-rw-r--r-- 1 root root 232 2008-10-24 16:55 rups.ini
-rw-r--r-- 1 root root 0 2008-10-24 16:55 rupslog
-rw-r--r-- 1 root root 12 2008-10-24 16:55 shutdown.ini
-r-xr-xr-x 1 root root 225376 2008-10-24 16:55 upsilon
-rw-r--r-- 1 root root 565 2008-10-24 16:55 upsilon.cfg
-rw-r--r-- 1 root root 0 2008-10-24 16:55 upsilon.eml
-rw-r--r-- 1 root root 0 2008-10-24 16:55 upsilon.pgr

στο 3ο που μου λες πράγματι καλά κατάλαβες. Όταν δίνω πχ /etc/upsilon/upsilon help βγαίνει το λάθος. Οι μόνες εντολές που λειτουργούν είναι το stop και το start.
Tώρα όσο αφορά το 1ο μάλλον δε μπορώ να postάρω τι βγάζει καθώς θέλουμε 3 σελίδες και τα μισά ειναι σύμβολα...


Για δώσε τώρα και τα αποτελέσματα των παρακάτω:
Κώδικας: Επιλογή όλων
cat /etc/upsilon/upsilon.cfg

και
Κώδικας: Επιλογή όλων
cat /etc/upsilon/help
Άβαταρ μέλους
ftso
Επίτιμο μέλος
Επίτιμο μέλος
 
Δημοσιεύσεις: 6409
Εγγραφή: 12 Μάιος 2008, 13:40
Τοποθεσία: Αθήνα
IRC: ftso
Εκτύπωση

Re: Βοήθεια με ups installation

Δημοσίευσηαπό sfikas » 29 Οκτ 2008, 02:20

Για τον φιλο ftso
cat /etc/upsilon/upsilon.cfg
AC Fail Delay ( 1 ... 1440 min. ) : [5]
Batt Low Delay ( 1 ... 10 min. ) : [1]
Turn Off UPS Delay ( 0.2 ... 10 min. ) : [3.0]
Battery Rating ( 12.0 ... 96.0 v ) : [0.0]
UPS Comport ( /dev/xxttyxx ) : [/dev/ttyS1]
Turn Off UPS? ( 0 - no, 1 - yes ) : [1]
Schedule Function ( 0 - off, 1 - on ) : [0]
Countdown Function ( 0 - off, 1 - on ) : [1]
Communication Mode ( 0-Port, 1-SNMP ) : [0]
SNMP IP Address ( xxx.xxx.xxx.xxx ) : [127.0.0.1]
SNMP Community Name ( e.g. public ) : [public]

Το help που μου ζητας να σου εμφανίσω είναι φάκελος με 25 περίπου αρχεία μεσα... :?

Για τον φίλο linuxman
http://rapidshare.com/files/158506379/N ... r.rar.html
Γνώσεις ⇛ Linux: Μέτρια ┃ Προγραμματισμός: Ναι PHP, MySQL, C, C++ ┃ Αγγλικά: Καλά
Λειτουργικά → Kubuntu 11.04 64bit
Προδιαγραφές → AMD Phenom(tm) 9500 Quad-Core Prosessor 2.21GHz ‖ RAM 4 GB
Κάρτες γραφικών: ATI Radeon hd5770 (asus)
Δίκτυα: eth0: Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller
sfikas
babeTUX
babeTUX
 
Δημοσιεύσεις: 61
Εγγραφή: 10 Ιουν 2008, 18:48
Εκτύπωση

Re: Βοήθεια με ups installation

Δημοσίευσηαπό linuxman » 29 Οκτ 2008, 14:15

Θα πρέπει να υπάρχει ένα αρχείο του ups μετά από το install στο /etc/init.d/ εάν όχι τότε θα πρέπει να το φτιάξεις εσύ εάν που να κάνει το start και μετά να εκτελέσεις μία εντολή
Κώδικας: Επιλογή όλων

sudo update-rc.d -f file-name.sh start 99 0 1 2 3 4 5 6 . ( δες εάν το install κάνει και εάν βάζει αρχείο εκεί )
Οδηγίες προς Νεοεισερχόμενους
1 Γνώσεις Linux: Πολύ καλό ┃ Προγραμματισμού: Ικανοποιητικό ┃ Αγγλικών: Ικανοποιητικό
2 Linux Mint 17.1 Rebecca 3.13.0-37-generic 64bit (el_GR.UTF-8, X-Cinnamon cinnamon)
3 Intel Core i5-2310M CPU @ 2.10GHz ‖ RAM 3866 MiB ‖ Dell Inc. 0D7C51 - Dell Inc. Dell System Vostro 3750
4 Intel 2nd Generation Core Processor Family Integrated Graphics [8086:0116] {i915}
5 wlan0: Intel Centrino Wireless-N 1030 [Rainbow Peak] [8086:008a] (rev 34) ⋮ eth0: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
http://www.greeklug.gr
Άβαταρ μέλους
linuxman
Επίτιμο μέλος
Επίτιμο μέλος
 
Δημοσιεύσεις: 10378
Εγγραφή: 10 Μάιος 2008, 20:41
Τοποθεσία: Thessaloniki / Macedonia / Greece
Εκτύπωση

Re: Βοήθεια με ups installation

Δημοσίευσηαπό sfikas » 29 Οκτ 2008, 17:12

linuxman δεν υπάρχει κάποιο τέτοιο αρχείο μετά το install. Τι πρέπει να κάνω?
Γνώσεις ⇛ Linux: Μέτρια ┃ Προγραμματισμός: Ναι PHP, MySQL, C, C++ ┃ Αγγλικά: Καλά
Λειτουργικά → Kubuntu 11.04 64bit
Προδιαγραφές → AMD Phenom(tm) 9500 Quad-Core Prosessor 2.21GHz ‖ RAM 4 GB
Κάρτες γραφικών: ATI Radeon hd5770 (asus)
Δίκτυα: eth0: Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller
sfikas
babeTUX
babeTUX
 
Δημοσιεύσεις: 61
Εγγραφή: 10 Ιουν 2008, 18:48
Εκτύπωση

Επόμενο

Επιστροφή στο Λειτουργικό Σύστημα