Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
0
votes
1
answers
30
views
Old Unix apps: are Solaris PC Netlink and SCO AFPS the same program?
I'm using AFPS on Unixware, just for curiosity and learning (I already know there is Samba and AFPS is not supported since the 2008). Searching on net I see a product which has the same paths (/var/opt/lanman) and some identical commands (net, euctosjis, etc.) called Solaris PC NetLink Simple questi...
I'm using AFPS on Unixware, just for curiosity and learning (I already know there is Samba and AFPS is not supported since the 2008).
Searching on net I see a product which has the same paths (/var/opt/lanman) and some identical commands (net, euctosjis, etc.) called Solaris PC NetLink
Simple question: is the same program maybe re-licensed or renamed?
I also found a manual of a old server for AT&T and Siemens Unix called "Advanced Server for UNIX" which has the same commands of AFPS.
I think probably is the same program re-licensed or renamed.
elbarna
(13710 rep)
Dec 28, 2023, 08:32 PM
• Last activity: Dec 29, 2023, 12:33 AM
0
votes
1
answers
63
views
Veritas VM on Unixware, how to remove the "rootdg"?
I want to remove the rootdg to create my own group, and use 4 disk, this is the situation System is Unixware 7 vxdisk list DEVICE TYPE DISK GROUP STATUS c0b0t1d0s0 sliced - - error c0b0t2d0s0 sliced disk01 rootdg online c0b0t3d0s0 sliced - - online c0b0t4d0s0 sliced - - online c0b0t5d0s0 sliced - -...
I want to remove the rootdg to create my own group, and use 4 disk, this is the situation
System is Unixware 7
vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0b0t1d0s0 sliced - - error
c0b0t2d0s0 sliced disk01 rootdg online
c0b0t3d0s0 sliced - - online
c0b0t4d0s0 sliced - - online
c0b0t5d0s0 sliced - - online
The command vxdg rmdisk disk01 fail
vxdg rmdisk disk01
vxvm:vxdg: ERROR: disassociating disk-media disk01:
Cannot remove last disk in disk group
The commands vxdg deport rootdg fail
vxdg deport rootdg
vxvm:vxdg: ERROR: Disk group rootdg: deport failed: Operation not allowed on root disk group
the command vxdg destroy rootdg don't exist on Unixware
The command vxdiskunsetup don't exist on Unixware
EDIT1: I don't boot from a rootdg, / is mounted on normal partition on (c0b0t1d0s0 which is not under Veritas vxvm control)
elbarna
(13710 rep)
Dec 16, 2023, 12:01 AM
• Last activity: Dec 16, 2023, 04:03 PM
1
votes
0
answers
994
views
Xdcmp and Unixware, I login and...fail immediately
I want to access to Unixware 7 Desktop from Slackware 15 client. The ports are opened in firewall (6000-6009 and 177 udp and tcp) I can telnet the remote ports telnet 192.168.201.2 6000 Trying 192.168.201.2... Connected to 192.168.201.2. Escape character is '^]'. for 177 I use nmap to check avaliabi...
I want to access to Unixware 7 Desktop from Slackware 15 client.
The ports are opened in firewall (6000-6009 and 177 udp and tcp)
I can telnet the remote ports
telnet 192.168.201.2 6000
Trying 192.168.201.2...
Connected to 192.168.201.2.
Escape character is '^]'.
for 177 I use nmap to check avaliability
nmap -p177 -sU -P0 192.168.201.2
Starting Nmap 7.92 ( https://nmap.org ) at 2023-12-13 03:55 CET
Nmap scan report for 192.168.201.2
Host is up (0.00021s latency).
PORT STATE SERVICE
177/udp open xdmcp
MAC Address: ************
This is the server X line on Unixware
/usr/bin/X11/X :0 -noexit -auth /var/dt/Aun...
Xaccess allow all
* # grant service to all remote displays
* CHOOSER BROADCAST #any indirect host can get a chooser
*.mydomain.priv
From client I start the login and...judge by yourself
Xephyr -query 192.168.201.2 -screen 800x600 :1
No errors logged on Unixware machine, any suggestion? Thanks
EDIT1: I have also tried
X -query 192.168.201.2 :1
same thing
EDIT 2: Logging with no privileged user = same thing.
EDIT 3: Xev report nothing
xev -display :0
EDIT 4: Finally some logs found
$HOME/.dt/accesslog
dtsession: Unable to exec /usr/bin/X11/kinput2.
$HOME/.dt/errorlog
Fri Dec 15 03:33:05 2023
dtsession: Unable to exec /usr/bin/X11/kinput2.
[ENOENT (2)] No such file or directory
Fri Dec 15 03:33:05 2023
dtsession: Unable to exec /usr/bin/X11/kinput2.
[ENOENT (2)] No such file or directory
Fri Dec 15 03:35:03 2023
dtsession: Invalid display name - exiting.
Fri Dec 15 03:49:10 2023
dtsession: Invalid display name - exiting.
$HOME/.dt/sessionlogs
Xlib: connection to "slack64.mydomain:1.0" refused by server
Xlib: No protocol specified

elbarna
(13710 rep)
Dec 13, 2023, 03:00 AM
• Last activity: Dec 13, 2023, 04:08 AM
2
votes
0
answers
30
views
Unixware: how to enable auditing for specific user?
On Unixware I have enable auditing auditon create the map auditmap The log report is working auditrpt -b But only for root! auditrpt -u root|wc -l 647 I try to set a mask for auditing for another user.. auditset -u myuser -e file_make UX:auditset: ERROR: auditevt() failed AGETUSR, errno = 3 How to e...
On Unixware I have enable auditing
auditon
create the map
auditmap
The log report is working
auditrpt -b
But only for root!
auditrpt -u root|wc -l
647
I try to set a mask for auditing for another user..
auditset -u myuser -e file_make
UX:auditset: ERROR: auditevt() failed AGETUSR, errno = 3
How to enable auditing for user? Thanks
elbarna
(13710 rep)
Mar 31, 2023, 10:15 PM
• Last activity: Apr 1, 2023, 04:29 AM
1
votes
1
answers
225
views
Compiling Python 2.7.10 Error
I want to add Python 2.7 to my Unix. I downloaded the sources to the VirtualBox on which the Unix is installed and run ./configure --prefix=/usr \ --enable-shared \ --with-system-expat \ without problems. However, when I try to run `make,` it fails on: cc –Kpthread –Wl,-Bexport –o python Modules/pyt...
I want to add Python 2.7 to my Unix.
I downloaded the sources to the VirtualBox on which the Unix is installed and run ./configure --prefix=/usr \ --enable-shared \ --with-system-expat \ without problems. However, when I try to run
Environment:
- OS Unixware 7.1.4 - Python 2.7.10
I downloaded the sources to the VirtualBox on which the Unix is installed and run ./configure --prefix=/usr \ --enable-shared \ --with-system-expat \ without problems. However, when I try to run
make,
it fails on:
cc –Kpthread –Wl,-Bexport –o python Modules/python.o libpython2.7.a -lsocket –lnsl –lpthread –ldl –lm
Undefined first referenced
symbol in file
_PyInt_FromDev libpython2.7.a(posixmodule.o)
UX:ld: ERROR: Symbol referencing errors. No output written to python
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
I tried to find a solution searching on Google, without much success.
**Can you suggest directions towards a solution?**
Environment:
- OS Unixware 7.1.4 - Python 2.7.10
boardrider
(262 rep)
Jul 11, 2015, 01:04 PM
• Last activity: Apr 1, 2023, 12:30 AM
2
votes
1
answers
140
views
UnixWare 7 fails to pass variable to Linux
I'm new to Bash and I have a problem that find difficult to solve, may be easy for some. I have a really old SCO UnixWare 7 system with no SSH only RSH available. SCO doesn't exist anymore , I believe they are bankrupt. The box has been up for about 15 years never had a problem. We will move away fr...
I'm new to Bash and I have a problem that find difficult to solve, may be easy for some.
I have a really old SCO UnixWare 7 system with no SSH only RSH available. SCO doesn't exist anymore , I believe they are bankrupt. The box has been up for about 15 years never had a problem. We will move away from this platform in the summer however for now I need to copy some files to one of the Linux boxes and I'm trying to write a very short script. Please don't tell me that RSH is not secure since in this environment security is irrelevant. The UnixWare box and two other Linux boxes running CentOS 6 are dedicated and used by 3 people only to manage a number of barriers in a parking lot and not connected to the internet or any other network. Just 3 servers, connected to a 4 port standalone switch nothing else connected
### Problem
I run this command on the Unixware server to set the variable on Linux1 running CentOS 6 with a formatted data and show the content:
rsh Linux1 "TEST=$(date --date='-9day' +%A_%B-%d_Backup); echo \$TEST"
I get this error
# rsh Linux "TEST=$(date --date='-9day' +%A_%B-%d_Backup); echo \$TEST"
UX:date: ERROR: Illegal option -- -
UX:date: ERROR: Incorrect usage
UX:date: TO FIX: Usage:
date [-u] [+format]
date [-u] [[mmdd]HHMM | mmddHHMM[[cc]yy]]
date [-a [-]sss.fff]
If I go to Linux2 also running CentOS 6 and run the same exact command against Linux1 I have no errors
[Linux2 ~]# rsh Linux1 "TEST=$(date --date='-9day' +%A_%B-%d_Backup); echo \$TEST"
Wednesday_January-14_Backup
Why is the command not working when ran from the UnixWare server? It seems that Unixware doesn't pass the string to Linux1 to process but tries to process it locally (there is no
--date
option on that ancient Unixware box, hence the error).
fabio
(21 rep)
Jan 23, 2015, 01:47 AM
• Last activity: Apr 1, 2023, 12:30 AM
Showing page 1 of 6 total questions