Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #174015 > unrolled thread
| Started by | Hadi Motamedi <motamedi24@gmail.com> |
|---|---|
| First post | 2016-10-30 07:40 +0100 |
| Last post | 2016-10-31 08:50 +0100 |
| Articles | 8 — 5 participants |
Back to article view | Back to linux.debian.user
Power Cut Hadi Motamedi <motamedi24@gmail.com> - 2016-10-30 07:40 +0100
Re: Power Cut Gene Heskett <gheskett@shentel.net> - 2016-10-30 08:40 +0100
Re: Power Cut Hadi Motamedi <motamedi24@gmail.com> - 2016-10-30 08:50 +0100
Re: Power Cut Lisi Reisz <lisi.reisz@gmail.com> - 2016-10-30 13:10 +0100
Re: Power Cut Gene Heskett <gheskett@shentel.net> - 2016-10-30 14:30 +0100
Re: Power Cut Andre Majorel <aym-naibed@teaser.fr> - 2016-10-30 10:10 +0100
Re: Power Cut Reco <recoverym4n@gmail.com> - 2016-10-30 10:30 +0100
Re: Power Cut Andre Majorel <aym-naibed@teaser.fr> - 2016-10-31 08:50 +0100
| From | Hadi Motamedi <motamedi24@gmail.com> |
|---|---|
| Date | 2016-10-30 07:40 +0100 |
| Subject | Power Cut |
| Message-ID | <sxRWF-173-5@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Dear All I am using a debian server for cdr billing and mediation device on a remote network. I am experiencing problem that I am suspicious it comes from main supply power cut at the remote site. The power supply to the remote site comes from battery charger that will be automatically switched in circuit under main supply power cut but cannot provide adequate power for more than 2 hours . I am suspicious that the remote system is suffering from many frequent main supply power cut . Can you please do me favor and let me know if there is any log on my debian server that I can check to see if there would be many frequent power cut there ? Thank you for your time
[toc] | [next] | [standalone]
| From | Gene Heskett <gheskett@shentel.net> |
|---|---|
| Date | 2016-10-30 08:40 +0100 |
| Message-ID | <sxSSJ-1Fu-1@gated-at.bofh.it> |
| In reply to | #174015 |
On Sunday 30 October 2016 02:37:28 Hadi Motamedi wrote: > Dear All > I am using a debian server for cdr billing and mediation device on a > remote network. I am experiencing problem that I am suspicious it > comes from main supply power cut at the remote site. The power supply > to the remote site comes from battery charger that will be > automatically switched in circuit under main supply power cut but > cannot provide adequate power for more than 2 hours . I am suspicious > that the remote system is suffering from many frequent main supply > power cut . Can you please do me favor and let me know if there is any > log on my debian server that I can check to see if there would be many > frequent power cut there ? > Thank you for your time Likely the only log will be /var/log/messages, which will show the reboot time when power has been restored, IF the server is set to auto-boot when power is restored. That should show when it restarted but may not log the power failure because it doesn't have time to write the log. So you can get your restart times, but not the fail time. Is that "battery charger" smart enough to be interfaced with nut? Thats short for Network UPS Tools, which can monitor and log such activities, and even issue a clean shutdown to the whole system running on this emergency power when the battery is nearly depleted. I'd also see if natural gas is available at the site, so that a generator can be started when the main power fails. Going whole house and all my toys I have a 20 Kwh Generac here that starts automatically, so I have power back up in about 5 seconds, but that was in the $7000 range installed. The wife has copd, and long periods w/o the AC are very hard on her, so I did what I had to do. This machine has a UPS, but most of the others here are set to auto-reboot when power is restored. Enterprising individuals can likely setup much smaller emergency/standby power since all it would take in a pi or arduino and some programming to send the start and stop commands if it had an electric starter and kill. You will need a "transfer" switch which must absolutely prevent any locally generated power from feeding out into a failed power line as that might kill someone trying to restore the power some distance away from your site. Here in the states, kohler, generac, & a dozen house brands peddle smaller such generators, but are not always proportionately priced. Most of the teeny ones are 2 strokers, needing mixed fuel, don't have electric starters and in my experience are run 3 or 4 times junk so you wasted that $300. I suspect you are not in the "states" so I don't have a good idea what may be locally available for you. Just throwing out ideas to see if anything "sticks to the wall" :) Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene>
[toc] | [prev] | [next] | [standalone]
| From | Hadi Motamedi <motamedi24@gmail.com> |
|---|---|
| Date | 2016-10-30 08:50 +0100 |
| Message-ID | <sxT2p-1IM-3@gated-at.bofh.it> |
| In reply to | #174016 |
[Multipart message — attachments visible in raw view] — view raw
Thank you very much for your reply . I got the point and it seems that the /var/log/messages are more handy . Thank you again for your time On Sun, Oct 30, 2016 at 12:36 AM, Gene Heskett <gheskett@shentel.net> wrote: > On Sunday 30 October 2016 02:37:28 Hadi Motamedi wrote: > > > Dear All > > I am using a debian server for cdr billing and mediation device on a > > remote network. I am experiencing problem that I am suspicious it > > comes from main supply power cut at the remote site. The power supply > > to the remote site comes from battery charger that will be > > automatically switched in circuit under main supply power cut but > > cannot provide adequate power for more than 2 hours . I am suspicious > > that the remote system is suffering from many frequent main supply > > power cut . Can you please do me favor and let me know if there is any > > log on my debian server that I can check to see if there would be many > > frequent power cut there ? > > Thank you for your time > > Likely the only log will be /var/log/messages, which will show the reboot > time when power has been restored, IF the server is set to auto-boot > when power is restored. That should show when it restarted but may not > log the power failure because it doesn't have time to write the log. > So you can get your restart times, but not the fail time. > > Is that "battery charger" smart enough to be interfaced with nut? > > Thats short for Network UPS Tools, which can monitor and log such > activities, and even issue a clean shutdown to the whole system running > on this emergency power when the battery is nearly depleted. I'd also > see if natural gas is available at the site, so that a generator can be > started when the main power fails. > > Going whole house and all my toys I have a 20 Kwh Generac here that > starts automatically, so I have power back up in about 5 seconds, but > that was in the $7000 range installed. The wife has copd, and long > periods w/o the AC are very hard on her, so I did what I had to do. > This machine has a UPS, but most of the others here are set to > auto-reboot when power is restored. > > Enterprising individuals can likely setup much smaller emergency/standby > power since all it would take in a pi or arduino and some programming to > send the start and stop commands if it had an electric starter and > kill. You will need a "transfer" switch which must absolutely prevent > any locally generated power from feeding out into a failed power line as > that might kill someone trying to restore the power some distance away > from your site. > > Here in the states, kohler, generac, & a dozen house brands peddle > smaller such generators, but are not always proportionately priced. Most > of the teeny ones are 2 strokers, needing mixed fuel, don't have > electric starters and in my experience are run 3 or 4 times junk so you > wasted that $300. I suspect you are not in the "states" so I don't have > a good idea what may be locally available for you. > > Just throwing out ideas to see if anything "sticks to the wall" :) > > Cheers, Gene Heskett > -- > "There are four boxes to be used in defense of liberty: > soap, ballot, jury, and ammo. Please use in that order." > -Ed Howdershelt (Author) > Genes Web page <http://geneslinuxbox.net:6309/gene> > >
[toc] | [prev] | [next] | [standalone]
| From | Lisi Reisz <lisi.reisz@gmail.com> |
|---|---|
| Date | 2016-10-30 13:10 +0100 |
| Message-ID | <sxX61-4sU-5@gated-at.bofh.it> |
| In reply to | #174016 |
On Sunday 30 October 2016 07:36:23 Gene Heskett wrote: > I'd also > see if natural gas is available at the site, so that a generator can be > started when the main power fails. Gene - Why only natural gas? Is this a linguistic matter or technical? Why would this not work with say, coal gas, Calor gas (which can be at any site) etc.. Why only *natural* gas? Or is "natural gas" US-speak for "gaseous gas" as opposed to liquid gas, which you call gas and we call petrol? Lisi
[toc] | [prev] | [next] | [standalone]
| From | Gene Heskett <gheskett@shentel.net> |
|---|---|
| Date | 2016-10-30 14:30 +0100 |
| Message-ID | <sxYlr-5b8-25@gated-at.bofh.it> |
| In reply to | #174024 |
On Sunday 30 October 2016 08:03:57 Lisi Reisz wrote: > On Sunday 30 October 2016 07:36:23 Gene Heskett wrote: > > I'd also > > see if natural gas is available at the site, so that a generator can > > be started when the main power fails. > > Gene - Why only natural gas? Is this a linguistic matter or > technical? Why would this not work with say, coal gas, Calor gas > (which can be at any site) etc.. Why only *natural* gas? Or is > "natural gas" US-speak for "gaseous gas" as opposed to liquid gas, > which you call gas and we call petrol? > > Lisi Thats the common terminology on this side of the pond, to distinguish it from propane, which can also be used, but propane is normally stored in high pressure tankage of from 100 lbs to 5000 gallons. Natural comes from the well with a bit of debris filtering and would not be used up until that well network was out of gas, possibly another 100 years. The propane tanks contents OTOH, will eventually be used up and will require refilling. So we tend to equate "natural" as a continuously available supply. So yes, language differences. As has been said many times, Great Britain, and the USA, two great countries separated by a common language. :) Somehow, I get the impression that the OP may be in the back country of India, but he has not confirmed it. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene>
[toc] | [prev] | [next] | [standalone]
| From | Andre Majorel <aym-naibed@teaser.fr> |
|---|---|
| Date | 2016-10-30 10:10 +0100 |
| Message-ID | <sxUhP-2EK-1@gated-at.bofh.it> |
| In reply to | #174015 |
On 2016-10-29 23:37 -0700, Hadi Motamedi wrote: > I am using a debian server for cdr billing and mediation > device on a remote network. I am experiencing problem that I > am suspicious it comes from main supply power cut at the > remote site. The power supply to the remote site comes from > battery charger that will be automatically switched in circuit > under main supply power cut but cannot provide adequate power > for more than 2 hours . I am suspicious that the remote system > is suffering from many frequent main supply power cut. > > Can you please do me favor and let me know if there is any log > on my debian server that I can check to see if there would be > many frequent power cut there ? If you mean reboots, you could try something like zgrep ' Command line: BOOT_IMAGE=' /var/log/syslog* Alternatively, look into commands such as last(1), uptime(1), utmpdump(1) or who(1). If you mean power outages short enough to not cause the computer to shut down or reboot, I suspect you'd need special hardware to monitor the mains voltage and report variations to the computer. I don't think your ordinary ATX power supply does that but lots of UPS do. -- André Majorel <http://www.teaser.fr/~amajorel/> bugs.debian.org, your one-stop shop for email addresses.
[toc] | [prev] | [next] | [standalone]
| From | Reco <recoverym4n@gmail.com> |
|---|---|
| Date | 2016-10-30 10:30 +0100 |
| Message-ID | <sxUBb-2Lv-7@gated-at.bofh.it> |
| In reply to | #174019 |
Hi. On Sun, 30 Oct 2016 10:06:30 +0100 Andre Majorel <aym-naibed@teaser.fr> wrote: > On 2016-10-29 23:37 -0700, Hadi Motamedi wrote: > > > I am using a debian server for cdr billing and mediation > > device on a remote network. I am experiencing problem that I > > am suspicious it comes from main supply power cut at the > > remote site. The power supply to the remote site comes from > > battery charger that will be automatically switched in circuit > > under main supply power cut but cannot provide adequate power > > for more than 2 hours . I am suspicious that the remote system > > is suffering from many frequent main supply power cut. > > > > Can you please do me favor and let me know if there is any log > > on my debian server that I can check to see if there would be > > many frequent power cut there ? > > If you mean reboots, you could try something like > > zgrep ' Command line: BOOT_IMAGE=' /var/log/syslog* > > Alternatively, look into commands such as last(1), uptime(1), > utmpdump(1) or who(1). Won't a simple "last | grep boot" suffice? Reco
[toc] | [prev] | [next] | [standalone]
| From | Andre Majorel <aym-naibed@teaser.fr> |
|---|---|
| Date | 2016-10-31 08:50 +0100 |
| Message-ID | <syfvX-7MY-9@gated-at.bofh.it> |
| In reply to | #174021 |
On 2016-10-30 12:25 +0300, Reco wrote: > On Sun, 30 Oct 2016 10:06:30 +0100 > Andre Majorel <aym-naibed@teaser.fr> wrote: > > On 2016-10-29 23:37 -0700, Hadi Motamedi wrote: > > > > > > Can you please do me favor and let me know if there is any log > > > on my debian server that I can check to see if there would be > > > many frequent power cut there ? > > > > If you mean reboots, you could try something like > > > > zgrep ' Command line: BOOT_IMAGE=' /var/log/syslog* > > > > Alternatively, look into commands such as last(1), uptime(1), > > utmpdump(1) or who(1). > > Won't a simple "last | grep boot" suffice? If the man page is not lying, "last reboot" will. But none of the machines I have access to reboot often enough for me to make sure. -- André Majorel <http://www.teaser.fr/~amajorel/> Plusieurs grandes marques de spambots recommandent lists.debian.org.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web