Re: Softraid & partclone

2022-08-23 Thread Testler Test
> Let's see the output of "cat /proc/mdstat".

The raid status is as follows. No problem appears.

# cat /proc/mdstat
Personalities : [raid1]
md2 : active raid1 sdb3[1] sda3[0]
  232623424 blocks super 1.2 [2/2] [UU]
  bitmap: 1/2 pages [4KB], 65536KB chunk

md1 : active raid1 sdb2[1] sda2[0]
  523264 blocks super 1.2 [2/2] [UU]

md0 : active raid1 sdb1[1] sda1[0]
  16759808 blocks super 1.2 [2/2] [UU]


> Further, you say "disk states are healthy", but you don't SHOW US
> that. So we have no wya to know by what means you have determined
> that the "disk states are healthy" and no way to know what further
> to suggest to you in that area.

-% Sda:

=== START OF INFORMATION SECTION ===
Model Family: Crucial/Micron BX/MX1/2/3/500, M5/600, 1100 SSDs
Device Model: Crucial_CT256MX100SSD1
Serial Number:14300CC6CD95
LU WWN Device Id: 5 00a075 10cc6cd95
Firmware Version: MU02
User Capacity:256.060.514.304 bytes [256 GB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate:Solid State Device
Form Factor:  2.5 inches
Device is:In smartctl database [for details use: -P show]
ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:Wed Aug 24 07:53:15 2022 +03
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

-% sdb
=== START OF INFORMATION SECTION ===
Model Family: Crucial/Micron BX/MX1/2/3/500, M5/600, 1100 SSDs
Device Model: Crucial_CT256MX100SSD1
Serial Number:14300CC6C22B
LU WWN Device Id: 5 00a075 10cc6c22b
Firmware Version: MU02
User Capacity:256.060.514.304 bytes [256 GB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate:Solid State Device
Form Factor:  2.5 inches
Device is:In smartctl database [for details use: -P show]
ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:Wed Aug 24 07:53:34 2022 +03
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED






Andy Smith , 23 Ağu 2022 Sal, 23:08 tarihinde şunu yazdı:
>
> Hi Testler,
>
> On Tue, Aug 23, 2022 at 10:43:46PM +0300, Testler Test wrote:
> > > Read the device that contains the data, /dev/mdX. Or add your new drive
> > > to the RAID, wait for synchronization, then remove it.
> >
> > Postgresql is installed on the system.  Disk states are healthy.
> > However, the tables in the database are giving an error. I can't get a
> > backup. Error while backing up.
>
> You didn't mention anything about damage in your original email,
> even though filesystem or device error seems to be your primary
> problem. So that was a very unhelpful way for you to start out.
>
> The next entirely unhelpful thing you did was to say there is an
> error without showing us the exact text of that error.
>
> Further, you say "disk states are healthy", but you don't SHOW US
> that. So we have no wya to know by what means you have determined
> that the "disk states are healthy" and no way to know what further
> to suggest to you in that area.
>
> You are making it very hard for anyone to help you.
>
> Let's see some of these error texts.
>
> Let's see the output of "smartctl -A" for every device in your
> RAIDs.
>
> Let's see the output of "cat /proc/mdstat".
>
> Then we might be able to get you closer to your goal of being able
> to back up the postgres tables you have in a database that is stored
> on an MD array. If that is indeed your goal.
>
> There might be further questions.
>
> Cheers,
> Andy
>
> --
> https://bitfolk.com/ -- No-nonsense VPS hosting
>



Re: Softraid & partclone

2022-08-23 Thread Testler Test
> Read the device that contains the data, /dev/mdX. Or add your new drive
> to the RAID, wait for synchronization, then remove it.

Postgresql is installed on the system.  Disk states are healthy.
However, the tables in the database are giving an error. I can't get a
backup. Error while backing up. The oldest tow is damaged. So I want
to clone. I want to go back to a different system and repair the
database there. I can't use "dd" or "partclone" because it's softraid.
Or can I use it?

Nicolas George , 23 Ağu 2022 Sal, 22:39 tarihinde şunu yazdı:
>
> Testler Test (12022-08-23):
> > I am using soft raid. I want to clone the system with "dd". Normally I
> > can take backups of partitions such as sda1, sda2. I can run it
> > without any problem. But I've never done it with softraid. What tool
> > would you recommend for cloning?
>
> Read the device that contains the data, /dev/mdX. Or add your new drive
> to the RAID, wait for synchronization, then remove it.
>
> Regards,
>
> --
>   Nicolas George



Softraid & partclone

2022-08-23 Thread Testler Test
Hello

I am using soft raid. I want to clone the system with "dd". Normally I
can take backups of partitions such as sda1, sda2. I can run it
without any problem. But I've never done it with softraid. What tool
would you recommend for cloning?

-% Disk_parttition:

NAMEMAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda   8:00 238,5G  0 disk
├─sda18:1016G  0 part
│ └─md0   9:0016G  0 raid1 [SWAP]
├─sda28:20   512M  0 part
│ └─md1   9:10   511M  0 raid1 /boot
└─sda38:30   222G  0 part
  └─md2   9:20 221,9G  0 raid1 /
sdb   8:16   0 238,5G  0 disk
├─sdb18:17   016G  0 part
│ └─md0   9:0016G  0 raid1 [SWAP]
├─sdb28:18   0   512M  0 part
│ └─md1   9:10   511M  0 raid1 /boot
└─sdb38:19   0   222G  0 part
  └─md2   9:20 221,9G  0 raid1 /



Re: Trouble connecting to wifi, Debian 11

2021-10-13 Thread echo test
Maybe you should use it because that's where you will find a lot of non
free firmwares.

Check your kernel logs ($> sudo dmesg) , you may find an explicit reason
why your adapter fails to run properly.

Le mer. 13 oct. 2021 à 18:36, kaye n  a écrit :

>
>
> On Wed, Oct 13, 2021, 21:26 Peter Ehlert,  wrote:
>
>>
>> On 10/13/21 6:14 AM, kaye n wrote:
>> > Hi Friends
>> >
>> > I've installed Debian 11 LXQT in my hard drive.
>> > I noticed connman does not automatically run on startup, which is fine.
>> >
>> > I manually open Connman. It can detect my usb wifi adapter because
>> > under Wireless tab, it says
>> >
>> > Wifi technologies: 1 Found,  1 powered
>> >
>> > However under the same tab, all these buttons after greyed out:
>> > Connect, Disconnect, Remove, Rescan
>> >
>> > And I cannot see my router on the list below these buttons.
>> >
>> > Tried connecting and disconnecting the usb wifi adapter, no change.
>> >
>> > Tried using a pricier usb wifi adapter, same thing.
>> >
>> > Tried plugging in a different usb port, same thing.
>> >
>> > I had very little trouble connecting to wifi on Debian 10 xfce.
>> >
>> > Should i just install Debian 11 xfce or is there a solution to this?
>> >
>> > 64-bit Debian, by the way.
>> >
>> > Also, have the same issue on the live usb Debian 11 - cannot connect
>> > to wifi.
>> are you using the nonfree firmware ISO?
>> >
>> > Bit off topic, Debian live usb comes with complete libreoffice except
>> > Base. The installed version on my hard drive has only libreoffice
>> > Draw, i think.  Is this normal?
>> >
>> > Thank you for your time.
>>
>
> No i am not using a non free firmware iso
>
>>


Re: How can encrypt my messages sent to the forum?

2021-10-10 Thread echo test
Hi William,

If you want your messages to exchanged securely with SSL, you have to
ensure that your SMTP (client,relay,...) use the STARTTLS command of the
SMTP protocol.

If you want your messages to be encrypted you have to know the public key
of your target (if using a public key infrastructure) or find way to share
a secret with your target for a symetric encryption.

May be someone can tell you if this mailing list provide a public key for
GPG. Personally I never checked for this and I hope this will help you.

Echo Zeta



Le dim. 10 oct. 2021 à 19:10, Andrew M.A. Cater  a
écrit :

> On Sun, Oct 10, 2021 at 10:59:11AM -0600, William Torrez Corea wrote:
> > My messages isn't encrypted, is in plain text.
> >
>
> Hi William,
>
> Which forum? This is a mailing list.
>
> Why would you want to encrypt messages sent here: the whole purpose
> of a mailing list is open communication, surely?
>
> What problem are you trying to solve?
>
> All the very best, as ever,
>
> Andy Cater
>
>
> > --
> >
> > With kindest regards, William.
> >
> > ⢀⣴⠾⠻⢶⣦⠀
> > ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
> > ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
> > ⠈⠳⣄
>
>


Re: Securing local host of reverse SSH tunnel?

2020-09-15 Thread echo test
>Ideally, this restriction should be based on
the public key of the pair but I've not seen in sshd_config(5) a way for
the Match directive to use the public key as its trigger

Not an expert but did you look at the certificate based authentication? You
can define your own certificate authority and allow only the certificates
signed (it's a public key) by your ca can to connect to your ssh server.

1 - Generate a key pair for the ca ( and another for he remote user)

$ ssh-keygen -t rsa -b 4096 -f ~/.ssh/ca -m PEM

2- Sign the public key of the user
ssh-keygen -s ca \
-I  \
-V 20191220:20201220 \
user_key.pub
 will be logged on your server everytime a connection is opened
with user_key.pub. -v stands for key validity.

3 - Allow on your LAN (ssh server)

TrustedUserCAKeys /secure/permission/ca.pub

This means, any certificate signed with this ca will be granted access to
your server. Of course you can restrict what the users whose login is
allowed (particularly prevent root login 😂).

Note: using the certificate based authentication, you can even choose what
kind of features are allowed to be used with a particular certificate. a
k.a AllowX11Forward and many more. Maybe a good reading of ssh doc may
provide you an better approach for your use case. ssh(1)

Hope this will help.


Re: ssh key used for login

2020-08-08 Thread echo test
If what you use is a certificate based authentication, you can add user
identity to the certificate with -I .
Any auth attempt will make that identity logged automatically. Then you
just have to get it from syslogs.



Le sam. 8 août 2020 à 02:26, Kushal Kumaran  a écrit :

> Rainer Dorsch  writes:
>
> > Hi,
> >
> > can anybody tell if there is a way to find out the ssh key (out of the
> ones
> > listed in authorized keys) was used for login to the current session?
> >
>
> See the environment="NAME=value" part in the authorized_keys(5) manpage.
> You can have each entry in authorized_keys set a different value for
> some variable you pick.
>
> You may also be able to use command="command" creatively.  This is what
> gitolite does: https://gitolite.com/gitolite/glssh
>
> --
> regards,
> kushal
>
>


Re: Additional information to add to "Unable to boot into the Gnome desktop after installing Debian Buster 10.4"

2020-07-29 Thread echo test
try

$ systemctl get-default

if the output is not --> graphical.target

then

$ systemctl set-default graphical.target

then

$ starx





Le mer. 29 juil. 2020 à 09:15, gajuph4...@yahoo.com 
a écrit :

> Hi guys
>
> I posted a request for help titled "Unable to boot into the Gnome desktop
> after installing Debian Buster 10.4" to this group earlier today.
>
> I wish to add that since that post, I have performed the following at the
> console tty2:
>
> sudo systemctl status gdm3
>
> The message on my monitor is "gdm3 is active and running".
>
> Next, I typed
>
> sudo startx
>
> I was told to check /var/log/Xorg.0.log for the errors.
>
> Below are the contents of said log:
>
> [   140.369]
> X.Org X Server 1.20.4
> X Protocol Version 11, Revision 0
> [   140.370] Build Operating System: Linux 4.9.0-8-amd64 x86_64 Debian
> [   140.371] Current Operating System: Linux localhost 4.19.0-9-amd64 #1
> SMP Debian 4.19.118-2 (2020-04-29) x86_64
> [   140.371] Kernel command line: BOOT_IMAGE=/vmlinuz-4.19.0-9-amd64
> root=UUID=53420559-2bf8-4765-bec5-96a6b2452c70 ro quiet
> [   140.372] Build Date: 05 March 2019  08:11:12PM
> [   140.373] xorg-server 2:1.20.4-1 (https://www.debian.org/support)
> [   140.373] Current version of pixman: 0.36.0
> [   140.374] Before reporting problems, check http://wiki.x.org
> to make sure that you have the latest version.
> [   140.374] Markers: (--) probed, (**) from config file, (==) default
> setting,
> (++) from command line, (!!) notice, (II) informational,
> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> [   140.375] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul 29
> 14:28:27 2020
> [   140.376] (==) Using system config directory
> "/usr/share/X11/xorg.conf.d"
> [   140.376] (==) No Layout section.  Using the first Screen section.
> [   140.376] (==) No screen section available. Using defaults.
> [   140.376] (**) |-->Screen "Default Screen Section" (0)
> [   140.376] (**) |   |-->Monitor ""
> [   140.376] (==) No monitor specified for screen "Default Screen Section".
> Using a default monitor configuration.
> [   140.376] (==) Automatically adding devices
> [   140.376] (==) Automatically enabling devices
> [   140.376] (==) Automatically adding GPU devices
> [   140.376] (==) Max clients allowed: 256, resource mask: 0x1f
> [   140.376] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not
> exist.
> [   140.376] Entry deleted from font path.
> [   140.376] (==) FontPath set to:
> /usr/share/fonts/X11/misc,
> /usr/share/fonts/X11/100dpi/:unscaled,
> /usr/share/fonts/X11/75dpi/:unscaled,
> /usr/share/fonts/X11/Type1,
> /usr/share/fonts/X11/100dpi,
> /usr/share/fonts/X11/75dpi,
> built-ins
> [   140.376] (==) ModulePath set to "/usr/lib/xorg/modules"
> [   140.376] (II) The server relies on udev to provide the list of input
> devices.
> If no devices become available, reconfigure udev or disable
> AutoAddDevices.
> [   140.376] (II) Loader magic: 0x56096990de20
> [   140.376] (II) Module ABI versions:
> [   140.376] X.Org ANSI C Emulation: 0.4
> [   140.376] X.Org Video Driver: 24.0
> [   140.376] X.Org XInput driver : 24.1
> [   140.376] X.Org Server Extension : 10.0
> [   140.377] (++) using VT number 2
>
> [   140.378] (II) systemd-logind: took control of session
> /org/freedesktop/login1/session/_32
> [   140.379] (--) PCI:*(0@0:2:0) 8086:8a56:1043:1ec1 rev 7, Mem @
> 0x60/16777216, 0x40/268435456, I/O @ 0x3000/64, BIOS @
> 0x/131072
> [   140.379] (II) LoadModule: "glx"
> [   140.379] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
> [   140.380] (II) Module glx: vendor="X.Org Foundation"
> [   140.380] compiled for 1.20.4, module version = 1.0.0
> [   140.380] ABI class: X.Org Server Extension, version 10.0
> [   140.380] (==) Matched modesetting as autoconfigured driver 0
> [   140.380] (==) Matched fbdev as autoconfigured driver 1
> [   140.380] (==) Matched vesa as autoconfigured driver 2
> [   140.380] (==) Assigned the driver to the xf86ConfigLayout
> [   140.380] (II) LoadModule: "modesetting"
> [   140.380] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
> [   140.380] (II) Module modesetting: vendor="X.Org Foundation"
> [   140.380] compiled for 1.20.4, module version = 1.20.4
> [   140.380] Module class: X.Org Video Driver
> [   140.380] ABI class: X.Org Video Driver, version 24.0
> [   140.380] (II) LoadModule: "fbdev"
> [   140.380] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
> [   140.380] (II) Module fbdev: vendor="X.Org Foundation"
> [   140.380] compiled for 1.20.0, module version = 0.5.0
> [   140.380] Module class: X.Org Video Driver
> [   140.380] ABI class: X.Org Video Driver, version 24.0
> [   140.380] (II) LoadModule: "vesa"
> [   140.380] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
> [   140.380] (II) Module vesa: vendor="X.Org Foundation"
> [

Debian 10.4 blank screen After new install

2020-07-22 Thread echo test
Hello,

That blank screen means your hardware has not found the way to load your
boot partition. Verify your BIOS configuration. Try toggling between UEFI
and MBR assuming your bootable device is ok.



Le mer. 22 juil. 2020 à 05:20, Edward M Kent  a écrit :

> Hello All,   I am an old Nube trying to get set up to use a Beaglebone on
> some projects.  I thought I had a successful install after a list of tasks
> was displayed down the screen's left hand edge.  The list went blank and
> left a - in the upper left corner.  This curser soon disappeared leaving a
> blank screen.  The mouse cursed did show up but was a bit erratic.  I
> rebooted several times and ended back at the same place.
> This is on a win10 Dell and I can not get back to win10 because I did not
> get the dual boot setup.
> Thanks for any advice.
> Mick
>
>


Re: what calculator do you use?

2020-07-13 Thread echo test
Hello,
   This may seems strange but I always use python in interactive mode. Just
type python3 or python without any file path. :D

Le lun. 13 juil. 2020 à 12:48, The Wanderer  a écrit :

> On 2020-07-13 at 06:01, Reco wrote:
>
> >   Hi.
> >
> > On Mon, Jul 13, 2020 at 03:31:10PM +0800, kaye n wrote:
> >> Hello Friends,
> >> Correct me if I'm wrong, but I don't see any calculator app in my
> Debian os.
> >
> > There are plenty, for all tastes. Try "apt search calculator".
> >
> >> What do you guys use? I'm having trouble with Galculator.
> >
> > bc, simple as that. Everything else requires more keystokes or a mouse.
>
> What about calc (currently in the package of that name, formerly in the
> package apcalc)? That being what I've used for over a decade now.
>
> Reading through the bc man page, it looks to me as if using calc it
> should take comparable numbers of keystrokes, aside from typing the name
> of the program itself.
>
> In some contexts it could even need fewer; for example, calc (as shipped
> in Debian) provides the built-in function 'pi()', which takes a
> precision - expressed as a value between zero and one - and returns pi
> to that level of precision. The list of built-in functions in the bc man
> page is very short, and doesn't include any such thing, so unless
> something has added one without the man page getting updated anything
> that needs to use pi is going to take more typing than with calc.
>
> calc also has the option to present non-integer output in the form of a
> ratio of two integers, which means you don't have to figure out manually
> what fraction a given result is; at a skim, I don't see indication that
> bc has comparable functionality.
>
> I've heard recommendation of bc before, but to date I've yet to
> encounter anything that makes it seem preferable over calc, and I'm
> curious what I'm missing.
>
> --
>The Wanderer
>
> The reasonable man adapts himself to the world; the unreasonable one
> persists in trying to adapt the world to himself. Therefore all
> progress depends on the unreasonable man. -- George Bernard Shaw
>
>


Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread echo test
I'm very happy to have asked this question here, my brain is enjoying.
Thank you again for all, I'll definitely be stick on Debian.

> Something seems a little flakey about that architecture.  Rsyncng
postgress data?  There are lots of better ways to merge data into a
database.  Particularly in these days of cheap, continuous, broadband
connectivity.  And if you can't get business broadband in all your
locations, cellular modems are dirt cheap.  (I speak as someone who's
designed more than a few mobile data collection systems - everything from
tactical military systems to transit buses)

Exactly, what a bad idea. Here I should be talking about sync not rsync (
autocorrect killed me). I was thinking about WAL archiving for a point in
time recovery.

> Rsync is just wrong for that kind of application.  What are you syncing,
anyway.  2500 postgress instances, some raw data files for input to a
single instance of postgress, something else?  And if the postgress
instance is feeding live data to apps, you really need to focus first on
your high-availability strategy - single points of failure will kill you.

Not for database but for raw files like images, video and audio, I planned
using rsync ( I've not yet tested if git could do the trick here but I
thought about it)

> As a startup, you've got way too many other things to worry about than
home brewing an IT environment - focus on your core product/service,
whatever that is

Exactly, but when I've seen that the product we are going to build will
cover all those aspects a.k.a building this means our product is ready and
we gained more experience on the subject.
 > I added indexes for the relevant fields, and the query took a few
minutes. Powerful hardware is nice, but using it efficiently is even better

Infinitely right, I don't repeating this to my team.

> ZFS requires a different way of thinking,
> ...
>  So, you can replicate over a network in real-time and you can send a
replication
stream to a file and receive it later.

At what level do we have to change our mind? For example will this impact
the way to think SELinux (normally no) ?

> you have good backup and restore processes for your current systems?
What are your plans for the new systems?
> ...
> Do you desire 24x7 operations, live maintenance, automatic fail-over,
high-availability, or similar?  If so, how?
> ...
> What is your budget and schedule?  Manpower?

About the budget an manpower, we are creating a financial plan in order to
present it to our investors, so nothing is well decided for the moment,
that is why all your answers and suggestions are welcome and very useful.
What is ideal for 24/7 operations,high-availability and auto fail-over ?
We're 8 in the team for the moment, 2 web and mobile developer and only 2
peoples know things about system and network (admin,security,..) but we
plan to get more peoples.
So please, suggest, in the worst case we will have learned more things.

+2 for docker and kubernetes


> We also had some HPE Proliant DL380, that's pure crap (a lot a disk died
in the same month, bios update are non free, watermarked hard disks).
For now, they are all out of order, and it's far too expensive to repair
them.

Thank very much for this warning. Something more to remove from the list of
things to evaluate. And somewhere in my mind I was suspecting things like
this :) .


Le dim. 28 juin 2020 à 20:51, Miles Fidelman  a
écrit :

> On 6/28/20 6:37 AM, echo test wrote:
>
>
> Hello,
>
> Thank you for all your answers and sorry to be late for answering.
>
> > I prefer ZFS but I find that lots of corps prefer mdadm. I really think
> that's simply > because ZFS came from Sun and they lack Solaris
> backgrounds. Now, in a low-> RAM environment with simpler disc needs, I
> would probably go with mdadm.
> > Anything else I would choose ZFS. It's ability to take care of itself is
> surprisingly > strong. Less work for me after the set up and installation.
>
> ZFS beeing a filesystem and mdadm an utility software, I think I'll go for
> mdadm. I didn't know that Debian was supporting ZFS I always used Ext4.
>
> It's a stack.  You build up from disk, to block-level raid, to volume
> manager, to file system, to access protocol.
>
> ZFS includes multiple levels of the stack.  And yes there are ZFS
> implementations for Debian, along with a dozen or more other file systems.
>
>
> Sorry if I'm misunderstanding, are you saying that Debian  cannot scale in
> a bigger enterprise ?
> Can you tell me what happened with hardware RAID solutions?
>
> > small" could be anything from 10 to 1000 users. Mentioning some numbers
> > could get you more useful recommendations.
> > In any case, some interesting hardware not mentioned so far (don't
&g

Installing/launching MATE in a command line environment

2020-06-28 Thread echo test
Hello,

If you want the desktop environment to be started automatically check that
systemd is configured to run in graphical environment

 $> systemctl set-default graphical.target

If this is already setup, and you can launch your DE with startx, check also
that mate is the default DE with update-alternatives(8) or you can add the
startx command in /etc/profile.

Hope this helps.


Le dim. 28 juin 2020 à 16:15, Richard Owlett  a écrit :

> On 06/28/2020 08:39 AM, Patrick Bartek wrote:
> > On Sun, 28 Jun 2020 08:21:29 -0500
> > Richard Owlett  wrote:
> >
> >> The default install of the MATE desktop installs too much I don't want.
> >> Unfortunately the Debian installer does not allow coerces the
> >> installation of "recommended" packages.
> >>
> >> Therefore I did an install without *ANY* desktop environment.
> >> [Used DVD1 of Debian 8.6, latest for which I had a physical DVD]
> >>
> >> I then did
> >> apt-get --no-install-recommends install mate-desktop-environment gparted
> >>
> >> On reboot the desktop did not appear.
> >>
> >> What is the forgotten command to automatically launch the desktop at
> boot?
> >>
> >> TIA
> >
> > Did you install the X server and its depends?
>
> No, I had assumed that was a depends. OOOPS ;/
>
> > Did you manually run startx?
>
> No ;}
>
> > I assume you boot to a terminal and log-in there.
>
> That's what happens. I had expected booting would yield the MATE desktop.
>
>
> I did
> apt-get --no-install-recommends install xorg
> startx
>
> That yielded a MATE desktop with a minimalist's dream menu 
>
> It does not yet boot to the MATE desktop automatically.
> I've not yet investigated xorg's recommends.
> I am reading https://wiki.debian.org/Xorg .
> [Think I've found a typo, but need to follow the internal links to be
> sure.]
>
> *Thank you*
>
> This septuagenarian does some things the hard way to gain education ;}
>
>
>
> >
> > B
> >
> >
> >
>
>
>
>


Advice on hardware server to use for small a dedicated data center

2020-06-28 Thread echo test
Hello,

Thank you for all your answers and sorry to be late for answering.

> I prefer ZFS but I find that lots of corps prefer mdadm. I really think
that's simply > because ZFS came from Sun and they lack Solaris
backgrounds. Now, in a low-> RAM environment with simpler disc needs, I
would probably go with mdadm.
> Anything else I would choose ZFS. It's ability to take care of itself is
surprisingly > strong. Less work for me after the set up and installation.

ZFS beeing a filesystem and mdadm an utility software, I think I'll go for
mdadm. I didn't know that Debian was supporting ZFS I always used Ext4.


> Well, this might be heresy, but at that size, consider a Raspberry Pi
running Raspian
> I use a 3+ because I want to give the 4 a couple years to get its
hardware and software debugged.

I already have some raspberry pi running at home and even if I found they
can do very many things, they don't match what I want now.  I'm currently
using the 4b model with 1Gb of RAM which seemed to have enough power for
doing much more things but it's not yet able to boot from an external hard
drive, but I tried hacking this with fstab and it worked sometimes and not
on the next boot, so I just stopped trying to figure out what happened. I
dislike the idea that if I encrypt my hard drive anybody with enough
knowledge can just take the SD card and break my encryption.


>   I think Debian is a very good choice for a small enterprise server.
> ...
> I have been burned more than once with hardware RAID solutions.

Sorry if I'm misunderstanding, are you saying that Debian  cannot scale in
a bigger enterprise ?
Can you tell me what happened with hardware RAID solutions?

> small" could be anything from 10 to 1000 users. Mentioning some numbers
> could get you more useful recommendations.
> In any case, some interesting hardware not mentioned so far (don't
> forget about the power consumption).

Small here is for me about 2000 users all are restaurants that save their
selling history locally on their own server then 2 or 3 times in the
morning they will rsync their postgres data on my data center.
About the power consumption, any advice about some low power hardware are
also welcome.


> Supermicro 1U servers - run two or more of them
> and it's easy to turn them into a high-available cluster
>  ...
> Note:  I'm seriously considering migrating from Debian for our
> next refresh - I really don't like systemd - might go all the way to BSD
>or an OpenSolaris distro.

Supermicro seems definitely to propose some great stuff I will take them in
account. Why do you dislike systemd ? I heard many people saying the same
thing and I don't really understand what are their motivation except initd
is less invasive.


>> First of all, please don't ask me why I simply don't want to use aws or
gcp.
> Even if you do not use their services, you might find it useful to
> emulate them and implement a private cloud.

Very interesting, can you tell me more about that emulation process please ?

> Please specify the architecture of your services, your current
> development/ test/ staging/ production infrastructure and facilities,
> your current workload for each service, your current quality of service
> for each service, and all other relevant details.
> Please describe your goals for the new data center in terms of the above.

I don't really know how to answer to your question but let's try.  We are a
startup and for the moment we have a production and a development, in fact
the production is just like a test environment because we do continuous
delivery, we push everyday in order to know more quickly  when something
has been broken and our semi-automated tests didn't detect it. Personally,
I'm a self learner, and probably many guys of my team are too. So some
advices here are also welcome.
We want to be able to handle 2500+ rsync in the morning (probably
distributing them in time in order to avoid a single big load acting as a
ddos) and for each client of my clients (restaurants) a get and put profile
request.
Note: client's profile are shared across restaurants and clients can
find/filter restaurants on the website which is not yet built but we are
working on it.


> There have been 16 responses to your post in the past 36+ hours.  You
> should reply to at least some of them.

Sorry, I agree this is a bad practice, I just realized that it's even more
annoying at the moment to write the answer.

Thank you again.



Le dim. 28 juin 2020 à 09:16, David Christensen 
a écrit :

> On 2020-06-26 11:34, echo test wrote:
> > Hello,
>
> Hello. :-)
>
>
> > First of all, please don't ask me why I simply don't want to use aws or
> gcp.
>
> Even if you do not use their services, you might find it useful

Advice on hardware server to use for small a dedicated data center

2020-06-26 Thread echo test
Hello,

First of all, please don't ask me why I simply don't want to use aws or gcp.

Then, I want to build a small data center for my company for hosting a web
app and a mail server. It's the first time I'm going to buy some hardware
for this. I tried looking for it on the web in order to compare them but it
seems that hardware vendors never want to talk about Debian on their
websites.

Seriously, I prefer using my money for donating to the Debian foundation
than having to pay for Ubuntu or Red Hat Enterprise because I love Debian
and ...

So, I want to know if It's a good idea to try using Debian in an enterprise
context, with hardwares like Dell EMC PowerEdge or Lenovo ThinkCenter which
seems to never mention that they support Debian. What kind of issues can I
encounter with such hardwares except simple cases like having to install
missing drivers with some already available firmwares.

Can you give me some alternative hardwares in case this idea may take me to
much time to solve ?

Note: I will need some RAID solution hard or soft.

Sorry if my English is bad, it's not my mother language.

Thank you.


Re: Are All Drives Installed .

2020-06-25 Thread echo test
>
> Hello,

I'm a newbie too, if you want to know if your drivers are installed look at
the kernel logs with:
$ dmesg
If they're not you should see some error/warning messages. By default
Debian will not install non free software like proprietary drivers. If this
cause your issue, find the related driver and install it. For example, if
you use:
$ lspci
You may find your network adapter named Atheros.* then install
atheros-firmeware.deb. hope this help.

Normally nobody can help you without knowing what are the devices you whose
you want the drivers. Sorry if my English is bad, it's not my mother
language.


>
> Le jeu. 25 juin 2020 à 11:06, Arun Mathai  a
> écrit :
>
>> Hello Guys,
>>
>>   I own a Dell e6420 ,  and i had installed debian buster (mate).But the
>> brightness and wifi drivers and i assume the hdmi drivers were not
>> installed. How can i know that all the drivers for my device is installed.
>>
>> Regards,
>>
>> Arun Mathai
>>
>>
>>


Re: file mailing utility?

2008-10-19 Thread Test
you might try ftpmail as some solution ...

You can request files by email which on the server are handled through
ftp... and sent by email...

http://en.wikipedia.org/wiki/FTPmail

http://www.csdl.tamu.edu/~cchung/cpsc689/ftpmail/ftpmtoc.html


-- 
Test <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: wakeonlan

2008-04-20 Thread Test
On my Centos box i also had to do the following to get it to work:

ethtool -s eth0 wol g
echo PCI1 > /proc/acpi/wakeup

cat /proc/acpi/wakeup

Device  Sleep state Status
PCI0   4 enabled
PCI1   4 enabled
PCI2   4 enabled
UAR1   4disabled
UAR2   4disabled
USB0   4disabled
USB1   4disabled
AC97   4disabled



On Sun, 20 Apr 2008 15:15:10 +0530
Raj Kiran Grandhi <[EMAIL PROTECTED]> wrote:

grajkiran> Paul Csanyi wrote:
grajkiran> > Hello!
grajkiran> > 
grajkiran> > I have a small network at home.
grajkiran> > 
grajkiran> > I want to setup the gateway/router Debian Etch to wake up the 
server box with
grajkiran> > wakeonlan.
grajkiran> > 
grajkiran> > The server box - Debian Etch has enabled the "Resume on LAN" field 
in
grajkiran> > the Power Management Setup of the Award BIOS.
grajkiran> > 
grajkiran> > The server box have also a NIC with wake on LAN cable properly set 
up.
grajkiran> > 
grajkiran> > When I run the command wakeonlan the server box wan't not to wake 
up.
grajkiran> > 
grajkiran> > I use the right MAC address of the servers NIC in this command.
grajkiran> > 
grajkiran> > Why can't I use wakeonlan to bring up the server from the gateway?
grajkiran> > 
grajkiran> > Any advices will be appreciated!
grajkiran> > 
grajkiran> 
grajkiran> You have to ensure that the network card is not powered down when 
the 
grajkiran> system is shut down. After shutdown, check whether the LEDs of the 
grajkiran> ethernet adapter are on. If not you may have to use `ethtool` to 
ensure 
grajkiran> that the ethernet card is not powered down.
grajkiran> 
grajkiran> I use `ethtool -s eth0 wol g` to achieve this.
grajkiran> 
grajkiran> 
grajkiran> -- 
grajkiran> Raj Kiran Grandhi
grajkiran> --
grajkiran> Politics is for the moment. An equation is for eternity.
grajkiran> -- Albert Einstein
grajkiran> 
grajkiran> 
grajkiran> -- 
grajkiran> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
grajkiran> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
grajkiran> 

-- 
Test <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: I need secure mail!

2001-06-29 Thread Greg Wiley Test
On Friday, June 29, 2001 2:36 PM [EMAIL PROTECTED] writed:
> Greg Wiley wrote:
> > On Friday, June 29, 2001 12:39 PM, [EMAIL PROTECTED] spake:
> > 
> > > [...]and also if I can ask for a password on any smtp 

> > >server, exim, smail, 

> >  yes, exim allows you to require
> > authentication for relay operations.
 
> I need to accept mail, by smtp, from any unknown host, when a valid user 
> use the imap service. So the user have a valid username and a valid 
> password, and I want to use it as a validation for accept relay to any 
> email addres inside my server or outside.

Same answer.  Anything destined for your server from
any other server is not considered a relay by exim so
is generally accepted.  Everything else (that is, relays)
will be accepted only for validated users if you use
the host_auth_accept_relay option.

> > > I neet to know if I can find on Debian any imap
> > > server that alows me to 
> > > use secure conections

> > do you mean that you want to prevent
> > eavesdropping on your imap connections, or do you
> > wish to secure your imap server from unauthorized
> > use?

> The question is about where can I found some IMAP
> server that accept  secure connections.

My question is the same.  But to put it another way,
what do you mean by "secure connections?"

  -g





NCP-Server for Linux

2000-02-18 Thread test
Hi, all
Has anybody any experience in setting up NCP - server for linux.

I've found 2 links - LinuxWare and MARS_NWE.
Can You advise me what package to choose ?

TIA, Alex


Is it possible to Increase file number on ext2fs ?

2000-01-24 Thread test
Hi all,
I'm using kind of linux on 386 box with 40 MB hdd (8swap+32 ext2).
It carries two modems and servers as Dialup server.
Just now I have about 8 Mb free on hdd.
But file count is nearly at its limit. 
So is there any way to increase possible file count for my FS ?
Or I have to look for some other ways to not overrun file count ?

Thanks Alex


Re: ping: "Operation not permitted"

1998-05-19 Thread Curtis&#x27; test dude
Is your ethernet 0's IP 192.168.1.1?  If so, you have a default gateway of
yourself... I don't thing that will work?

Curtis

***
Check out my virtual apache and sendmail setup / Anti Spam stuff too!
http://www.blkspider.com
[EMAIL PROTECTED] [EMAIL PROTECTED][EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED]
***

On Mon, 18 May 1998, Kevin Traas wrote:

> 
> I've just installed a new box running Debian 2.0 (hamm) and I'm having a
> slight problem.  I can't get it working properly on the network (this is
> my fourth hamm install and all others are fine...).
> 
> For some reason, packets are not going out eth0.  
> 
> ifconfig reports interface as normal and expected.
> 
> ping reports: (to a remote interface)
> 
> nics# ping 192.168.1.1
> PING 192.168.1.1 (192.168.1.1): 56 data bytes
> ping: sendto: Operation not permitted
> ping: wrote 192.168.1.1 64 chars, ret=-1
> 
> 
> route -n reports:
> 
> Destination   Gateway MaskFlags   Metric  Ref Interface
> 192.168.1.0   0.0.0.0 255.255.255.0   U   0   0   eth0
> 127.0.0.0 0.0.0.0 255.0.0.0   U   0   0   lo
> 0.0.0.0   192.168.1.1 0.0.0.0 UG  1   0   eth0
> 
> This looks normal too.
> 
> I don't have any "strange" daemons running.  It's a pretty basic
> box/config.  No IP Masq, etc.   `dmesg' doesn't show any problems.
> Neither do syslog, messages, etc.
> 
> Any ideas?
> 
> Regards,
> Kevin Traas
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]
> 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: what is the best pop3d?

1997-08-13 Thread Curtis&#x27; test dude
Where do you find the virtual pop3d?  

Curtis

On Tue, 12 Aug 1997, Jacques Gelinas wrote:

> On Sun, 10 Aug 1997, Paul Miller wrote:
> 
> > What is the best pop3d?  I've heard that qpopper can corrupt mail files
> > under even lightly loaded systems.
> 
> I know that the standard POP-3 daemon (from BSD, used by slackware) is not
> creating any session lock. So it is possible for a user to have to pop3d
> session at once and this result in corrupt folder (in fact, often the mail
> get duplicated).
> 
> The problem is that sometime, user try to get their email and for
> different reason are not patient enough and "try again". So mail program
> then close the current POP session and start a new one. The original pop3d
> take some time to close the connexion when it does some cleanup on the
> incoming folder. This is enough time a new pop3d to start on the same
> folder. Given there is not lock, some corruption exist.
> 
> The virtual pop3d daemon (create with the original BSD pop3d daemon from
> slackware) has a session lock to prevent this problem and may be used as a
> replacement for standard pop3d. The lock stuff may be folded back in the
> original pop3d very easily is someone needs that.
> 
> 
> Jacques Gelinas ([EMAIL PROTECTED])
> Linuxconf: The ultimate administration system for Linux.
> see http://www.solucorp.qc.ca/linuxconf
> new development: dhcp, disk quota management, virtual email accounts
> 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .