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 - Greg Pringle

Pages: [1] 2
Networking / apache2.4 configuration
« on: March 24, 2024, 02:25:11 pm »
I am attempting to use apache 2.4 with Python 8.1  and use apachectl to stop the server.
Starting the server runs fine. The httpd.conf file has:
PidFile "d:/apache24/logs/"
and the server creates this file on startup but then "apachectl -k stop" does not work and complains that there is not a pid file.

Does anyone know how to make this work?

General Discussion / using DETACH to make the desktop more responsive
« on: March 22, 2024, 05:05:49 pm »
When a command line program is running that does not need user input then DETACH makes the program run better. It does not interact with the desktop so the desktop runs like it has the computer to itself. This has been particularly useful for java based programs which can be run in the background.

Setup & Installation / ArcaOS and Storage - Discussion
« on: April 14, 2023, 04:54:02 pm »
I have a copy of Win and I don't even have to press the update button. It does it form me whenever it wants.

About AMD, I run my workstation on ArcaOS with a Ryzen motherboard with 8 usb slots and 2 additional eSata cards. I routinely have 8 hard disks running. The problem is to load or reload the OS i have to unplug all the drives except the C: drive or the OS cannot find the boot device. I am wondering if 5.1 does this better.

Applications / Apache OpenOffice no longer starts
« on: July 15, 2021, 04:08:29 pm »
I had Apache OpenFoffice AOO-4160-GA running. I removed it and loaded AOO-4170-GA. Now it will not start. I deleted the directories and even re-installed the C: partition (boot) and AOO-4170-GA will not start. Then I went and re-installed again and loaded AOO-4160-GA which also will not start. It gets to the "1.Welocme"  which is the new install setup, and when "Next" is pressed the application vanishes without any errors.
Are there any suggestions?

Setup & Installation / Booting with NVMe
« on: April 14, 2021, 02:13:39 pm »
Does anyone know how to use the ArcaOs NVMe dirver for the boot device?

Storage / JFS file corruption
« on: October 27, 2019, 07:18:55 pm »
I use JFS for large volumes and need back ups. When doing this in the past I used XCOPY /S /E which worked well. Then when the disks became too big I use cp -r which worked with larger data sets. Then both started failing.
Then I wrote some Java to do the same thing.
First it creates a text file listing of every file and directory with full paths.
On a 2T drive this could be about a 150MB file.
Then I read the listing and create smaller files limited by the number of files and the data size.
This created 110 smaller listings.
These listings could be used to copy the files to any drive or subdirectory.
However when I went to copy the files I had a JFS sytem crash about 8 listings in.
After some review I determined the file being copied  was currupt on the disk but had passed chkdsk.
It turned out I had to remove the file from the listing and about 20 more after it.
This was done by ediiting the listing file and then restaring the copy.
This approach copied the files but not the extended attributes.

Then I took the copy on the new SSD drive and put it in a fast machine which had an SSD boot drive.
The copy failed again. The speed was too fast between the SSD volumes for JFS to sync up.
It turned out to be two reasons. First, there needed to be some throttling when writing 400MB files and second there was a java problem. The java RandomAccessFile does not actually write in real time like standard ioctl disk access. Most people rely on a simple close() to end the file write. This failes on very speedy systems. Instead a RandomAccessFile.getFD().sync() is required before the close().

To make my life harder the SSD had a fault at about half way where a write would cause a kernal panic. If I wrote past this part of the disk it worked fine. The disk was a brand new SanDisk 3D 1T drive.

Web applications / How to make php active in Apache
« on: October 03, 2019, 04:50:21 pm »
Using Apache 2.2.34 and PHP 5.4.45 is not working as expected.
When php is run by hand it will return "Hello World" from:

set BEGINLIBPATH=D:\php5;D:\php5\modules
php -r "echo 'Hello World';"

When using a web page no results can be obtained.
<?php echo 'Hello World' ?>

Other lines have been tried with no results.

There is a C:\mptn\etc\php.ini
and httpd.conf has:
LoadModule php5_module d:/php5/apache2/modphp5.dll

Any thoughts?

Hardware / Canon TS 9000 printers
« on: July 20, 2018, 03:47:30 pm »
So far I am  unable to print with a Canon TS9120

I see the latest Gutenprint 5.2.14 lists Canon TS 9000 series printing as experimental.

Has anyone had this working for OS/2 ?

Applications / OpenSSH configuration problem
« on: June 03, 2018, 01:48:46 pm »
Using Alex Taylors build 5.3p1 and the latest from ArcaOS the OpenSSH will work for clients but has problems with SFtp.

Here is the log from sshd:
debug1: Server will not fork when running in debugging mode.
Connection from port 50909
debug1: Client protocol version 2.0; client software version JSCH-0.1.53
debug1: no match: JSCH-0.1.53
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3
debug1: list_hostkey_types: ssh-rsa,ssh-dss
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST received
debug1: File /etc/ssh/moduli -> C:/etc/ssh/moduli == /etc/ == UNIXROOT == ETC

