Red Hat Enterprise Linux 5
I’ve used the following to mount nfs shares:
mount -t nfs target:/temp/folder1 /opt/folder1
mount -o vers=3 win1:/archive /opt/archive
Works fine but I need to get them to mount automatically after a reboot. I’m told I need to make entries in /etc/auto.master and...
Solaris 10
I'm trying to mount a NAS drive but am getting an error:
# mount fphnas01:/NFS /export/smatArchive
nfs mount: mount: /export/smatArchive: Stale NFS file handle
The mount point exists, fphnas01 is in the hosts file and the share NFS exists.
I have mounted and umounted this share...
I’m on Solaris 10
I’ve put a perl script in a directory but when I try to run it from the directory I get an error message ‘Command not found.’
If I prefix the command with ./ it runs. How do I get it to run without the prefix?
Thanks,
Dave
I have a tcl program running in Dos. I’m using a piece of software called FireDaemon which allows you to run any dos/Windows app as a service. Problem is that even though I’m running the service as a different user, as soon as I log myself off, the tcl app closes. FireDaemon restarts it ok but...
Tcl 8.4 on Solaris 10
I’m trying to convert minutes to hours and minutes.
set x [lindex $xlateInVals 0]
set x [string trimleft $x 0]
set x [expr $x * 60]
set hhmm [clock format $x -format "%H%M"]
puts "Time Out >$hhmm<"
set xlateOutVals $hhmm
If xlateInVals is 0141 the result I’m getting is...
I’m prototyping a touch screen application which does database lookups. I need to create a number of buttons, dependent upon the number of items returned from the database, to allow the user to select accordingly. I’d also like a method of arranging the buttons appropriately spaced on the...
I want a screen which will just sit and wait until a user enters an alphanumeric string, terminated by the enter key. I then want to use the submitted string to do a lookup on a MySQL database.
Any ideas welcome.
I’ve installed mysql-5.0.45 on Solaris 8 using pkgadd:
pkgadd –d /tmp/mysql-5.0.45-solaris8-sparc-64bit.pkg –R /export/home
Because I installed to a non standard directory, I had to create directories in /export/home/usr for the symbolic links to be created, otherwise the installation failed...
When you click refresh in a browser, it refreshes the page and returns the screen view where you last had it. Is there a way to code this action so that I can auto refresh the page and return the viewer back to where they were in the page?
Thanks,
Dave
Windows 2000 Server SP4
Running an application as a service which opens a listening port for incoming messages. Connection drops after 15 – 40 minutes.
Logged in on console and ran program from the command line but the session is logged out after 15 – 40 minutes.
Is there any way of...
I've written a tcl program to read a file, do some massaging and output to another file. What I need to do initially is to strip off the first and last records. Is there a simple way to achieve this?
Thanks,
Dave
I have a tape which I think is a tar backup. What's the best way of reading the tape to check the data? Also how do I rewind the tape - it's on /dev/st0.
Thanks,
Dave
I’ve written some tcl to run on Win2000 to parse a file line by line, do changes as required and write line by line to an output file. It works ok but I need the output file in unix rather than DOS format. In DOS format, lines are delimited by x0a x0d, whereas unix files use x0a only.
We are migrating about 2000 workstations from Windows 2000 to XP. We have a Win2k application which will not run under XP but runs perfectly if we use compatability mode.
Problem is that if a different user logs in then the application won't run in compatability mode by default - you have to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.