Sol10 upgraded from 5.8 - shell issues?


 
Thread Tools Search this Thread
Operating Systems Solaris Sol10 upgraded from 5.8 - shell issues?
# 1  
Old 05-26-2006
Tools Sol10 upgraded from 5.8 - shell issues?

I'm having issues after upgrading to Sol10 from 8. I have developers who have ksh scripts which execute profiles and such. I get errors from "/dev/null: cannon create" to "stty:no such device or address", to "bad string", etc. I have checked the link to /dev/null (its fine). I have a case open with Sun...they aren't much help either. When I run this stuff on a 5.8 box, its fine.

I just noticed that my developer had:
${HOME}/.profile > /dev/null/ 2>&1 - so when I changed this to /dev/null (removing the trailing /) it ran fine. What would the reason be for this? One issue fixed, but now the stty no such device issue and others.....is KORN shell with Sol10 messing me up somehow? I saw the threads about dynamic links, but didn't quite understand it all. Please help.

Found another issue - /usr/bin/tr - doesn't work in SOL10, but on 8 its fine...I have a ton of applications that won't run cause of this..

Last edited by buffsluft; 05-26-2006 at 04:59 PM..
# 2  
Old 05-26-2006
You're right about the first issue.
date > /dev/null/
will work on many OS's including Solaris 9 but it will not work on Solaris 10. That is a little interesting... I never tried to write to /dev/null/ before. But that is a very odd thing to do. Just switch to the correct syntax.

I just tried:
echo abc | /usr/bin/tr a b
which worked fine for me. So I can't help you there.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. What is on Your Mind?

Cut Over to New Data Center and Upgraded OS Done. :)

Three days ago we received an expected notice from our long time data center that they were going dark on Sept 12th. About one and a half hours ago, after three days of marathon work, I just cut over the unix.com to a new data center with a completely new OS and Ubuntu distribution. (22 Replies)
Discussion started by: Neo
22 Replies

2. Solaris

Upgraded BIOS - cannot see Solaris partition??

I have recently upgraded my Supermicro X10SAT motherboard. I have also a SSD with a Windows10 partition and a Solaris 11.3 partition. Upon boot I press F11 and choose which partition I want to boot into. But after the bios upgrade, I cannot see the Solaris partition when I press "F11" to choose... (9 Replies)
Discussion started by: kebabbert
9 Replies

3. What is on Your Mind?

Tapatalk Upgraded

Hello, FYI, I upgraded our Tapatalk Version to version 4.8.1 today (from version 4.3.2). All seem to be OK but we never know! Please post in this thread if you see any problems after the upgrade. Thanks! (1 Reply)
Discussion started by: Neo
1 Replies

4. What is on Your Mind?

The ISS has upgraded to Linux

Remember this thread from a few years ago? What a difference just a few years make! Those laptops I mentioned were running Windows. Then one of the Russians got an infected thumb drive. It infected his laptop and spread throughout the ISS. NASA ordered a switch to Linux to ensure that it... (0 Replies)
Discussion started by: Perderabo
0 Replies

5. Solaris

Unable to install Sol10 on V245, exiting to shell.

Hi there, OK so I am super-green, but I have a problem I am hoping someone can help me with. I have a V245 that I am unable to install Solaris 10 (10/09) onto as during the initial install process, the UI pops up for region selection, but then as I enter my region, identify the system, up comes... (21 Replies)
Discussion started by: wallrunn3r
21 Replies

6. OS X (Apple)

upgraded to OSX 10.6.6 - cannot sudo

I've been using "sudo" inside Terminal. I just upgraded to 10.6.6 and now "sudo" gives me incorrect password errors. My user is an admin user, so i can install etc on GUI but unable to do anything in terminal. 1. I did a repair permissions and restarted but cannot sudo. 2. i had an... (0 Replies)
Discussion started by: sentinel
0 Replies

7. Programming

Getting the random failure after upgraded the gcc version 3.1 to 3.4.6

I am getting the a random failure after upgrading the gcc version 3.1 to 3.4.6. My code where it is failing contains some STL and shared memory concepts.It is perfectly working on old version of gcc.I want to know what are possible causes that made this random error after upgrading gcc 3.4.6. (2 Replies)
Discussion started by: kapilkumawat
2 Replies

8. UNIX for Dummies Questions & Answers

shell script programming issues

I'm having trouble running this script. I'm new to Unix so be kind please. #!/bin/sh # Test to make sure only a single parameter is passed from the # command line. if then echo "Usage: AC.sh <directory>" exit fi # Is the parameter a directory test if then echo... (3 Replies)
Discussion started by: FSUdude08
3 Replies

9. Shell Programming and Scripting

Shell scripting issues

hi, I am stuck in a shell script where in i need to extract the specific users from \etc\passwd file. Once this is done, i need to assign Roles to these users which are different for different users. What could be the optimum solution. If i hard code the Roles values in a text file, how would i... (1 Reply)
Discussion started by: ashutosh101
1 Replies
Login or Register to Ask a Question