debug1: File /etc/ssh/primes -> C:/etc/ssh/primes == /etc/ == UNIXROOT == ETC

WARNING: /etc/ssh/moduli does not exist, using fixed modulus
debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT
Received disconnect from 3:
erException: Prime size must be multiple of 64, and can only range from 512 to 1
024 (inclusive)
debug1: do_cleanup

Here is the log from an SFtp client:
SFTP getList begin
getSession: root 22
good session
before connect
getList exc:com.jcraft.jsch.JSchException: Session.connect:
dAlgorithmParameterException: Prime size must be multiple of 64, and can only ra
nge from 512 to 1024 (inclusive)
com.jcraft.jsch.JSchException: Session.connect:
rameterException: Prime size must be multiple of 64, and can only range from 512
 to 1024 (inclusive)
        at com.jcraft.jsch.Session.connect(
        at com.jcraft.jsch.Session.connect(
        at eforward.util.bin.SFtpClient.getList(
        at eforward.util.bin.SFtpClient.main(
SFTP getList done

Note there is a problem with the prime size.

Does anyone have any insight?

Setup & Installation / ArcaOS installer iso
« on: May 14, 2018, 05:57:28 pm »
Does anyone know if the ArcaOS installer is up to date with the patches when a new ISO is generated?

I have an ISO from 5.0.2 Commercial which is dated 2-11-18 and and ISO for a new seat dated 5-14-18 and they are different sizes. The first was 949,945,027 and the second is 949,962,625
Both are "5.0.2"

Events / Meltdown
« on: January 06, 2018, 02:46:01 pm »
You should have heard about the CPU flaws which are being called security risks.

1. They are real.

2. Not new news.

3. Only a problem if you use the internet.

Well, that said, mostly only a problem if you use software from bad sources or use a web browser or email package.

Yes, just using a web browser or email package is sufficient to be attacked. It does not matter what you actually do.

This is like the old Windows 3.1 days where viruses were everywhere and all you could really do was not share floppies.

Now, what to do?

1. Use Arcaos.

2. ???

Ok, so Arcaos has email and web browsers.
But, it is not a target OS for hackers. It would require OS/2 specific code to do the hacks and the code is not easy.

One more thing to not do. Don't use cloud computing. That is hard to do if you do much on your phone.

Another note is that the hacks take advantage of peeking into programs other than the one doing the peeking.
So, a person who does many programs at once, especially sensitive ones, is most at risk.

Hardware / PCIE Wide Screen video
« on: January 05, 2018, 04:10:00 pm »
Are there any video PCIe video cards that  can do 1920 x 1200 resolution?

Utilities / Arcaos version info
« on: December 02, 2017, 03:41:11 pm »
Does anyone know how to display version info for Arcaos?
The OS/2 version can be displayed and eComstation had a file containing the installed version but where is the Arcaos version info.

Applications / IFX is examining and cleaning your INI files...
« on: October 16, 2017, 03:03:05 pm »
After ArcaOS was installed on a fresh drive and running I had an archive of the desktop which had no problems.
Then I used the hard disk heavily and tried to reboot. There was an error about not being able to find the desktop.
On reboot it asked for a good desktop so I chose the archive. All seemed well. The next day IFX ran and all seemed well.
Then the trouble began. On subsequent boots I frequently have IFX run and then hang. Only a hard boot can get the system back.
It has to run a CHKDSK on reboot and there are no reported errors. After that the system might or might not shutdown correctly.
The IFX might run OK but has the hang very often.

What is going on?

A new problem has arisen since I installed ArcaOS

I used to start programs from the Starup folder using a CMD file with the following contents.

/* sleep30.cmd */
LOG = "c:\boot.log"
   rc = RxFuncAdd( "SysSleep","RexxUtil","SysSleep" )
   t = "Boot:"  DATE("E") TIME("L")
   rc = lineout( LOG, t )
   rc = lineout( LOG)
   call SysSleep 15
   "start /MIN c:\bin\start1.cmd"

The start1.cmd would then simply run some more "start /MIN batch.cmd" type of commands.
This allowed delayed starting of programs based on the SysSleep time

Since using ArcaOS there is a problem with doing this.
If I start a CMD with a java program then I cannot start the web browser afterwards.
If I start the same CMD by hand after the system is booted then I can start the web browser.
Thunderbird will start but Firefox will not. I tried Firefox 12 and 38 with not difference.
I tried java 1.6 and 1.3 with no difference.
I tried LIBPATHSTRICT=T in the CMD calling java without success.
The java starts but then Firefox will not start until the java is killed and manually restarted.

Any thoughts?

Here is an example of start1.cmd started from the above.
START /MIN D:\efwslim\java\efwslim.cmd

Here is the efwslim.cmd
@REM ===
@REM ===

cd \efwslim\java
java -cp seim_srv.jar eforward.server.EdiRecv -v -t2188 -l\efwslim\logs\efwslim.log -q\efwslim\queue\ -rstop.efwslim

Pages: [1] 2