Re: [osol-help] Audio Installation Help Needed
Did you try to use the OSS4 sound system? http://www.4front-tech.com/ It works with a whole slew of audio chipsets and is (eventually) going to be distributed with OpenSolaris. Gary This message posted from opensolaris.org ___ opensolaris-help mailing list opensolaris-help@opensolaris.org
Re: [osol-help] Static route
Hello, Don't know if anyone already mentioned this, but just in case no one has, the new (yet backward compatible) method for ensuring persistent services and state across reboots is SMF. man {svccfg,svcadm,svcs,smf} Regards, Isaac On Dec 26, 2007, at 3:42 AM, Brian Gupta [EMAIL PROTECTED] wrote: Other than default routes, I don't think there is an official method of setting static routes. (Default routes go in /etc/defaultrouter). All other static routes, should be put in a custom startup script that would most likely reside in /etc/rc2.d, but could also reside in /etc/rc3.d. (Forgive me if there is now an official method, but this is how I have done it for years). -Brian P.S. - CC'ing in networking-discuss, in case there is a new standard method. On Dec 26, 2007 2:39 AM, Preethivirajsingh Sailesh Mohabeer [EMAIL PROTECTED] wrote: Hi all, How do i add a static route on solaris 10 servers. After each reboot the routing configuration is loss. I have to manually add each routing address. Please help. This message posted from opensolaris.org ___ opensolaris-help mailing list opensolaris-help@opensolaris.org -- - Brian Gupta http://opensolaris.org/os/project/nycosug/ ___ opensolaris-help mailing list opensolaris-help@opensolaris.org ___ opensolaris-help mailing list opensolaris-help@opensolaris.org
Re: [osol-help] Audio Installation Help Needed
[i] I have 4 options for audio. 3 PCI cards and the on board audio on the A7N266-VM/AA motherboard. 1. AudioPCI 3000 - Ensoniq ES1370 AudioPCI IC 2. IBM FRU 37L4457 - ESS Es1938S IC 3. ALS12M453120 - Avance Logic Inc ALS4000 IC 4. On board audio - according to a readme file under the Solaris folder, it is a RTL8139. Driver is for Solaris 7 or 8. [/i] With respect to 4, AFAIK this is a network card. One of the others should work out of the box of SXDE. If I'm not mistaken, I run it with a card that you have listed as 1. Have you tried in GNOME to see what the volume applet shows ? This message posted from opensolaris.org ___ opensolaris-help mailing list opensolaris-help@opensolaris.org
Re: [osol-help] wpi driver install problem
Simply try a more recent version. From nv_64 onwards, it is included, and you don't need any of this. If you really want to run an older version, there are some commands on that link cited, and I guess you'd have encountered a problem in an earlier command if you had no network installed. wget http://www.opensolaris.org/os/community/laptop/downloads/wpi-0.1-pkg.tar.gz did this go through smoothly ? This message posted from opensolaris.org ___ opensolaris-help mailing list opensolaris-help@opensolaris.org
Re: [osol-help] wpi driver install problem
Thanks for your response. I am very new to Solaris, coming from Linux. I downloaded and installed Solaris 10 from sun.com. Is this the newest version? This message posted from opensolaris.org ___ opensolaris-help mailing list opensolaris-help@opensolaris.org
Re: [osol-help] Audio Installation Help Needed
Your are right about the RTL8139 being network, in my state of confussion I thought it was audio. Since I am really new to all of this, I do need help in understanding your question: Have you tried in GNOME to see what the volume applet shows ? This message posted from opensolaris.org ___ opensolaris-help mailing list opensolaris-help@opensolaris.org
Re: [osol-help] Audio Installation Help Needed
GNOME is one of 2 graphical desktops that come with Solaris 9 and upwards. When each user logs into the graphical login screen for the first time, they are given the choice of CDE or GNOME. Afterwards, you can change which one you log into using the sessions option on the options menu as you log in. The GNOME volume applet is the speaker icon in the bottom righthand corner of the GNOME screen. If it detects that there is no audio device installed, it will have a red line through it. If not, then your audio should be working already. If your volume applet shows your audio is not enabled then post the output of the following command so we can have a look: prtconf -v Cheers Andrew. This message posted from opensolaris.org ___ opensolaris-help mailing list opensolaris-help@opensolaris.org
[osol-help] problem with installing mysql database / coolstack on x86
Hello, I had install the packages of Cool Stack 1.2, x86 Platform. After installing all the packages of CSKamp, I am looking for the directory ./mysql in /opt/coolstack. I don't find it. # pkgchk -v CSKmysql32 There are only outputs with the directory /opt/coolstack/apache2/, but no /opt/coolstack/mysql # # # # # # # # # # # # uname -a SunOS fta 5.11 snv_70b i86pc i386 i86pc # # # # # # # # # # # # locate mysql32 /var/sadm/pkg/CSKmysql32 /var/sadm/pkg/CSKmysql32/install /var/sadm/pkg/CSKmysql32/install/checkinstall /var/sadm/pkg/CSKmysql32/install/depend /var/sadm/pkg/CSKmysql32/install/postremove /var/sadm/pkg/CSKmysql32/install/preremove /var/sadm/pkg/CSKmysql32/install/request /var/sadm/pkg/CSKmysql32/install/space /var/sadm/pkg/CSKmysql32/pkginfo /var/sadm/pkg/CSKmysql32/save /var/sadm/pkg/CSKmysql32/save/pspool /var/sadm/pkg/CSKmysql32/save/pspool/CSKmysql32 /var/sadm/pkg/CSKmysql32/save/pspool/CSKmysql32/install /var/sadm/pkg/CSKmysql32/save/pspool/CSKmysql32/install/checkinstall /var/sadm/pkg/CSKmysql32/save/pspool/CSKmysql32/install/depend /var/sadm/pkg/CSKmysql32/save/pspool/CSKmysql32/install/postinstall /var/sadm/pkg/CSKmysql32/save/pspool/CSKmysql32/install/postremove /var/sadm/pkg/CSKmysql32/save/pspool/CSKmysql32/install/preremove /var/sadm/pkg/CSKmysql32/save/pspool/CSKmysql32/install/request /var/sadm/pkg/CSKmysql32/save/pspool/CSKmysql32/install/space /var/sadm/pkg/CSKmysql32/save/pspool/CSKmysql32/pkginfo /var/sadm/pkg/CSKmysql32/save/pspool/CSKmysql32/pkgmap /var/svc/manifest/network/cskmysql32.xml # # # # # # # # # # # # cat /etc/passwd root:x:0:0::/root:/bin/bash ... webservd:x:80:80:WebServer Reserved UID:/: postgres:x:90:90:PostgreSQL Reserved UID:/:/usr/bin/pfksh nobody:x:60001:60001:NFS Anonymous Access User:/: noaccess:x:60002:60002:No Access User:/: nobody4:x:65534:65534:SunOS 4.x NFS Anonymous Access User:/: ft:x:101:10:ft:/export/home/ft:/bin/bash mysql:x:174:116::/export/home/mysql:/bin/sh oracle:x:2048:562::/export/home/oracle:/bin/sh # # # # # # # # # # # # cat /etc/group root::0: other::1:root bin::2:root,daemon ... webservd::80:ft postgres::90: sasl::100: mysql::116: nobody::60001: noaccess::60002: nogroup::65534: oinstall::562: dba::563: # # # # # # # # # # # # pkgadd -d CSKamp_1.2_x86.pkg The following packages are available: 1 CSKapache2 Apache httpd (i386) 2.2.6 2 CSKmysql32 MySQL 5.0.45 32bit (i386) 5.0.45 3 CSKphp5PHP 5 (i386) 5.2.4 Select package(s) you wish to process (or 'all' to process all packages).(default: all) [?,??,q]: 2== Here, the answer is 2 Processing package instance CSKmysql32 from /export/home/ft/sol/CSKamp_1.2_x86.pkg MySQL 5.0.45 32bit(i386) 5.0.45 This appears to be an attempt to install the same architecture and version of a package which is already installed. This installation will attempt to overwrite this package. MySQL AB Do you also want to configure csk-http service [y,n,?,q] n ## Executing checkinstall script. Using / as the package base directory. ## Processing package information. ## Processing system information. 1376 package pathnames are already properly installed. ## Verifying package dependencies. ## Verifying disk space requirements. ## Checking for conflicts with packages already installed. The following files are already installed on the system and are being used by another package: /opt attribute change only Do you want to install these conflicting files [y,n,?,q] n Do you want to continue with the installation of CSKmysql32 [y,n,?] y ## Checking for setuid/setgid programs. The following files are being installed with setuid and/or setgid permissions: * /opt/coolstack/apache2/bin/suexec setuid root * - overwriting a file which is also setuid/setgid. Do you want to install these as setuid/setgid files [y,n,?,q] y This package contains scripts which will be executed with super-user permission during the process of installing this package. Do you want to continue with the installation of CSKmysql32 [y,n,?] y ## Processing package information. ## Processing system information. Installing MySQL 5.0.45 32bit as CSKmysql32 ## Installing part 1 of 1. /opt conflicting pathname not installed [ verifying class none ] ## Executing postinstall script. couldn't set locale correctly ## couldn't set locale correctly ## this output occurs couldn't set locale correctly ## since I change the LC-TYPE couldn't set locale correctly ## so you see it in engl language couldn't set locale correctly ## csk-http service is not configured. Please configure it manually later. Installation of CSKmysql32 was successful. # # # # # # # # # # # What
Re: [osol-help] wpi driver install problem
Solaris 10. It might not contain these; I don't know. (I am new in here myself, coming from Linux.) But for your information: OpenSolaris is in principle about Solaris 11, the next, upcoming version. If you tried the SXDE from the opensolaris site, you might have fewer problems. This message posted from opensolaris.org ___ opensolaris-help mailing list opensolaris-help@opensolaris.org
Re: [osol-help] Audio Installation Help Needed
Thank you Andrew for the GNOME volume applet explanation. Now I have installed the OSS4 drivers from opensound.com and I now have sound!!! But I do have a strange situation. I have audio out of the MB only when I have the AudioPCI 3000 (ES1370 Chipset) plugged in. And when I right click on the GNOME volume applet to get the Preferences, only one device is there. When I run the osstest program, it runs thru a test for both audio devices and they pass. When I remove the AudioPCI card and run the osstest program, I get an error that the device is being used and the test fails. Here is the prtconf -pv listing with both audio devices: System Configuration: Sun Microsystems i86pc Memory size: 768 Megabytes System Peripherals (PROM Nodes): Node 0x01 bios-boot-device: '80' stdout: name: 'i86pc' Node 0x02 existing: 00c54000..021f9801. name: 'ramdisk' Node 0x03 bus-type: 'isa' device_type: 'isa' name: 'isa' Node 0x04 device_type: 'pci' reg: .. #size-cells: 0002 #address-cells: 0003 name: 'pci' Node 0x05 assigned-addresses: c210..f800..0400 reg: .....4210...\ .0400 compatible: 'pci10de,1a4.b2' + 'pci10de,1a4' + 'pciclass,06' + 'pciclass,0600' model: 'Host bridge' power-consumption: 0001.0001 66mhz-capable: fast-back-to-back: devsel-speed: max-latency: min-grant: unit-address: '0' class-code: 0006 revision-id: 00b2 vendor-id: 10de device-id: 01a4 name: 'pci10de,1a4' Node 0x06 reg: 0100.... compatible: 'pci10de,1ac.10de.c11.b2' + 'pci10de,1ac.10de.c11' + 'pci10de,c11' + 'pci10de,1ac.b2' + 'pci10de,1ac' + 'pciclass,05' + 'pciclass,0500' model: 'Ram' power-consumption: 0001.0001 66mhz-capable: devsel-speed: max-latency: min-grant: subsystem-vendor-id: 10de subsystem-id: 0c11 unit-address: '0,1' class-code: 0005 revision-id: 00b2 vendor-id: 10de device-id: 01ac name: 'pci10de,c11' Node 0x07 reg: 0200.... compatible: 'pci10de,1ad.10de.c11.b2' + 'pci10de,1ad.10de.c11' + 'pci10de,c11' + 'pci10de,1ad.b2' + 'pci10de,1ad' + 'pciclass,05' + 'pciclass,0500' model: 'Ram' power-consumption: 0001.0001 66mhz-capable: devsel-speed: max-latency: min-grant: subsystem-vendor-id: 10de subsystem-id: 0c11 unit-address: '0,2' class-code: 0005 revision-id: 00b2 vendor-id: 10de device-id: 01ad name: 'pci10de,c11' Node 0x08 reg: 0300.... compatible: 'pci10de,1aa.10de.c11.b2' + 'pci10de,1aa.10de.c11' + 'pci10de,c11' + 'pci10de,1aa.b2' + 'pci10de,1aa' + 'pciclass,05' + 'pciclass,0500' model: 'Ram' power-consumption: 0001.0001 66mhz-capable: devsel-speed: max-latency: min-grant: subsystem-vendor-id: 10de subsystem-id: 0c11 unit-address: '0,3' class-code: 0005 revision-id: 00b2 vendor-id: 10de device-id: 01aa name: 'pci10de,c11' Node 0x09 reg: 0800.... compatible: 'pci10de,1b2.10de.c11.c3' + 'pci10de,1b2.10de.c11' + 'pci10de,c11' + 'pci10de,1b2.c3' + 'pci10de,1b2' + 'pciclass,060100' + 'pciclass,0601' model: 'ISA bridge' power-consumption: 0001.0001 66mhz-capable: fast-back-to-back: devsel-speed: max-latency: min-grant: subsystem-vendor-id: 10de subsystem-id: 0c11 unit-address: '1' class-code: 00060100 revision-id: 00c3 vendor-id: 10de device-id: 01b2 name: 'pci10de,c11' Node 0x0a assigned-addresses: 81000910..5000..0010.81000914..5500.\ .0010.81000918..5100..0020 reg: 0900.....01000910...\ .0010.01000914....0010.01000918..000\ 0..0020 compatible: 'pci10de,1b4.10de.c11.c1' + 'pci10de,1b4.10de.c11' + 'pci10de,c11' + 'pci10de,1b4.c1' + 'pci10de,1b4' + 'pciclass,0c0500' + 'pciclass,0c05' model: 'SMBus (System Management Bus)' power-consumption: 0001.0001 66mhz-capable: fast-back-to-back: devsel-speed: interrupts: 0001 max-latency: 0001 min-grant: 0003 subsystem-vendor-id: 10de subsystem-id: 0c11 unit-address: '1,1' class-code: 000c0500 revision-id: 00c1 vendor-id: 10de device-id: 01b4 name: 'pci10de,c11' Node 0x0b assigned-addresses: 82001010..f300..1000 reg: 1000.....02001010...\ .1000 compatible: 'pci10de,1c2.10de.c11.c3' + 'pci10de,1c2.10de.c11' + 'pci10de,c11' + 'pci10de,1c2.c3' + 'pci10de,1c2' + 'pciclass,0c0310' + 'pciclass,0c03' model: 'Universal Serial Bus OHCI compliant'
Re: [osol-help] problem with installing mysql database / coolstack on
Mysql is part of both Solaris and OpenSolaris in the /usr/sfw dir. This is how I had configured it! Login in as root: bash-3.2# groupadd mysql bash-3.2# useradd mysql -g mysql bash-3.2# passwd mysql New Password: Re-enter new Password: New Password: Re-enter new Password: passwd: password successfully changed for mysql chown mysql:mysql /var/mysql /export/home/mysql bash-3.2# mkdir /export/home/mysql bash-3.2# su - mysql Sun Microsystems Inc. SunOS 5.11 snv_78 October 2007 $ cp /usr/sfw/bin/mysql_install_db ./mysql_install_db # diff /usr/sfw/bin/mysql_install_db ./mysql_install_db 280c280 i_u=INSERT INTO user VALUES ('localhost','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y', 'Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0); --- i_u=INSERT INTO user VALUES ('localhost','mysql','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y' ,'Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0); 283,284c283,285 i_u=INSERT INTO user VALUES ('localhost','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y', 'Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0); REPLACE INTO user VALUES ('$hostname','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y', 'Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0); --- i_u=INSERT INTO user VALUES ('localhost','mysql','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y' ,'Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0); INSERT INTO user VALUES ('192.168.0.','mysql','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y ','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0); REPLACE INTO user VALUES ('$hostname','mysql','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y' ,'Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0); 285a287 INSERT INTO user (host,user) values ('192.168.0.',''); 372c374 echo PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! --- echo PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL mysql USER ! 374,375c376,377 echo $bindir/mysqladmin -u root password 'new-password' echo $bindir/mysqladmin -u root -h $hostname password 'new-password' --- echo $bindir/mysqladmin -u mysql password 'new-password' echo $bindir/mysqladmin -u mysql -h $hostname password 'new-password' 413c415 echo shell $bindir/mysql -u root mysql --- echo shell $bindir/mysql -u mysql mysql bash $ cp /usr/sfw/bin/mysql_install_db . $ vi mysql_install_db # change the root to mysql add a client ip for remote access if needed. $ sh ./mysql_install_db Preparing db table Preparing host table Preparing user table Preparing func table Preparing tables_priv table Preparing columns_priv table Installing all prepared tables 071223 14:38:37 /usr/sfw/sbin/mysqld: Shutdown Complete To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL mysql USER ! To do so, start the server, then issue the following commands: /usr/sfw/bin/mysqladmin -u mysql password 'new-password' /usr/sfw/bin/mysqladmin -u mysql -h familypc password 'new-password' See the manual for more instructions. You can start the MySQL daemon with: /usr/sfw/bin/mysqld_safe You can test the MySQL daemon with the tests in the 'mysql-test' directory: cd /usr/sfw/mysql/mysql-test; ./mysql-test-run Please report any problems with the /usr/sfw/bin/mysqlbug script! The latest information about MySQL is available on the web at http://www.mysql.com Support MySQL by buying support/licenses at https://order.mysql.com $ $ sh ./mysql_install_db Preparing db table Preparing host table Preparing user table Preparing func table Preparing tables_priv table Preparing columns_priv table Installing all prepared tables 071223 14:38:37 /usr/sfw/sbin/mysqld: Shutdown Complete To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL mysql USER ! To do so, start the server, then issue the following commands: /usr/sfw/bin/mysqladmin -u mysql password 'new-password' /usr/sfw/bin/mysqladmin -u mysql -h familypc password 'new-password' See the manual for more instructions. You can start the MySQL daemon with: /usr/sfw/bin/mysqld_safe You can test the MySQL daemon with the tests in the 'mysql-test' directory: cd /usr/sfw/mysql/mysql-test; ./mysql-test-run Please report any problems with the /usr/sfw/bin/mysqlbug script! The latest information about MySQL is available on the web at http://www.mysql.com Support MySQL by buying support/licenses at https://order.mysql.com $ usr/sfw/bin/mysqladmin -u mysql password 'mysqlpw' usr/sfw/bin/mysqladmin: not found $ ^[[A^[[D ^[[A^[[D: not found $ bash bash-3.2$ /usr/sfw/bin/mysqladmin -u mysql password 'mysqlpw' /usr/sfw/bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)' Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists! bash-3.2$
Re: [osol-help] [networking-discuss] Static route
Don't know if anyone already mentioned this, but just in case no one has, the new (yet backward compatible) method for ensuring persistent services and state across reboots is SMF. man {svccfg,svcadm,svcs,smf} Most network configuration is not yet tied into SMF (though this will likely change soon). -- meem ___ opensolaris-help mailing list opensolaris-help@opensolaris.org
Re: [osol-help] Unable to see more than 16 targets on a SAS controller
Hi, Thanks a lot. Your idea worked. All my disks were getting registered as scsi disks. And the disk sequence was from sd0 to sd15. The file /kernel/drv/sd.conf was having the following entries name=sd class=scsi target=0 lun=0 --- --- --- name=sd class=scsi target=15 lun=0 So I edited the file for the target sequence to go up to 128 targets. Now I am able to see all the target devices. Thanks a lot for the timely help. Regards, Arun This message posted from opensolaris.org ___ opensolaris-help mailing list opensolaris-help@opensolaris.org