Is this the best place for a Solaris thread...?

Soldato
Joined
26 Aug 2006
Posts
9,726
Location
62.156684,-49.781113
Never even touched Solaris before, few questions. They maybe a little too specific, or general - we'll see.

  1. When I try to run a (certain) program, I get a message something like.

    Code:
    Cannot open file "xxx.log" as log file.
    freopen: Permission denied.

    Is this freopen that has permission denied or the file?

  2. I've got a XVR-1000 graphics card in one of the machines, which I've investigated and it has a 13W3 port. It seems that this is the only output enabled (the DVI and VGA aren't). I've found a Sun manual that lists intructions for changing the stream over from the buffer - how would this be done without a monitor attached?

    On a side note, I enabled SSH during installation but when I try to connect from another machine, it refuses a root login at the password stage. Is there something else I need to enable?

I'm probably starting to sound a little dumb now, it's been a long day and you know when something's bugging you... I'll post when I'm actually in front of it tomorrow and I should be able to be more clear if anything needs clarifying. I've been away from *NIX too long!
 
1. It'll be the file, and the user account that freopen is running under than cannot access said file.

2. I have no idea. Any reason why a Monitor cannot be attached?

SSH: Yes, root login may be disabled. Locate your sshd_config file, and check the entry for "PermitRootLogin" and set to "yes" if you really MUST allow root login. But note first that you should still be able to ssh to the box under a permitted username, and then just `su -` to root straight away.. this is the preferred choice in most cases.

HTH :)
 
1. It'll be the file, and the user account that freopen is running under than cannot access said file.

I did a chmod 777 on the file, but no cheese. Which is what puzzled me...

2. I have no idea. Any reason why a Monitor cannot be attached?

It's using one of the big fat Sun connectors like http://en.wikipedia.org/wiki/DB13W3, for which I'm not sure we have a monitor. There's the chance that one exists in the company though, I'll be on the hunt tomorrow.

SSH: Yes, root login may be disabled. Locate and check the entry for "PermitRootLogin" and set to "yes" if you really MUST allow root login. But note first that you should still be able to ssh to the box under a permitted username, and then just `su -` to root straight away.. this is the preferred choice in most cases.

Locate the entry where? :) root is the only user at the moment, the box isn't visible to anything else and doesn't pose a safety risk.
 
I'm not sure where the file sshd_config will be on a solaris box, but chances are it'll be in /etc/sshd/ directory.. if not then run `find ./ -t file -n sshd_config` and wait.

What are the permissions on the directories owning that file (and the parent directory of that, ad nauseum)? If the user doesn't have read access it won't see the file, regardless of the files permissions.
 
Hmm, it was /var/opt/something I think. Not had this problem on another machine with the same software. I'll have another bash tomorrow and post some more accurate details while I'm sat there if having problems! :)
 
Managed to sort SSH, thanks for that one. Still having problems with the graphics card though, when I issue a "fbconfig -list" from SSH the only thing it comes out with is:

Code:
# fbconfig -list
Device-Filename Specific Config Program
/dev/fbs/ifb0 not configurable

The manual for the XVR-1000 seems to think a gfb0 should be present, as does all the stuff I can find on the Sun site. Do we reckon it's a driver or hardware problem?

I can still swap cards over from the other machine to get a GUI, so there's no problems with the installation.
 
That's beyond my realm I'm afraid :)

Beyond mine! I've tracked down the 13W3 monitor, I'll see what happens when I plug into that... Not sure which is easier to move, the 3 ton monitor, or the 3 ton computer.

:cool:

Seems the card doesn't have a driver installed :confused:, here goes...
 
Last edited:
Back
Top Bottom