I am having an issue with trying to create a diskless client using ossadm.
the platform is already verified when i run the ossadm osservice ls and the platform sparc.sun4u.Solaris_10 returns as it should.
However when i run the ossadm diskless add command I get an error. Here is the syntax I am using:
the error i receive is: ossadm could not add/modify/remove entry for "myserver" in /export/root/myserver//etc/inet/hosts <-- why are their two slashes? That is not a typo.
I have also tried the same command and not specifying the root,swap, and dump directories with the same result.
My OS is as follows: Sol 10 update 9 with the latest patch for ossadm and wbem applied: 119313-42
anyone experienced this issue? Hardware platform is an M4000.
Thanks
Last edited by radoulov; 09-08-2011 at 03:50 PM..
Reason: Code tags!
Hello,
I have been given a scripting project, but have not learned any scripting. I need to get some ideas on how to start. Attached is part of the project:
I have no idea how to parse the arguments. What I had in mind was to get the arguments ($1, $2, ... ) and have if statements for different... (1 Reply)
idealy, i'd like to do something like this:
while read line
do
echo $line
done < $(egrep error /var/log/syslog)
but when i do, i get an unexpected response. i.e.
cat test:
#!/bin/sh
while read line
do
echo $line
done < $(egrep error /var/log/syslog) (12 Replies)
Dear all,
i am in last year of electronics department in engineering faculty
i need suggestions for a graduation project based on unix or free bsd or linux and electronics "embedded linux "
i think about embedded unix for example or device drivers
please i need helps (1 Reply)
I have solaris 9 and am using sendmail to pickup requests and forward them to a bulk mail server on a different port. Now for the fun...In sendmail, I need to find a way to place a default address in the Mail From: and Rcpt To: or remove them as required - These will be picked up by the bulk mail... (3 Replies)
Hi All,
How can I script the following logic?
Step 1: Check if the file xyz.txt exists under direcotry test and if the size of the file xyz.txt is greater than 32MB.
Step 2: If the above conditions are true(file exists and size >32 MB), then step 3, otherwise step 4 (file does not exist or... (2 Replies)
i need to compare to dates/times given in the format MMDDhhmmYY. That is month, day, hour, minute, year. It is a 24 hour clock. I need to compare two dates to check that they are, say, less than 900 seconds apart. I have got to a point where it checks the time, turns the values into seconds and... (5 Replies)
Hi,
I installed sybase server on a LINUX server. I assigen port 2025 whilst installation for sybase , later i uninstalled sybase and when i try to reinstall sybase and use port 2025 it throw up error saying that it is already in use, use other port number. How can I re-use the same port number... (2 Replies)
I have several staging directories on my UNIX server.
/usr2/data1
/usr2/data2
/usr2/data3
/usr2/data4
/usr2/data5
/usr2/data6
In these directories a file is transferred from different PC's connected to the network via TCP/IP. The File name is constant for all directories.
Transfers... (1 Reply)