Error you get ...
Unable to determine enabled services from ldap.
Enabled services read from cache. Service list may be inaccurate.
Starting logger...Failed.
Starting logswatch...ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.net.ssl.SSLHandshakeException sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed)
zimbra logger service is not enabled! failed.
'''Solution is:'''
as su - zimbra
zmcontrol stop
as root
cd /opt/zimbra/bin
./zmcertmgr createcrt -new -days 365
./zmcertmgr deploycrt self
./zmcertmgr viewdeployedcrt
cd /opt/zimbra/libexec
./zmfixperms
lunes, 12 de agosto de 2013
sábado, 20 de julio de 2013
RALINK 5360 ..how to install dwa 525 with chipset ralink 5360 on ubuntu 10.04
Re: RALINK 5360 ..how to install dwa 525 with chipset ralink 5360 on ubuntu 10.04..
I love a challenge and so will you, I hope. This is a relatively new device and we are going to have to experiment a bit. Please download RT539x PCIe here: http://www.ralinktech.com/en/04_supp...ort.php?sn=501
Download it to your desktop. Right-click it and select 'extract here.' It is handily a bz2.bz2 file, so you may have to 'extract here' a couple of times. Good work, Ralink! Now open a terminal and, with an internet connection, do:Open the folder you extracted and drill down to os/linux/config.mk and with a text editor change:Code:sudo apt-get install linux-headers-generic build-essentialProofread, save and close the text editor. Now open the file os/linux/pci_main_dev.c with a text editor. Make the addition I've highlighted here:Code:HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=yEverything before and after is unchanged. Spacing, punctuation, brackets, etc. are crucial. Proofread carefully twice before you save and close the text editor. Now back to the terminal:Code:#ifdef RT5390 {PCI_DEVICE(NIC_PCI_VENDOR_ID, NIC5390_PCIe_DEVICE_ID)}, {PCI_DEVICE(NIC_PCI_VENDOR_ID, NIC539F_PCIe_DEVICE_ID)}, {PCI_DEVICE(NIC_PCI_VENDOR_ID, NIC5392_PCIe_DEVICE_ID)}, {PCI_DEVICE(NIC_PCI_VENDOR_ID, NIC5362_PCI_DEVICE_ID)}, {PCI_DEVICE(NIC_PCI_VENDOR_ID, NIC5360_PCI_DEVICE_ID)}, #endif /* RT5390 */Press Tab and the rest will fill in automagically. Press Enter.Code:cd Desktop/2011Your wireless should now be working.Code:sudo su make make install modprobe rt5390sta echo rt5390sta >> /etc/modules exit
jueves, 11 de julio de 2013
sábado, 29 de junio de 2013
instalar xubuntu+postgresql+pgadmin
wget -O -- http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc > ok.key
sudo apt-key add ok.key
http://www.ubuntugeek.com/how-to-install-postgresql-9-2-on-ubuntu-13-04-server.html
recovery postgres password http://www.netstorming.com.ar/2009/10/15/resetear-password-de-root-en-postgresql/
Installing PostgreSQL 9.1 on Ubuntu 10.04
27 Replies
PostgreSQL 9.0 final was released on 2010/09/20 which I’ve been waiting for to begin playing with it and evaluating it. The mainline Ubuntu Lucid apt repositories only have 8.4. According to the package maintainer, Martin Pitt, the postgresql-9.0 package won’t be added until Ubuntu Natty. Thankfully, he setup a backports repo for Ubuntu that we can pull from.
This is a very quick and painless process. If you have not done so already, make your life easier by installing python-software-properties:
sudo apt-get install python-software-properties
Next up is adding the backports repo and updating apt:
sudo add-apt-repository ppa:pitti/postgresql
sudo apt-get update
UPDATE: In the comments, Jason Froebe points out that if you already have an earlier version of PostgreSQL installed, you can just upgrade it:
sudo apt-get upgrade
Finally install postgresql-9.1:
The libpq-dev package is for compiling wrappers/clients against libpq.
sudo apt-get install postgresql-9.1 libpq-devThe libpq-dev package is for compiling wrappers/clients against libpq.
There you’re done!
jueves, 27 de junio de 2013
web shell
https://code.google.com/p/shellinabox/
Basic HTTPS Shell In A Box
First we download and install Shell In A Box. You can download .deb file for your operating systems architecture here by visition Shell In A Box official page here.
Next thing is to install Shell In A Box:
sudo dpkg -i shellinabox*.deb |
Now we need to add a few options to Shell In A Box .conf file:
sudo gedit /etc/default/shellinabox |
You need to replace line:
SHELLINABOX_ARGS="--no-beep" |
with line:
SHELLINABOX_ARGS="--no-beep --disable-ssl" |
martes, 14 de mayo de 2013
How to configure BonitaSoft engine with Tomcat and Mysql database
To do configuration we need to have following software install.
1)Download the Apache tomcat from the bonitasoft site and unzip it.http://www.bonitasoft.com/products/BPM_downloads (In "Bundle" tab you can find "Tomcat" with download link)
2)Download and install the Mysql database. You can download mysql community edition fromhttp://dev.mysql.com/downloads/mysql/
3) you should have JDK ( JDK- 1.6 and JDK -1.7) on your machine. If you don’t have one you can download and install it from - http://www.oracle.com/technetwork/java/javase/downloads/index.html
4)Download the Bonita Soft from the bonitasoft site and unzip it.http://www.bonitasoft.com/products/BPM_downloads (In "Bonita Open Solution" tab you can find "Bonita soft" with download link)
1)Download the Apache tomcat from the bonitasoft site and unzip it.http://www.bonitasoft.com/products/BPM_downloads (In "Bundle" tab you can find "Tomcat" with download link)
2)Download and install the Mysql database. You can download mysql community edition fromhttp://dev.mysql.com/downloads/mysql/
3) you should have JDK ( JDK- 1.6 and JDK -1.7) on your machine. If you don’t have one you can download and install it from - http://www.oracle.com/technetwork/java/javase/downloads/index.html
4)Download the Bonita Soft from the bonitasoft site and unzip it.http://www.bonitasoft.com/products/BPM_downloads (In "Bonita Open Solution" tab you can find "Bonita soft" with download link)
Following are step to install bonita soft
Step 1. Create two databases named bonita_history and bonita_journal.
Commands:
Create database bonita_history;
Create database bonita_journal;
Step 1. Create two databases named bonita_history and bonita_journal.
Commands:
Create database bonita_history;
Create database bonita_journal;
Step 2. Create user “bonita” with password as “bpm” and grant all permissions for above created two databases.
Commands:
CREATE USER 'bonita'@'localhost' IDENTIFIED BY 'bpm';
GRANT ALL ON bonita_history.* TO 'bonita'@'localhost';
GRANT ALL ON bonita_journal.* TO 'bonita'@'localhost';
Commands:
CREATE USER 'bonita'@'localhost' IDENTIFIED BY 'bpm';
GRANT ALL ON bonita_history.* TO 'bonita'@'localhost';
GRANT ALL ON bonita_journal.* TO 'bonita'@'localhost';
Step3. Essentially the downloaded Apache tomcat with BOS configuration uses H2 database and it internally uses hibernate framework for database interaction, and these two file store the database properties required by the BOS . So, we need to modify these two files.
Modify BOS configuration files names bonita-journal.properties and bonita-history.properties, as mentioned below:
(Note:Tthese two files are located at –“ BOS-5.9.1-Tomcat-6.0.35\bonita\server\default\conf”)
Comment the “hibernate.dialect” of H2 database. (Note: To comment out in properties file we use “#”)
Comment “bonita.hibernate.interceptor” attribute as well.
Un comment “hibernate.dialect” and “bonita.hibernate.interceptor” from “Examples- MYSQL” , make sure that the values of these 2 attributes are “org.hibernate.dialect.MySQL5InnoDBDialect” and “org.ow2.bonita.env.interceptor.MySQLDescNullFirstInterceptor” respectively for Mysql database.
Also we need to configure the hibernate properties in context.xml file which is located at “BOS-5.9.1-Tomcat-6.0.35\conf”, the properties which needs to be configured is as shown below (This needs to be done twice for both databases under name – “bonita/default/journal” and “bonita/default/history”) :
Comment the “hibernate.dialect” of H2 database. (Note: To comment out in properties file we use “#”)
Comment “bonita.hibernate.interceptor” attribute as well.
Un comment “hibernate.dialect” and “bonita.hibernate.interceptor” from “Examples- MYSQL” , make sure that the values of these 2 attributes are “org.hibernate.dialect.MySQL5InnoDBDialect” and “org.ow2.bonita.env.interceptor.MySQLDescNullFirstInterceptor” respectively for Mysql database.
Also we need to configure the hibernate properties in context.xml file which is located at “BOS-5.9.1-Tomcat-6.0.35\conf”, the properties which needs to be configured is as shown below (This needs to be done twice for both databases under name – “bonita/default/journal” and “bonita/default/history”) :
type="javax.sql.DataSource"
maxActive="100"
minIdle="10"
maxWait="10000"
initialSize="1"
maxPoolSize="15"
minPoolSize="3"
maxConnectionAge="0"
maxIdleTime="1800"
maxIdleTimeExcessConnections="120"
idleConnectionTestPeriod="30"
acquireIncrement="3"
testConnectionOnCheckout="true"
removeAbandoned="true"
logAbandoned="true"
username="root"
password="root"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/bonita_journal?dontTrackOpenResources=true"/>
url="jdbc:mysql://localhost:3306/bonita_journal?dontTrackOpenResources=true"/>
type="javax.sql.DataSource"
maxActive="100"
minIdle="10"
maxWait="10000"
initialSize="1"
maxPoolSize="15"
minPoolSize="3"
maxConnectionAge="0"
maxIdleTime="1800"
maxIdleTimeExcessConnections="120"
idleConnectionTestPeriod="30"
acquireIncrement="3"
testConnectionOnCheckout="true"
removeAbandoned="true"
logAbandoned="true"
username="root"
password="root"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/bonita_history?dontTrackOpenResources=true"/>
Step5:Once the above configuration is done, add mysql-jdbc diver (http://dev.mysql.com/downloads/connector/j/ ) into “BOS-5.9.1-Tomcat-6.0.35\lib\bonita” location and remove h2-1.2.139.jar from this location as it is no more required.
step6: Start the tomcat server by navigating to “BOS-5.9.1-Tomcat-6.0.35\bin” location and running command startup.bat from the windows command prompt.
Step7:Once the tomcat server starts hit this url http://localhost:8080/bonita/ , use default credentials user – “admin” and password- “bpm” to login. If you are able to login with no errors then the configuration is fine.(if not login clear browser cache)
Step8:Bonita creates almost 69 tables into the above 2 created database, to verify execute command “select * from bonita_journal;” from the mysql client.
step9:After the first run you need to comment “hibernate.hbm2ddl.auto” property from bonita-journal.properties and bonita-history.properties files as it is needed to create the table only at first run.
Note:If you have created process in bonita soft studio after that export that process from bonita soft studio and
go in http://localhost:8080/bonita/ in that left side "Administration " link where processes link there to install new process in that
go in http://localhost:8080/bonita/ in that left side "Administration " link where processes link there to install new process in that
Suscribirse a:
Entradas (Atom)