Portál AbcLinuxu, 15. července 2025 12:46


Dotaz: Problem s UPS a ttyS0

24.9.2004 09:40 Marek
Problem s UPS a ttyS0
Přečteno: 241×
Odpovědět | Admin
Zdravim, mel bych jeden dotaz, jak zjistim na jakem portu je zapojena Smart-Ups? Pri instalaci instalator nemuze najit zadne zarizeni UPS tak tam dam na tvrdo ttyS0 a vypis lsoft | gre -i 'ttyS0' je potom, java 6581 root 6u CHR 4,64 37053 /dev/ttyS0.

Seriaovy kabel mam zapojeny i USB.

Diky
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

24.9.2004 10:01 Marek
Rozbalit Rozbalit vše Re: Problem s UPS a ttyS0
Odpovědět | | Sbalit | Link | Blokovat | Admin
No uz to snad jede ale mam dalsi problem pri instalaci powerchude mi to napise nakonci

make backup copy of startup files... modifying startup files... ./INSTALL: line 391: /etc/rc.d/init.d/upsd.tmp: No such file or directory ./INSTALL: line 396: /etc/rc.d/init.d/upsd: No such file or directory chmod: cannot access `/etc/rc.d/init.d/upsd': No such file or directory

---------------------------------------------------------------------------- WARNING: Unable to create /etc/rc.d/init.d/upsd! PowerChute Plus for UNIX will not be able to start up when the system boots! ---------------------------------------------------------------------------- Press Enter to continue ln: `/etc/rc.d/rc2.d/S98upsd': File exists

---------------------------------------------------------------------------- WARNING: Unable to create /etc/rc.d/rc2.d/S98upsd! PowerChute Plus for UNIX will not be able to start up when the system boots in run level 2! ---------------------------------------------------------------------------- Press Enter to continue ln: `/etc/rc.d/rc3.d/S98upsd': File exists

---------------------------------------------------------------------------- WARNING: Unable to create /etc/rc.d/rc3.d/S98upsd! PowerChute Plus for UNIX will not be able to start up when the system boots in run level 3! ---------------------------------------------------------------------------- Press Enter to continue

Diky za radu
Josef Kufner avatar 24.9.2004 14:53 Josef Kufner | skóre: 70
Rozbalit Rozbalit vše OT: Re: Problem s UPS a ttyS0
Odpovědět | | Sbalit | Link | Blokovat | Admin
lsof | grep -i 'ttyS0'
by bylo lepe napsano
lsof /dev/ttyS0
Jinak mozna by se dalo detekovat zarizeni na seriovem portu pokusem o jeho otevreni.
Hello world ! Segmentation fault (core dumped)

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.