Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Gabriele

Pages: [1]
1
Applications / Postresql backup
« on: February 07, 2018, 09:29:23 am »
Hello,

I'm trying to run the "pg_dumpall" command from the postgresql server package, but while "pg_dump" command works fine, when I run "pg_dumpall" I get the following error:

  [C:\Programs\pgsql\bin]rem pg_dump -Fc -b biblioteca | gzip -9 > dumpsql_biblioteca.tar.gz
  [C:\Programs\pgsql\bin]pg_dumpall   | gzip -9  1> dumpall.gz
  C:/usr/bin/sh.exe: 1: cannot create nul:: Directory nonexistent
  fgets failure: No such file or directory
  The program "pg_dump" is needed by pg_dumpall but was not found in the same directory as "C:/Programs/pgsql/bin/pg_dumpall".
  Check your installation.


Obviously there is something wrong with the line

"The program "pg_dump" is needed by pg_dumpall but was not found in the same directory as "C:/Programs/pgsql/bin/pg_dumpall". ":
the directory should be "C:/Programs/pgsql/bin", not "C:/Programs/pgsql/bin/pg_dumpall"... I'm sure it is something trivial related to sh, but I don't understant what it is... the environment for the command is:

  set beginlibpath=c:\programs\pgsql\bin;c:\programs\pgsql\lib;
  SET USE_HOSTS_FIRSTS=Y
  set LANG=it_IT
  set PGDATA=D:\var\postgres9\data

Thanks for any hint!



2
Networking / Subnets routing?
« on: November 07, 2017, 02:27:13 pm »
Hi all,

my home OS/2 server has three network interfaces. Currently I'm using just two of them, with Injoy in the middle acting as firewall and providing NAT for the LAN.

I would like now to use the third network interfaces to create a second LAN where I would confine the increasing number of "Internet Of Things" devices around.

Unfortunately, I know nothing about routing! With a setup.cmd file like this one:

route -fh
arp -f
ifconfig lo 127.0.0.1
ifconfig lan0 192.168.0.1 netmask 255.255.255.0 metric 1 mtu 1500   # existing LAN
dhcpstrt -i lan1 -d 0                                                                               # WAN
ifconfig lan2 192.168.2.1 netmask 255.255.255.0 metric 1 mtu 1500   # the hypothetical second LAN
inetcfg -s all
ipgate on

devices on lan0 would be effectively hidden from devices on lan2?

Thanks!
Gabriele

3
Mail-News / Fetchmail stopped fetching mail
« on: October 22, 2017, 07:10:36 pm »
Hi all,

on my home server running Communigate, I use fetchmail to fetch mail from a number of email addresses that I and my family have.

Months ago fetchmail stopped being able to fetch from gmail and from dreamhost. A few days ago it stopped fetching mail from an Italian provider (Tiscali). Like with gmail and dreamhost, it hangs forever while "negotiating TLS handshake".

I'm really afraid that this problem is related to some provider's mailserver upgrade, and that sooner or later I'll be unable to fetch email at all. Anybody out there using fetchmail, or it is just me?


Thanks for a reply
Gabriele

4
Hi all,

I'm trying to access ArcaOS support & maintenance subscription repo, that is "arcanoae-arcaos" according to https://www.arcanoae.com/wiki/anpm/ , but I'm not lucky enough.

I added the repository through ANPM (please see attached screenshot) but I now always get a "Cannot retrieve metadata for repository: arcanoae-arcaos" error. As login credentials I used the same that I use for https://www.arcanoae.com/my-account . What I'm missing?


Thanks
Gabriele

5
Applications / Icons per file extension
« on: August 25, 2015, 03:01:21 pm »
Hi all,

it's lot of years since I started using OS/2, but this is still an open question for me. Is it possible to associate an icon to a file extension, like we do for a program? If I browse my C:\ecs\icons\BIGICONS directory, I see, for example:

file_archive_128px.png
file_archive_arj_128px.png
file_archive_rar_128px.png
file_archive_wpi_128px.png
file_archive_zip_128px.png

All the above file extensions are associated to the same program (that here is Zippy), and file_archive_128px.png is the icon for Zippy. How can I associate the other icons to *.arj/rar/wpi/zip files?

Bye
Gabriele

6
Applications / Set default view for folders from command line
« on: May 08, 2015, 12:14:29 pm »
Hi all,

I have some Samba remote folders that I would like to automatically open as "Split view" when I double click them.
I can set the "Default" opening mode to "Split view", but this setting is lost after reboot. Is there any way to set the "Default" opening mode for a folder via REXX?

Thanks
Gabriele

7
Networking / SSH/SCP problem
« on: March 23, 2015, 03:37:18 pm »
Hi all,

from my OS/2 laptop I have no problem  connecting to a Linux server and running:

scp gabriele@myserver.com:/backup/*.gz* .

But when I try the same from my OS/2 server, I get:

scp gabriele@myserver.com:/backup/*.gz* .
could not create directory 'D$/HOME/gabriele/.ssh'.

The directory D:\HOME\gabriele\.ssh obviously exists. Any hint??

Thanks
Gabriele

8
Applications / SmartSVN?
« on: October 03, 2014, 03:50:34 pm »
Hi all,

anybody has experience with SmartSVN? I tried unsuccessfully with version 7 (it starts, goes online looking for something then stops saying "Invalid license") and version 8 (doesn't start at all)...

Thanks
Gabriele

9
Applications / Thunderbird and Lightning
« on: July 14, 2014, 03:27:24 pm »
Hi all,

I'm happily using latest Thunderbird from Dave (17.011esrpre) and I can say that it works fine. The only problem that I have is that latest Lightning for OS/2 I'm aware of (version 1.2.1) is not compatible with it. By change, someone is looking to port a more recent version of Lightning?

Thanks and bye
Gabriele

Pages: [1]